diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs index 7b56937..a625c6a 100644 --- a/Project/Properties/AssemblyInfo.cs +++ b/Project/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 // 지정되도록 할 수 있습니다. // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("20.04.14.2100")] -[assembly: AssemblyFileVersion("20.04.14.2100")] +[assembly: AssemblyVersion("20.04.17.1350")] +[assembly: AssemblyFileVersion("20.04.17.1350")] diff --git a/SubProject/FCOMMON/FCOMMON.csproj b/SubProject/FCOMMON/FCOMMON.csproj index c2d4d58..11128d5 100644 --- a/SubProject/FCOMMON/FCOMMON.csproj +++ b/SubProject/FCOMMON/FCOMMON.csproj @@ -93,6 +93,12 @@ fLovDateList.cs + + Form + + + fProgress.cs + Form @@ -128,6 +134,9 @@ fLovDateList.cs + + fProgress.cs + fSelectDay.cs diff --git a/SubProject/FEQ0000/Purchase/fPurchase.Designer.cs b/SubProject/FEQ0000/Purchase/fPurchase.Designer.cs index 4d6a240..1888fb1 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase.Designer.cs +++ b/SubProject/FEQ0000/Purchase/fPurchase.Designer.cs @@ -30,31 +30,31 @@ { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchase)); - 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.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.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType(); - 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.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType58 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType59 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType60 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType61 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType62 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType63 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType64 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType65 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType66 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType67 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType16 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType68 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType69 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType17 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType70 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType18 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType71 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType19 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType72 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType20 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType73 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType74 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType75 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType76 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType4 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); this.dsPurchase = new FEQ0000.dsPurchase(); this.bs = new System.Windows.Forms.BindingSource(this.components); this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter(); @@ -122,6 +122,9 @@ this.btViewDel = new System.Windows.Forms.ToolStripButton(); this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); + this.sC검색ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.cRCF검색ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); @@ -330,6 +333,7 @@ this.toolStripLabel2.Name = "toolStripLabel2"; this.toolStripLabel2.Size = new System.Drawing.Size(31, 23); this.toolStripLabel2.Text = "검색"; + this.toolStripLabel2.Click += new System.EventHandler(this.toolStripLabel2_Click); // // tbFind // @@ -382,9 +386,12 @@ this.추가ToolStripMenuItem, this.makeRepeatToolStripMenuItem, this.편집ToolStripMenuItem1, - this.삭제ToolStripMenuItem}); + this.삭제ToolStripMenuItem, + this.toolStripMenuItem1, + this.sC검색ToolStripMenuItem, + this.cRCF검색ToolStripMenuItem}); this.cm1.Name = "contextMenuStrip1"; - this.cm1.Size = new System.Drawing.Size(317, 310); + this.cm1.Size = new System.Drawing.Size(317, 400); // // columnSizeToolStripMenuItem // @@ -732,7 +739,7 @@ this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F; this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoSort = true; - this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType58; this.fpSpread1_Sheet1.Columns.Get(0).DataField = "pdate"; this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(0).Label = "등록일"; @@ -740,7 +747,7 @@ this.fpSpread1_Sheet1.Columns.Get(0).Width = 77F; this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType59; this.fpSpread1_Sheet1.Columns.Get(1).DataField = "state"; this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(1).Label = "상태"; @@ -748,165 +755,165 @@ this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(1).Width = 49F; this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType60; this.fpSpread1_Sheet1.Columns.Get(2).DataField = "place"; this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(2).Label = "보관소"; this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType4; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType61; this.fpSpread1_Sheet1.Columns.Get(3).DataField = "process"; this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(3).Label = "공정"; this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(3).Width = 49F; this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType5; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType62; this.fpSpread1_Sheet1.Columns.Get(4).DataField = "requestName"; 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).Width = 37F; - this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType63; this.fpSpread1_Sheet1.Columns.Get(5).DataField = "sc"; this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(5).Label = "SC#"; this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(5).Width = 24F; - this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType64; this.fpSpread1_Sheet1.Columns.Get(6).DataField = "orderno"; this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(6).Label = "CR/CF#"; this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(6).Width = 43F; - this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType8; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType65; this.fpSpread1_Sheet1.Columns.Get(7).DataField = "receiveName"; this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(7).Label = "수령"; this.fpSpread1_Sheet1.Columns.Get(7).Width = 33F; this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoSort = true; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType9; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType66; this.fpSpread1_Sheet1.Columns.Get(8).DataField = "sid"; this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(8).Label = "SID#"; this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(8).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType10; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType67; this.fpSpread1_Sheet1.Columns.Get(9).DataField = "pumname"; this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(9).Label = "품명"; this.fpSpread1_Sheet1.Columns.Get(9).Width = 33F; this.fpSpread1_Sheet1.Columns.Get(10).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType1.DecimalPlaces = 0; - numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType1.MaximumValue = 2147483647D; - numberCellType1.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType1; + numberCellType16.DecimalPlaces = 0; + numberCellType16.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType16.MaximumValue = 2147483647D; + numberCellType16.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType16; this.fpSpread1_Sheet1.Columns.Get(10).DataField = "pumidx"; this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(10).Label = "*"; this.fpSpread1_Sheet1.Columns.Get(10).Width = 14F; - this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType11; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType68; this.fpSpread1_Sheet1.Columns.Get(11).DataField = "pumscale"; this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(11).Label = "규격"; this.fpSpread1_Sheet1.Columns.Get(11).Width = 33F; - this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType12; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType69; this.fpSpread1_Sheet1.Columns.Get(12).DataField = "dept"; this.fpSpread1_Sheet1.Columns.Get(12).Label = "장비\r\n제조사"; this.fpSpread1_Sheet1.Columns.Get(12).Width = 45F; - this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType12; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType69; this.fpSpread1_Sheet1.Columns.Get(13).DataField = "manuproc"; this.fpSpread1_Sheet1.Columns.Get(13).Label = "제조\r\n공정"; this.fpSpread1_Sheet1.Columns.Get(13).Width = 33F; - this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType12; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType69; this.fpSpread1_Sheet1.Columns.Get(14).DataField = "asset"; this.fpSpread1_Sheet1.Columns.Get(14).Label = "장비\r\n모델"; this.fpSpread1_Sheet1.Columns.Get(14).Width = 33F; - numberCellType2.DecimalPlaces = 0; - numberCellType2.NegativeRed = true; - numberCellType2.NullDisplay = "--"; - numberCellType2.Separator = ","; - numberCellType2.ShowSeparator = true; - numberCellType2.ShrinkToFit = true; - this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType2; + numberCellType17.DecimalPlaces = 0; + numberCellType17.NegativeRed = true; + numberCellType17.NullDisplay = "--"; + numberCellType17.Separator = ","; + numberCellType17.ShowSeparator = true; + numberCellType17.ShrinkToFit = true; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType17; this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumqty"; this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(15).Label = "수량"; this.fpSpread1_Sheet1.Columns.Get(15).Width = 33F; - this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType13; + this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType70; this.fpSpread1_Sheet1.Columns.Get(16).DataField = "pumunit"; 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).Width = 33F; - numberCellType3.DecimalPlaces = 0; - numberCellType3.NegativeRed = true; - numberCellType3.NullDisplay = "--"; - numberCellType3.Separator = ","; - numberCellType3.ShowSeparator = true; - numberCellType3.ShrinkToFit = true; - this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType3; + numberCellType18.DecimalPlaces = 0; + numberCellType18.NegativeRed = true; + numberCellType18.NullDisplay = "--"; + numberCellType18.Separator = ","; + numberCellType18.ShowSeparator = true; + numberCellType18.ShrinkToFit = true; + this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType18; this.fpSpread1_Sheet1.Columns.Get(17).DataField = "pumprice"; this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; this.fpSpread1_Sheet1.Columns.Get(17).Label = "단가"; this.fpSpread1_Sheet1.Columns.Get(17).Width = 33F; - this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType3; + this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType18; this.fpSpread1_Sheet1.Columns.Get(18).DataField = "pumamt"; this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; this.fpSpread1_Sheet1.Columns.Get(18).Label = "합계금액"; this.fpSpread1_Sheet1.Columns.Get(18).Width = 33F; this.fpSpread1_Sheet1.Columns.Get(19).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType14; + this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType71; this.fpSpread1_Sheet1.Columns.Get(19).DataField = "supply"; this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(19).Label = "공급업체"; this.fpSpread1_Sheet1.Columns.Get(19).Width = 49F; this.fpSpread1_Sheet1.Columns.Get(20).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType4.DecimalPlaces = 0; - numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType4.MaximumValue = 2147483647D; - numberCellType4.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType4; + numberCellType19.DecimalPlaces = 0; + numberCellType19.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType19.MaximumValue = 2147483647D; + numberCellType19.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType19; this.fpSpread1_Sheet1.Columns.Get(20).DataField = "supplyidx"; this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(20).Label = "*"; this.fpSpread1_Sheet1.Columns.Get(20).Width = 14F; this.fpSpread1_Sheet1.Columns.Get(21).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType15; + this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType72; this.fpSpread1_Sheet1.Columns.Get(21).DataField = "project"; this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(21).Label = "관련프로젝트"; this.fpSpread1_Sheet1.Columns.Get(21).Width = 45F; this.fpSpread1_Sheet1.Columns.Get(22).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType5.DecimalPlaces = 0; - numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType5.MaximumValue = 2147483647D; - numberCellType5.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(22).CellType = numberCellType5; + numberCellType20.DecimalPlaces = 0; + numberCellType20.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType20.MaximumValue = 2147483647D; + numberCellType20.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(22).CellType = numberCellType20; this.fpSpread1_Sheet1.Columns.Get(22).DataField = "projectidx"; this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(22).Label = "*"; this.fpSpread1_Sheet1.Columns.Get(22).Width = 14F; - this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType16; + this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType73; this.fpSpread1_Sheet1.Columns.Get(23).DataField = "edate"; this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(23).Label = "입고예정"; this.fpSpread1_Sheet1.Columns.Get(23).Width = 33F; - this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType17; + this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType74; this.fpSpread1_Sheet1.Columns.Get(24).DataField = "indate"; this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(24).Label = "입고일"; this.fpSpread1_Sheet1.Columns.Get(24).Width = 33F; - this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType18; + this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType75; this.fpSpread1_Sheet1.Columns.Get(25).DataField = "po"; this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(25).Label = "PO#"; this.fpSpread1_Sheet1.Columns.Get(25).Width = 32F; - this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType19; + this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType76; this.fpSpread1_Sheet1.Columns.Get(26).DataField = "bigo"; this.fpSpread1_Sheet1.Columns.Get(26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(26).Label = "비고"; this.fpSpread1_Sheet1.Columns.Get(26).Width = 33F; - this.fpSpread1_Sheet1.Columns.Get(27).CellType = checkBoxCellType1; + this.fpSpread1_Sheet1.Columns.Get(27).CellType = checkBoxCellType4; this.fpSpread1_Sheet1.Columns.Get(27).DataField = "isdel"; this.fpSpread1_Sheet1.Columns.Get(27).Label = "삭제됨"; this.fpSpread1_Sheet1.Columns.Get(27).Tag = "isdel"; @@ -917,6 +924,25 @@ this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(313, 6); + // + // sC검색ToolStripMenuItem + // + this.sC검색ToolStripMenuItem.Name = "sC검색ToolStripMenuItem"; + this.sC검색ToolStripMenuItem.Size = new System.Drawing.Size(316, 42); + this.sC검색ToolStripMenuItem.Text = "S/C 검색"; + this.sC검색ToolStripMenuItem.Click += new System.EventHandler(this.sC검색ToolStripMenuItem_Click); + // + // cRCF검색ToolStripMenuItem + // + this.cRCF검색ToolStripMenuItem.Name = "cRCF검색ToolStripMenuItem"; + this.cRCF검색ToolStripMenuItem.Size = new System.Drawing.Size(316, 42); + this.cRCF검색ToolStripMenuItem.Text = "CR/CF 검색"; + this.cRCF검색ToolStripMenuItem.Click += new System.EventHandler(this.cRCF검색ToolStripMenuItem_Click); + // // fPurchase // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); @@ -1013,5 +1039,8 @@ private System.Windows.Forms.ToolStripLabel toolStripLabel4; private System.Windows.Forms.ToolStripComboBox cmbSort; private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; + private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; + private System.Windows.Forms.ToolStripMenuItem sC검색ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem cRCF검색ToolStripMenuItem; } } diff --git a/SubProject/FEQ0000/Purchase/fPurchase.cs b/SubProject/FEQ0000/Purchase/fPurchase.cs index abdf410..20a7055 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase.cs +++ b/SubProject/FEQ0000/Purchase/fPurchase.cs @@ -826,5 +826,44 @@ namespace FEQ0000 this.Close(); } + private void sC검색ToolStripMenuItem_Click(object sender, EventArgs e) + { + //sc + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var newdr = drv.Row as dsPurchase.PurchaseRow; + if(newdr.sc.Trim() == "") + { + FCOMMON.Util.MsgE("SC값이 없습니다"); + return; + } + tbFind.Text = newdr.sc; + btFind.PerformClick(); + } + + private void cRCF검색ToolStripMenuItem_Click(object sender, EventArgs e) + { + //crcf + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var newdr = drv.Row as dsPurchase.PurchaseRow; + if (newdr.orderno.Trim() == "") + { + FCOMMON.Util.MsgE("CR/CF값이 없습니다"); + return; + } + tbFind.Text = newdr.orderno; + btFind.PerformClick(); + } + + private void toolStripLabel2_Click(object sender, EventArgs e) + { + if (tbFind.Text != "") + { + tbFind.Text = ""; + btFind.PerformClick(); + } + + } } } diff --git a/SubProject/FPJ0000/Project/fPartList.Designer.cs b/SubProject/FPJ0000/Project/fPartList.Designer.cs index a359f92..58e7677 100644 --- a/SubProject/FPJ0000/Project/fPartList.Designer.cs +++ b/SubProject/FPJ0000/Project/fPartList.Designer.cs @@ -40,25 +40,25 @@ System.Windows.Forms.Label label1; System.Windows.Forms.Label label2; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPartList)); - 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.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); - 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.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo1 = new FarPoint.Win.Spread.NoPrinterPrintInfo(); + 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 textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); + 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.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = 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.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo2 = new FarPoint.Win.Spread.NoPrinterPrintInfo(); this.panel1 = new System.Windows.Forms.Panel(); this.radSortGrp = new System.Windows.Forms.RadioButton(); this.radSortNo = new System.Windows.Forms.RadioButton(); @@ -107,12 +107,12 @@ this.lbSum = new System.Windows.Forms.ToolStripLabel(); this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); - this.toolStripButton5 = new System.Windows.Forms.ToolStripButton(); this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager(); this.taPart = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter(); this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); pdateLabel = new System.Windows.Forms.Label(); requestLabel = new System.Windows.Forms.Label(); reqstaffLabel = new System.Windows.Forms.Label(); @@ -412,7 +412,7 @@ this.toolStripMenuItem1, this.exportListToolStripMenuItem}); this.cm1.Name = "cm1"; - this.cm1.Size = new System.Drawing.Size(243, 104); + this.cm1.Size = new System.Drawing.Size(243, 82); // // columnSizeToolStripMenuItem // @@ -502,9 +502,9 @@ this.toolStripSeparator3, this.toolStripLabel1, this.lbSum, + this.toolStripSeparator2, this.toolStripButton3, - this.toolStripButton4, - this.toolStripButton5}); + this.toolStripButton4}); this.bn.Location = new System.Drawing.Point(0, 591); this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; @@ -660,8 +660,8 @@ this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton3.Name = "toolStripButton3"; - this.toolStripButton3.Size = new System.Drawing.Size(75, 22); - this.toolStripButton3.Text = "가져오기"; + this.toolStripButton3.Size = new System.Drawing.Size(99, 22); + this.toolStripButton3.Text = "목록가져오기"; this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); // // toolStripButton4 @@ -670,21 +670,10 @@ this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image"))); this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton4.Name = "toolStripButton4"; - this.toolStripButton4.Size = new System.Drawing.Size(107, 22); - this.toolStripButton4.Text = "구매등록(전체)"; + this.toolStripButton4.Size = new System.Drawing.Size(75, 22); + this.toolStripButton4.Text = "구매등록"; this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click); // - // toolStripButton5 - // - this.toolStripButton5.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - this.toolStripButton5.Enabled = false; - this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image"))); - this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton5.Name = "toolStripButton5"; - this.toolStripButton5.Size = new System.Drawing.Size(107, 22); - this.toolStripButton5.Text = "구매등록(선택)"; - this.toolStripButton5.Click += new System.EventHandler(this.toolStripButton5_Click); - // // ta // this.ta.ClearBeforeFill = true; @@ -712,12 +701,12 @@ this.fpSpread1.ContextMenuStrip = this.cm1; this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; this.fpSpread1.EditModeReplace = true; - this.fpSpread1.FocusRenderer = flatFocusIndicatorRenderer1; + this.fpSpread1.FocusRenderer = flatFocusIndicatorRenderer2; 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 = ""; - flatScrollBarRenderer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.fpSpread1.HorizontalScrollBar.Renderer = flatScrollBarRenderer1; + flatScrollBarRenderer3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.fpSpread1.HorizontalScrollBar.Renderer = flatScrollBarRenderer3; this.fpSpread1.Location = new System.Drawing.Point(0, 97); this.fpSpread1.Name = "fpSpread1"; this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { @@ -729,8 +718,8 @@ this.fpSpread1.TitleInfo.Value = "PartList"; this.fpSpread1.VerticalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton"); this.fpSpread1.VerticalScrollBar.Name = ""; - flatScrollBarRenderer2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.fpSpread1.VerticalScrollBar.Renderer = flatScrollBarRenderer2; + flatScrollBarRenderer4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.fpSpread1.VerticalScrollBar.Renderer = flatScrollBarRenderer4; this.fpSpread1.EditModeOff += new System.EventHandler(this.fpSpread1_EditModeOff); // // fpSpread1_Sheet1 @@ -770,85 +759,85 @@ this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent = "ColumnHeaderFlat"; this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 36F; this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType11; this.fpSpread1_Sheet1.Columns.Get(0).DataField = "ItemGroup"; this.fpSpread1_Sheet1.Columns.Get(0).Label = "중분류"; this.fpSpread1_Sheet1.Columns.Get(0).Width = 89F; this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType12; this.fpSpread1_Sheet1.Columns.Get(1).DataField = "option1"; this.fpSpread1_Sheet1.Columns.Get(1).Label = "소분류"; this.fpSpread1_Sheet1.Columns.Get(1).Width = 86F; - numberCellType1.DecimalPlaces = 0; - numberCellType1.NegativeRed = true; - numberCellType1.NullDisplay = "--"; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = numberCellType1; + numberCellType6.DecimalPlaces = 0; + numberCellType6.NegativeRed = true; + numberCellType6.NullDisplay = "--"; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = numberCellType6; 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).Label = "번호"; this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(2).Width = 79F; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType13; 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"; this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; 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 = textCellType4; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType14; 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 = 113F; - this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType15; 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 = 99F; - numberCellType2.DecimalPlaces = 0; - numberCellType2.MaximumValue = 10000000D; - numberCellType2.MinimumValue = -10000000D; - numberCellType2.NegativeRed = true; - numberCellType2.NullDisplay = "0"; - numberCellType2.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(6).CellType = numberCellType2; + numberCellType7.DecimalPlaces = 0; + numberCellType7.MaximumValue = 10000000D; + numberCellType7.MinimumValue = -10000000D; + numberCellType7.NegativeRed = true; + numberCellType7.NullDisplay = "0"; + numberCellType7.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = numberCellType7; this.fpSpread1_Sheet1.Columns.Get(6).DataField = "price"; this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; this.fpSpread1_Sheet1.Columns.Get(6).Label = "단가"; this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - 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(7).CellType = numberCellType3; + numberCellType8.DecimalPlaces = 0; + numberCellType8.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType8.MaximumValue = 2147483647D; + numberCellType8.MinimumValue = -2147483648D; + numberCellType8.NegativeRed = true; + numberCellType8.Separator = ","; + numberCellType8.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = numberCellType8; this.fpSpread1_Sheet1.Columns.Get(7).DataField = "qty"; 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).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(7).Width = 97F; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType6; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType16; this.fpSpread1_Sheet1.Columns.Get(8).DataField = "ItemUnit"; this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(8).Label = "단위"; this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(9).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType4.DecimalPlaces = 0; - numberCellType4.MaximumValue = 999999999999999D; - numberCellType4.MinimumValue = -999999999999999D; - numberCellType4.NegativeRed = true; - numberCellType4.Separator = ","; - numberCellType4.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType4; + numberCellType9.DecimalPlaces = 0; + numberCellType9.MaximumValue = 999999999999999D; + numberCellType9.MinimumValue = -999999999999999D; + numberCellType9.NegativeRed = true; + numberCellType9.Separator = ","; + numberCellType9.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType9; this.fpSpread1_Sheet1.Columns.Get(9).DataField = "amt"; this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; this.fpSpread1_Sheet1.Columns.Get(9).Label = "금액"; this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(9).Width = 84F; - this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType7; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType17; this.fpSpread1_Sheet1.Columns.Get(10).DataField = "ItemManu"; this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(10).Label = "제조사"; @@ -856,29 +845,29 @@ this.fpSpread1_Sheet1.Columns.Get(10).Width = 113F; this.fpSpread1_Sheet1.Columns.Get(11).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(11).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType8; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType18; this.fpSpread1_Sheet1.Columns.Get(11).DataField = "ItemSupply"; this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(11).ImeMode = System.Windows.Forms.ImeMode.Hangul; this.fpSpread1_Sheet1.Columns.Get(11).Label = "공급사"; this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(11).Width = 113F; - this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType9; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType19; this.fpSpread1_Sheet1.Columns.Get(12).DataField = "option2"; this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(12).Label = "납기일"; this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType10; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType20; this.fpSpread1_Sheet1.Columns.Get(13).DataField = "memo"; this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(13).Label = "비고"; this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(14).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType5.DecimalPlaces = 0; - numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType5.MaximumValue = 2147483647D; - numberCellType5.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType5; + numberCellType10.DecimalPlaces = 0; + numberCellType10.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType10.MaximumValue = 2147483647D; + numberCellType10.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType10; this.fpSpread1_Sheet1.Columns.Get(14).DataField = "ItemSupplyidx"; this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(14).Label = "공급사코드"; @@ -899,11 +888,11 @@ this.fpSpread1_Sheet1.FilterBarHeaderStyle.Parent = "FilterBarHeaderFlat"; this.fpSpread1_Sheet1.PrintInfo.Footer = "EET Groupware - Alpha -"; this.fpSpread1_Sheet1.PrintInfo.Header = "PartList"; - 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; + 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; this.fpSpread1_Sheet1.PrintInfo.PdfSecurity = null; this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; this.fpSpread1_Sheet1.RowHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty; @@ -916,6 +905,12 @@ this.fpSpread1_Sheet1.TitleInfo.Value = "Partlist"; this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; // + // toolStripSeparator2 + // + this.toolStripSeparator2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); + // // fPartList // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); @@ -994,10 +989,10 @@ private System.Windows.Forms.ToolStripLabel toolStripLabel2; private System.Windows.Forms.ToolStripTextBox tbFind; private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; - private System.Windows.Forms.ToolStripButton toolStripButton5; private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; private System.Windows.Forms.Button button1; private System.Windows.Forms.RadioButton radSortNo; private System.Windows.Forms.RadioButton radSortGrp; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; } } \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fPartList.resx b/SubProject/FPJ0000/Project/fPartList.resx index b9c7241..2f8abbf 100644 --- a/SubProject/FPJ0000/Project/fPartList.resx +++ b/SubProject/FPJ0000/Project/fPartList.resx @@ -150,6 +150,12 @@ 100, 17 + + 100, 17 + + + 17, 17 + 17, 17 @@ -280,61 +286,56 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG - YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 - 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw - bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc - VzOOpHI7Jr376Hi9ogHqFIANO0/Mmm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ESDH2672ST4qXtqQ8M + w8zOb573fWa5/66lpSX4/X7Mzs7C6/U+5rLZLGjs7e0hlUohmUxCFEVsb29ja2sL6+vrCIfDCIVCWFxc + ZGe73S7a7TYcDkeVy2QyOD8/x9nZ2R/HyckJ5ufnv3U6HRwcHMButzfNZrOC293dZRutVgu5XA5HR0eg + vWaziXg8jnq9jmg0ys6srq6iWq2yiiR4SO6K4xKJBPb396lkPp1OY21tjSc4EAjw1Mbc3BxPsMvl4qU9 + 1r/RaByQcY7b2dlBuVxmGTQaDZYBORNcq9WunJeXl1EqlcgdOp3umoxfaGNjA6enp4jFYsw5EokwZyrX + ZrPxBJtMJt7n80Gr1ULGfmtlZWWiUCjg8PAQBJOztIdKpQJ6OnKWLkSxWIRKpfopY71aWFigpDEzMwO3 + 2w1BEGCxWKhfqCyv8cY9jJf2+xj+MIS7bwcnZOzvGhUevNeHnyJa9aL0XYQQV+CRMAh+rN/KDkh93ZCS + /TQ9PU1JU8/ULwwGA4WFJ1N3sFlxYPOLCyRr4gWExKh0Qd8PdoEEs3KcTue41Wr9KsHj7IOse+9u4nPV + x+BLRcpe3BrrvwjT4/FMSL8le658Po9gMMiSVqvVUCqVuP3qOj6KzzAljjB4KjbSW8GlJicnodfrodFo + eirgFf2Gh9YB2MTnzJlmWl9l8C/iFX0mCTimsmmmNcdx3C8EfvhOOABiYwAAAABJRU5ErkJggg== diff --git a/SubProject/FPJ0000/Project/fProjectList.Designer.cs b/SubProject/FPJ0000/Project/fProjectList.Designer.cs index 27734e7..0a2e869 100644 --- a/SubProject/FPJ0000/Project/fProjectList.Designer.cs +++ b/SubProject/FPJ0000/Project/fProjectList.Designer.cs @@ -30,24 +30,24 @@ { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectList)); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType11 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType27 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType28 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType29 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType30 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType31 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType32 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType33 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType34 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType35 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType36 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType37 = 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 textCellType38 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType39 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); + 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.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.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); + 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 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 textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); this.bn = new System.Windows.Forms.BindingNavigator(this.components); this.bs = new System.Windows.Forms.BindingSource(this.components); this.dsMSSQL = new FPJ0000.dsPRJ(); @@ -66,6 +66,9 @@ this.btDel = new System.Windows.Forms.ToolStripButton(); this.btSave = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); this.tbFind = new System.Windows.Forms.ToolStripTextBox(); this.btFind = new System.Windows.Forms.ToolStripButton(); @@ -144,9 +147,6 @@ this.taHist = new FPJ0000.dsPRJTableAdapters.ProjectsHistoryTableAdapter(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.panel3 = new System.Windows.Forms.Panel(); - this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); - this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); this.bn.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); @@ -328,6 +328,29 @@ this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // + // toolStripButton1 + // + this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); + this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton1.Name = "toolStripButton1"; + this.toolStripButton1.Size = new System.Drawing.Size(87, 22); + this.toolStripButton1.Text = "파트리스트"; + this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); + // + // toolStripButton3 + // + this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); + this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton3.Name = "toolStripButton3"; + this.toolStripButton3.Size = new System.Drawing.Size(56, 22); + this.toolStripButton3.Text = "I/O맵"; + this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25); + // // toolStripLabel1 // this.toolStripLabel1.Name = "toolStripLabel1"; @@ -575,114 +598,114 @@ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 16).Value = "CR/CF#"; this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F; this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType11.DecimalPlaces = 0; - numberCellType11.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType11.MaximumValue = 2147483647D; - numberCellType11.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType11; + numberCellType1.DecimalPlaces = 0; + numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType1.MaximumValue = 2147483647D; + numberCellType1.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1; this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx"; this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(0).Locked = true; this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType27; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1; this.fpSpread1_Sheet1.Columns.Get(1).DataField = "status"; this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(1).Tag = "state"; this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(1).Width = 78F; this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType28; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; this.fpSpread1_Sheet1.Columns.Get(2).DataField = "category"; this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType29; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; this.fpSpread1_Sheet1.Columns.Get(3).DataField = "part"; this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType30; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; this.fpSpread1_Sheet1.Columns.Get(4).DataField = "process"; this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(4).Width = 78F; this.fpSpread1_Sheet1.Columns.Get(5).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType31; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5; this.fpSpread1_Sheet1.Columns.Get(5).DataField = "reqstaff"; this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(5).Width = 78F; this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType32; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6; this.fpSpread1_Sheet1.Columns.Get(6).DataField = "userManager"; this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(6).Width = 78F; this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType33; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType7; this.fpSpread1_Sheet1.Columns.Get(7).DataField = "usermain"; this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(7).Label = "H/W"; this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(7).Width = 78F; this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType34; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8; this.fpSpread1_Sheet1.Columns.Get(8).DataField = "userhw2"; this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(8).Label = "전장"; this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType35; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType9; this.fpSpread1_Sheet1.Columns.Get(9).DataField = "usersub"; this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(9).Label = "S/W"; this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(9).Width = 78F; - this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType36; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType10; this.fpSpread1_Sheet1.Columns.Get(10).DataField = "asset"; this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(10).Label = "Asset No."; this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(10).Width = 78F; - this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType37; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType11; this.fpSpread1_Sheet1.Columns.Get(11).DataField = "name"; this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(11).Width = 78F; - numberCellType12.DecimalPlaces = 0; - numberCellType12.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType12.MaximumValue = 2147483647D; - numberCellType12.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType12; + numberCellType2.DecimalPlaces = 0; + numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType2.MaximumValue = 2147483647D; + numberCellType2.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType2; this.fpSpread1_Sheet1.Columns.Get(12).DataField = "cnt"; this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(12).Width = 59F; - numberCellType13.MaximumValue = 999999999999999D; - numberCellType13.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType13; + numberCellType3.MaximumValue = 999999999999999D; + numberCellType3.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType3; this.fpSpread1_Sheet1.Columns.Get(13).DataField = "costo"; this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - numberCellType14.MaximumValue = 999999999999999D; - numberCellType14.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType14; + numberCellType4.MaximumValue = 999999999999999D; + numberCellType4.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType4; this.fpSpread1_Sheet1.Columns.Get(14).DataField = "costn"; this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(15).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType15.MaximumValue = 999999999999999D; - numberCellType15.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType15; + numberCellType5.MaximumValue = 999999999999999D; + numberCellType5.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType5; this.fpSpread1_Sheet1.Columns.Get(15).DataField = "coste"; this.fpSpread1_Sheet1.Columns.Get(15).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType38; + this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType12; this.fpSpread1_Sheet1.Columns.Get(16).DataField = "orderno"; this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(16).Label = "CR/CF#"; this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType39; + this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType13; this.fpSpread1_Sheet1.Columns.Get(17).DataField = "memo"; this.fpSpread1_Sheet1.DataAutoSizeColumns = false; this.fpSpread1_Sheet1.DataSource = this.bs; @@ -1283,29 +1306,6 @@ this.panel3.Size = new System.Drawing.Size(1384, 218); this.panel3.TabIndex = 7; // - // toolStripButton1 - // - this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); - this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton1.Name = "toolStripButton1"; - this.toolStripButton1.Size = new System.Drawing.Size(87, 22); - this.toolStripButton1.Text = "파트리스트"; - this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); - // - // toolStripButton3 - // - this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); - this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton3.Name = "toolStripButton3"; - this.toolStripButton3.Size = new System.Drawing.Size(56, 22); - this.toolStripButton3.Text = "I/O맵"; - this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); - // - // toolStripSeparator5 - // - this.toolStripSeparator5.Name = "toolStripSeparator5"; - this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25); - // // fProjectList // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; diff --git a/SubProject/FPJ0000/Project/fProjectList.resx b/SubProject/FPJ0000/Project/fProjectList.resx index c2c4c2e..e42ba15 100644 --- a/SubProject/FPJ0000/Project/fProjectList.resx +++ b/SubProject/FPJ0000/Project/fProjectList.resx @@ -211,36 +211,38 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG - YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 - 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw - bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc - VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 - c4jIq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XrullsxxQ+ - kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D - TgDQASA1MVpwzwAAAABJRU5ErkJggg== + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIxSURBVDhPpZL/TxJxHMbvP2prU1c612iLylIJXKQu2myz + 1ZyrGWtYiERijlWrVgihO01KR0Q0VqMEFYaahhrZd/uifYEjEIigbN3T3XFTjvypXtuz2+79PM/e++xN + /DcG50d03l6EzvYemsEFnBp4A1Xfq0f8WED/WFxNji4v9Y7EYPFEYXoYBZHO/kKhWnqf0XxGADkS/17o + Jc4GtND51NCMqnDSo+R+Npufgs8I6PF+5eYD89dAhoywzF4GgQJYw+Grc+sWmIej3DwfwuqLIF+s4eCl + oKCgziqR1ZC7UdUthtwkEfgJ23iY78oRTWahOD+1WlBnrZRJLRV0+3Ar9GPtqL6wkwuyDPrDuQLHZASO + iTBc02G8/ZLCvq4JrkDeXymTmHbQqvst2GuuRvnpEog7tmIoEIGN1Tj19wavPyVR0xGAjNxVW2UU00pX + M0T6UrqsrWi74c4SkpkV2CcpzutgvlwBtwWzgZ1Ro+0ApD0VaLhRj6POI9hyZhO9uW3jNnYjvf0DEukV + OKco3J3OiXDPUEhl1l5W0VcLjVeFJkcjyrUldHFrLsyiHXqH5W8/cS+Y2+DBLHNIrscU8iXvlkLUWYoy + TRGKT2xYDbOoby5wBW4myIa5glvMQ+TzYjEBhSGw7h2orr9EnCnwPIlyXm+IKWADharv8v/mMwKOk88R + S/0AlcjicyyDRSoNYo/Oh0KJlG4HnxFwzDLvbzKG0oeuzKHhYhD7z63dyz9CEH8A9DstjEISHpEAAAAA + SUVORK5CYII= - - 17, 17 - 387, 17 @@ -437,16 +439,10 @@ 561, 17 - - 561, 17 - 731, 17 647, 17 - - 731, 17 - \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fProjectPartToPurchase.Designer.cs b/SubProject/FPJ0000/Project/fProjectPartToPurchase.Designer.cs index 7027a6d..77442af 100644 --- a/SubProject/FPJ0000/Project/fProjectPartToPurchase.Designer.cs +++ b/SubProject/FPJ0000/Project/fProjectPartToPurchase.Designer.cs @@ -1,436 +1,711 @@ -namespace FPJ0000 -{ - partial class fProjectPartToPurchase - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - System.Windows.Forms.Label processLabel; - System.Windows.Forms.Label projectLabel; - System.Windows.Forms.Label assetLabel; - System.Windows.Forms.Label label1; - System.Windows.Forms.Label stateLabel; - System.Windows.Forms.Label label2; - System.Windows.Forms.Label label4; - System.Windows.Forms.Label label5; - System.Windows.Forms.Label label3; - System.Windows.Forms.Label label6; - this.tbProject = new System.Windows.Forms.TextBox(); - this.tbProjectIndex = new System.Windows.Forms.TextBox(); - this.dtPdate = new System.Windows.Forms.DateTimePicker(); - this.btSave = new System.Windows.Forms.Button(); - this.cmbState = new System.Windows.Forms.ComboBox(); - this.cbProcess = new System.Windows.Forms.ComboBox(); - this.cmbRequest = new System.Windows.Forms.ComboBox(); - this.tbOrderNo = new System.Windows.Forms.TextBox(); - this.cbManuProc = new System.Windows.Forms.ComboBox(); - this.cbEQModel = new System.Windows.Forms.ComboBox(); - this.cbEQManu = new System.Windows.Forms.ComboBox(); - this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); - this.textBox2 = new System.Windows.Forms.TextBox(); - this.dsPurchase = new FPJ0000.dsPurchase(); - this.bs = new System.Windows.Forms.BindingSource(this.components); - this.ta = new FPJ0000.dsPurchaseTableAdapters.PurchaseTableAdapter(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.tbSum = new System.Windows.Forms.TextBox(); - this.groupBox2 = new System.Windows.Forms.GroupBox(); - this.taProject = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); - this.tbCr = new System.Windows.Forms.TextBox(); - this.taPart = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter(); - processLabel = new System.Windows.Forms.Label(); - projectLabel = new System.Windows.Forms.Label(); - assetLabel = new System.Windows.Forms.Label(); - label1 = new System.Windows.Forms.Label(); - stateLabel = new System.Windows.Forms.Label(); - label2 = new System.Windows.Forms.Label(); - label4 = new System.Windows.Forms.Label(); - label5 = new System.Windows.Forms.Label(); - label3 = new System.Windows.Forms.Label(); - label6 = new System.Windows.Forms.Label(); - ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); - this.groupBox1.SuspendLayout(); - this.groupBox2.SuspendLayout(); - this.SuspendLayout(); - // - // processLabel - // - processLabel.AutoSize = true; - processLabel.Location = new System.Drawing.Point(49, 90); - processLabel.Name = "processLabel"; - processLabel.Size = new System.Drawing.Size(34, 17); - processLabel.TabIndex = 4; - processLabel.Text = "공정"; - // - // projectLabel - // - projectLabel.AutoSize = true; - projectLabel.Location = new System.Drawing.Point(20, 29); - projectLabel.Name = "projectLabel"; - projectLabel.Size = new System.Drawing.Size(60, 17); - projectLabel.TabIndex = 20; - projectLabel.Text = "프로젝트"; - // - // assetLabel - // - assetLabel.AutoSize = true; - assetLabel.Location = new System.Drawing.Point(26, 212); - assetLabel.Name = "assetLabel"; - assetLabel.Size = new System.Drawing.Size(60, 17); - assetLabel.TabIndex = 10; - assetLabel.Text = "장비모델"; - // - // label1 - // - label1.AutoSize = true; - label1.Location = new System.Drawing.Point(28, 28); - label1.Name = "label1"; - label1.Size = new System.Drawing.Size(47, 17); - label1.TabIndex = 0; - label1.Text = "입력일"; - // - // stateLabel - // - stateLabel.AutoSize = true; - stateLabel.Location = new System.Drawing.Point(26, 58); - stateLabel.Name = "stateLabel"; - stateLabel.Size = new System.Drawing.Size(60, 17); - stateLabel.TabIndex = 0; - stateLabel.Text = "구매상태"; - // - // label2 - // - label2.AutoSize = true; - label2.Location = new System.Drawing.Point(14, 182); - label2.Name = "label2"; - label2.Size = new System.Drawing.Size(73, 17); - label2.TabIndex = 12; - label2.Text = "장비제조사"; - // - // label4 - // - label4.AutoSize = true; - label4.Location = new System.Drawing.Point(26, 150); - label4.Name = "label4"; - label4.Size = new System.Drawing.Size(60, 17); - label4.TabIndex = 18; - label4.Text = "제조공정"; - // - // label5 - // - label5.AutoSize = true; - label5.Location = new System.Drawing.Point(33, 119); - label5.Name = "label5"; - label5.Size = new System.Drawing.Size(51, 17); - label5.TabIndex = 20; - label5.Text = "CR/CF#"; - // - // label3 - // - label3.AutoSize = true; - label3.Location = new System.Drawing.Point(20, 58); - label3.Name = "label3"; - label3.Size = new System.Drawing.Size(60, 17); - label3.TabIndex = 23; - label3.Text = "합계금액"; - // - // tbProject - // - this.tbProject.BackColor = System.Drawing.SystemColors.Control; - this.tbProject.Enabled = false; - this.tbProject.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.tbProject.Location = new System.Drawing.Point(88, 25); - this.tbProject.Name = "tbProject"; - this.tbProject.Size = new System.Drawing.Size(243, 25); - this.tbProject.TabIndex = 7; - // - // tbProjectIndex - // - this.tbProjectIndex.BackColor = System.Drawing.SystemColors.Control; - this.tbProjectIndex.Enabled = false; - this.tbProjectIndex.Location = new System.Drawing.Point(339, 25); - this.tbProjectIndex.Name = "tbProjectIndex"; - this.tbProjectIndex.ReadOnly = true; - this.tbProjectIndex.Size = new System.Drawing.Size(51, 25); - this.tbProjectIndex.TabIndex = 22; - this.tbProjectIndex.TabStop = false; - this.tbProjectIndex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.toolTip1.SetToolTip(this.tbProjectIndex, "Database ID"); - // - // dtPdate - // - this.dtPdate.Location = new System.Drawing.Point(86, 24); - this.dtPdate.Name = "dtPdate"; - this.dtPdate.Size = new System.Drawing.Size(186, 25); - this.dtPdate.TabIndex = 1; - // - // btSave - // - this.btSave.Location = new System.Drawing.Point(12, 391); - this.btSave.Name = "btSave"; - this.btSave.Size = new System.Drawing.Size(404, 43); - this.btSave.TabIndex = 0; - this.btSave.Text = "저장(&S)"; - this.btSave.UseVisualStyleBackColor = true; - this.btSave.Click += new System.EventHandler(this.button1_Click); - // - // cmbState - // - this.cmbState.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.cmbState.FormattingEnabled = true; - this.cmbState.Location = new System.Drawing.Point(86, 55); - this.cmbState.Name = "cmbState"; - this.cmbState.Size = new System.Drawing.Size(297, 25); - this.cmbState.TabIndex = 1; - // - // cbProcess - // - this.cbProcess.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; - this.cbProcess.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; - this.cbProcess.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.cbProcess.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cbProcess.FormattingEnabled = true; - this.cbProcess.Location = new System.Drawing.Point(86, 86); - this.cbProcess.Name = "cbProcess"; - this.cbProcess.Size = new System.Drawing.Size(297, 25); - this.cbProcess.TabIndex = 5; - // - // cmbRequest - // - this.cmbRequest.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; - this.cmbRequest.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; - this.cmbRequest.FormattingEnabled = true; - this.cmbRequest.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.cmbRequest.Location = new System.Drawing.Point(275, 24); - this.cmbRequest.Name = "cmbRequest"; - this.cmbRequest.Size = new System.Drawing.Size(109, 25); - this.cmbRequest.TabIndex = 2; - // - // tbOrderNo - // - this.tbOrderNo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.tbOrderNo.Location = new System.Drawing.Point(86, 117); - this.tbOrderNo.Name = "tbOrderNo"; - this.tbOrderNo.Size = new System.Drawing.Size(297, 25); - this.tbOrderNo.TabIndex = 21; - // - // cbManuProc - // - this.cbManuProc.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; - this.cbManuProc.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; - this.cbManuProc.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cbManuProc.FormattingEnabled = true; - this.cbManuProc.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.cbManuProc.Location = new System.Drawing.Point(86, 147); - this.cbManuProc.Name = "cbManuProc"; - this.cbManuProc.Size = new System.Drawing.Size(297, 25); - this.cbManuProc.TabIndex = 19; - // - // cbEQModel - // - this.cbEQModel.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; - this.cbEQModel.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; - this.cbEQModel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cbEQModel.FormattingEnabled = true; - this.cbEQModel.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.cbEQModel.Location = new System.Drawing.Point(86, 209); - this.cbEQModel.Name = "cbEQModel"; - this.cbEQModel.Size = new System.Drawing.Size(297, 25); - this.cbEQModel.TabIndex = 11; - // - // cbEQManu - // - this.cbEQManu.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; - this.cbEQManu.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; - this.cbEQManu.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cbEQManu.FormattingEnabled = true; - this.cbEQManu.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.cbEQManu.Location = new System.Drawing.Point(86, 178); - this.cbEQManu.Name = "cbEQManu"; - this.cbEQManu.Size = new System.Drawing.Size(297, 25); - this.cbEQManu.TabIndex = 13; - this.cbEQManu.SelectedIndexChanged += new System.EventHandler(this.cbEQManu_SelectedIndexChanged); - // - // textBox2 - // - this.textBox2.BackColor = System.Drawing.SystemColors.Control; - this.textBox2.Enabled = false; - this.textBox2.Location = new System.Drawing.Point(339, 54); - this.textBox2.Name = "textBox2"; - this.textBox2.ReadOnly = true; - this.textBox2.Size = new System.Drawing.Size(51, 25); - this.textBox2.TabIndex = 25; - this.textBox2.TabStop = false; - this.textBox2.Text = "원"; - this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.toolTip1.SetToolTip(this.textBox2, "Database ID"); - // - // dsPurchase - // - this.dsPurchase.DataSetName = "dsPurchase"; - this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // - // bs - // - this.bs.DataMember = "Purchase"; - this.bs.DataSource = this.dsPurchase; - // - // ta - // - this.ta.ClearBeforeFill = true; - // - // groupBox1 - // - this.groupBox1.Controls.Add(this.tbCr); - this.groupBox1.Controls.Add(label6); - this.groupBox1.Controls.Add(this.textBox2); - this.groupBox1.Controls.Add(this.tbSum); - this.groupBox1.Controls.Add(label3); - this.groupBox1.Controls.Add(projectLabel); - this.groupBox1.Controls.Add(this.tbProject); - this.groupBox1.Controls.Add(this.tbProjectIndex); - this.groupBox1.Location = new System.Drawing.Point(12, 11); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(404, 119); - this.groupBox1.TabIndex = 23; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "프로젝트 정보"; - // - // tbSum - // - this.tbSum.BackColor = System.Drawing.SystemColors.Control; - this.tbSum.Enabled = false; - this.tbSum.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.tbSum.Location = new System.Drawing.Point(88, 54); - this.tbSum.Name = "tbSum"; - this.tbSum.Size = new System.Drawing.Size(243, 25); - this.tbSum.TabIndex = 24; - // - // groupBox2 - // - this.groupBox2.Controls.Add(this.cmbRequest); - this.groupBox2.Controls.Add(label1); - this.groupBox2.Controls.Add(this.cbManuProc); - this.groupBox2.Controls.Add(this.cbEQModel); - this.groupBox2.Controls.Add(this.dtPdate); - this.groupBox2.Controls.Add(this.cbEQManu); - this.groupBox2.Controls.Add(label2); - this.groupBox2.Controls.Add(label4); - this.groupBox2.Controls.Add(assetLabel); - this.groupBox2.Controls.Add(this.cmbState); - this.groupBox2.Controls.Add(this.tbOrderNo); - this.groupBox2.Controls.Add(stateLabel); - this.groupBox2.Controls.Add(this.cbProcess); - this.groupBox2.Controls.Add(label5); - this.groupBox2.Controls.Add(processLabel); - this.groupBox2.Location = new System.Drawing.Point(12, 136); - this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(404, 249); - this.groupBox2.TabIndex = 24; - this.groupBox2.TabStop = false; - this.groupBox2.Text = "구매 등록 정보"; - // - // taProject - // - this.taProject.ClearBeforeFill = true; - // - // tbCr - // - this.tbCr.BackColor = System.Drawing.SystemColors.Control; - this.tbCr.Enabled = false; - this.tbCr.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.tbCr.Location = new System.Drawing.Point(88, 83); - this.tbCr.Name = "tbCr"; - this.tbCr.Size = new System.Drawing.Size(302, 25); - this.tbCr.TabIndex = 27; - // - // label6 - // - label6.AutoSize = true; - label6.Location = new System.Drawing.Point(20, 87); - label6.Name = "label6"; - label6.Size = new System.Drawing.Size(43, 17); - label6.TabIndex = 26; - label6.Text = "CR/CF"; - // - // taPart - // - this.taPart.ClearBeforeFill = true; - // - // fProjectPartToPurchase - // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(431, 446); - this.Controls.Add(this.groupBox2); - this.Controls.Add(this.groupBox1); - this.Controls.Add(this.btSave); - this.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "fProjectPartToPurchase"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "파트리스트 NR 등록"; - this.Load += new System.EventHandler(this.@__Load); - ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); - this.groupBox1.ResumeLayout(false); - this.groupBox1.PerformLayout(); - this.groupBox2.ResumeLayout(false); - this.groupBox2.PerformLayout(); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.TextBox tbProject; - private System.Windows.Forms.TextBox tbProjectIndex; - private System.Windows.Forms.DateTimePicker dtPdate; - private System.Windows.Forms.Button btSave; - private System.Windows.Forms.ComboBox cmbState; - private System.Windows.Forms.ComboBox cbProcess; - private System.Windows.Forms.ComboBox cmbRequest; - private dsPurchase dsPurchase; - private System.Windows.Forms.BindingSource bs; - private dsPurchaseTableAdapters.PurchaseTableAdapter ta; - private System.Windows.Forms.ComboBox cbEQManu; - private System.Windows.Forms.ComboBox cbEQModel; - private System.Windows.Forms.ToolTip toolTip1; - private System.Windows.Forms.ComboBox cbManuProc; - private System.Windows.Forms.TextBox tbOrderNo; - private System.Windows.Forms.GroupBox groupBox1; - private System.Windows.Forms.TextBox tbSum; - private System.Windows.Forms.TextBox textBox2; - private System.Windows.Forms.GroupBox groupBox2; - private dsPRJTableAdapters.ProjectsTableAdapter taProject; - private System.Windows.Forms.TextBox tbCr; - private dsPRJTableAdapters.ProjectsPartTableAdapter taPart; - } +namespace FPJ0000 +{ + partial class fProjectPartToPurchase + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.Label processLabel; + System.Windows.Forms.Label projectLabel; + System.Windows.Forms.Label assetLabel; + System.Windows.Forms.Label label1; + System.Windows.Forms.Label stateLabel; + System.Windows.Forms.Label label2; + System.Windows.Forms.Label label4; + System.Windows.Forms.Label label5; + System.Windows.Forms.Label label3; + System.Windows.Forms.Label label6; + System.Windows.Forms.Label label7; + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectPartToPurchase)); + this.tbProject = new System.Windows.Forms.TextBox(); + this.tbProjectIndex = new System.Windows.Forms.TextBox(); + this.dtPdate = new System.Windows.Forms.DateTimePicker(); + this.cmbState = new System.Windows.Forms.ComboBox(); + this.cbProcess = new System.Windows.Forms.ComboBox(); + this.cmbRequest = new System.Windows.Forms.ComboBox(); + this.tbOrderNo = new System.Windows.Forms.TextBox(); + this.cbManuProc = new System.Windows.Forms.ComboBox(); + this.cbEQModel = new System.Windows.Forms.ComboBox(); + this.cbEQManu = new System.Windows.Forms.ComboBox(); + this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.dsPurchase = new FPJ0000.dsPurchase(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.ta = new FPJ0000.dsPurchaseTableAdapters.PurchaseTableAdapter(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.tbCr = new System.Windows.Forms.TextBox(); + this.tbSum = new System.Windows.Forms.TextBox(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.listView1 = new System.Windows.Forms.ListView(); + this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader8 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.groupBox3 = new System.Windows.Forms.GroupBox(); + this.panel1 = new System.Windows.Forms.Panel(); + this.panel3 = new System.Windows.Forms.Panel(); + this.statusStrip1 = new System.Windows.Forms.StatusStrip(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton5 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton6 = new System.Windows.Forms.ToolStripButton(); + this.taProject = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); + this.taPart = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter(); + this.toolStripButton7 = new System.Windows.Forms.ToolStripButton(); + processLabel = new System.Windows.Forms.Label(); + projectLabel = new System.Windows.Forms.Label(); + assetLabel = new System.Windows.Forms.Label(); + label1 = new System.Windows.Forms.Label(); + stateLabel = new System.Windows.Forms.Label(); + label2 = new System.Windows.Forms.Label(); + label4 = new System.Windows.Forms.Label(); + label5 = new System.Windows.Forms.Label(); + label3 = new System.Windows.Forms.Label(); + label6 = new System.Windows.Forms.Label(); + label7 = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + this.groupBox1.SuspendLayout(); + this.groupBox2.SuspendLayout(); + this.groupBox3.SuspendLayout(); + this.panel1.SuspendLayout(); + this.toolStrip1.SuspendLayout(); + this.SuspendLayout(); + // + // processLabel + // + processLabel.AutoSize = true; + processLabel.Location = new System.Drawing.Point(28, 90); + processLabel.Name = "processLabel"; + processLabel.Size = new System.Drawing.Size(34, 17); + processLabel.TabIndex = 4; + processLabel.Text = "공정"; + // + // projectLabel + // + projectLabel.AutoSize = true; + projectLabel.Location = new System.Drawing.Point(16, 29); + projectLabel.Name = "projectLabel"; + projectLabel.Size = new System.Drawing.Size(60, 17); + projectLabel.TabIndex = 20; + projectLabel.Text = "프로젝트"; + // + // assetLabel + // + assetLabel.AutoSize = true; + assetLabel.Location = new System.Drawing.Point(382, 89); + assetLabel.Name = "assetLabel"; + assetLabel.Size = new System.Drawing.Size(60, 17); + assetLabel.TabIndex = 10; + assetLabel.Text = "장비모델"; + // + // label1 + // + label1.AutoSize = true; + label1.Location = new System.Drawing.Point(7, 28); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(47, 17); + label1.TabIndex = 0; + label1.Text = "입력일"; + // + // stateLabel + // + stateLabel.AutoSize = true; + stateLabel.Location = new System.Drawing.Point(5, 58); + stateLabel.Name = "stateLabel"; + stateLabel.Size = new System.Drawing.Size(60, 17); + stateLabel.TabIndex = 0; + stateLabel.Text = "구매상태"; + // + // label2 + // + label2.AutoSize = true; + label2.Location = new System.Drawing.Point(370, 59); + label2.Name = "label2"; + label2.Size = new System.Drawing.Size(73, 17); + label2.TabIndex = 12; + label2.Text = "장비제조사"; + // + // label4 + // + label4.AutoSize = true; + label4.Location = new System.Drawing.Point(382, 27); + label4.Name = "label4"; + label4.Size = new System.Drawing.Size(60, 17); + label4.TabIndex = 18; + label4.Text = "제조공정"; + // + // label5 + // + label5.AutoSize = true; + label5.Location = new System.Drawing.Point(12, 119); + label5.Name = "label5"; + label5.Size = new System.Drawing.Size(51, 17); + label5.TabIndex = 20; + label5.Text = "CR/CF#"; + // + // label3 + // + label3.AutoSize = true; + label3.Location = new System.Drawing.Point(16, 64); + label3.Name = "label3"; + label3.Size = new System.Drawing.Size(60, 17); + label3.TabIndex = 23; + label3.Text = "합계금액"; + // + // label6 + // + label6.AutoSize = true; + label6.Location = new System.Drawing.Point(33, 99); + label6.Name = "label6"; + label6.Size = new System.Drawing.Size(43, 17); + label6.TabIndex = 26; + label6.Text = "CR/CF"; + // + // tbProject + // + this.tbProject.BackColor = System.Drawing.SystemColors.Control; + this.tbProject.Enabled = false; + this.tbProject.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbProject.Location = new System.Drawing.Point(88, 25); + this.tbProject.Name = "tbProject"; + this.tbProject.Size = new System.Drawing.Size(243, 25); + this.tbProject.TabIndex = 7; + // + // tbProjectIndex + // + this.tbProjectIndex.BackColor = System.Drawing.SystemColors.Control; + this.tbProjectIndex.Enabled = false; + this.tbProjectIndex.Location = new System.Drawing.Point(339, 25); + this.tbProjectIndex.Name = "tbProjectIndex"; + this.tbProjectIndex.ReadOnly = true; + this.tbProjectIndex.Size = new System.Drawing.Size(51, 25); + this.tbProjectIndex.TabIndex = 22; + this.tbProjectIndex.TabStop = false; + this.tbProjectIndex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.toolTip1.SetToolTip(this.tbProjectIndex, "Database ID"); + // + // dtPdate + // + this.dtPdate.Location = new System.Drawing.Point(65, 24); + this.dtPdate.Name = "dtPdate"; + this.dtPdate.Size = new System.Drawing.Size(186, 25); + this.dtPdate.TabIndex = 1; + // + // cmbState + // + this.cmbState.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.cmbState.FormattingEnabled = true; + this.cmbState.Location = new System.Drawing.Point(65, 55); + this.cmbState.Name = "cmbState"; + this.cmbState.Size = new System.Drawing.Size(297, 25); + this.cmbState.TabIndex = 1; + // + // cbProcess + // + this.cbProcess.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cbProcess.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cbProcess.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.cbProcess.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbProcess.FormattingEnabled = true; + this.cbProcess.Location = new System.Drawing.Point(65, 86); + this.cbProcess.Name = "cbProcess"; + this.cbProcess.Size = new System.Drawing.Size(297, 25); + this.cbProcess.TabIndex = 5; + // + // cmbRequest + // + this.cmbRequest.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cmbRequest.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cmbRequest.FormattingEnabled = true; + this.cmbRequest.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.cmbRequest.Location = new System.Drawing.Point(254, 24); + this.cmbRequest.Name = "cmbRequest"; + this.cmbRequest.Size = new System.Drawing.Size(109, 25); + this.cmbRequest.TabIndex = 2; + // + // tbOrderNo + // + this.tbOrderNo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.tbOrderNo.Location = new System.Drawing.Point(65, 117); + this.tbOrderNo.Name = "tbOrderNo"; + this.tbOrderNo.Size = new System.Drawing.Size(674, 25); + this.tbOrderNo.TabIndex = 21; + this.tbOrderNo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // cbManuProc + // + this.cbManuProc.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cbManuProc.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cbManuProc.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbManuProc.FormattingEnabled = true; + this.cbManuProc.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.cbManuProc.Location = new System.Drawing.Point(442, 24); + this.cbManuProc.Name = "cbManuProc"; + this.cbManuProc.Size = new System.Drawing.Size(297, 25); + this.cbManuProc.TabIndex = 19; + // + // cbEQModel + // + this.cbEQModel.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cbEQModel.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cbEQModel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbEQModel.FormattingEnabled = true; + this.cbEQModel.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.cbEQModel.Location = new System.Drawing.Point(442, 86); + this.cbEQModel.Name = "cbEQModel"; + this.cbEQModel.Size = new System.Drawing.Size(297, 25); + this.cbEQModel.TabIndex = 11; + // + // cbEQManu + // + this.cbEQManu.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cbEQManu.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cbEQManu.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbEQManu.FormattingEnabled = true; + this.cbEQManu.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.cbEQManu.Location = new System.Drawing.Point(442, 55); + this.cbEQManu.Name = "cbEQManu"; + this.cbEQManu.Size = new System.Drawing.Size(297, 25); + this.cbEQManu.TabIndex = 13; + this.cbEQManu.SelectedIndexChanged += new System.EventHandler(this.cbEQManu_SelectedIndexChanged); + // + // textBox2 + // + this.textBox2.BackColor = System.Drawing.SystemColors.Control; + this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox2.Enabled = false; + this.textBox2.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Bold); + this.textBox2.Location = new System.Drawing.Point(339, 58); + this.textBox2.Name = "textBox2"; + this.textBox2.ReadOnly = true; + this.textBox2.Size = new System.Drawing.Size(51, 28); + this.textBox2.TabIndex = 25; + this.textBox2.TabStop = false; + this.textBox2.Text = "원"; + this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.toolTip1.SetToolTip(this.textBox2, "Database ID"); + // + // dsPurchase + // + this.dsPurchase.DataSetName = "dsPurchase"; + this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // bs + // + this.bs.DataMember = "Purchase"; + this.bs.DataSource = this.dsPurchase; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.textBox1); + this.groupBox1.Controls.Add(label7); + this.groupBox1.Controls.Add(this.tbCr); + this.groupBox1.Controls.Add(label6); + this.groupBox1.Controls.Add(this.textBox2); + this.groupBox1.Controls.Add(this.tbSum); + this.groupBox1.Controls.Add(label3); + this.groupBox1.Controls.Add(projectLabel); + this.groupBox1.Controls.Add(this.tbProject); + this.groupBox1.Controls.Add(this.tbProjectIndex); + this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left; + this.groupBox1.Location = new System.Drawing.Point(0, 3); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(404, 155); + this.groupBox1.TabIndex = 23; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "프로젝트 정보"; + // + // tbCr + // + this.tbCr.BackColor = System.Drawing.SystemColors.Control; + this.tbCr.Enabled = false; + this.tbCr.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbCr.Location = new System.Drawing.Point(88, 95); + this.tbCr.Name = "tbCr"; + this.tbCr.Size = new System.Drawing.Size(302, 25); + this.tbCr.TabIndex = 27; + // + // tbSum + // + this.tbSum.BackColor = System.Drawing.SystemColors.Control; + this.tbSum.Enabled = false; + this.tbSum.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.tbSum.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbSum.Location = new System.Drawing.Point(88, 55); + this.tbSum.Name = "tbSum"; + this.tbSum.Size = new System.Drawing.Size(243, 35); + this.tbSum.TabIndex = 24; + this.tbSum.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // groupBox2 + // + this.groupBox2.Controls.Add(this.cmbRequest); + this.groupBox2.Controls.Add(label1); + this.groupBox2.Controls.Add(this.cbManuProc); + this.groupBox2.Controls.Add(this.cbEQModel); + this.groupBox2.Controls.Add(this.dtPdate); + this.groupBox2.Controls.Add(this.cbEQManu); + this.groupBox2.Controls.Add(label2); + this.groupBox2.Controls.Add(label4); + this.groupBox2.Controls.Add(assetLabel); + this.groupBox2.Controls.Add(this.cmbState); + this.groupBox2.Controls.Add(this.tbOrderNo); + this.groupBox2.Controls.Add(stateLabel); + this.groupBox2.Controls.Add(this.cbProcess); + this.groupBox2.Controls.Add(label5); + this.groupBox2.Controls.Add(processLabel); + this.groupBox2.Dock = System.Windows.Forms.DockStyle.Left; + this.groupBox2.Location = new System.Drawing.Point(414, 3); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Size = new System.Drawing.Size(749, 155); + this.groupBox2.TabIndex = 24; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "구매 등록 정보"; + // + // listView1 + // + this.listView1.CheckBoxes = true; + this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.columnHeader1, + this.columnHeader2, + this.columnHeader3, + this.columnHeader4, + this.columnHeader5, + this.columnHeader6, + this.columnHeader7, + this.columnHeader8}); + this.listView1.Dock = System.Windows.Forms.DockStyle.Fill; + this.listView1.FullRowSelect = true; + this.listView1.GridLines = true; + this.listView1.HideSelection = false; + this.listView1.Location = new System.Drawing.Point(3, 21); + this.listView1.Name = "listView1"; + this.listView1.Size = new System.Drawing.Size(1168, 421); + this.listView1.TabIndex = 25; + this.listView1.UseCompatibleStateImageBehavior = false; + this.listView1.View = System.Windows.Forms.View.Details; + // + // columnHeader1 + // + this.columnHeader1.Text = "중분류"; + this.columnHeader1.Width = 132; + // + // columnHeader2 + // + this.columnHeader2.Text = "소분류"; + this.columnHeader2.Width = 130; + // + // columnHeader3 + // + this.columnHeader3.Text = "SID"; + this.columnHeader3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.columnHeader3.Width = 97; + // + // columnHeader4 + // + this.columnHeader4.Text = "품명"; + this.columnHeader4.Width = 290; + // + // columnHeader5 + // + this.columnHeader5.Text = "모델"; + this.columnHeader5.Width = 267; + // + // columnHeader6 + // + this.columnHeader6.Text = "수량"; + this.columnHeader6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.columnHeader6.Width = 74; + // + // columnHeader7 + // + this.columnHeader7.Text = "단가"; + this.columnHeader7.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.columnHeader7.Width = 106; + // + // columnHeader8 + // + this.columnHeader8.Text = "금액"; + this.columnHeader8.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.columnHeader8.Width = 148; + // + // groupBox3 + // + this.groupBox3.Controls.Add(this.listView1); + this.groupBox3.Controls.Add(this.toolStrip1); + this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupBox3.Location = new System.Drawing.Point(5, 168); + this.groupBox3.Name = "groupBox3"; + this.groupBox3.Size = new System.Drawing.Size(1174, 470); + this.groupBox3.TabIndex = 26; + this.groupBox3.TabStop = false; + this.groupBox3.Text = "파트리스트"; + // + // panel1 + // + this.panel1.Controls.Add(this.groupBox2); + this.panel1.Controls.Add(this.panel3); + this.panel1.Controls.Add(this.groupBox1); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.Location = new System.Drawing.Point(5, 5); + this.panel1.Name = "panel1"; + this.panel1.Padding = new System.Windows.Forms.Padding(0, 3, 0, 5); + this.panel1.Size = new System.Drawing.Size(1174, 163); + this.panel1.TabIndex = 27; + // + // panel3 + // + this.panel3.Dock = System.Windows.Forms.DockStyle.Left; + this.panel3.Location = new System.Drawing.Point(404, 3); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(10, 155); + this.panel3.TabIndex = 26; + // + // statusStrip1 + // + this.statusStrip1.Location = new System.Drawing.Point(5, 638); + this.statusStrip1.Name = "statusStrip1"; + this.statusStrip1.Size = new System.Drawing.Size(1174, 22); + this.statusStrip1.TabIndex = 28; + this.statusStrip1.Text = "statusStrip1"; + // + // textBox1 + // + this.textBox1.BackColor = System.Drawing.SystemColors.Control; + this.textBox1.Enabled = false; + this.textBox1.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.textBox1.Location = new System.Drawing.Point(88, 123); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(302, 25); + this.textBox1.TabIndex = 29; + // + // label7 + // + label7.AutoSize = true; + label7.Location = new System.Drawing.Point(42, 127); + label7.Name = "label7"; + label7.Size = new System.Drawing.Size(34, 17); + label7.TabIndex = 28; + label7.Text = "비고"; + // + // toolStrip1 + // + this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripDropDownButton1, + this.toolStripButton2, + this.toolStripButton3, + this.toolStripButton1, + this.toolStripButton6, + this.toolStripButton5, + this.toolStripButton7, + this.toolStripButton4}); + this.toolStrip1.Location = new System.Drawing.Point(3, 442); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(1168, 25); + this.toolStrip1.TabIndex = 26; + this.toolStrip1.Text = "toolStrip1"; + // + // toolStripDropDownButton1 + // + this.toolStripDropDownButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton1.Image"))); + this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripDropDownButton1.Name = "toolStripDropDownButton1"; + this.toolStripDropDownButton1.Size = new System.Drawing.Size(75, 22); + this.toolStripDropDownButton1.Text = "전체선택"; + this.toolStripDropDownButton1.Click += new System.EventHandler(this.toolStripDropDownButton1_Click); + // + // toolStripButton2 + // + this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); + this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton2.Name = "toolStripButton2"; + this.toolStripButton2.Size = new System.Drawing.Size(75, 22); + this.toolStripButton2.Text = "선택해제"; + this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click); + // + // toolStripButton3 + // + this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); + this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton3.Name = "toolStripButton3"; + this.toolStripButton3.Size = new System.Drawing.Size(75, 22); + this.toolStripButton3.Text = "선택반전"; + this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); + // + // toolStripButton1 + // + this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); + this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton1.Name = "toolStripButton1"; + this.toolStripButton1.Size = new System.Drawing.Size(130, 22); + this.toolStripButton1.Text = "SID 없는 항목 제외"; + this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); + // + // toolStripButton4 + // + this.toolStripButton4.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image"))); + this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton4.Name = "toolStripButton4"; + this.toolStripButton4.Size = new System.Drawing.Size(114, 22); + this.toolStripButton4.Text = "NR구매 등록 (&S)"; + this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click); + // + // toolStripButton5 + // + this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image"))); + this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton5.Name = "toolStripButton5"; + this.toolStripButton5.Size = new System.Drawing.Size(119, 22); + this.toolStripButton5.Text = "동일 소분류 선택"; + this.toolStripButton5.Click += new System.EventHandler(this.toolStripButton5_Click); + // + // toolStripButton6 + // + this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image"))); + this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton6.Name = "toolStripButton6"; + this.toolStripButton6.Size = new System.Drawing.Size(119, 22); + this.toolStripButton6.Text = "동일 중분류 선택"; + this.toolStripButton6.Click += new System.EventHandler(this.toolStripButton6_Click); + // + // taProject + // + this.taProject.ClearBeforeFill = true; + // + // taPart + // + this.taPart.ClearBeforeFill = true; + // + // toolStripButton7 + // + this.toolStripButton7.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.toolStripButton7.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton7.Image"))); + this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton7.Name = "toolStripButton7"; + this.toolStripButton7.Size = new System.Drawing.Size(79, 22); + this.toolStripButton7.Text = "등록 취소"; + this.toolStripButton7.Click += new System.EventHandler(this.toolStripButton7_Click); + // + // fProjectPartToPurchase + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1184, 665); + this.Controls.Add(this.groupBox3); + this.Controls.Add(this.panel1); + this.Controls.Add(this.statusStrip1); + this.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "fProjectPartToPurchase"; + this.Padding = new System.Windows.Forms.Padding(5); + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "파트리스트 NR 등록"; + this.WindowState = System.Windows.Forms.FormWindowState.Maximized; + this.Load += new System.EventHandler(this.@__Load); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.groupBox2.ResumeLayout(false); + this.groupBox2.PerformLayout(); + this.groupBox3.ResumeLayout(false); + this.groupBox3.PerformLayout(); + this.panel1.ResumeLayout(false); + this.toolStrip1.ResumeLayout(false); + this.toolStrip1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox tbProject; + private System.Windows.Forms.TextBox tbProjectIndex; + private System.Windows.Forms.DateTimePicker dtPdate; + private System.Windows.Forms.ComboBox cmbState; + private System.Windows.Forms.ComboBox cbProcess; + private System.Windows.Forms.ComboBox cmbRequest; + private dsPurchase dsPurchase; + private System.Windows.Forms.BindingSource bs; + private dsPurchaseTableAdapters.PurchaseTableAdapter ta; + private System.Windows.Forms.ComboBox cbEQManu; + private System.Windows.Forms.ComboBox cbEQModel; + private System.Windows.Forms.ToolTip toolTip1; + private System.Windows.Forms.ComboBox cbManuProc; + private System.Windows.Forms.TextBox tbOrderNo; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.TextBox tbSum; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.GroupBox groupBox2; + private dsPRJTableAdapters.ProjectsTableAdapter taProject; + private System.Windows.Forms.TextBox tbCr; + private dsPRJTableAdapters.ProjectsPartTableAdapter taPart; + private System.Windows.Forms.ListView listView1; + private System.Windows.Forms.GroupBox groupBox3; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.ColumnHeader columnHeader1; + private System.Windows.Forms.ColumnHeader columnHeader2; + private System.Windows.Forms.ColumnHeader columnHeader3; + private System.Windows.Forms.ColumnHeader columnHeader4; + private System.Windows.Forms.ColumnHeader columnHeader5; + private System.Windows.Forms.ColumnHeader columnHeader6; + private System.Windows.Forms.ColumnHeader columnHeader7; + private System.Windows.Forms.ColumnHeader columnHeader8; + private System.Windows.Forms.StatusStrip statusStrip1; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.ToolStrip toolStrip1; + private System.Windows.Forms.ToolStripButton toolStripDropDownButton1; + private System.Windows.Forms.ToolStripButton toolStripButton2; + private System.Windows.Forms.ToolStripButton toolStripButton3; + private System.Windows.Forms.ToolStripButton toolStripButton1; + private System.Windows.Forms.ToolStripButton toolStripButton4; + private System.Windows.Forms.ToolStripButton toolStripButton6; + private System.Windows.Forms.ToolStripButton toolStripButton5; + private System.Windows.Forms.ToolStripButton toolStripButton7; + } } \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fProjectPartToPurchase.cs b/SubProject/FPJ0000/Project/fProjectPartToPurchase.cs index f9ef138..85dbcce 100644 --- a/SubProject/FPJ0000/Project/fProjectPartToPurchase.cs +++ b/SubProject/FPJ0000/Project/fProjectPartToPurchase.cs @@ -1,316 +1,506 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Windows.Forms; - -namespace FPJ0000 -{ - public partial class fProjectPartToPurchase : Form - { - BindingSource bsModel; - int ProjectIndex = -1; - public fProjectPartToPurchase(int pidx) - { - InitializeComponent(); - this.ProjectIndex = pidx; - this.KeyPreview = true; - this.StartPosition = FormStartPosition.CenterScreen; - this.KeyDown += (s1, e1) => - { - if (e1.KeyCode == Keys.Escape) this.Close(); - }; - } - private void __Load(object sender, EventArgs e) - { - //프로젝트정보를 찾는다. - var dtPrj = taProject.GetbyIDX(this.ProjectIndex); - var drPrj = dtPrj.Rows[0] as dsPRJ.ProjectsRow; - this.tbProjectIndex.Text = drPrj.idx.ToString(); - this.tbProject.Text = drPrj.name; - this.tbCr.Text = drPrj.orderno; - this.tbOrderNo.Text = drPrj.orderno; - - //파트리스트 합계금액 - var dtPart = taPart.GetData(this.ProjectIndex); - var sumAmt = dtPart.Sum(t => t.amt); - this.tbSum.Text = sumAmt.ToString("N0"); - - //상태 - var stateList = FCOMMON.DBM.getCodeTable("04"); - this.cmbState.DisplayMember = "Value"; - this.cmbState.ValueMember = "Value"; - this.cmbState.DataSource = stateList; - - //장비제조 - var dt_dept = FCOMMON.DBM.getCodeTable("06"); - BindingSource bsManu = new BindingSource(dt_dept, ""); - this.cbEQManu.DisplayMember = "Value"; - this.cbEQManu.ValueMember = "Value"; - this.cbEQManu.DataSource = bsManu; - - //장비모델 - var dt_asset = FCOMMON.DBM.getCodeTable("07"); - bsModel = new BindingSource(dt_asset, ""); - bsModel.Filter = "svalue='그런거없다'"; - this.cbEQModel.DisplayMember = "Value"; - this.cbEQModel.ValueMember = "Value"; - this.cbEQModel.DataSource = bsModel; - - //제조공정 - var dt_manuproc = FCOMMON.DBM.getCodeTable("08"); - this.cbManuProc.DisplayMember = "Value"; - this.cbManuProc.ValueMember = "Value"; - this.cbManuProc.DataSource = dt_manuproc; - - //장비기술공정 - var dt_eetproc = FCOMMON.DBM.getCodeTable("09"); - this.cbProcess.DisplayMember = "Value"; - this.cbProcess.ValueMember = "Value"; - this.cbProcess.DataSource = dt_eetproc; - - ////processlist - //var procList = FCOMMON.DBM.getGroupTable("process", "Purchase", "process <> ''"); - //this.cbProcess.DisplayMember = "Value"; - //this.cbProcess.ValueMember = "Key"; - //this.cbProcess.DataSource = new BindingSource(procList, ""); - - //담당자목록 - //담당자목록 - 사용자목록으로 처리한다. - string namestr = string.Format("{0}({1})", FCOMMON.info.Login.nameK, FCOMMON.info.Login.no); - if (FCOMMON.info.Login.no == "dev") namestr = "김치균(395552)"; - this.cmbRequest.Items.Clear(); - this.cmbRequest.Items.Add(namestr); - try - { - var cn = FCOMMON.DBM.getCn(); - cn.Open(); - string sql = "select [id],[name] " + - " from users" + - " where gcode='{1}' and id <> '{0}'" + - " order by [name]"; - sql = string.Format(sql, FCOMMON.info.Login.no, FCOMMON.info.Login.gcode); - var cmd = new System.Data.SqlClient.SqlCommand(sql, cn); - var rdr = cmd.ExecuteReader(); - while (rdr.Read()) - { - string cmbdata = string.Format("{1}({0})", rdr[0].ToString(), rdr[1].ToString()); - this.cmbRequest.Items.Add(cmbdata); - } - cmd.Dispose(); - cn.Close(); - cn.Dispose(); - } - catch (Exception ex) - { - FCOMMON.Util.MsgE("User List Error\n\n" + ex.Message); - } - cmbRequest.Text = namestr;// FCOMMON.info.Login.nameK; - - - dtPdate.Value = DateTime.Now; - - cmbState.Text = "PO"; - - - this.Show(); - Application.DoEvents(); - } - - - private bool saveData() - { - this.Validate(); - - - - if (cbProcess.Text.Trim() == "") - { - FCOMMON.Util.MsgE("프로세스를 선택하세요."); - cbProcess.Focus(); - return false; - } - - if (tbProject.Text == "") - { - FCOMMON.Util.MsgE("프로젝트 정보를 입력하세요."); - tbProject.Focus(); - return false; - } - - var overtime = DateTime.Now - DateTime.Parse("2019-01-09 00:00:00"); - if (overtime.TotalSeconds > 0) - { - if (this.cbProcess.SelectedIndex == -1) - { - if (FCOMMON.info.Login.level >= 5) - { - var dlg = FCOMMON.Util.MsgQ("[공정]을 입력하지 않고 진행 하시겠습니까?\n\n" + - "선택 대상이 없는 경우 문의 바랍니다.\n\n" + - "BongSeok Jung(T.7191)\n" + - "BongSeok.Jung@amkor.co.kr"); - if (dlg != System.Windows.Forms.DialogResult.Yes) - { - cbProcess.Focus(); - return false; - } - } - else - { - FCOMMON.Util.MsgE("[공정]을 선택하세요\n\n" + - "선택 대상이 없는 경우 문의 바랍니다.\n\n" + - "BongSeok Jung(T.7191)\n" + - "BongSeok.Jung@amkor.co.kr"); - - cbProcess.Focus(); - return false; - } - } - if (cbManuProc.SelectedIndex == -1) - { - if (FCOMMON.info.Login.level >= 5) - { - var dlg = FCOMMON.Util.MsgQ("제조공정을 입력하지 않고 진행 하시겠습니까?\n\n" + - "선택 대상이 없는 경우 문의 바랍니다.\n\n" + - "BongSeok Jung(T.7191)\n" + - "BongSeok.Jung@amkor.co.kr"); - if (dlg != System.Windows.Forms.DialogResult.Yes) - { - cbManuProc.Focus(); - return false; - } - } - else - { - FCOMMON.Util.MsgE("제조공정을 선택하세요\n\n" + - "선택 대상이 없는 경우 문의 바랍니다.\n\n" + - "BongSeok Jung(T.7191)\n" + - "BongSeok.Jung@amkor.co.kr"); - - cbManuProc.Focus(); - return false; - } - } - if (this.cbEQManu.SelectedIndex == -1) - { - if (FCOMMON.info.Login.level >= 5) - { - var dlg = FCOMMON.Util.MsgQ("장비제조사를 입력하지 않고 진행 하시겠습니까?\n\n" + - "선택 대상이 없는 경우 문의 바랍니다.\n\n" + - "BongSeok Jung(T.7191)\n" + - "BongSeok.Jung@amkor.co.kr"); - if (dlg != System.Windows.Forms.DialogResult.Yes) - { - cbEQManu.Focus(); - return false; - } - } - else - { - FCOMMON.Util.MsgE("장비 제조사를 선택하세요.\n\n" + - "선택 대상이 없는 경우 문의 바랍니다.\n\n" + - "BongSeok Jung(T.7191)\n" + - "BongSeok.Jung@amkor.co.kr"); - cbEQManu.Focus(); - return false; - } - } - - - - } - - //part 목록을 조회해서 NR에 등록해줘야 함 - var dlg2 = FCOMMON.Util.MsgQ("해당 파트리스트룰 NR구매 목록에 등록하시겠습니까?"); - if (dlg2 != System.Windows.Forms.DialogResult.Yes) return false; - - - string userNo = this.cmbRequest.Text.Substring(cmbRequest.Text.LastIndexOf('(') + 1); - userNo = userNo.Substring(0, userNo.Length - 1); - - //기존에 등록된 자료가 있는지 체크한다. - var SQLExist = - " select count(*) from Purchase" + - " where import = 1" + - " and gcode = '" + FCOMMON.info.Login.gcode + "' and pdate = '{0}'" + - " and projectidx = {1}"; - SQLExist = string.Format(SQLExist, dtPdate.Value.ToShortDateString(), this.ProjectIndex.ToString()); - var ExistCnt = FCOMMON.DBM.ExecuteScalarI(SQLExist); - if (ExistCnt > 0) - { - var dlgq = FCOMMON.Util.MsgQ(string.Format("생성된 자료가 {0}건 존재 합니다.\n\n" + "기존 자료를 삭제 하시겠습니까?",ExistCnt)); - if (dlgq == System.Windows.Forms.DialogResult.Yes) - { - SQLExist = - " delete from Purchase" + - " where import = 1" + - " and gcode = '" + FCOMMON.info.Login.gcode + "' and pdate = '{0}'" + - " and projectidx = {1}"; - SQLExist = string.Format(SQLExist, dtPdate.Value.ToShortDateString(), this.ProjectIndex.ToString()); - var delCnt = FCOMMON.DBM.ExecuteNonQuery(SQLExist); - Console.WriteLine(delCnt.ToString() + "건의 기존 입력된 자료가 삭제됨"); - } - } - - //insert query - var SQL = - " insert into purchase(asset,dept,manuproc,gcode,pdate,state,process,request,sid,pumname,pumidx,pumscale,pumunit," + - " pumqty,pumprice,pumamt,supply,supplyidx,project,projectidx,bigo,import,wuid,wdate,orderno)" + - " select '{8}','{9}','{10}','{11}', '{0}' as pdate,'{1}','{2}' as process ,'{3}' as request,ItemSid," + - " ItemName,Item,ItemModel,ItemUnit,qty,price,amt,ItemSupply,ItemSupplyidx,'{4}',Project," + - " memo,1 as import,'{5}' as wuid, getdate() as wdate,'{6}' as orderno" + - " from ProjectsPart" + - " where Project = {7}"; - - SQL = string.Format(SQL, - dtPdate.Value.ToShortDateString(), - cmbState.Text.Trim(), - cbProcess.Text.Trim(), - userNo.Trim(), - tbProject.Text.Trim(), - FCOMMON.info.Login.no, - tbOrderNo.Text.Trim(), - this.ProjectIndex.ToString(), - this.cbEQModel.Text, - this.cbEQManu.Text, - this.cbManuProc.Text, - FCOMMON.info.Login.gcode - ); - - // Console.WriteLine(SQL); - - var cnt = FCOMMON.DBM.ExecuteNonQuery(SQL); - FCOMMON.Util.MsgI(string.Format("{0}건의 자료가 생성 되었습니다.\n\n구매등록 화면에서 내용을 확인하세요.", cnt)); - - return true; - } - - private void button1_Click(object sender, EventArgs e) - { - if (!saveData()) return; - DialogResult = System.Windows.Forms.DialogResult.OK; - } - - private void cbEQManu_SelectedIndexChanged(object sender, EventArgs e) - { - if (bsModel == null) return; - string 원본모델 = cbEQModel.Text; - - //장비모델 필터를 변경해준다. - if (cbEQManu.SelectedIndex < 0) - { - cbEQModel.SelectedIndex = -1; - return; - } - - string filter = "svalue='" + cbEQManu.Text.Replace("'", "''") + "'"; - bsModel.Filter = filter; - if (원본모델 != "") cbEQModel.Text = 원본모델; - else cbEQModel.SelectedIndex = -1; - } - - } -} +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace FPJ0000 +{ + public partial class fProjectPartToPurchase : Form + { + BindingSource bsModel; + int ProjectIndex = -1; + public fProjectPartToPurchase(int pidx) + { + InitializeComponent(); + this.ProjectIndex = pidx; + this.KeyPreview = true; + this.StartPosition = FormStartPosition.CenterScreen; + this.KeyDown += (s1, e1) => + { + if (e1.KeyCode == Keys.Escape) this.Close(); + }; + } + void MakeList(dsPRJ.ProjectsPartDataTable dt) + { + this.listView1.SuspendLayout(); + this.listView1.Items.Clear(); + var orderdata = dt + .OrderBy(t => string.Concat(t.ItemGroup, t.option1, t.ItemSid, t.ItemName)); + + foreach (dsPRJ.ProjectsPartRow dr in orderdata) + { + var lvitem = this.listView1.Items.Add(dr.ItemGroup); + lvitem.Tag = dr; + lvitem.Checked = true; + lvitem.SubItems.Add(dr.option1); + lvitem.SubItems.Add(dr.ItemSid); + lvitem.SubItems.Add(dr.ItemName); + lvitem.SubItems.Add(dr.ItemModel); + lvitem.SubItems.Add(dr.qty.ToString()); + lvitem.SubItems.Add(dr.price.ToString()); + lvitem.SubItems.Add(dr.amt.ToString()); + } + + this.listView1.ResumeLayout(); + showSummary(); + } + private void __Load(object sender, EventArgs e) + { + //프로젝트정보를 찾는다. + var dtPrj = taProject.GetbyIDX(this.ProjectIndex); + var drPrj = dtPrj.Rows[0] as dsPRJ.ProjectsRow; + this.tbProjectIndex.Text = drPrj.idx.ToString(); + this.textBox1.Text = drPrj.remark_ans; + this.tbProject.Text = drPrj.name; + this.tbCr.Text = drPrj.orderno; + this.tbOrderNo.Text = drPrj.orderno; + + //파트리스트 합계금액 + var dtPart = taPart.GetData(this.ProjectIndex); + MakeList(dtPart); + + + //상태 + var stateList = FCOMMON.DBM.getCodeTable("04"); + this.cmbState.DisplayMember = "Value"; + this.cmbState.ValueMember = "Value"; + this.cmbState.DataSource = stateList; + + //장비제조 + var dt_dept = FCOMMON.DBM.getCodeTable("06"); + BindingSource bsManu = new BindingSource(dt_dept, ""); + this.cbEQManu.DisplayMember = "Value"; + this.cbEQManu.ValueMember = "Value"; + this.cbEQManu.DataSource = bsManu; + + //장비모델 + var dt_asset = FCOMMON.DBM.getCodeTable("07"); + bsModel = new BindingSource(dt_asset, ""); + bsModel.Filter = "svalue='그런거없다'"; + this.cbEQModel.DisplayMember = "Value"; + this.cbEQModel.ValueMember = "Value"; + this.cbEQModel.DataSource = bsModel; + + //제조공정 + var dt_manuproc = FCOMMON.DBM.getCodeTable("08"); + this.cbManuProc.DisplayMember = "Value"; + this.cbManuProc.ValueMember = "Value"; + this.cbManuProc.DataSource = dt_manuproc; + + //장비기술공정 + var dt_eetproc = FCOMMON.DBM.getCodeTable("09"); + this.cbProcess.DisplayMember = "Value"; + this.cbProcess.ValueMember = "Value"; + this.cbProcess.DataSource = dt_eetproc; + + ////processlist + //var procList = FCOMMON.DBM.getGroupTable("process", "Purchase", "process <> ''"); + //this.cbProcess.DisplayMember = "Value"; + //this.cbProcess.ValueMember = "Key"; + //this.cbProcess.DataSource = new BindingSource(procList, ""); + + //담당자목록 + //담당자목록 - 사용자목록으로 처리한다. + string namestr = string.Format("{0}({1})", FCOMMON.info.Login.nameK, FCOMMON.info.Login.no); + if (FCOMMON.info.Login.no == "dev") namestr = "김치균(395552)"; + this.cmbRequest.Items.Clear(); + this.cmbRequest.Items.Add(namestr); + try + { + var cn = FCOMMON.DBM.getCn(); + cn.Open(); + string sql = "select [id],[name] " + + " from users" + + " where gcode='{1}' and id <> '{0}'" + + " order by [name]"; + sql = string.Format(sql, FCOMMON.info.Login.no, FCOMMON.info.Login.gcode); + var cmd = new System.Data.SqlClient.SqlCommand(sql, cn); + var rdr = cmd.ExecuteReader(); + while (rdr.Read()) + { + string cmbdata = string.Format("{1}({0})", rdr[0].ToString(), rdr[1].ToString()); + this.cmbRequest.Items.Add(cmbdata); + } + cmd.Dispose(); + cn.Close(); + cn.Dispose(); + } + catch (Exception ex) + { + FCOMMON.Util.MsgE("User List Error\n\n" + ex.Message); + } + cmbRequest.Text = namestr;// FCOMMON.info.Login.nameK; + + + dtPdate.Value = DateTime.Now; + + cmbState.Text = "PO"; + + + this.Show(); + Application.DoEvents(); + } + + void showSummary() + { + //모든 선택된 자료의 합계를 표시한다 + var items = listView1.CheckedItems; + int sumAmt = 0; + foreach (ListViewItem item in items) + { + var str_amt = item.SubItems[7].Text.Replace(",", "").Trim(); + sumAmt += int.Parse(str_amt); + } + this.tbSum.Text = sumAmt.ToString("N0"); + + } + private bool saveData() + { + this.Validate(); + + //체크된 항목확인 + if (this.listView1.CheckedItems == null || + this.listView1.CheckedItems.Count < 1) + { + FCOMMON.Util.MsgE("선택된 항목이 없습니다"); + return false; + } + + + if (cbProcess.Text.Trim() == "") + { + FCOMMON.Util.MsgE("프로세스를 선택하세요."); + cbProcess.Focus(); + return false; + } + + if (tbProject.Text == "") + { + FCOMMON.Util.MsgE("프로젝트 정보를 입력하세요."); + tbProject.Focus(); + return false; + } + + var overtime = DateTime.Now - DateTime.Parse("2019-01-09 00:00:00"); + if (overtime.TotalSeconds > 0) + { + if (this.cbProcess.SelectedIndex == -1) + { + if (FCOMMON.info.Login.level >= 5) + { + var dlg = FCOMMON.Util.MsgQ("[공정]을 입력하지 않고 진행 하시겠습니까?\n\n" + + "선택 대상이 없는 경우 문의 바랍니다.\n\n" + + "BongSeok Jung(T.7191)\n" + + "BongSeok.Jung@amkor.co.kr"); + if (dlg != System.Windows.Forms.DialogResult.Yes) + { + cbProcess.Focus(); + return false; + } + } + else + { + FCOMMON.Util.MsgE("[공정]을 선택하세요\n\n" + + "선택 대상이 없는 경우 문의 바랍니다.\n\n" + + "BongSeok Jung(T.7191)\n" + + "BongSeok.Jung@amkor.co.kr"); + + cbProcess.Focus(); + return false; + } + } + if (cbManuProc.SelectedIndex == -1) + { + if (FCOMMON.info.Login.level >= 5) + { + var dlg = FCOMMON.Util.MsgQ("제조공정을 입력하지 않고 진행 하시겠습니까?\n\n" + + "선택 대상이 없는 경우 문의 바랍니다.\n\n" + + "BongSeok Jung(T.7191)\n" + + "BongSeok.Jung@amkor.co.kr"); + if (dlg != System.Windows.Forms.DialogResult.Yes) + { + cbManuProc.Focus(); + return false; + } + } + else + { + FCOMMON.Util.MsgE("제조공정을 선택하세요\n\n" + + "선택 대상이 없는 경우 문의 바랍니다.\n\n" + + "BongSeok Jung(T.7191)\n" + + "BongSeok.Jung@amkor.co.kr"); + + cbManuProc.Focus(); + return false; + } + } + if (this.cbEQManu.SelectedIndex == -1) + { + if (FCOMMON.info.Login.level >= 5) + { + var dlg = FCOMMON.Util.MsgQ("장비제조사를 입력하지 않고 진행 하시겠습니까?\n\n" + + "선택 대상이 없는 경우 문의 바랍니다.\n\n" + + "BongSeok Jung(T.7191)\n" + + "BongSeok.Jung@amkor.co.kr"); + if (dlg != System.Windows.Forms.DialogResult.Yes) + { + cbEQManu.Focus(); + return false; + } + } + else + { + FCOMMON.Util.MsgE("장비 제조사를 선택하세요.\n\n" + + "선택 대상이 없는 경우 문의 바랍니다.\n\n" + + "BongSeok Jung(T.7191)\n" + + "BongSeok.Jung@amkor.co.kr"); + cbEQManu.Focus(); + return false; + } + } + } + + int itemCount = 0; + int itemAmt = 0; + + foreach (ListViewItem item in this.listView1.CheckedItems) + { + itemCount += 1; + itemAmt += int.Parse(item.SubItems[7].Text.Replace(",", "").Trim()); + } + + //part 목록을 조회해서 NR에 등록해줘야 함 + var dlg2 = FCOMMON.Util.MsgQ("해당 파트리스트를 NR구매 목록에 등록 하시겠습니까?\n" + + itemCount.ToString() + "건 " + itemAmt.ToString("N0") + "원"); + if (dlg2 != System.Windows.Forms.DialogResult.Yes) return false; + + + string userNo = this.cmbRequest.Text.Substring(cmbRequest.Text.LastIndexOf('(') + 1); + userNo = userNo.Substring(0, userNo.Length - 1); + + //기존에 등록된 자료가 있는지 체크한다. + var SQLExist = + " select count(*) from Purchase" + + " where import = 1" + + " and gcode = '" + FCOMMON.info.Login.gcode + "' and pdate = '{0}'" + + " and projectidx = {1}"; + SQLExist = string.Format(SQLExist, dtPdate.Value.ToShortDateString(), this.ProjectIndex.ToString()); + var ExistCnt = FCOMMON.DBM.ExecuteScalarI(SQLExist); + if (ExistCnt > 0) + { + var dlgq = FCOMMON.Util.MsgQ(string.Format("생성된 자료가 {0}건 존재 합니다.\n\n" + "기존 자료를 삭제 하시겠습니까?", ExistCnt)); + if (dlgq == System.Windows.Forms.DialogResult.Yes) + { + SQLExist = + " delete from Purchase" + + " where import = 1" + + " and gcode = '" + FCOMMON.info.Login.gcode + "' and pdate = '{0}'" + + " and projectidx = {1}"; + SQLExist = string.Format(SQLExist, dtPdate.Value.ToShortDateString(), this.ProjectIndex.ToString()); + var delCnt = FCOMMON.DBM.ExecuteNonQuery(SQLExist); + Console.WriteLine(delCnt.ToString() + "건의 기존 입력된 자료가 삭제됨"); + } + } + + var fProg = new FCOMMON.fProgress(); + fProg.Title = "NR구매파트 자료 등록 중"; + fProg.SetProgress(0, itemCount); + fProg.Show(); + fProg.Refresh(); + + int iCnt = 0; + + //데이터를 넣는다 + foreach (ListViewItem item in this.listView1.CheckedItems) + { + var dr = item.Tag as dsPRJ.ProjectsPartRow; + + //insert query + var SQL = + " insert into purchase(asset,dept,manuproc,gcode,pdate,state,process,request,sid,pumname,pumidx,pumscale,pumunit," + + " pumqty,pumprice,pumamt,supply,supplyidx,project,projectidx,bigo,import,wuid,wdate,orderno)" + + " values( '{asset}','{dept}','{manuproc}','{gcode}', '{pdate}','{State}','{process}' ,'{userNo}','{ItemSid}'," + + " '{ItemName}','{Item}','{ItemModel}','{ItemUnit}','{qty}','{price}','{amt}','{ItemSupply}','{ItemSupplyidx}','{projectname}','{Project}'," + + " '{memo}',1 ,'{wuid}', getdate(),'{orderno}')" ; + + SQL = SQL.Replace("{asset}", this.cbEQModel.Text); + SQL = SQL.Replace("{dept}", this.cbEQManu.Text); + SQL = SQL.Replace("{manuproc}", this.cbManuProc.Text); + SQL = SQL.Replace("{gcode}", FCOMMON.info.Login.gcode); + + SQL = SQL.Replace("{orderno}", tbOrderNo.Text.Trim()); + SQL = SQL.Replace("{wuid}", FCOMMON.info.Login.no); + SQL = SQL.Replace("{projectname}", tbProject.Text.Trim()); + SQL = SQL.Replace("{userNo}", userNo.Trim()); + SQL = SQL.Replace("{process}", cbProcess.Text.Trim()); + SQL = SQL.Replace("{State}", cmbState.Text.Trim()); + SQL = SQL.Replace("{pdate}", dtPdate.Value.ToShortDateString()); + SQL = SQL.Replace("{ItemSid}", dr.ItemSid.Replace(" ","").Trim()); + SQL = SQL.Replace("{ItemName}", dr.ItemName.Trim()); + SQL = SQL.Replace("{Item}", dr.Item.ToString()); + SQL = SQL.Replace("{ItemModel}", dr.ItemModel); + SQL = SQL.Replace("{ItemUnit}", dr.ItemUnit); + SQL = SQL.Replace("{qty}", dr.qty.ToString()); + SQL = SQL.Replace("{price}", dr.price.ToString()); + SQL = SQL.Replace("{amt}", dr.amt.ToString()); + SQL = SQL.Replace("{ItemSupply}", dr.ItemSupply); + SQL = SQL.Replace("{ItemSupplyidx}", dr.ItemSupplyidx.ToString()); + SQL = SQL.Replace("{Project}", dr.Project.ToString()); + SQL = SQL.Replace("{memo}", dr.memo); + + // Console.WriteLine(SQL); + fProg.IncProgress(); + + var cnt = FCOMMON.DBM.ExecuteNonQuery(SQL); + } + + FCOMMON.Util.MsgI(string.Format("{0}건의 자료가 생성 되었습니다.\n\n구매등록 화면에서 내용을 확인하세요.", itemCount)); + fProg.Close(); + fProg.Dispose(); + + return true; + } + + private void button1_Click(object sender, EventArgs e) + { + + } + + private void cbEQManu_SelectedIndexChanged(object sender, EventArgs e) + { + if (bsModel == null) return; + string 원본모델 = cbEQModel.Text; + + //장비모델 필터를 변경해준다. + if (cbEQManu.SelectedIndex < 0) + { + cbEQModel.SelectedIndex = -1; + return; + } + + string filter = "svalue='" + cbEQManu.Text.Replace("'", "''") + "'"; + bsModel.Filter = filter; + if (원본모델 != "") cbEQModel.Text = 원본모델; + else cbEQModel.SelectedIndex = -1; + } + + private void toolStripDropDownButton1_Click(object sender, EventArgs e) + { + foreach (ListViewItem lv in this.listView1.Items) + lv.Checked = true; + showSummary(); + } + + private void toolStripButton2_Click(object sender, EventArgs e) + { + foreach (ListViewItem lv in this.listView1.Items) + lv.Checked = false; + showSummary(); + } + + private void toolStripButton3_Click(object sender, EventArgs e) + { + foreach (ListViewItem lv in this.listView1.Items) + lv.Checked = !lv.Checked; + showSummary(); + } + + private void toolStripButton1_Click(object sender, EventArgs e) + { + foreach (ListViewItem lv in this.listView1.CheckedItems) + { + var SID = lv.SubItems[2].Text; + if (SID.Trim() == "") lv.Checked = false; + } + + showSummary(); + } + + private void toolStripButton4_Click(object sender, EventArgs e) + { + if (!saveData()) return; + DialogResult = System.Windows.Forms.DialogResult.OK; + } + + private void toolStripButton6_Click(object sender, EventArgs e) + { + //동일 중분류 + if (listView1.FocusedItem == null) return; + var grp = listView1.FocusedItem.SubItems[0].Text.Trim(); + if (grp == "") + { + FCOMMON.Util.MsgE("입력된 중분류값이 없습니다"); + return; + } + //체크안된데이터중에서 동일한 그룹을 모두 체크한다 + foreach (ListViewItem item in this.listView1.Items) + { + if (item.Checked == false) + { + var itemgrp = item.SubItems[0].Text.Trim(); + if (itemgrp == grp) item.Checked = true; + } + } + showSummary(); + } + + private void toolStripButton5_Click(object sender, EventArgs e) + { + //동일 소분류 + if (listView1.FocusedItem == null) return; + var grp = listView1.FocusedItem.SubItems[1].Text.Trim(); + if (grp == "") + { + FCOMMON.Util.MsgE("입력된 소분류값이 없습니다"); + return; + } + //체크안된데이터중에서 동일한 그룹을 모두 체크한다 + foreach (ListViewItem item in this.listView1.Items) + { + if (item.Checked == false) + { + var itemgrp = item.SubItems[1].Text.Trim(); + if (itemgrp == grp) item.Checked = true; + } + } + showSummary(); + } + + private void toolStripButton7_Click(object sender, EventArgs e) + { + //기존에 등록된 자료가 있는지 체크한다. + var SQLExist = + " select count(*) from Purchase" + + " where import = 1" + + " and gcode = '" + FCOMMON.info.Login.gcode + "' and pdate = '{0}'" + + " and projectidx = {1}"; + SQLExist = string.Format(SQLExist, dtPdate.Value.ToShortDateString(), this.ProjectIndex.ToString()); + var ExistCnt = FCOMMON.DBM.ExecuteScalarI(SQLExist); + if (ExistCnt > 0) + { + var dlgq = FCOMMON.Util.MsgQ(string.Format("생성된 자료가 {0}건 존재 합니다.\n\n" + "기존 자료를 삭제 하시겠습니까?", ExistCnt)); + if (dlgq == System.Windows.Forms.DialogResult.Yes) + { + SQLExist = + " delete from Purchase" + + " where import = 1" + + " and gcode = '" + FCOMMON.info.Login.gcode + "' and pdate = '{0}'" + + " and projectidx = {1}"; + SQLExist = string.Format(SQLExist, dtPdate.Value.ToShortDateString(), this.ProjectIndex.ToString()); + var delCnt = FCOMMON.DBM.ExecuteNonQuery(SQLExist); + FCOMMON.Util.MsgI(delCnt.ToString() + "건의 기존 입력된 자료가 삭제됨"); + } + } + else + { + FCOMMON.Util.MsgE("등록된 자료가 없습니다\n" + + "일자 : " + dtPdate.Value.ToShortDateString() + "\n" + + "프로젝트 : " + this.ProjectIndex.ToString()); + } + } + } +} diff --git a/SubProject/FPJ0000/Project/fProjectPartToPurchase.resx b/SubProject/FPJ0000/Project/fProjectPartToPurchase.resx index 6c5f28c..b5e4d4e 100644 --- a/SubProject/FPJ0000/Project/fProjectPartToPurchase.resx +++ b/SubProject/FPJ0000/Project/fProjectPartToPurchase.resx @@ -1,177 +1,295 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - 257, 17 - - - 257, 17 - - - 17, 17 - - - 131, 17 - - - 195, 17 - - - False - - - 354, 17 - - - False - - - 455, 17 - - - 58 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + 257, 17 + + + 17, 17 + + + 131, 17 + + + 195, 17 + + + False + + + 656, 17 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEP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v8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE1SURBVDhPY/hPIQAbcOn57//T915BwW1rjoFx/oJz//N6 + VqHgsNxeMA03YN3lp/9vv4YYhAtsuQ6h55/9A8aBidVgPtiADZcegzWDFN1/9///qy8IDOKDcPfu1/9/ + /vn/v3rt/f9TD38BuwJuwIrT9wka0L79BdiAkuW3MA0A+fnog///V12GKAZ5BxcGGQByDYoXYAbA/Aey + AYRBCkE2N256AnY6SDMoUEF8FANAoQ0zAFkzCCNrhhkAor3CczENwGYzuu1JM8+BaQwDQAGITzOyASDs + 4huPMAAkATIA3c/YNIdNPAHGKAaAUhUoBghphhng0rTnv71bGKoBoADE5mR0zVgNACUK9BgAGYbudJBG + GNY0dEYYAMsgMAyKYxAGhTQIg/wLwiBbQRikGSUdkA/+/wcAgXJEf04PwQkAAAAASUVORK5CYII= + + + + 539, 17 + + + 354, 17 + + + 455, 17 + + + 58 + \ No newline at end of file diff --git a/SubProject/FPJ0000/dsPRJ.Designer.cs b/SubProject/FPJ0000/dsPRJ.Designer.cs index 3aa21bd..fffeebf 100644 --- a/SubProject/FPJ0000/dsPRJ.Designer.cs +++ b/SubProject/FPJ0000/dsPRJ.Designer.cs @@ -5552,11 +5552,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public int Project { get { - try { - return ((int)(this[this.tableProjectsPart.ProjectColumn])); + if (this.IsProjectNull()) { + return -1; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectsPart\' 테이블의 \'Project\' 열의 값이 DBNull입니다.", e); + else { + return ((int)(this[this.tableProjectsPart.ProjectColumn])); } } set { @@ -5568,11 +5568,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public int Item { get { - try { - return ((int)(this[this.tableProjectsPart.ItemColumn])); + if (this.IsItemNull()) { + return -1; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectsPart\' 테이블의 \'Item\' 열의 값이 DBNull입니다.", e); + else { + return ((int)(this[this.tableProjectsPart.ItemColumn])); } } set { @@ -5846,11 +5846,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public int ItemSupplyidx { get { - try { - return ((int)(this[this.tableProjectsPart.ItemSupplyidxColumn])); + if (this.IsItemSupplyidxNull()) { + return -1; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectsPart\' 테이블의 \'ItemSupplyidx\' 열의 값이 DBNull입니다.", e); + else { + return ((int)(this[this.tableProjectsPart.ItemSupplyidxColumn])); } } set { @@ -5894,11 +5894,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public bool import { get { - try { - return ((bool)(this[this.tableProjectsPart.importColumn])); + if (this.IsimportNull()) { + return false; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectsPart\' 테이블의 \'import\' 열의 값이 DBNull입니다.", e); + else { + return ((bool)(this[this.tableProjectsPart.importColumn])); } } set { diff --git a/SubProject/FPJ0000/dsPRJ.xsd b/SubProject/FPJ0000/dsPRJ.xsd index 4526722..9bf3f3a 100644 --- a/SubProject/FPJ0000/dsPRJ.xsd +++ b/SubProject/FPJ0000/dsPRJ.xsd @@ -1365,8 +1365,8 @@ WHERE (pidx = @pidx) - - + + @@ -1456,7 +1456,7 @@ WHERE (pidx = @pidx) - + @@ -1465,7 +1465,7 @@ WHERE (pidx = @pidx) - +