diff --git a/SubProject/FPJ0000/Project/fPartList.Designer.cs b/SubProject/FPJ0000/Project/fPartList.Designer.cs index 2dae402..0fbbc7a 100644 --- a/SubProject/FPJ0000/Project/fPartList.Designer.cs +++ b/SubProject/FPJ0000/Project/fPartList.Designer.cs @@ -39,29 +39,29 @@ System.Windows.Forms.Label label1; System.Windows.Forms.Label label2; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPartList)); - FarPoint.Win.Spread.FlatFocusIndicatorRenderer flatFocusIndicatorRenderer2 = new FarPoint.Win.Spread.FlatFocusIndicatorRenderer(); - FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer3 = new FarPoint.Win.Spread.FlatScrollBarRenderer(); - FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer4 = new FarPoint.Win.Spread.FlatScrollBarRenderer(); - FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType11 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType12 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType13 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType14 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType15 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType16 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType17 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType18 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType19 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType20 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo2 = new FarPoint.Win.Spread.NoPrinterPrintInfo(); + FarPoint.Win.Spread.FlatFocusIndicatorRenderer flatFocusIndicatorRenderer1 = new FarPoint.Win.Spread.FlatFocusIndicatorRenderer(); + FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer1 = new FarPoint.Win.Spread.FlatScrollBarRenderer(); + FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer2 = new FarPoint.Win.Spread.FlatScrollBarRenderer(); + FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo1 = new FarPoint.Win.Spread.NoPrinterPrintInfo(); this.panel1 = new System.Windows.Forms.Panel(); this.label3 = new System.Windows.Forms.Label(); this.button4 = new System.Windows.Forms.Button(); @@ -126,6 +126,7 @@ this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton1 = new System.Windows.Forms.ToolStripDropDownButton(); + this.선택해제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.전체선택ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager(); @@ -133,7 +134,6 @@ this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); - this.선택해제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); pdateLabel = new System.Windows.Forms.Label(); requestLabel = new System.Windows.Forms.Label(); reqstaffLabel = new System.Windows.Forms.Label(); @@ -266,7 +266,8 @@ this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(390, 119); this.label3.TabIndex = 43; - this.label3.Text = "CR 구매 요청시에는 선택 후 (다중 선택은 Ctrl+Left Click) 하단의 \"CR구매요청\" 버튼을 누른 후 구매 정보를 설정 하세요"; + this.label3.Text = "CR 구매 요청시에는 선택 후 (다중 선택은 Ctrl+Left Click) 하단의 \"CR구매요청\" 버튼을 누른 후 구매 정보를 설정 하세요\r\n회색" + + "배경 : 중복SID - 동일SID는 같은 값이 표시됩니다."; // // button4 // @@ -946,6 +947,7 @@ // this.bindingNavigatorPositionItem.AccessibleName = "위치"; this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); this.bindingNavigatorPositionItem.Text = "0"; @@ -1003,6 +1005,7 @@ // tbFind // this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F); this.tbFind.Name = "tbFind"; this.tbFind.Size = new System.Drawing.Size(100, 47); this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown); @@ -1063,11 +1066,18 @@ this.toolStripButton1.Size = new System.Drawing.Size(84, 44); this.toolStripButton1.Text = "선택"; // + // 선택해제ToolStripMenuItem + // + this.선택해제ToolStripMenuItem.Name = "선택해제ToolStripMenuItem"; + this.선택해제ToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.선택해제ToolStripMenuItem.Text = "선택해제"; + this.선택해제ToolStripMenuItem.Click += new System.EventHandler(this.선택해제ToolStripMenuItem_Click); + // // 전체선택ToolStripMenuItem // this.전체선택ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("전체선택ToolStripMenuItem.Image"))); this.전체선택ToolStripMenuItem.Name = "전체선택ToolStripMenuItem"; - this.전체선택ToolStripMenuItem.Size = new System.Drawing.Size(204, 46); + this.전체선택ToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.전체선택ToolStripMenuItem.Text = "전체선택"; this.전체선택ToolStripMenuItem.Click += new System.EventHandler(this.전체선택ToolStripMenuItem_Click); // @@ -1109,12 +1119,12 @@ this.fpSpread1.ContextMenuStrip = this.cm1; this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; this.fpSpread1.EditModeReplace = true; - this.fpSpread1.FocusRenderer = flatFocusIndicatorRenderer2; + this.fpSpread1.FocusRenderer = flatFocusIndicatorRenderer1; this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1.HorizontalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton"); this.fpSpread1.HorizontalScrollBar.Name = ""; - flatScrollBarRenderer3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.fpSpread1.HorizontalScrollBar.Renderer = flatScrollBarRenderer3; + flatScrollBarRenderer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.fpSpread1.HorizontalScrollBar.Renderer = flatScrollBarRenderer1; this.fpSpread1.Location = new System.Drawing.Point(0, 170); this.fpSpread1.Name = "fpSpread1"; this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { @@ -1127,8 +1137,8 @@ this.fpSpread1.TitleInfo.Value = "PartList"; this.fpSpread1.VerticalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton"); this.fpSpread1.VerticalScrollBar.Name = ""; - flatScrollBarRenderer4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.fpSpread1.VerticalScrollBar.Renderer = flatScrollBarRenderer4; + flatScrollBarRenderer2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.fpSpread1.VerticalScrollBar.Renderer = flatScrollBarRenderer2; this.fpSpread1.EditModeOff += new System.EventHandler(this.fpSpread1_EditModeOff); // // fpSpread1_Sheet1 @@ -1192,25 +1202,25 @@ this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 27F; this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(1).Height = 31F; this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType10; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1; this.fpSpread1_Sheet1.Columns.Get(0).DataField = "ItemGroup"; this.fpSpread1_Sheet1.Columns.Get(0).Label = "중"; this.fpSpread1_Sheet1.Columns.Get(0).Width = 93F; this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType11; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2; this.fpSpread1_Sheet1.Columns.Get(1).DataField = "option1"; this.fpSpread1_Sheet1.Columns.Get(1).Label = "소"; this.fpSpread1_Sheet1.Columns.Get(1).Width = 93F; - numberCellType11.DecimalPlaces = 0; - numberCellType11.NegativeRed = true; - numberCellType11.NullDisplay = "--"; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = numberCellType11; + numberCellType1.DecimalPlaces = 0; + numberCellType1.NegativeRed = true; + numberCellType1.NullDisplay = "--"; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = numberCellType1; this.fpSpread1_Sheet1.Columns.Get(2).DataField = "no"; this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(2).Width = 93F; this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoSort = true; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType12; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ItemSid"; this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(3).Label = "SID"; @@ -1218,39 +1228,39 @@ this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(3).Width = 93F; this.fpSpread1_Sheet1.Columns.Get(4).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType13; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ItemName"; this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(4).Label = "품명"; this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(4).Width = 93F; - this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType14; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5; this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ItemModel"; this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(5).Label = "모델"; this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(5).Width = 93F; - this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType15; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6; this.fpSpread1_Sheet1.Columns.Get(6).DataField = "ItemManu"; this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(6).Label = "제조"; this.fpSpread1_Sheet1.Columns.Get(6).Tag = "manu"; this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(6).Width = 93F; - this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType16; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType7; this.fpSpread1_Sheet1.Columns.Get(7).DataField = "ItemUnit"; this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(7).Label = "단위"; this.fpSpread1_Sheet1.Columns.Get(7).Tag = "unit"; this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(7).Width = 93F; - numberCellType12.DecimalPlaces = 0; - numberCellType12.MaximumValue = 9999999999999.99D; - numberCellType12.MinimumValue = -9999999999999.99D; - numberCellType12.NegativeRed = true; - numberCellType12.NullDisplay = "0"; - numberCellType12.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType12; + numberCellType2.DecimalPlaces = 0; + numberCellType2.MaximumValue = 9999999999999.99D; + numberCellType2.MinimumValue = -9999999999999.99D; + numberCellType2.NegativeRed = true; + numberCellType2.NullDisplay = "0"; + numberCellType2.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType2; this.fpSpread1_Sheet1.Columns.Get(8).DataField = "price"; this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; this.fpSpread1_Sheet1.Columns.Get(8).Label = "단가"; @@ -1258,25 +1268,25 @@ this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(8).Width = 93F; this.fpSpread1_Sheet1.Columns.Get(9).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - numberCellType13.DecimalPlaces = 0; - numberCellType13.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType13.MaximumValue = 2147483647D; - numberCellType13.MinimumValue = -2147483648D; - numberCellType13.NegativeRed = true; - numberCellType13.Separator = ","; - numberCellType13.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType13; + numberCellType3.DecimalPlaces = 0; + numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType3.MaximumValue = 2147483647D; + numberCellType3.MinimumValue = -2147483648D; + numberCellType3.NegativeRed = true; + numberCellType3.Separator = ","; + numberCellType3.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType3; this.fpSpread1_Sheet1.Columns.Get(9).DataField = "qty"; this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(9).Label = "수량"; this.fpSpread1_Sheet1.Columns.Get(9).Tag = "qty"; this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(9).Width = 93F; - numberCellType14.DecimalPlaces = 0; - numberCellType14.NegativeRed = true; - numberCellType14.Separator = ","; - numberCellType14.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType14; + numberCellType4.DecimalPlaces = 0; + numberCellType4.NegativeRed = true; + numberCellType4.Separator = ","; + numberCellType4.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType4; this.fpSpread1_Sheet1.Columns.Get(10).DataField = "qtyn"; this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(10).Label = "수량(N)"; @@ -1284,14 +1294,14 @@ this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(10).Width = 93F; this.fpSpread1_Sheet1.Columns.Get(11).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType15.DecimalPlaces = 0; - numberCellType15.MaximumValue = 9999999999999.99D; - numberCellType15.MinimumValue = -9999999999999.99D; - numberCellType15.NegativeRed = true; - numberCellType15.NullDisplay = "--"; - numberCellType15.Separator = ","; - numberCellType15.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType15; + numberCellType5.DecimalPlaces = 0; + numberCellType5.MaximumValue = 9999999999999.99D; + numberCellType5.MinimumValue = -9999999999999.99D; + numberCellType5.NegativeRed = true; + numberCellType5.NullDisplay = "--"; + numberCellType5.Separator = ","; + numberCellType5.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType5; this.fpSpread1_Sheet1.Columns.Get(11).DataField = "amt"; this.fpSpread1_Sheet1.Columns.Get(11).Formula = "RC[-3]*RC[-2]"; this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; @@ -1300,7 +1310,7 @@ this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(11).Width = 93F; this.fpSpread1_Sheet1.Columns.Get(12).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType15; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType5; this.fpSpread1_Sheet1.Columns.Get(12).DataField = "amtn"; this.fpSpread1_Sheet1.Columns.Get(12).Formula = "RC[-4]*RC[-2]"; this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; @@ -1308,7 +1318,7 @@ this.fpSpread1_Sheet1.Columns.Get(12).Tag = "amtn"; this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(12).Width = 93F; - this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType17; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType8; this.fpSpread1_Sheet1.Columns.Get(13).DataField = "qtyjago"; this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; @@ -1320,14 +1330,14 @@ this.fpSpread1_Sheet1.Columns.Get(14).Tag = "ItemSupply"; this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(14).Width = 88F; - this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType18; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType9; this.fpSpread1_Sheet1.Columns.Get(15).DataField = "memo"; this.fpSpread1_Sheet1.Columns.Get(15).Tag = "memo"; this.fpSpread1_Sheet1.Columns.Get(16).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType16.DecimalPlaces = 0; - numberCellType16.MaximumValue = 10000000D; - numberCellType16.MinimumValue = -10000000D; - this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType16; + numberCellType6.DecimalPlaces = 0; + numberCellType6.MaximumValue = 10000000D; + numberCellType6.MinimumValue = -10000000D; + this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType6; this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(16).Label = "요청"; this.fpSpread1_Sheet1.Columns.Get(16).Locked = false; @@ -1335,23 +1345,23 @@ this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(16).Width = 93F; this.fpSpread1_Sheet1.Columns.Get(17).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType17.DecimalPlaces = 0; - numberCellType17.MaximumValue = 10000000D; - numberCellType17.MinimumValue = -10000000D; - this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType17; + numberCellType7.DecimalPlaces = 0; + numberCellType7.MaximumValue = 10000000D; + numberCellType7.MinimumValue = -10000000D; + this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType7; this.fpSpread1_Sheet1.Columns.Get(17).Label = "입고"; this.fpSpread1_Sheet1.Columns.Get(17).Tag = "구매입고"; this.fpSpread1_Sheet1.Columns.Get(17).Width = 93F; - this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType18; + this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType8; this.fpSpread1_Sheet1.Columns.Get(18).DataField = "Item"; this.fpSpread1_Sheet1.Columns.Get(18).Tag = "item"; this.fpSpread1_Sheet1.Columns.Get(18).Visible = false; this.fpSpread1_Sheet1.Columns.Get(18).Width = 93F; - this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType19; + this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType9; this.fpSpread1_Sheet1.Columns.Get(19).DataField = "ItemSupplyidx"; this.fpSpread1_Sheet1.Columns.Get(19).Visible = false; this.fpSpread1_Sheet1.Columns.Get(19).Width = 93F; - this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType20; + this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType10; this.fpSpread1_Sheet1.Columns.Get(20).DataField = "idx"; this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(20).Tag = "idx"; @@ -1367,11 +1377,11 @@ this.fpSpread1_Sheet1.FilterBarHeaderStyle.Parent = "FilterBarHeaderFlat"; this.fpSpread1_Sheet1.PrintInfo.Footer = "EET Groupware - Alpha -"; this.fpSpread1_Sheet1.PrintInfo.Header = "PartList"; - noPrinterPrintInfo2.Bounds = new System.Drawing.Rectangle(0, 0, 816, 1148); - noPrinterPrintInfo2.HardMarginX = 0F; - noPrinterPrintInfo2.HardMarginY = 0F; - noPrinterPrintInfo2.SupportColor = true; - this.fpSpread1_Sheet1.PrintInfo.NoPrinterSetting = noPrinterPrintInfo2; + noPrinterPrintInfo1.Bounds = new System.Drawing.Rectangle(0, 0, 816, 1148); + noPrinterPrintInfo1.HardMarginX = 0F; + noPrinterPrintInfo1.HardMarginY = 0F; + noPrinterPrintInfo1.SupportColor = true; + this.fpSpread1_Sheet1.PrintInfo.NoPrinterSetting = noPrinterPrintInfo1; this.fpSpread1_Sheet1.PrintInfo.PdfSecurity = null; this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; this.fpSpread1_Sheet1.RowHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty; @@ -1385,13 +1395,6 @@ this.fpSpread1_Sheet1.TitleInfo.Value = "Partlist"; this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; // - // 선택해제ToolStripMenuItem - // - this.선택해제ToolStripMenuItem.Name = "선택해제ToolStripMenuItem"; - this.선택해제ToolStripMenuItem.Size = new System.Drawing.Size(146, 46); - this.선택해제ToolStripMenuItem.Text = "선택해제"; - this.선택해제ToolStripMenuItem.Click += new System.EventHandler(this.선택해제ToolStripMenuItem_Click); - // // fPartList // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); diff --git a/SubProject/FPJ0000/Project/fPartList.cs b/SubProject/FPJ0000/Project/fPartList.cs index 6d4eef5..8dd2480 100644 --- a/SubProject/FPJ0000/Project/fPartList.cs +++ b/SubProject/FPJ0000/Project/fPartList.cs @@ -221,7 +221,7 @@ namespace FPJ0000 Boolean bPO = false; var row = this.fpSpread1.ActiveSheet.Rows[i]; - // var value_buy = this.fpSpread1.ActiveSheet.GetValue(i, col_buy); + // var value_buy = this.fpSpread1.ActiveSheet.GetValue(i, col_buy); var db_supply = this.fpSpread1.ActiveSheet.GetValue(i, col_supply); var db_sid = this.fpSpread1.ActiveSheet.GetValue(i, col_sid); if (db_sid != null) v_sid = db_sid.ToString(); @@ -229,9 +229,29 @@ namespace FPJ0000 //해당 자료의 CR구매현황을 확인한다(gcode,project,sid) FCOMMON.DBM.buyinfo sidinfo; - if (sidlist.Contains(v_sid)) + if (v_sid.isEmpty() == false && v_sid.Length == 9 && v_sid.StartsWith("10")) + { + if (sidlist.Contains(v_sid)) + { + //한번 계산했던 SID이다 + //sidinfo = new FCOMMON.DBM.buyinfo(); + row.ForeColor = Color.Gray; + row.BackColor = Color.WhiteSmoke; + + sidinfo = FCOMMON.DBM.GetPartBuyInfo(project, v_sid); + fpSpread1.ActiveSheet.Cells[i, col_buyqty].Value = sidinfo.Total_Request; + fpSpread1.ActiveSheet.Cells[i, col_inqty].Value = sidinfo.Total_Buy; + continue; + } + else + { + sidinfo = FCOMMON.DBM.GetPartBuyInfo(project, v_sid); + sidlist.Add(v_sid); + } + + } + else if(v_sid.StartsWith("신규")) { - //한번 계산했던 SID이다 sidinfo = new FCOMMON.DBM.buyinfo(); row.ForeColor = Color.Gray; row.BackColor = Color.WhiteSmoke; @@ -239,13 +259,16 @@ namespace FPJ0000 } else { - sidinfo = FCOMMON.DBM.GetPartBuyInfo(project, v_sid); - sidlist.Add(v_sid); + sidinfo = new FCOMMON.DBM.buyinfo(); + row.ForeColor = Color.Black; + row.BackColor = Color.White; + continue; } - + fpSpread1.ActiveSheet.Cells[i, col_buyqty].Value = sidinfo.Total_Request; fpSpread1.ActiveSheet.Cells[i, col_inqty].Value = sidinfo.Total_Buy; + TotInfo.PO += sidinfo.PO; TotInfo.PR += sidinfo.PR; TotInfo.Received += sidinfo.Received; @@ -266,19 +289,19 @@ namespace FPJ0000 { //여기서부터는 무조건 구매대상이다 //입고수량이 구매수량을 넘어가면 완료이다 - if(sidinfo.Total_Buy >= sidinfo.Total_Request ) + if (sidinfo.Total_Buy >= sidinfo.Total_Request) { 구매완료 += 1; row.ForeColor = Color.Black; row.BackColor = Color.LimeGreen; } - else if(sidinfo.Total_Buy > 0) //구매진행중이다 + else if (sidinfo.Total_Buy > 0) //구매진행중이다 { 구매진행 += 1; row.ForeColor = Color.White; row.BackColor = Color.DarkMagenta; } - else if(sidinfo.PR > 0) + else if (sidinfo.PR > 0) { PO대기 += 1; row.ForeColor = Color.Black; @@ -298,7 +321,7 @@ namespace FPJ0000 } //if (bPR == false) //{ - + // { // 구매요청 += 1; // row.ForeColor = Color.Black; @@ -641,11 +664,11 @@ namespace FPJ0000 List idxlist = new List(); foreach (var sel in sels) { - for(int r = sel.Row; r< (sel.Row + sel.RowCount); r++) + for (int r = sel.Row; r < (sel.Row + sel.RowCount); r++) { var idx = (int)this.fpSpread1.ActiveSheet.Cells[r, idxColumn].Value; if (idx < 0) continue; - if(idxlist.Contains(idx)==false) idxlist.Add(idx); + if (idxlist.Contains(idx) == false) idxlist.Add(idx); } } @@ -784,15 +807,15 @@ namespace FPJ0000 { fpSpread1.ActiveSheet.ClearSelection(); //fpSpread1.ActiveSheet.SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Cell; - fpSpread1.ActiveSheet.AddSelection(0, 0, fpSpread1.ActiveSheet.RowCount , 1); + fpSpread1.ActiveSheet.AddSelection(0, 0, fpSpread1.ActiveSheet.RowCount, 1); var list = fpSpread1.ActiveSheet.GetSelections(); fpSpread1.ActiveSheet.SetActiveCell(0, 0, false); fpSpread1.ActiveSheet.SetActiveCell(1, 1, false); fpSpread1.ActiveSheet.SetActiveCell(2, 2, false); var selected = fpSpread1.ActiveSheet.GetSelections(); - - + + diff --git a/SubProject/FPJ0000/Project/fPartList.resx b/SubProject/FPJ0000/Project/fPartList.resx index 61a88fd..5f73dd7 100644 --- a/SubProject/FPJ0000/Project/fPartList.resx +++ b/SubProject/FPJ0000/Project/fPartList.resx @@ -219,12 +219,6 @@ 100, 17 - - 100, 17 - - - 17, 17 - 17, 17 @@ -366,20 +360,20 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAA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pkHo/H+wMUXJ4nAsHB + vwAAAABJRU5ErkJggg== @@ -449,7 +443,4 @@ 711, 18 - - 614, 18 - \ No newline at end of file