..업로드 기능 추가
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -1 +0,0 @@ | |||||||
| /EETGW.suo |  | ||||||
| @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; | |||||||
| // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 | ||||||
| // 지정되도록 할 수 있습니다. | // 지정되도록 할 수 있습니다. | ||||||
| // [assembly: AssemblyVersion("1.0.*")] | // [assembly: AssemblyVersion("1.0.*")] | ||||||
| [assembly: AssemblyVersion("19.04.04.1430")] | [assembly: AssemblyVersion("19.04.16.0800")] | ||||||
| [assembly: AssemblyFileVersion("19.04.04.1430")] | [assembly: AssemblyFileVersion("19.04.16.0800")] | ||||||
|   | |||||||
							
								
								
									
										46
									
								
								Project/fMain.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										46
									
								
								Project/fMain.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -85,9 +85,11 @@ | |||||||
|             this.purchaseDataConvertToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.purchaseDataConvertToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.customerImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.customerImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.projectImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.projectImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|  |             this.projectImportCompleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.tabControl1 = new System.Windows.Forms.TabControl(); |             this.tabControl1 = new System.Windows.Forms.TabControl(); | ||||||
|             this.tabPage1 = new System.Windows.Forms.TabPage(); |             this.tabPage1 = new System.Windows.Forms.TabPage(); | ||||||
|             this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); |             this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); | ||||||
|  |             this.purchaseOrderImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.toolStrip.SuspendLayout(); |             this.toolStrip.SuspendLayout(); | ||||||
|             this.cmTab.SuspendLayout(); |             this.cmTab.SuspendLayout(); | ||||||
|             this.statusStrip1.SuspendLayout(); |             this.statusStrip1.SuspendLayout(); | ||||||
| @@ -280,14 +282,14 @@ | |||||||
|             // itemsToolStripMenuItem |             // itemsToolStripMenuItem | ||||||
|             //  |             //  | ||||||
|             this.itemsToolStripMenuItem.Name = "itemsToolStripMenuItem"; |             this.itemsToolStripMenuItem.Name = "itemsToolStripMenuItem"; | ||||||
|             this.itemsToolStripMenuItem.Size = new System.Drawing.Size(152, 24); |             this.itemsToolStripMenuItem.Size = new System.Drawing.Size(139, 24); | ||||||
|             this.itemsToolStripMenuItem.Text = "품목"; |             this.itemsToolStripMenuItem.Text = "품목"; | ||||||
|             this.itemsToolStripMenuItem.Click += new System.EventHandler(this.itemsToolStripMenuItem_Click); |             this.itemsToolStripMenuItem.Click += new System.EventHandler(this.itemsToolStripMenuItem_Click); | ||||||
|             //  |             //  | ||||||
|             // codesToolStripMenuItem |             // codesToolStripMenuItem | ||||||
|             //  |             //  | ||||||
|             this.codesToolStripMenuItem.Name = "codesToolStripMenuItem"; |             this.codesToolStripMenuItem.Name = "codesToolStripMenuItem"; | ||||||
|             this.codesToolStripMenuItem.Size = new System.Drawing.Size(152, 24); |             this.codesToolStripMenuItem.Size = new System.Drawing.Size(139, 24); | ||||||
|             this.codesToolStripMenuItem.Text = "공용코드"; |             this.codesToolStripMenuItem.Text = "공용코드"; | ||||||
|             this.codesToolStripMenuItem.Click += new System.EventHandler(this.codesToolStripMenuItem_Click); |             this.codesToolStripMenuItem.Click += new System.EventHandler(this.codesToolStripMenuItem_Click); | ||||||
|             //  |             //  | ||||||
| @@ -298,7 +300,7 @@ | |||||||
|             this.myAccouserToolStripMenuItem, |             this.myAccouserToolStripMenuItem, | ||||||
|             this.aDSUserListToolStripMenuItem}); |             this.aDSUserListToolStripMenuItem}); | ||||||
|             this.userInfoToolStripMenuItem.Name = "userInfoToolStripMenuItem"; |             this.userInfoToolStripMenuItem.Name = "userInfoToolStripMenuItem"; | ||||||
|             this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(152, 24); |             this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(139, 24); | ||||||
|             this.userInfoToolStripMenuItem.Text = "사용자"; |             this.userInfoToolStripMenuItem.Text = "사용자"; | ||||||
|             //  |             //  | ||||||
|             // userAccountToolStripMenuItem |             // userAccountToolStripMenuItem | ||||||
| @@ -326,20 +328,20 @@ | |||||||
|             // customerToolStripMenuItem |             // customerToolStripMenuItem | ||||||
|             //  |             //  | ||||||
|             this.customerToolStripMenuItem.Name = "customerToolStripMenuItem"; |             this.customerToolStripMenuItem.Name = "customerToolStripMenuItem"; | ||||||
|             this.customerToolStripMenuItem.Size = new System.Drawing.Size(152, 24); |             this.customerToolStripMenuItem.Size = new System.Drawing.Size(139, 24); | ||||||
|             this.customerToolStripMenuItem.Text = "업체정보"; |             this.customerToolStripMenuItem.Text = "업체정보"; | ||||||
|             this.customerToolStripMenuItem.Click += new System.EventHandler(this.customerToolStripMenuItem_Click); |             this.customerToolStripMenuItem.Click += new System.EventHandler(this.customerToolStripMenuItem_Click); | ||||||
|             //  |             //  | ||||||
|             // toolStripMenuItem1 |             // toolStripMenuItem1 | ||||||
|             //  |             //  | ||||||
|             this.toolStripMenuItem1.Name = "toolStripMenuItem1"; |             this.toolStripMenuItem1.Name = "toolStripMenuItem1"; | ||||||
|             this.toolStripMenuItem1.Size = new System.Drawing.Size(149, 6); |             this.toolStripMenuItem1.Size = new System.Drawing.Size(136, 6); | ||||||
|             //  |             //  | ||||||
|             // staffGridToolStripMenuItem |             // staffGridToolStripMenuItem | ||||||
|             //  |             //  | ||||||
|             this.staffGridToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink; |             this.staffGridToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink; | ||||||
|             this.staffGridToolStripMenuItem.Name = "staffGridToolStripMenuItem"; |             this.staffGridToolStripMenuItem.Name = "staffGridToolStripMenuItem"; | ||||||
|             this.staffGridToolStripMenuItem.Size = new System.Drawing.Size(152, 24); |             this.staffGridToolStripMenuItem.Size = new System.Drawing.Size(139, 24); | ||||||
|             this.staffGridToolStripMenuItem.Text = "Staff Grid"; |             this.staffGridToolStripMenuItem.Text = "Staff Grid"; | ||||||
|             this.staffGridToolStripMenuItem.Click += new System.EventHandler(this.staffGridToolStripMenuItem_Click); |             this.staffGridToolStripMenuItem.Click += new System.EventHandler(this.staffGridToolStripMenuItem_Click); | ||||||
|             //  |             //  | ||||||
| @@ -347,7 +349,7 @@ | |||||||
|             //  |             //  | ||||||
|             this.mailFormToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink; |             this.mailFormToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink; | ||||||
|             this.mailFormToolStripMenuItem.Name = "mailFormToolStripMenuItem"; |             this.mailFormToolStripMenuItem.Name = "mailFormToolStripMenuItem"; | ||||||
|             this.mailFormToolStripMenuItem.Size = new System.Drawing.Size(152, 24); |             this.mailFormToolStripMenuItem.Size = new System.Drawing.Size(139, 24); | ||||||
|             this.mailFormToolStripMenuItem.Text = "메일 양식"; |             this.mailFormToolStripMenuItem.Text = "메일 양식"; | ||||||
|             this.mailFormToolStripMenuItem.Click += new System.EventHandler(this.mailFormToolStripMenuItem_Click); |             this.mailFormToolStripMenuItem.Click += new System.EventHandler(this.mailFormToolStripMenuItem_Click); | ||||||
|             //  |             //  | ||||||
| @@ -507,10 +509,12 @@ | |||||||
|             //  |             //  | ||||||
|             this.btDev.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |             this.btDev.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||||
|             this.purchaseImportToolStripMenuItem, |             this.purchaseImportToolStripMenuItem, | ||||||
|  |             this.purchaseOrderImportToolStripMenuItem, | ||||||
|             this.materialImportToolStripMenuItem, |             this.materialImportToolStripMenuItem, | ||||||
|             this.purchaseDataConvertToolStripMenuItem, |             this.purchaseDataConvertToolStripMenuItem, | ||||||
|             this.customerImportToolStripMenuItem, |             this.customerImportToolStripMenuItem, | ||||||
|             this.projectImportToolStripMenuItem}); |             this.projectImportToolStripMenuItem, | ||||||
|  |             this.projectImportCompleteToolStripMenuItem}); | ||||||
|             this.btDev.ForeColor = System.Drawing.Color.Blue; |             this.btDev.ForeColor = System.Drawing.Color.Blue; | ||||||
|             this.btDev.Name = "btDev"; |             this.btDev.Name = "btDev"; | ||||||
|             this.btDev.Size = new System.Drawing.Size(91, 23); |             this.btDev.Size = new System.Drawing.Size(91, 23); | ||||||
| @@ -520,38 +524,45 @@ | |||||||
|             // purchaseImportToolStripMenuItem |             // purchaseImportToolStripMenuItem | ||||||
|             //  |             //  | ||||||
|             this.purchaseImportToolStripMenuItem.Name = "purchaseImportToolStripMenuItem"; |             this.purchaseImportToolStripMenuItem.Name = "purchaseImportToolStripMenuItem"; | ||||||
|             this.purchaseImportToolStripMenuItem.Size = new System.Drawing.Size(222, 24); |             this.purchaseImportToolStripMenuItem.Size = new System.Drawing.Size(235, 24); | ||||||
|             this.purchaseImportToolStripMenuItem.Text = "Purchase Import"; |             this.purchaseImportToolStripMenuItem.Text = "Purchase Import"; | ||||||
|             this.purchaseImportToolStripMenuItem.Click += new System.EventHandler(this.purchaseImportToolStripMenuItem_Click); |             this.purchaseImportToolStripMenuItem.Click += new System.EventHandler(this.purchaseImportToolStripMenuItem_Click); | ||||||
|             //  |             //  | ||||||
|             // materialImportToolStripMenuItem |             // materialImportToolStripMenuItem | ||||||
|             //  |             //  | ||||||
|             this.materialImportToolStripMenuItem.Name = "materialImportToolStripMenuItem"; |             this.materialImportToolStripMenuItem.Name = "materialImportToolStripMenuItem"; | ||||||
|             this.materialImportToolStripMenuItem.Size = new System.Drawing.Size(222, 24); |             this.materialImportToolStripMenuItem.Size = new System.Drawing.Size(235, 24); | ||||||
|             this.materialImportToolStripMenuItem.Text = "Material Import"; |             this.materialImportToolStripMenuItem.Text = "Material Import"; | ||||||
|             this.materialImportToolStripMenuItem.Click += new System.EventHandler(this.materialImportToolStripMenuItem_Click); |             this.materialImportToolStripMenuItem.Click += new System.EventHandler(this.materialImportToolStripMenuItem_Click); | ||||||
|             //  |             //  | ||||||
|             // purchaseDataConvertToolStripMenuItem |             // purchaseDataConvertToolStripMenuItem | ||||||
|             //  |             //  | ||||||
|             this.purchaseDataConvertToolStripMenuItem.Name = "purchaseDataConvertToolStripMenuItem"; |             this.purchaseDataConvertToolStripMenuItem.Name = "purchaseDataConvertToolStripMenuItem"; | ||||||
|             this.purchaseDataConvertToolStripMenuItem.Size = new System.Drawing.Size(222, 24); |             this.purchaseDataConvertToolStripMenuItem.Size = new System.Drawing.Size(235, 24); | ||||||
|             this.purchaseDataConvertToolStripMenuItem.Text = "Purchase Data Convert"; |             this.purchaseDataConvertToolStripMenuItem.Text = "Purchase Data Convert"; | ||||||
|             this.purchaseDataConvertToolStripMenuItem.Click += new System.EventHandler(this.purchaseDataConvertToolStripMenuItem_Click); |             this.purchaseDataConvertToolStripMenuItem.Click += new System.EventHandler(this.purchaseDataConvertToolStripMenuItem_Click); | ||||||
|             //  |             //  | ||||||
|             // customerImportToolStripMenuItem |             // customerImportToolStripMenuItem | ||||||
|             //  |             //  | ||||||
|             this.customerImportToolStripMenuItem.Name = "customerImportToolStripMenuItem"; |             this.customerImportToolStripMenuItem.Name = "customerImportToolStripMenuItem"; | ||||||
|             this.customerImportToolStripMenuItem.Size = new System.Drawing.Size(222, 24); |             this.customerImportToolStripMenuItem.Size = new System.Drawing.Size(235, 24); | ||||||
|             this.customerImportToolStripMenuItem.Text = "Customer Import"; |             this.customerImportToolStripMenuItem.Text = "Customer Import"; | ||||||
|             this.customerImportToolStripMenuItem.Click += new System.EventHandler(this.customerImportToolStripMenuItem_Click); |             this.customerImportToolStripMenuItem.Click += new System.EventHandler(this.customerImportToolStripMenuItem_Click); | ||||||
|             //  |             //  | ||||||
|             // projectImportToolStripMenuItem |             // projectImportToolStripMenuItem | ||||||
|             //  |             //  | ||||||
|             this.projectImportToolStripMenuItem.Name = "projectImportToolStripMenuItem"; |             this.projectImportToolStripMenuItem.Name = "projectImportToolStripMenuItem"; | ||||||
|             this.projectImportToolStripMenuItem.Size = new System.Drawing.Size(222, 24); |             this.projectImportToolStripMenuItem.Size = new System.Drawing.Size(235, 24); | ||||||
|             this.projectImportToolStripMenuItem.Text = "Project Import"; |             this.projectImportToolStripMenuItem.Text = "Project Import"; | ||||||
|             this.projectImportToolStripMenuItem.Click += new System.EventHandler(this.projectImportToolStripMenuItem_Click); |             this.projectImportToolStripMenuItem.Click += new System.EventHandler(this.projectImportToolStripMenuItem_Click); | ||||||
|             //  |             //  | ||||||
|  |             // projectImportCompleteToolStripMenuItem | ||||||
|  |             //  | ||||||
|  |             this.projectImportCompleteToolStripMenuItem.Name = "projectImportCompleteToolStripMenuItem"; | ||||||
|  |             this.projectImportCompleteToolStripMenuItem.Size = new System.Drawing.Size(235, 24); | ||||||
|  |             this.projectImportCompleteToolStripMenuItem.Text = "Project Import(Complete)"; | ||||||
|  |             this.projectImportCompleteToolStripMenuItem.Click += new System.EventHandler(this.projectImportCompleteToolStripMenuItem_Click); | ||||||
|  |             //  | ||||||
|             // tabControl1 |             // tabControl1 | ||||||
|             //  |             //  | ||||||
|             this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons; |             this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons; | ||||||
| @@ -599,6 +610,13 @@ | |||||||
|             this.toolStripContainer1.TabIndex = 35; |             this.toolStripContainer1.TabIndex = 35; | ||||||
|             this.toolStripContainer1.Text = "toolStripContainer1"; |             this.toolStripContainer1.Text = "toolStripContainer1"; | ||||||
|             //  |             //  | ||||||
|  |             // purchaseOrderImportToolStripMenuItem | ||||||
|  |             //  | ||||||
|  |             this.purchaseOrderImportToolStripMenuItem.Name = "purchaseOrderImportToolStripMenuItem"; | ||||||
|  |             this.purchaseOrderImportToolStripMenuItem.Size = new System.Drawing.Size(235, 24); | ||||||
|  |             this.purchaseOrderImportToolStripMenuItem.Text = "Purchase(Order) Import"; | ||||||
|  |             this.purchaseOrderImportToolStripMenuItem.Click += new System.EventHandler(this.purchaseOrderImportToolStripMenuItem_Click); | ||||||
|  |             //  | ||||||
|             // fMain |             // fMain | ||||||
|             //  |             //  | ||||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; |             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | ||||||
| @@ -694,6 +712,8 @@ | |||||||
|         private System.Windows.Forms.ToolStripMenuItem projectImportToolStripMenuItem; |         private System.Windows.Forms.ToolStripMenuItem projectImportToolStripMenuItem; | ||||||
|         private System.Windows.Forms.ToolStripMenuItem 프로젝트ToolStripMenuItem; |         private System.Windows.Forms.ToolStripMenuItem 프로젝트ToolStripMenuItem; | ||||||
|         private System.Windows.Forms.ToolStripMenuItem 업무일지ToolStripMenuItem; |         private System.Windows.Forms.ToolStripMenuItem 업무일지ToolStripMenuItem; | ||||||
|  |         private System.Windows.Forms.ToolStripMenuItem projectImportCompleteToolStripMenuItem; | ||||||
|  |         private System.Windows.Forms.ToolStripMenuItem purchaseOrderImportToolStripMenuItem; | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -530,5 +530,18 @@ namespace Project | |||||||
|  |  | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |         private void projectImportCompleteToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             var f = new FPJ0000.ImportC(); | ||||||
|  |             f.Show(); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void purchaseOrderImportToolStripMenuItem_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             var f = new FEQ0000.fPurchase_ImportO(); | ||||||
|  |             // f.MdiParent = this; | ||||||
|  |             f.Show(); | ||||||
|  |         } | ||||||
|  |  | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -143,14 +143,14 @@ | |||||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIbSURBVDhPY0iaU3o9aWbN/7Ty3ovplX3WDFAwrd5VbGad |         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIbSURBVDhPY0iaU3o9aWbN/7Ty3ovplX3WDFAwrd5VbGad | ||||||
|         +65pVS4WcH61y64pFW4qYAUwkDS/8lLi3KqLqZW9UUkVfXcYGP4zTq10sZ9S4f52U73Pr+nl7u8nV7q5 |         +65pVS4WcH61y64pFW4qYAUwkDS/8lLi3KqLqZW9UUkVfXcYGP4zTq10sZ9S4f52U73Pr+nl7u8nV7q5 | ||||||
|         Tq9zerWzPubPnAaXx3NKrXih2lFBanX9n5QZRW9K6rP/zFxZ8n/X7vr/nfV5/+rr/f6t6Sz89/Vc6//9 |         Tq9zerWzPubPnAaXx3NKrXih2lFBanX9n5QZRW9K6rP/zFxZ8n/X7vr/7fV5/+rr/f6tai/89/Vc6//9 | ||||||
|         U1J/zq71OLoqNJQZqg0B4hu7PresnfV/1sml//v2z/rfvHXC//I1rf/TF1b+j59T/j9vcfX/hlW1/2vn |         U1J/zq71OLoqNJQZqg0B4hu7PresnfV/1sml//v2z/rfvHXC//I1rf/TF1b+j59T/j9vcfX/hlW1/2vn | ||||||
|         FvwqmphyLG52eQxUKwSktXReqZ0//f+uB3sx8Pa7u/+vurLx/9zTy/5PODj3f/DGnr8x8yreQrVCQFJz |         FvwqmphyLG52eQxUKwSktXReqZ0//f+uB3sx8Pa7u/+vurLx/9zTy/5PODj3f+DGnr8x8yreQrVCQFJz | ||||||
|         8+L43v7fME09+2ZipUF4zqll/5MXVF2AaoWApNbW1PT6+j8wRXFzyrDSIAxyRfy88tVQrRCQ0tEhk1bV |         8+L43v7fME09+2ZipUF4zqll/5MXVF2AaoWApNbW1PT6+j8wRXFzyrDSIAxyRfy88tVQrRCQ0tEhk1bV | ||||||
|         93/7vd0EDajfPvlH3JzSFqhWBLAP6v278Pg6sCJ8Xihe0/4xdk5ZKlQbAiTWd7/rWjcfrhAb3nRr+//o |         93/7vd0EDajfPvlH3JzSFqhWBLAP6P278Pg6sCJ8Xihe0/4xdk5ZKlQbAiTWd7/rWjcfrhAb3nRr+//o | ||||||
|         eZU/EmZWmEK1IUBSc8cp+66Wv0n9+d9hOHp+xY/o+ZVwnDgl62fygpp+qBZUkFbRl5Fa2bcVyiUdpJb1 |         eZU/EmZWmEK1IUBSc8cp+66Wv0n9+d9hOHp+xY/o+ZVwnDgl62fygpp+qBZUkFbRl5Fa2bcVyiUdpJb1 | ||||||
|         6qaVt79Pqeo3gAqRDjJqJx7OqK7/l1kz6X9aZT8KzqiZ+D8+fuLvnLop2L0AAtFV9T/mrDv0Pz2//ztU |         6qaVt79Pqeo3gAqRDjJqJx7OqK7/l1kz6X9aZT8KzqiZ+D8+fuLvnLop2L0AAtFV9T/mrDv0Pz2//ztU | ||||||
|         CA7wycFBJtD0+PgJv7NrJ/dAheAAVY6BAQDpyqE0YUO1uQAAAABJRU5ErkJggg== |         CA7wycFBJtD0+PgJv7NrJ/dAheAAVY6BAQDLzKEqDWlJgQAAAABJRU5ErkJggg== | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |   <data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|   | |||||||
| @@ -136,6 +136,12 @@ | |||||||
|     <Compile Include="Purchase\fPurchase_Data.Designer.cs"> |     <Compile Include="Purchase\fPurchase_Data.Designer.cs"> | ||||||
|       <DependentUpon>fPurchase_Data.cs</DependentUpon> |       <DependentUpon>fPurchase_Data.cs</DependentUpon> | ||||||
|     </Compile> |     </Compile> | ||||||
|  |     <Compile Include="Purchase\fPurchase_ImportO.cs"> | ||||||
|  |       <SubType>Form</SubType> | ||||||
|  |     </Compile> | ||||||
|  |     <Compile Include="Purchase\fPurchase_ImportO.Designer.cs"> | ||||||
|  |       <DependentUpon>fPurchase_ImportO.cs</DependentUpon> | ||||||
|  |     </Compile> | ||||||
|     <Compile Include="Purchase\fPurchase_Import.cs"> |     <Compile Include="Purchase\fPurchase_Import.cs"> | ||||||
|       <SubType>Form</SubType> |       <SubType>Form</SubType> | ||||||
|     </Compile> |     </Compile> | ||||||
| @@ -192,6 +198,9 @@ | |||||||
|     <EmbeddedResource Include="Purchase\fPurchase_Data.resx"> |     <EmbeddedResource Include="Purchase\fPurchase_Data.resx"> | ||||||
|       <DependentUpon>fPurchase_Data.cs</DependentUpon> |       <DependentUpon>fPurchase_Data.cs</DependentUpon> | ||||||
|     </EmbeddedResource> |     </EmbeddedResource> | ||||||
|  |     <EmbeddedResource Include="Purchase\fPurchase_ImportO.resx"> | ||||||
|  |       <DependentUpon>fPurchase_ImportO.cs</DependentUpon> | ||||||
|  |     </EmbeddedResource> | ||||||
|     <EmbeddedResource Include="Purchase\fPurchase_Import.resx"> |     <EmbeddedResource Include="Purchase\fPurchase_Import.resx"> | ||||||
|       <DependentUpon>fPurchase_Import.cs</DependentUpon> |       <DependentUpon>fPurchase_Import.cs</DependentUpon> | ||||||
|     </EmbeddedResource> |     </EmbeddedResource> | ||||||
|   | |||||||
							
								
								
									
										269
									
								
								SubProject/FEQ0000/Purchase/fPurchase.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										269
									
								
								SubProject/FEQ0000/Purchase/fPurchase.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -38,20 +38,21 @@ | |||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType6 = 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 textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); |  | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|  |             FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); |  | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); |             FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType(); |             FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); |             FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|  |             FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.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 textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|  |             FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); |             FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); | ||||||
|             this.dsPurchase = new FEQ0000.dsPurchase(); |             this.dsPurchase = new FEQ0000.dsPurchase(); | ||||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); |             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||||
| @@ -77,6 +78,7 @@ | |||||||
|             this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); |             this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); | ||||||
|             this.tbFind = new System.Windows.Forms.ToolStripTextBox(); |             this.tbFind = new System.Windows.Forms.ToolStripTextBox(); | ||||||
|             this.btFind = new System.Windows.Forms.ToolStripButton(); |             this.btFind = new System.Windows.Forms.ToolStripButton(); | ||||||
|  |             this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); | ||||||
|             this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); |             this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); | ||||||
|             this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
|             this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |             this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||||
| @@ -118,7 +120,6 @@ | |||||||
|             this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); |             this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); | ||||||
|             this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); |             this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); | ||||||
|             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); |             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); | ||||||
|             this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); |  | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||||
| @@ -335,6 +336,16 @@ | |||||||
|             this.btFind.Text = "toolStripButton2"; |             this.btFind.Text = "toolStripButton2"; | ||||||
|             this.btFind.Click += new System.EventHandler(this.btFind_Click); |             this.btFind.Click += new System.EventHandler(this.btFind_Click); | ||||||
|             //  |             //  | ||||||
|  |             // toolStripButton1 | ||||||
|  |             //  | ||||||
|  |             this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||||
|  |             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(28, 28); | ||||||
|  |             this.toolStripButton1.Text = "toolStripButton1"; | ||||||
|  |             this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); | ||||||
|  |             //  | ||||||
|             // cm1 |             // cm1 | ||||||
|             //  |             //  | ||||||
|             this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F); |             this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F); | ||||||
| @@ -666,7 +677,6 @@ | |||||||
|             this.fpSpread1.Size = new System.Drawing.Size(1074, 603); |             this.fpSpread1.Size = new System.Drawing.Size(1074, 603); | ||||||
|             this.fpSpread1.StatusBarVisible = true; |             this.fpSpread1.StatusBarVisible = true; | ||||||
|             this.fpSpread1.TabIndex = 4; |             this.fpSpread1.TabIndex = 4; | ||||||
|             this.fpSpread1.SetViewportLeftColumn(0, 0, 2); |  | ||||||
|             //  |             //  | ||||||
|             // fpSpread1_Sheet1 |             // fpSpread1_Sheet1 | ||||||
|             //  |             //  | ||||||
| @@ -674,7 +684,7 @@ | |||||||
|             this.fpSpread1_Sheet1.SheetName = "Sheet1"; |             this.fpSpread1_Sheet1.SheetName = "Sheet1"; | ||||||
|             // Formulas and custom names must be loaded with R1C1 reference style |             // Formulas and custom names must be loaded with R1C1 reference style | ||||||
|             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; |             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; | ||||||
|             this.fpSpread1_Sheet1.ColumnCount = 26; |             this.fpSpread1_Sheet1.ColumnCount = 27; | ||||||
|             this.fpSpread1_Sheet1.ActiveColumnIndex = -1; |             this.fpSpread1_Sheet1.ActiveColumnIndex = -1; | ||||||
|             this.fpSpread1_Sheet1.ActiveRowIndex = -1; |             this.fpSpread1_Sheet1.ActiveRowIndex = -1; | ||||||
|             this.fpSpread1_Sheet1.AutoGenerateColumns = false; |             this.fpSpread1_Sheet1.AutoGenerateColumns = false; | ||||||
| @@ -683,27 +693,28 @@ | |||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "공정"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "공정"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "요청"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "요청"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "SC#"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "SC#"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "수령"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "NO#"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "SID#"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "수령"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "품명"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "SID#"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "*"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "품명"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "규격"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "*"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "장비\r\n제조사"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "규격"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "제조\r\n공정"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "장비\r\n제조사"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "장비\r\n모델"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "제조\r\n공정"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "수량"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "장비\r\n모델"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "단위"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "수량"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "단가"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "단위"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "합계금액"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "단가"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "공급업체"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "합계금액"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "*"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "공급업체"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "관련프로젝트"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "*"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "*"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "관련프로젝트"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).Value = "입고예정"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).Value = "*"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 22).Value = "입고일"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 22).Value = "입고예정"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 23).Value = "PO#"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 23).Value = "입고일"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 24).Value = "비고"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 24).Value = "PO#"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).Value = "삭제됨"; |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).Value = "비고"; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "삭제됨"; | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F; |             this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true; |             this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoSort = true; |             this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoSort = true; | ||||||
| @@ -742,149 +753,145 @@ | |||||||
|             this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; |             this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Width = 27F; |             this.fpSpread1_Sheet1.Columns.Get(4).Width = 27F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6; |             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "receive"; |             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "orderno"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; |             this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Label = "수령"; |             this.fpSpread1_Sheet1.Columns.Get(5).Label = "NO#"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Width = 46F; |             this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoSort = true; |             this.fpSpread1_Sheet1.Columns.Get(5).Width = 44F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7; |             this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(6).DataField = "sid"; |             this.fpSpread1_Sheet1.Columns.Get(6).DataField = "receive"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |             this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Label = "SID#"; |             this.fpSpread1_Sheet1.Columns.Get(6).Label = "수령"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; |             this.fpSpread1_Sheet1.Columns.Get(6).Width = 46F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Width = 55F; |             this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoSort = true; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType8; |             this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType8; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(7).DataField = "pumname"; |             this.fpSpread1_Sheet1.Columns.Get(7).DataField = "sid"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; |             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).Label = "SID#"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(7).Width = 33F; |             this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); |             this.fpSpread1_Sheet1.Columns.Get(7).Width = 55F; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType9; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(8).DataField = "pumname"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(8).Label = "품명"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(8).Width = 33F; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(9).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||||
|             numberCellType1.DecimalPlaces = 0; |             numberCellType1.DecimalPlaces = 0; | ||||||
|             numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; |             numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||||
|             numberCellType1.MaximumValue = 2147483647D; |             numberCellType1.MaximumValue = 2147483647D; | ||||||
|             numberCellType1.MinimumValue = -2147483648D; |             numberCellType1.MinimumValue = -2147483648D; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType1; |             this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType1; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).DataField = "pumidx"; |             this.fpSpread1_Sheet1.Columns.Get(9).DataField = "pumidx"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |             this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Label = "*"; |             this.fpSpread1_Sheet1.Columns.Get(9).Label = "*"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Width = 14F; |             this.fpSpread1_Sheet1.Columns.Get(9).Width = 14F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType9; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(9).DataField = "pumscale"; |  | ||||||
|             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 = 43F; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType10; |             this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType10; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(10).DataField = "dept"; |             this.fpSpread1_Sheet1.Columns.Get(10).DataField = "pumscale"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(10).Label = "장비\r\n제조사"; |             this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType10; |             this.fpSpread1_Sheet1.Columns.Get(10).Label = "규격"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(11).DataField = "manuproc"; |             this.fpSpread1_Sheet1.Columns.Get(10).Width = 43F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(11).Label = "제조\r\n공정"; |             this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType11; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType10; |             this.fpSpread1_Sheet1.Columns.Get(11).DataField = "dept"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(12).DataField = "asset"; |             this.fpSpread1_Sheet1.Columns.Get(11).Label = "장비\r\n제조사"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(12).Label = "장비\r\n모델"; |             this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType11; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(12).DataField = "manuproc"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(12).Label = "제조\r\n공정"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType11; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(13).DataField = "asset"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(13).Label = "장비\r\n모델"; | ||||||
|             numberCellType2.DecimalPlaces = 0; |             numberCellType2.DecimalPlaces = 0; | ||||||
|             numberCellType2.NegativeRed = true; |             numberCellType2.NegativeRed = true; | ||||||
|             numberCellType2.NullDisplay = "--"; |             numberCellType2.NullDisplay = "--"; | ||||||
|             numberCellType2.Separator = ","; |             numberCellType2.Separator = ","; | ||||||
|             numberCellType2.ShowSeparator = true; |             numberCellType2.ShowSeparator = true; | ||||||
|             numberCellType2.ShrinkToFit = true; |             numberCellType2.ShrinkToFit = true; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType2; |             this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType2; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(13).DataField = "pumqty"; |             this.fpSpread1_Sheet1.Columns.Get(14).DataField = "pumqty"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(13).Label = "수량"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(13).Width = 44F; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType11; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(14).DataField = "pumunit"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |             this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(14).Label = "단위"; |             this.fpSpread1_Sheet1.Columns.Get(14).Label = "수량"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(14).Width = 46F; |             this.fpSpread1_Sheet1.Columns.Get(14).Width = 44F; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType12; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumunit"; | ||||||
|  |             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 = 46F; | ||||||
|             numberCellType3.DecimalPlaces = 0; |             numberCellType3.DecimalPlaces = 0; | ||||||
|             numberCellType3.NegativeRed = true; |             numberCellType3.NegativeRed = true; | ||||||
|             numberCellType3.NullDisplay = "--"; |             numberCellType3.NullDisplay = "--"; | ||||||
|             numberCellType3.Separator = ","; |             numberCellType3.Separator = ","; | ||||||
|             numberCellType3.ShowSeparator = true; |             numberCellType3.ShowSeparator = true; | ||||||
|             numberCellType3.ShrinkToFit = true; |             numberCellType3.ShrinkToFit = true; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType3; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumprice"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(15).Label = "단가"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(15).Width = 35F; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType3; |             this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType3; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(16).DataField = "pumamt"; |             this.fpSpread1_Sheet1.Columns.Get(16).DataField = "pumprice"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; |             this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(16).Label = "합계금액"; |             this.fpSpread1_Sheet1.Columns.Get(16).Label = "단가"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(16).Width = 32F; |             this.fpSpread1_Sheet1.Columns.Get(16).Width = 35F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(17).AllowAutoFilter = true; |             this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType3; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType12; |             this.fpSpread1_Sheet1.Columns.Get(17).DataField = "pumamt"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(17).DataField = "supply"; |             this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; |             this.fpSpread1_Sheet1.Columns.Get(17).Label = "합계금액"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(17).Label = "공급업체"; |             this.fpSpread1_Sheet1.Columns.Get(17).Width = 32F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(17).Width = 46F; |             this.fpSpread1_Sheet1.Columns.Get(18).AllowAutoFilter = true; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(18).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); |             this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType13; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(18).DataField = "supply"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(18).Label = "공급업체"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(18).Width = 46F; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(19).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||||
|             numberCellType4.DecimalPlaces = 0; |             numberCellType4.DecimalPlaces = 0; | ||||||
|             numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; |             numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||||
|             numberCellType4.MaximumValue = 2147483647D; |             numberCellType4.MaximumValue = 2147483647D; | ||||||
|             numberCellType4.MinimumValue = -2147483648D; |             numberCellType4.MinimumValue = -2147483648D; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType4; |             this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType4; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(18).DataField = "supplyidx"; |             this.fpSpread1_Sheet1.Columns.Get(19).DataField = "supplyidx"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |             this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(18).Label = "*"; |             this.fpSpread1_Sheet1.Columns.Get(19).Label = "*"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(18).Width = 14F; |             this.fpSpread1_Sheet1.Columns.Get(19).Width = 14F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType13; |             this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType14; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(19).DataField = "project"; |             this.fpSpread1_Sheet1.Columns.Get(20).DataField = "project"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; |             this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(19).Label = "관련프로젝트"; |             this.fpSpread1_Sheet1.Columns.Get(20).Label = "관련프로젝트"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(19).Width = 46F; |             this.fpSpread1_Sheet1.Columns.Get(20).Width = 46F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(20).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); |             this.fpSpread1_Sheet1.Columns.Get(21).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||||
|             numberCellType5.DecimalPlaces = 0; |             numberCellType5.DecimalPlaces = 0; | ||||||
|             numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; |             numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||||
|             numberCellType5.MaximumValue = 2147483647D; |             numberCellType5.MaximumValue = 2147483647D; | ||||||
|             numberCellType5.MinimumValue = -2147483648D; |             numberCellType5.MinimumValue = -2147483648D; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType5; |             this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType5; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(20).DataField = "projectidx"; |             this.fpSpread1_Sheet1.Columns.Get(21).DataField = "projectidx"; | ||||||
|             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).CellType = textCellType14; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(21).DataField = "edate"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |             this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(21).Label = "입고예정"; |             this.fpSpread1_Sheet1.Columns.Get(21).Label = "*"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(21).Width = 38F; |             this.fpSpread1_Sheet1.Columns.Get(21).Width = 14F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType15; |             this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType15; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(22).DataField = "indate"; |             this.fpSpread1_Sheet1.Columns.Get(22).DataField = "edate"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |             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).Label = "입고예정"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(22).Width = 42F; |             this.fpSpread1_Sheet1.Columns.Get(22).Width = 38F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType16; |             this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType16; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(23).DataField = "po"; |             this.fpSpread1_Sheet1.Columns.Get(23).DataField = "indate"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |             this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(23).Label = "PO#"; |             this.fpSpread1_Sheet1.Columns.Get(23).Label = "입고일"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(23).Width = 41F; |             this.fpSpread1_Sheet1.Columns.Get(23).Width = 42F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType17; |             this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType17; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(24).DataField = "bigo"; |             this.fpSpread1_Sheet1.Columns.Get(24).DataField = "po"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; |             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).Label = "PO#"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(24).Width = 33F; |             this.fpSpread1_Sheet1.Columns.Get(24).Width = 41F; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(25).CellType = checkBoxCellType1; |             this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType18; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(25).DataField = "isdel"; |             this.fpSpread1_Sheet1.Columns.Get(25).DataField = "bigo"; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(25).Label = "삭제됨"; |             this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(25).Tag = "isdel"; |             this.fpSpread1_Sheet1.Columns.Get(25).Label = "비고"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(25).Width = 33F; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(26).CellType = checkBoxCellType1; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(26).DataField = "isdel"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(26).Label = "삭제됨"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(26).Tag = "isdel"; | ||||||
|             this.fpSpread1_Sheet1.DataAutoCellTypes = false; |             this.fpSpread1_Sheet1.DataAutoCellTypes = false; | ||||||
|             this.fpSpread1_Sheet1.DataAutoSizeColumns = false; |             this.fpSpread1_Sheet1.DataAutoSizeColumns = false; | ||||||
|             this.fpSpread1_Sheet1.DataSource = this.bs; |             this.fpSpread1_Sheet1.DataSource = this.bs; | ||||||
|             this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; |             this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; | ||||||
|             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; |             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; | ||||||
|             //  |             //  | ||||||
|             // toolStripButton1 |  | ||||||
|             //  |  | ||||||
|             this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |  | ||||||
|             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(28, 28); |  | ||||||
|             this.toolStripButton1.Text = "toolStripButton1"; |  | ||||||
|             this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); |  | ||||||
|             //  |  | ||||||
|             // fPurchase |             // fPurchase | ||||||
|             //  |             //  | ||||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); |             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||||
| @@ -977,8 +984,8 @@ | |||||||
|         private System.Windows.Forms.ToolStripSeparator toolStripMenuItem3; |         private System.Windows.Forms.ToolStripSeparator toolStripMenuItem3; | ||||||
|         private System.Windows.Forms.ToolStripMenuItem ㅕCustomDataCopyToolStripMenuItem; |         private System.Windows.Forms.ToolStripMenuItem ㅕCustomDataCopyToolStripMenuItem; | ||||||
|         private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem; |         private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem; | ||||||
|         private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; |  | ||||||
|         private System.Windows.Forms.ToolStripSeparator toolStripMenuItem4; |         private System.Windows.Forms.ToolStripSeparator toolStripMenuItem4; | ||||||
|         private System.Windows.Forms.ToolStripButton toolStripButton1; |         private System.Windows.Forms.ToolStripButton toolStripButton1; | ||||||
|  |         private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -501,7 +501,7 @@ namespace FEQ0000 | |||||||
|                 else |                 else | ||||||
|                 { |                 { | ||||||
|                     search = search.Replace("'", "''"); |                     search = search.Replace("'", "''"); | ||||||
|                     string filter = "supply like ? or sid like ? or process like ? or sc like ? or pumname like ? or pumscale like ? or project like ?"; |                     string filter = "supply like ? or sid like ? or process like ? or orderno like ? or sc like ? or pumname like ? or pumscale like ? or project like ?"; | ||||||
|                     filter = filter.Replace("?", "'%" + search + "%'"); |                     filter = filter.Replace("?", "'%" + search + "%'"); | ||||||
|                     this.bs.Filter = filter; |                     this.bs.Filter = filter; | ||||||
|                     tbFind.BackColor = Color.Lime;  |                     tbFind.BackColor = Color.Lime;  | ||||||
|   | |||||||
| @@ -47,6 +47,7 @@ | |||||||
|             System.Windows.Forms.Label stateLabel; |             System.Windows.Forms.Label stateLabel; | ||||||
|             System.Windows.Forms.Label label2; |             System.Windows.Forms.Label label2; | ||||||
|             System.Windows.Forms.Label label4; |             System.Windows.Forms.Label label4; | ||||||
|  |             System.Windows.Forms.Label label5; | ||||||
|             this.tbSC = new System.Windows.Forms.TextBox(); |             this.tbSC = new System.Windows.Forms.TextBox(); | ||||||
|             this.tbSID = new System.Windows.Forms.TextBox(); |             this.tbSID = new System.Windows.Forms.TextBox(); | ||||||
|             this.tbPumName = new System.Windows.Forms.TextBox(); |             this.tbPumName = new System.Windows.Forms.TextBox(); | ||||||
| @@ -89,6 +90,7 @@ | |||||||
|             this.dsPurchase = new FEQ0000.dsPurchase(); |             this.dsPurchase = new FEQ0000.dsPurchase(); | ||||||
|             this.purchaseBindingSource = new System.Windows.Forms.BindingSource(this.components); |             this.purchaseBindingSource = new System.Windows.Forms.BindingSource(this.components); | ||||||
|             this.purchaseTableAdapter = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter(); |             this.purchaseTableAdapter = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter(); | ||||||
|  |             this.tbOrderNo = new System.Windows.Forms.TextBox(); | ||||||
|             processLabel = new System.Windows.Forms.Label(); |             processLabel = new System.Windows.Forms.Label(); | ||||||
|             receiveLabel = new System.Windows.Forms.Label(); |             receiveLabel = new System.Windows.Forms.Label(); | ||||||
|             scLabel = new System.Windows.Forms.Label(); |             scLabel = new System.Windows.Forms.Label(); | ||||||
| @@ -107,6 +109,7 @@ | |||||||
|             stateLabel = new System.Windows.Forms.Label(); |             stateLabel = new System.Windows.Forms.Label(); | ||||||
|             label2 = new System.Windows.Forms.Label(); |             label2 = new System.Windows.Forms.Label(); | ||||||
|             label4 = new System.Windows.Forms.Label(); |             label4 = new System.Windows.Forms.Label(); | ||||||
|  |             label5 = new System.Windows.Forms.Label(); | ||||||
|             this.groupBox1.SuspendLayout(); |             this.groupBox1.SuspendLayout(); | ||||||
|             this.groupBox2.SuspendLayout(); |             this.groupBox2.SuspendLayout(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); | ||||||
| @@ -227,7 +230,7 @@ | |||||||
|             // assetLabel |             // assetLabel | ||||||
|             //  |             //  | ||||||
|             assetLabel.AutoSize = true; |             assetLabel.AutoSize = true; | ||||||
|             assetLabel.Location = new System.Drawing.Point(24, 266); |             assetLabel.Location = new System.Drawing.Point(24, 295); | ||||||
|             assetLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |             assetLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); | ||||||
|             assetLabel.Name = "assetLabel"; |             assetLabel.Name = "assetLabel"; | ||||||
|             assetLabel.Size = new System.Drawing.Size(69, 20); |             assetLabel.Size = new System.Drawing.Size(69, 20); | ||||||
| @@ -277,7 +280,7 @@ | |||||||
|             // label2 |             // label2 | ||||||
|             //  |             //  | ||||||
|             label2.AutoSize = true; |             label2.AutoSize = true; | ||||||
|             label2.Location = new System.Drawing.Point(12, 230); |             label2.Location = new System.Drawing.Point(12, 259); | ||||||
|             label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |             label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); | ||||||
|             label2.Name = "label2"; |             label2.Name = "label2"; | ||||||
|             label2.Size = new System.Drawing.Size(84, 20); |             label2.Size = new System.Drawing.Size(84, 20); | ||||||
| @@ -287,7 +290,7 @@ | |||||||
|             // label4 |             // label4 | ||||||
|             //  |             //  | ||||||
|             label4.AutoSize = true; |             label4.AutoSize = true; | ||||||
|             label4.Location = new System.Drawing.Point(24, 194); |             label4.Location = new System.Drawing.Point(24, 223); | ||||||
|             label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |             label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); | ||||||
|             label4.Name = "label4"; |             label4.Name = "label4"; | ||||||
|             label4.Size = new System.Drawing.Size(69, 20); |             label4.Size = new System.Drawing.Size(69, 20); | ||||||
| @@ -654,6 +657,8 @@ | |||||||
|             // groupBox2 |             // groupBox2 | ||||||
|             //  |             //  | ||||||
|             this.groupBox2.BackColor = System.Drawing.Color.Gainsboro; |             this.groupBox2.BackColor = System.Drawing.Color.Gainsboro; | ||||||
|  |             this.groupBox2.Controls.Add(this.tbOrderNo); | ||||||
|  |             this.groupBox2.Controls.Add(label5); | ||||||
|             this.groupBox2.Controls.Add(this.cbManuProc); |             this.groupBox2.Controls.Add(this.cbManuProc); | ||||||
|             this.groupBox2.Controls.Add(label4); |             this.groupBox2.Controls.Add(label4); | ||||||
|             this.groupBox2.Controls.Add(this.cbEQModel); |             this.groupBox2.Controls.Add(this.cbEQModel); | ||||||
| @@ -690,7 +695,7 @@ | |||||||
|             this.cbManuProc.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |             this.cbManuProc.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||||
|             this.cbManuProc.FormattingEnabled = true; |             this.cbManuProc.FormattingEnabled = true; | ||||||
|             this.cbManuProc.ImeMode = System.Windows.Forms.ImeMode.Hangul; |             this.cbManuProc.ImeMode = System.Windows.Forms.ImeMode.Hangul; | ||||||
|             this.cbManuProc.Location = new System.Drawing.Point(104, 191); |             this.cbManuProc.Location = new System.Drawing.Point(104, 220); | ||||||
|             this.cbManuProc.Margin = new System.Windows.Forms.Padding(4); |             this.cbManuProc.Margin = new System.Windows.Forms.Padding(4); | ||||||
|             this.cbManuProc.Name = "cbManuProc"; |             this.cbManuProc.Name = "cbManuProc"; | ||||||
|             this.cbManuProc.Size = new System.Drawing.Size(286, 28); |             this.cbManuProc.Size = new System.Drawing.Size(286, 28); | ||||||
| @@ -703,7 +708,7 @@ | |||||||
|             this.cbEQModel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |             this.cbEQModel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||||
|             this.cbEQModel.FormattingEnabled = true; |             this.cbEQModel.FormattingEnabled = true; | ||||||
|             this.cbEQModel.ImeMode = System.Windows.Forms.ImeMode.Hangul; |             this.cbEQModel.ImeMode = System.Windows.Forms.ImeMode.Hangul; | ||||||
|             this.cbEQModel.Location = new System.Drawing.Point(104, 263); |             this.cbEQModel.Location = new System.Drawing.Point(104, 292); | ||||||
|             this.cbEQModel.Margin = new System.Windows.Forms.Padding(4); |             this.cbEQModel.Margin = new System.Windows.Forms.Padding(4); | ||||||
|             this.cbEQModel.Name = "cbEQModel"; |             this.cbEQModel.Name = "cbEQModel"; | ||||||
|             this.cbEQModel.Size = new System.Drawing.Size(286, 28); |             this.cbEQModel.Size = new System.Drawing.Size(286, 28); | ||||||
| @@ -716,7 +721,7 @@ | |||||||
|             this.cbEQManu.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |             this.cbEQManu.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||||
|             this.cbEQManu.FormattingEnabled = true; |             this.cbEQManu.FormattingEnabled = true; | ||||||
|             this.cbEQManu.ImeMode = System.Windows.Forms.ImeMode.Hangul; |             this.cbEQManu.ImeMode = System.Windows.Forms.ImeMode.Hangul; | ||||||
|             this.cbEQManu.Location = new System.Drawing.Point(104, 227); |             this.cbEQManu.Location = new System.Drawing.Point(104, 256); | ||||||
|             this.cbEQManu.Margin = new System.Windows.Forms.Padding(4); |             this.cbEQManu.Margin = new System.Windows.Forms.Padding(4); | ||||||
|             this.cbEQManu.Name = "cbEQManu"; |             this.cbEQManu.Name = "cbEQManu"; | ||||||
|             this.cbEQManu.Size = new System.Drawing.Size(286, 28); |             this.cbEQManu.Size = new System.Drawing.Size(286, 28); | ||||||
| @@ -726,7 +731,7 @@ | |||||||
|             // linkLabel4 |             // linkLabel4 | ||||||
|             //  |             //  | ||||||
|             this.linkLabel4.AutoSize = true; |             this.linkLabel4.AutoSize = true; | ||||||
|             this.linkLabel4.Location = new System.Drawing.Point(57, 326); |             this.linkLabel4.Location = new System.Drawing.Point(57, 355); | ||||||
|             this.linkLabel4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |             this.linkLabel4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); | ||||||
|             this.linkLabel4.Name = "linkLabel4"; |             this.linkLabel4.Name = "linkLabel4"; | ||||||
|             this.linkLabel4.Size = new System.Drawing.Size(39, 20); |             this.linkLabel4.Size = new System.Drawing.Size(39, 20); | ||||||
| @@ -738,7 +743,7 @@ | |||||||
|             // linkLabel3 |             // linkLabel3 | ||||||
|             //  |             //  | ||||||
|             this.linkLabel3.AutoSize = true; |             this.linkLabel3.AutoSize = true; | ||||||
|             this.linkLabel3.Location = new System.Drawing.Point(28, 298); |             this.linkLabel3.Location = new System.Drawing.Point(28, 327); | ||||||
|             this.linkLabel3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |             this.linkLabel3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); | ||||||
|             this.linkLabel3.Name = "linkLabel3"; |             this.linkLabel3.Name = "linkLabel3"; | ||||||
|             this.linkLabel3.Size = new System.Drawing.Size(69, 20); |             this.linkLabel3.Size = new System.Drawing.Size(69, 20); | ||||||
| @@ -750,7 +755,7 @@ | |||||||
|             // linkLabel2 |             // linkLabel2 | ||||||
|             //  |             //  | ||||||
|             this.linkLabel2.AutoSize = true; |             this.linkLabel2.AutoSize = true; | ||||||
|             this.linkLabel2.Location = new System.Drawing.Point(22, 353); |             this.linkLabel2.Location = new System.Drawing.Point(22, 382); | ||||||
|             this.linkLabel2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |             this.linkLabel2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); | ||||||
|             this.linkLabel2.Name = "linkLabel2"; |             this.linkLabel2.Name = "linkLabel2"; | ||||||
|             this.linkLabel2.Size = new System.Drawing.Size(74, 20); |             this.linkLabel2.Size = new System.Drawing.Size(74, 20); | ||||||
| @@ -762,9 +767,9 @@ | |||||||
|             // pictureBox1 |             // pictureBox1 | ||||||
|             //  |             //  | ||||||
|             this.pictureBox1.BackColor = System.Drawing.Color.Gray; |             this.pictureBox1.BackColor = System.Drawing.Color.Gray; | ||||||
|             this.pictureBox1.Location = new System.Drawing.Point(104, 298); |             this.pictureBox1.Location = new System.Drawing.Point(104, 327); | ||||||
|             this.pictureBox1.Name = "pictureBox1"; |             this.pictureBox1.Name = "pictureBox1"; | ||||||
|             this.pictureBox1.Size = new System.Drawing.Size(286, 186); |             this.pictureBox1.Size = new System.Drawing.Size(286, 148); | ||||||
|             this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; |             this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; | ||||||
|             this.pictureBox1.TabIndex = 17; |             this.pictureBox1.TabIndex = 17; | ||||||
|             this.pictureBox1.TabStop = false; |             this.pictureBox1.TabStop = false; | ||||||
| @@ -784,6 +789,25 @@ | |||||||
|             //  |             //  | ||||||
|             this.purchaseTableAdapter.ClearBeforeFill = true; |             this.purchaseTableAdapter.ClearBeforeFill = true; | ||||||
|             //  |             //  | ||||||
|  |             // tbOrderNo | ||||||
|  |             //  | ||||||
|  |             this.tbOrderNo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); | ||||||
|  |             this.tbOrderNo.Location = new System.Drawing.Point(104, 187); | ||||||
|  |             this.tbOrderNo.Margin = new System.Windows.Forms.Padding(4); | ||||||
|  |             this.tbOrderNo.Name = "tbOrderNo"; | ||||||
|  |             this.tbOrderNo.Size = new System.Drawing.Size(286, 27); | ||||||
|  |             this.tbOrderNo.TabIndex = 21; | ||||||
|  |             //  | ||||||
|  |             // label5 | ||||||
|  |             //  | ||||||
|  |             label5.AutoSize = true; | ||||||
|  |             label5.Location = new System.Drawing.Point(6, 190); | ||||||
|  |             label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); | ||||||
|  |             label5.Name = "label5"; | ||||||
|  |             label5.Size = new System.Drawing.Size(90, 20); | ||||||
|  |             label5.TabIndex = 20; | ||||||
|  |             label5.Text = "Order No #."; | ||||||
|  |             //  | ||||||
|             // fPurchase_Add |             // fPurchase_Add | ||||||
|             //  |             //  | ||||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); |             this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); | ||||||
| @@ -857,5 +881,6 @@ | |||||||
|         private System.Windows.Forms.ComboBox cbEQModel; |         private System.Windows.Forms.ComboBox cbEQModel; | ||||||
|         private System.Windows.Forms.ToolTip toolTip1; |         private System.Windows.Forms.ToolTip toolTip1; | ||||||
|         private System.Windows.Forms.ComboBox cbManuProc; |         private System.Windows.Forms.ComboBox cbManuProc; | ||||||
|  |         private System.Windows.Forms.TextBox tbOrderNo; | ||||||
|     } |     } | ||||||
| } | } | ||||||
| @@ -117,6 +117,7 @@ namespace FEQ0000 | |||||||
|             cmbRequest.Text = dr.request; |             cmbRequest.Text = dr.request; | ||||||
|             tbSID.Text = dr.sid; |             tbSID.Text = dr.sid; | ||||||
|              |              | ||||||
|  |  | ||||||
|             if (dr.manuproc == "") cbManuProc.SelectedIndex = -1; |             if (dr.manuproc == "") cbManuProc.SelectedIndex = -1; | ||||||
|             else cbManuProc.Text = dr.manuproc; //190106 |             else cbManuProc.Text = dr.manuproc; //190106 | ||||||
|  |  | ||||||
| @@ -166,6 +167,7 @@ namespace FEQ0000 | |||||||
|             } |             } | ||||||
|             tbSC.Text = dr.sc; |             tbSC.Text = dr.sc; | ||||||
|             tbPO.Text = dr.po; |             tbPO.Text = dr.po; | ||||||
|  |             tbOrderNo.Text = dr.orderno; | ||||||
|             tbBigo.Text = dr.bigo; |             tbBigo.Text = dr.bigo; | ||||||
|             dtInDate.Text = dr.indate; |             dtInDate.Text = dr.indate; | ||||||
|             dtExpDate.Text = dr.edate; |             dtExpDate.Text = dr.edate; | ||||||
| @@ -590,6 +592,7 @@ namespace FEQ0000 | |||||||
|             dr.process = cbProcess.Text; |             dr.process = cbProcess.Text; | ||||||
|             dr.sc = tbSC.Text; |             dr.sc = tbSC.Text; | ||||||
|             dr.po = tbPO.Text; |             dr.po = tbPO.Text; | ||||||
|  |             dr.orderno = tbOrderNo.Text; | ||||||
|             dr.bigo = tbBigo.Text; |             dr.bigo = tbBigo.Text; | ||||||
|  |  | ||||||
|             //품정보가 업데이트 되어있으면 해당 데이터의 이미지를 업데이트 한다.(크기비교) |             //품정보가 업데이트 되어있으면 해당 데이터의 이미지를 업데이트 한다.(크기비교) | ||||||
|   | |||||||
| @@ -174,6 +174,9 @@ | |||||||
|   <metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>490, 17</value> |     <value>490, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|  |   <metadata name="label5.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>False</value> | ||||||
|  |   </metadata> | ||||||
|   <metadata name="dsPurchase.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="dsPurchase.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>17, 17</value> |     <value>17, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   | |||||||
							
								
								
									
										541
									
								
								SubProject/FEQ0000/Purchase/fPurchase_ImportO.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										541
									
								
								SubProject/FEQ0000/Purchase/fPurchase_ImportO.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,541 @@ | |||||||
|  | namespace FEQ0000 | ||||||
|  | { | ||||||
|  |     partial class fPurchase_ImportO | ||||||
|  |     { | ||||||
|  |         /// <summary> | ||||||
|  |         /// Required designer variable. | ||||||
|  |         /// </summary> | ||||||
|  |         private System.ComponentModel.IContainer components = null; | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// Clean up any resources being used. | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||||
|  |         protected override void Dispose(bool disposing) | ||||||
|  |         { | ||||||
|  |             if (disposing && (components != null)) | ||||||
|  |             { | ||||||
|  |                 components.Dispose(); | ||||||
|  |             } | ||||||
|  |             base.Dispose(disposing); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         #region Windows Form Designer generated code | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// Required method for Designer support - do not modify | ||||||
|  |         /// the contents of this method with the code editor. | ||||||
|  |         /// </summary> | ||||||
|  |         private void InitializeComponent() | ||||||
|  |         { | ||||||
|  |             this.components = new System.ComponentModel.Container(); | ||||||
|  |             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchase_ImportO)); | ||||||
|  |             this.textBox1 = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.linkLabel1 = new System.Windows.Forms.LinkLabel(); | ||||||
|  |             this.button1 = new System.Windows.Forms.Button(); | ||||||
|  |             this.dataGridView1 = new System.Windows.Forms.DataGridView(); | ||||||
|  |             this.button3 = new System.Windows.Forms.Button(); | ||||||
|  |             this.panel1 = new System.Windows.Forms.Panel(); | ||||||
|  |             this.button2 = new System.Windows.Forms.Button(); | ||||||
|  |             this.checkBox1 = new System.Windows.Forms.CheckBox(); | ||||||
|  |             this.numericUpDown2 = new System.Windows.Forms.NumericUpDown(); | ||||||
|  |             this.label6 = new System.Windows.Forms.Label(); | ||||||
|  |             this.ed = new System.Windows.Forms.DateTimePicker(); | ||||||
|  |             this.sd = new System.Windows.Forms.DateTimePicker(); | ||||||
|  |             this.label4 = new System.Windows.Forms.Label(); | ||||||
|  |             this.nudCE = new System.Windows.Forms.NumericUpDown(); | ||||||
|  |             this.nudCS = new System.Windows.Forms.NumericUpDown(); | ||||||
|  |             this.label5 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label3 = new System.Windows.Forms.Label(); | ||||||
|  |             this.nudE = new System.Windows.Forms.NumericUpDown(); | ||||||
|  |             this.nudS = new System.Windows.Forms.NumericUpDown(); | ||||||
|  |             this.label2 = new System.Windows.Forms.Label(); | ||||||
|  |             this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); | ||||||
|  |             this.label1 = new System.Windows.Forms.Label(); | ||||||
|  |             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||||
|  |             this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|  |             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||||
|  |             this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); | ||||||
|  |             this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|  |             this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|  |             this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|  |             this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|  |             this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); | ||||||
|  |             this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|  |             this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|  |             this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|  |             this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|  |             this.progressBar1 = new System.Windows.Forms.ToolStripProgressBar(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); | ||||||
|  |             this.panel1.SuspendLayout(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudCE)).BeginInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudCS)).BeginInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudE)).BeginInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudS)).BeginInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||||
|  |             this.bn.SuspendLayout(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||||
|  |             this.SuspendLayout(); | ||||||
|  |             //  | ||||||
|  |             // textBox1 | ||||||
|  |             //  | ||||||
|  |             this.textBox1.Location = new System.Drawing.Point(42, 9); | ||||||
|  |             this.textBox1.Name = "textBox1"; | ||||||
|  |             this.textBox1.Size = new System.Drawing.Size(170, 21); | ||||||
|  |             this.textBox1.TabIndex = 1; | ||||||
|  |             //  | ||||||
|  |             // linkLabel1 | ||||||
|  |             //  | ||||||
|  |             this.linkLabel1.AutoSize = true; | ||||||
|  |             this.linkLabel1.Location = new System.Drawing.Point(12, 13); | ||||||
|  |             this.linkLabel1.Name = "linkLabel1"; | ||||||
|  |             this.linkLabel1.Size = new System.Drawing.Size(25, 12); | ||||||
|  |             this.linkLabel1.TabIndex = 0; | ||||||
|  |             this.linkLabel1.TabStop = true; | ||||||
|  |             this.linkLabel1.Text = "File"; | ||||||
|  |             this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); | ||||||
|  |             //  | ||||||
|  |             // button1 | ||||||
|  |             //  | ||||||
|  |             this.button1.Location = new System.Drawing.Point(525, 8); | ||||||
|  |             this.button1.Name = "button1"; | ||||||
|  |             this.button1.Size = new System.Drawing.Size(102, 21); | ||||||
|  |             this.button1.TabIndex = 4; | ||||||
|  |             this.button1.Text = "1.View"; | ||||||
|  |             this.button1.UseVisualStyleBackColor = true; | ||||||
|  |             this.button1.Click += new System.EventHandler(this.button1_Click); | ||||||
|  |             //  | ||||||
|  |             // dataGridView1 | ||||||
|  |             //  | ||||||
|  |             this.dataGridView1.AllowUserToAddRows = false; | ||||||
|  |             this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | ||||||
|  |             this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|  |             this.dataGridView1.Location = new System.Drawing.Point(0, 97); | ||||||
|  |             this.dataGridView1.Name = "dataGridView1"; | ||||||
|  |             this.dataGridView1.RowTemplate.Height = 23; | ||||||
|  |             this.dataGridView1.Size = new System.Drawing.Size(906, 535); | ||||||
|  |             this.dataGridView1.TabIndex = 1; | ||||||
|  |             //  | ||||||
|  |             // button3 | ||||||
|  |             //  | ||||||
|  |             this.button3.Location = new System.Drawing.Point(525, 35); | ||||||
|  |             this.button3.Name = "button3"; | ||||||
|  |             this.button3.Size = new System.Drawing.Size(102, 21); | ||||||
|  |             this.button3.TabIndex = 6; | ||||||
|  |             this.button3.Text = "2.Save"; | ||||||
|  |             this.button3.UseVisualStyleBackColor = true; | ||||||
|  |             this.button3.Click += new System.EventHandler(this.button3_Click); | ||||||
|  |             //  | ||||||
|  |             // panel1 | ||||||
|  |             //  | ||||||
|  |             this.panel1.Controls.Add(this.button2); | ||||||
|  |             this.panel1.Controls.Add(this.checkBox1); | ||||||
|  |             this.panel1.Controls.Add(this.numericUpDown2); | ||||||
|  |             this.panel1.Controls.Add(this.label6); | ||||||
|  |             this.panel1.Controls.Add(this.ed); | ||||||
|  |             this.panel1.Controls.Add(this.sd); | ||||||
|  |             this.panel1.Controls.Add(this.label4); | ||||||
|  |             this.panel1.Controls.Add(this.nudCE); | ||||||
|  |             this.panel1.Controls.Add(this.nudCS); | ||||||
|  |             this.panel1.Controls.Add(this.label5); | ||||||
|  |             this.panel1.Controls.Add(this.label3); | ||||||
|  |             this.panel1.Controls.Add(this.nudE); | ||||||
|  |             this.panel1.Controls.Add(this.nudS); | ||||||
|  |             this.panel1.Controls.Add(this.label2); | ||||||
|  |             this.panel1.Controls.Add(this.numericUpDown1); | ||||||
|  |             this.panel1.Controls.Add(this.label1); | ||||||
|  |             this.panel1.Controls.Add(this.button3); | ||||||
|  |             this.panel1.Controls.Add(this.textBox1); | ||||||
|  |             this.panel1.Controls.Add(this.linkLabel1); | ||||||
|  |             this.panel1.Controls.Add(this.button1); | ||||||
|  |             this.panel1.Dock = System.Windows.Forms.DockStyle.Top; | ||||||
|  |             this.panel1.Location = new System.Drawing.Point(0, 0); | ||||||
|  |             this.panel1.Name = "panel1"; | ||||||
|  |             this.panel1.Size = new System.Drawing.Size(906, 97); | ||||||
|  |             this.panel1.TabIndex = 0; | ||||||
|  |             this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); | ||||||
|  |             //  | ||||||
|  |             // button2 | ||||||
|  |             //  | ||||||
|  |             this.button2.Location = new System.Drawing.Point(633, 8); | ||||||
|  |             this.button2.Name = "button2"; | ||||||
|  |             this.button2.Size = new System.Drawing.Size(102, 21); | ||||||
|  |             this.button2.TabIndex = 20; | ||||||
|  |             this.button2.Text = "SID Update"; | ||||||
|  |             this.button2.UseVisualStyleBackColor = true; | ||||||
|  |             this.button2.Click += new System.EventHandler(this.button2_Click); | ||||||
|  |             //  | ||||||
|  |             // checkBox1 | ||||||
|  |             //  | ||||||
|  |             this.checkBox1.AutoSize = true; | ||||||
|  |             this.checkBox1.Location = new System.Drawing.Point(474, 66); | ||||||
|  |             this.checkBox1.Name = "checkBox1"; | ||||||
|  |             this.checkBox1.Size = new System.Drawing.Size(127, 16); | ||||||
|  |             this.checkBox1.TabIndex = 19; | ||||||
|  |             this.checkBox1.Text = "Auto Delete Import"; | ||||||
|  |             this.checkBox1.UseVisualStyleBackColor = true; | ||||||
|  |             //  | ||||||
|  |             // numericUpDown2 | ||||||
|  |             //  | ||||||
|  |             this.numericUpDown2.Location = new System.Drawing.Point(406, 63); | ||||||
|  |             this.numericUpDown2.Maximum = new decimal(new int[] { | ||||||
|  |             65535, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             this.numericUpDown2.Name = "numericUpDown2"; | ||||||
|  |             this.numericUpDown2.Size = new System.Drawing.Size(45, 21); | ||||||
|  |             this.numericUpDown2.TabIndex = 18; | ||||||
|  |             this.numericUpDown2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|  |             this.numericUpDown2.Value = new decimal(new int[] { | ||||||
|  |             2, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             //  | ||||||
|  |             // label6 | ||||||
|  |             //  | ||||||
|  |             this.label6.AutoSize = true; | ||||||
|  |             this.label6.Location = new System.Drawing.Point(312, 67); | ||||||
|  |             this.label6.Name = "label6"; | ||||||
|  |             this.label6.Size = new System.Drawing.Size(87, 12); | ||||||
|  |             this.label6.TabIndex = 17; | ||||||
|  |             this.label6.Text = "Column Name"; | ||||||
|  |             //  | ||||||
|  |             // ed | ||||||
|  |             //  | ||||||
|  |             this.ed.Location = new System.Drawing.Point(42, 67); | ||||||
|  |             this.ed.Name = "ed"; | ||||||
|  |             this.ed.Size = new System.Drawing.Size(170, 21); | ||||||
|  |             this.ed.TabIndex = 16; | ||||||
|  |             //  | ||||||
|  |             // sd | ||||||
|  |             //  | ||||||
|  |             this.sd.Location = new System.Drawing.Point(42, 40); | ||||||
|  |             this.sd.Name = "sd"; | ||||||
|  |             this.sd.Size = new System.Drawing.Size(170, 21); | ||||||
|  |             this.sd.TabIndex = 15; | ||||||
|  |             //  | ||||||
|  |             // label4 | ||||||
|  |             //  | ||||||
|  |             this.label4.AutoSize = true; | ||||||
|  |             this.label4.Location = new System.Drawing.Point(455, 13); | ||||||
|  |             this.label4.Name = "label4"; | ||||||
|  |             this.label4.Size = new System.Drawing.Size(14, 12); | ||||||
|  |             this.label4.TabIndex = 14; | ||||||
|  |             this.label4.Text = "~"; | ||||||
|  |             //  | ||||||
|  |             // nudCE | ||||||
|  |             //  | ||||||
|  |             this.nudCE.Location = new System.Drawing.Point(474, 9); | ||||||
|  |             this.nudCE.Maximum = new decimal(new int[] { | ||||||
|  |             65535, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             this.nudCE.Name = "nudCE"; | ||||||
|  |             this.nudCE.Size = new System.Drawing.Size(45, 21); | ||||||
|  |             this.nudCE.TabIndex = 13; | ||||||
|  |             this.nudCE.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|  |             this.nudCE.Value = new decimal(new int[] { | ||||||
|  |             15, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             //  | ||||||
|  |             // nudCS | ||||||
|  |             //  | ||||||
|  |             this.nudCS.Location = new System.Drawing.Point(406, 9); | ||||||
|  |             this.nudCS.Maximum = new decimal(new int[] { | ||||||
|  |             65535, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             this.nudCS.Name = "nudCS"; | ||||||
|  |             this.nudCS.Size = new System.Drawing.Size(45, 21); | ||||||
|  |             this.nudCS.TabIndex = 12; | ||||||
|  |             this.nudCS.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|  |             this.nudCS.Value = new decimal(new int[] { | ||||||
|  |             1, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             //  | ||||||
|  |             // label5 | ||||||
|  |             //  | ||||||
|  |             this.label5.AutoSize = true; | ||||||
|  |             this.label5.Location = new System.Drawing.Point(335, 13); | ||||||
|  |             this.label5.Name = "label5"; | ||||||
|  |             this.label5.Size = new System.Drawing.Size(64, 12); | ||||||
|  |             this.label5.TabIndex = 11; | ||||||
|  |             this.label5.Text = "Col Range"; | ||||||
|  |             //  | ||||||
|  |             // label3 | ||||||
|  |             //  | ||||||
|  |             this.label3.AutoSize = true; | ||||||
|  |             this.label3.Location = new System.Drawing.Point(455, 40); | ||||||
|  |             this.label3.Name = "label3"; | ||||||
|  |             this.label3.Size = new System.Drawing.Size(14, 12); | ||||||
|  |             this.label3.TabIndex = 10; | ||||||
|  |             this.label3.Text = "~"; | ||||||
|  |             //  | ||||||
|  |             // nudE | ||||||
|  |             //  | ||||||
|  |             this.nudE.Location = new System.Drawing.Point(474, 36); | ||||||
|  |             this.nudE.Maximum = new decimal(new int[] { | ||||||
|  |             65535, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             this.nudE.Name = "nudE"; | ||||||
|  |             this.nudE.Size = new System.Drawing.Size(45, 21); | ||||||
|  |             this.nudE.TabIndex = 9; | ||||||
|  |             this.nudE.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|  |             this.nudE.Value = new decimal(new int[] { | ||||||
|  |             300, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             //  | ||||||
|  |             // nudS | ||||||
|  |             //  | ||||||
|  |             this.nudS.Location = new System.Drawing.Point(406, 36); | ||||||
|  |             this.nudS.Maximum = new decimal(new int[] { | ||||||
|  |             65535, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             this.nudS.Name = "nudS"; | ||||||
|  |             this.nudS.Size = new System.Drawing.Size(45, 21); | ||||||
|  |             this.nudS.TabIndex = 8; | ||||||
|  |             this.nudS.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|  |             this.nudS.Value = new decimal(new int[] { | ||||||
|  |             3, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             //  | ||||||
|  |             // label2 | ||||||
|  |             //  | ||||||
|  |             this.label2.AutoSize = true; | ||||||
|  |             this.label2.Location = new System.Drawing.Point(329, 40); | ||||||
|  |             this.label2.Name = "label2"; | ||||||
|  |             this.label2.Size = new System.Drawing.Size(70, 12); | ||||||
|  |             this.label2.TabIndex = 7; | ||||||
|  |             this.label2.Text = "Row Range"; | ||||||
|  |             //  | ||||||
|  |             // numericUpDown1 | ||||||
|  |             //  | ||||||
|  |             this.numericUpDown1.Location = new System.Drawing.Point(261, 9); | ||||||
|  |             this.numericUpDown1.Maximum = new decimal(new int[] { | ||||||
|  |             10, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             this.numericUpDown1.Name = "numericUpDown1"; | ||||||
|  |             this.numericUpDown1.Size = new System.Drawing.Size(45, 21); | ||||||
|  |             this.numericUpDown1.TabIndex = 3; | ||||||
|  |             this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|  |             //  | ||||||
|  |             // label1 | ||||||
|  |             //  | ||||||
|  |             this.label1.AutoSize = true; | ||||||
|  |             this.label1.Location = new System.Drawing.Point(218, 13); | ||||||
|  |             this.label1.Name = "label1"; | ||||||
|  |             this.label1.Size = new System.Drawing.Size(37, 12); | ||||||
|  |             this.label1.TabIndex = 2; | ||||||
|  |             this.label1.Text = "Sheet"; | ||||||
|  |             //  | ||||||
|  |             // bn | ||||||
|  |             //  | ||||||
|  |             this.bn.AddNewItem = this.bindingNavigatorAddNewItem; | ||||||
|  |             this.bn.BindingSource = this.bs; | ||||||
|  |             this.bn.CountItem = this.bindingNavigatorCountItem; | ||||||
|  |             this.bn.DeleteItem = this.bindingNavigatorDeleteItem; | ||||||
|  |             this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||||
|  |             this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||||
|  |             this.bindingNavigatorMoveFirstItem, | ||||||
|  |             this.bindingNavigatorMovePreviousItem, | ||||||
|  |             this.bindingNavigatorSeparator, | ||||||
|  |             this.bindingNavigatorPositionItem, | ||||||
|  |             this.bindingNavigatorCountItem, | ||||||
|  |             this.bindingNavigatorSeparator1, | ||||||
|  |             this.bindingNavigatorMoveNextItem, | ||||||
|  |             this.bindingNavigatorMoveLastItem, | ||||||
|  |             this.bindingNavigatorSeparator2, | ||||||
|  |             this.bindingNavigatorAddNewItem, | ||||||
|  |             this.bindingNavigatorDeleteItem, | ||||||
|  |             this.progressBar1}); | ||||||
|  |             this.bn.Location = new System.Drawing.Point(0, 632); | ||||||
|  |             this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; | ||||||
|  |             this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; | ||||||
|  |             this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; | ||||||
|  |             this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; | ||||||
|  |             this.bn.Name = "bn"; | ||||||
|  |             this.bn.PositionItem = this.bindingNavigatorPositionItem; | ||||||
|  |             this.bn.Size = new System.Drawing.Size(906, 25); | ||||||
|  |             this.bn.TabIndex = 2; | ||||||
|  |             this.bn.Text = "bindingNavigator1"; | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorAddNewItem | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||||
|  |             this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image"))); | ||||||
|  |             this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem"; | ||||||
|  |             this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true; | ||||||
|  |             this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22); | ||||||
|  |             this.bindingNavigatorAddNewItem.Text = "새로 추가"; | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorCountItem | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; | ||||||
|  |             this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); | ||||||
|  |             this.bindingNavigatorCountItem.Text = "/{0}"; | ||||||
|  |             this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorDeleteItem | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||||
|  |             this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image"))); | ||||||
|  |             this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem"; | ||||||
|  |             this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true; | ||||||
|  |             this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22); | ||||||
|  |             this.bindingNavigatorDeleteItem.Text = "삭제"; | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorMoveFirstItem | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||||
|  |             this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); | ||||||
|  |             this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; | ||||||
|  |             this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; | ||||||
|  |             this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22); | ||||||
|  |             this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorMovePreviousItem | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||||
|  |             this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); | ||||||
|  |             this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; | ||||||
|  |             this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; | ||||||
|  |             this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22); | ||||||
|  |             this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorSeparator | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; | ||||||
|  |             this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorPositionItem | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorPositionItem.AccessibleName = "위치"; | ||||||
|  |             this.bindingNavigatorPositionItem.AutoSize = false; | ||||||
|  |             this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; | ||||||
|  |             this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); | ||||||
|  |             this.bindingNavigatorPositionItem.Text = "0"; | ||||||
|  |             this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorSeparator1 | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; | ||||||
|  |             this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorMoveNextItem | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||||
|  |             this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); | ||||||
|  |             this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; | ||||||
|  |             this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; | ||||||
|  |             this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22); | ||||||
|  |             this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorMoveLastItem | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||||
|  |             this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); | ||||||
|  |             this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; | ||||||
|  |             this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; | ||||||
|  |             this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22); | ||||||
|  |             this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorSeparator2 | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; | ||||||
|  |             this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); | ||||||
|  |             //  | ||||||
|  |             // progressBar1 | ||||||
|  |             //  | ||||||
|  |             this.progressBar1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; | ||||||
|  |             this.progressBar1.Name = "progressBar1"; | ||||||
|  |             this.progressBar1.Size = new System.Drawing.Size(200, 22); | ||||||
|  |             //  | ||||||
|  |             // fPurchase_ImportO | ||||||
|  |             //  | ||||||
|  |             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||||
|  |             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||||
|  |             this.ClientSize = new System.Drawing.Size(906, 657); | ||||||
|  |             this.Controls.Add(this.dataGridView1); | ||||||
|  |             this.Controls.Add(this.bn); | ||||||
|  |             this.Controls.Add(this.panel1); | ||||||
|  |             this.Name = "fPurchase_ImportO"; | ||||||
|  |             this.Text = "구매내역 가져오기( Order No)"; | ||||||
|  |             this.Load += new System.EventHandler(this.@__Load); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); | ||||||
|  |             this.panel1.ResumeLayout(false); | ||||||
|  |             this.panel1.PerformLayout(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudCE)).EndInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudCS)).EndInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudE)).EndInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudS)).EndInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); | ||||||
|  |             this.bn.ResumeLayout(false); | ||||||
|  |             this.bn.PerformLayout(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); | ||||||
|  |             this.ResumeLayout(false); | ||||||
|  |             this.PerformLayout(); | ||||||
|  |  | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         #endregion | ||||||
|  |  | ||||||
|  |         private System.Windows.Forms.TextBox textBox1; | ||||||
|  |         private System.Windows.Forms.LinkLabel linkLabel1; | ||||||
|  |         private System.Windows.Forms.Button button1; | ||||||
|  |         private System.Windows.Forms.DataGridView dataGridView1; | ||||||
|  |         private System.Windows.Forms.Button button3; | ||||||
|  |         private System.Windows.Forms.Panel panel1; | ||||||
|  |         private System.Windows.Forms.BindingNavigator bn; | ||||||
|  |         private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; | ||||||
|  |         private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; | ||||||
|  |         private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; | ||||||
|  |         private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; | ||||||
|  |         private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; | ||||||
|  |         private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; | ||||||
|  |         private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; | ||||||
|  |         private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; | ||||||
|  |         private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; | ||||||
|  |         private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; | ||||||
|  |         private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; | ||||||
|  |         private System.Windows.Forms.ToolStripProgressBar progressBar1; | ||||||
|  |         private System.Windows.Forms.BindingSource bs; | ||||||
|  |         private System.Windows.Forms.Label label1; | ||||||
|  |         private System.Windows.Forms.NumericUpDown numericUpDown1; | ||||||
|  |         private System.Windows.Forms.Label label2; | ||||||
|  |         private System.Windows.Forms.Label label3; | ||||||
|  |         private System.Windows.Forms.NumericUpDown nudE; | ||||||
|  |         private System.Windows.Forms.NumericUpDown nudS; | ||||||
|  |         private System.Windows.Forms.Label label4; | ||||||
|  |         private System.Windows.Forms.NumericUpDown nudCE; | ||||||
|  |         private System.Windows.Forms.NumericUpDown nudCS; | ||||||
|  |         private System.Windows.Forms.Label label5; | ||||||
|  |         private System.Windows.Forms.DateTimePicker ed; | ||||||
|  |         private System.Windows.Forms.DateTimePicker sd; | ||||||
|  |         private System.Windows.Forms.NumericUpDown numericUpDown2; | ||||||
|  |         private System.Windows.Forms.Label label6; | ||||||
|  |         private System.Windows.Forms.CheckBox checkBox1; | ||||||
|  |         private System.Windows.Forms.Button button2; | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										307
									
								
								SubProject/FEQ0000/Purchase/fPurchase_ImportO.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										307
									
								
								SubProject/FEQ0000/Purchase/fPurchase_ImportO.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,307 @@ | |||||||
|  | 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 FEQ0000 | ||||||
|  | { | ||||||
|  |     public partial class fPurchase_ImportO : Form | ||||||
|  |     { | ||||||
|  |         DataTable dt = new dsPurchase.PurchaseDataTable(); | ||||||
|  |         DataTable dtExcel = new DataTable(); | ||||||
|  |         public fPurchase_ImportO() | ||||||
|  |         { | ||||||
|  |             InitializeComponent(); | ||||||
|  |             this.FormClosed += __Closed; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void __Load(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             this.sd.Value = DateTime.Now.AddMonths(-1); | ||||||
|  |             this.ed.Value = DateTime.Now; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         void __Closed(object sender, FormClosedEventArgs e) | ||||||
|  |         { | ||||||
|  |            | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) | ||||||
|  |         { | ||||||
|  |             OpenFileDialog od = new OpenFileDialog(); | ||||||
|  |             od.Filter = "excel|*.xlsx|all files|*.*"; | ||||||
|  |             od.InitialDirectory = FCOMMON.Util.CurrentPath + "model"; | ||||||
|  |             od.FilterIndex = 1; | ||||||
|  |             od.RestoreDirectory = true; | ||||||
|  |             if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return; | ||||||
|  |             textBox1.Text = od.FileName; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void button1_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |               int ColumnNameNo = (int)numericUpDown2.Value; | ||||||
|  |             if(textBox1.Text.isEmpty()) | ||||||
|  |             { | ||||||
|  |                 FCOMMON.Util.MsgE("파일을 선택하세요"); | ||||||
|  |                 textBox1.Focus(); | ||||||
|  |                 return; | ||||||
|  |             } | ||||||
|  |             if(!System.IO.File.Exists(textBox1.Text)) | ||||||
|  |             { | ||||||
|  |                 FCOMMON.Util.MsgE("입력하신 파일이 존재하지 않습니다."); | ||||||
|  |                 textBox1.Focus(); | ||||||
|  |                 textBox1.SelectAll(); | ||||||
|  |                 return; | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |             dtExcel.Columns.Clear(); | ||||||
|  |             dtExcel.Rows.Clear(); | ||||||
|  |             dtExcel.AcceptChanges(); | ||||||
|  |              | ||||||
|  |             libxl.Book book;// = new libxl.BinBook(); | ||||||
|  |             book = new libxl.XmlBook(); | ||||||
|  |             book.setKey(FCOMMON.info.libxlCompany, FCOMMON.info.libxlKey); | ||||||
|  |             try | ||||||
|  |             { | ||||||
|  |                 book.load(textBox1.Text); | ||||||
|  |             }catch (Exception ex) | ||||||
|  |             { | ||||||
|  |                 FCOMMON.Util.MsgE(ex.Message); | ||||||
|  |                 return; | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |             int sheetNum = (int)numericUpDown1.Value; | ||||||
|  |             if (sheetNum >= book.sheetCount()) | ||||||
|  |             { | ||||||
|  |                 FCOMMON.Util.MsgE("입력한 시트 번호는 존재하지 않습니다."); | ||||||
|  |                 book = null; | ||||||
|  |                 return; | ||||||
|  |             } | ||||||
|  |             var sheet = book.getSheet(sheetNum); | ||||||
|  |             var MaxRow = sheet.lastRow();             | ||||||
|  |             var MinRow = sheet.firstRow(); | ||||||
|  |  | ||||||
|  |             MaxRow = (int)Math.Min(MaxRow, nudE.Value-1); | ||||||
|  |             MinRow = (int)Math.Max(MinRow, nudS.Value-1); | ||||||
|  |             if(MinRow <= (ColumnNameNo-1)) | ||||||
|  |             { | ||||||
|  |                 FCOMMON.Util.MsgI("시작줄을 제목줄 보다 커야 합니다. 자동으로 +1 증가합니다."); | ||||||
|  |                 MinRow = ColumnNameNo ; | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |  | ||||||
|  |             var MaxCol = sheet.lastCol(); | ||||||
|  |             var MinCol = sheet.firstCol(); | ||||||
|  |  | ||||||
|  |             MaxCol = (int)Math.Min(MaxCol, nudCE.Value - 1); | ||||||
|  |             MinCol = (int)Math.Max(MinCol, nudCS.Value - 1); | ||||||
|  |  | ||||||
|  |             //제목줄을 처리한다.  181029 | ||||||
|  |             List<string> cols = new List<string>(); | ||||||
|  |  | ||||||
|  |             string sDate = sd.Value.ToShortDateString(); | ||||||
|  |             string eDate = ed.Value.ToShortDateString(); | ||||||
|  |            | ||||||
|  |             for (int c = MinCol; c <= MaxCol; c++) | ||||||
|  |             { | ||||||
|  |                 var strVallue = sheet.readStr(ColumnNameNo-1, c); | ||||||
|  |                 if (strVallue.isEmpty() ) | ||||||
|  |                 { | ||||||
|  |                     if (c == MinCol) | ||||||
|  |                     { | ||||||
|  |                         //첫줄 첫행이 빈값이면 처리하지 않는다. | ||||||
|  |                         FCOMMON.Util.MsgE("열 제목에 빈값이 있어 처리되지 못합니다."); | ||||||
|  |                         return; | ||||||
|  |                     } | ||||||
|  |                     else | ||||||
|  |                     { | ||||||
|  |                         //빈값이 나왓으므로 열 최대값을 변경해준다. | ||||||
|  |                         if(c < MaxCol) | ||||||
|  |                         { | ||||||
|  |                             FCOMMON.Util.MsgI("빈값으로 인해 최대 열 번호를 " + c.ToString() + "로 변경합니다"); | ||||||
|  |                             MaxCol = c; | ||||||
|  |                             break; | ||||||
|  |                         } | ||||||
|  |                     } | ||||||
|  |                 } | ||||||
|  |                 cols.Add(strVallue); | ||||||
|  |                 this.dtExcel.Columns.Add(strVallue); | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |  | ||||||
|  |             try{ | ||||||
|  |                 for (int r = MinRow; r <= MaxRow; r++) | ||||||
|  |                 { | ||||||
|  |                     DataRow dr =  dtExcel.NewRow(); | ||||||
|  |  | ||||||
|  |                     Boolean nullColumn = false; | ||||||
|  |                     for (int c = MinCol; c <= MaxCol; c++) | ||||||
|  |                     { | ||||||
|  |                         if (sheet.isDate(r, c)) | ||||||
|  |                         { | ||||||
|  |                             var datevalue = sheet.readNum(r, c); | ||||||
|  |                             int y, m, d; | ||||||
|  |                             y = m = d = 0; | ||||||
|  |                             book.dateUnpack(datevalue, ref y, ref m, ref d); | ||||||
|  |                             if (y >= 2000) | ||||||
|  |                                 dr[cols[c]] = string.Format("{0:0000}-{1:00}-{2:00}", y, m, d); | ||||||
|  |                             else | ||||||
|  |                                 dr[cols[c]] = string.Empty; | ||||||
|  |                              | ||||||
|  |                             //일자가 만약 넘어서면 패스한다. | ||||||
|  |                             if(cols[c]=="일자" ) | ||||||
|  |                             { | ||||||
|  |                                 string value = dr[cols[c]].ToString(); | ||||||
|  |                                 if(value == "") | ||||||
|  |                                 { | ||||||
|  |                                     nullColumn = true;  //날짜가 없다면 패스 | ||||||
|  |                                     break; | ||||||
|  |                                 } else if(value.CompareTo(sDate) < 0) | ||||||
|  |                                 { | ||||||
|  |                                     nullColumn = true;  //과거데이터라서 패스 | ||||||
|  |                                     break; | ||||||
|  |                                 } else if(value.CompareTo(eDate) > 0) | ||||||
|  |                                 { | ||||||
|  |                                     nullColumn = true; //미래데이터 패스 | ||||||
|  |                                     break; | ||||||
|  |                                 } | ||||||
|  |                             } | ||||||
|  |                         } | ||||||
|  |                         else | ||||||
|  |                         { | ||||||
|  |                             var dateStrin = sheet.readStr(r, c); | ||||||
|  |  | ||||||
|  |                             var strVallue = sheet.readStr(r, c); | ||||||
|  |                             if (strVallue.isEmpty() && c == MinCol) | ||||||
|  |                             { | ||||||
|  |                                 //첫줄 첫행이 빈값이면 처리하지 않는다. | ||||||
|  |                                 nullColumn = true; | ||||||
|  |                                 break; | ||||||
|  |                             } | ||||||
|  |                             if (!cols[c].isEmpty()) | ||||||
|  |                                 dr[cols[c]] = strVallue; | ||||||
|  |                         } | ||||||
|  |                     } | ||||||
|  |                     if (nullColumn) continue; //줄처리를 못한 경우 넘어감 | ||||||
|  |                     if (dr != null) | ||||||
|  |                     { | ||||||
|  |                         dtExcel.Rows.Add(dr); | ||||||
|  |                     } | ||||||
|  |                 } | ||||||
|  |                 dtExcel.AcceptChanges(); | ||||||
|  |             } | ||||||
|  |            catch(Exception ex) | ||||||
|  |             { | ||||||
|  |                 FCOMMON.Util.MsgE("불러오는 중 오류 발생\n" + ex.Message); | ||||||
|  |             } | ||||||
|  |             // | ||||||
|  |             book = null; | ||||||
|  |  | ||||||
|  |             this.bs.DataSource = dtExcel; | ||||||
|  |             this.dataGridView1.DataSource = dtExcel; | ||||||
|  |             this.bn.BindingSource = this.bs; | ||||||
|  |  | ||||||
|  |             if(this.bs.Count < 1) | ||||||
|  |             { | ||||||
|  |                 FCOMMON.Util.MsgE("입력된 자료가 없습니다.\n\n지정된 엑셀의 1번째 칸에 값이 없다면 입력되지 않습니다."); | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |  | ||||||
|  |         private void button3_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             if(dtExcel == null || dtExcel.Rows.Count < 1) | ||||||
|  |             { | ||||||
|  |                 FCOMMON.Util.MsgE("등록 가능한 자료가 없습니다."); | ||||||
|  |                 return; | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |             System.Text.StringBuilder sb = new StringBuilder(); | ||||||
|  |             sb.AppendLine("다음 자료를 추가하시겠습니까?"); | ||||||
|  |             sb.AppendLine(); | ||||||
|  |             sb.AppendLine("'저장 완료' 메세지가 나올때 까지 기다려 주세요."); | ||||||
|  |             sb.AppendLine(); | ||||||
|  |             sb.AppendLine("실행 하려면 '예' 를 누르세요"); | ||||||
|  |             var dlg = FCOMMON.Util.MsgQ(sb.ToString()); | ||||||
|  |             if (dlg != System.Windows.Forms.DialogResult.Yes) return; | ||||||
|  |              | ||||||
|  |             //라인코드를 읽어서 값을 기록해준다. | ||||||
|  |             var taLine = new  dsEQTableAdapters.LineCodeTableAdapter(); | ||||||
|  |             var lineTd = taLine.GetData(); | ||||||
|  |             lineTd.AcceptChanges(); | ||||||
|  |  | ||||||
|  |             dt.Clear(); | ||||||
|  |             dt.AcceptChanges(); | ||||||
|  |  | ||||||
|  |             this.progressBar1.Value = 0; | ||||||
|  |             this.progressBar1.Maximum = dtExcel.Rows.Count; | ||||||
|  |  | ||||||
|  |             //12,13 | ||||||
|  |             foreach (DataRow dr in dtExcel.Rows) | ||||||
|  |             { | ||||||
|  |                 this.progressBar1.Value += 1; | ||||||
|  |  | ||||||
|  |                 //데이터추가 | ||||||
|  |                 var newdr = dt.NewRow(); | ||||||
|  |                 if (dr[1] == DBNull.Value) continue;   //nullerror | ||||||
|  |  | ||||||
|  |                 newdr["pdate"] = "2019-01-01";// dr[0].ToString(); | ||||||
|  |                 newdr["orderno"] = dr[1].ToString(); | ||||||
|  |                 newdr["sid"] = dr[2].ToString().Replace(" ","");    //181116 - 빈공백제거 | ||||||
|  |                  | ||||||
|  |                 //이름 변경함 | ||||||
|  |                 if (dr[3].ToString() != "") dr[3] = dr[3].ToString().Replace("*", "x"); | ||||||
|  |                 if (dr[4].ToString() != "") dr[4] = dr[4].ToString().Replace("*", "x"); | ||||||
|  |                  | ||||||
|  |                 newdr["pumname"] = dr[3].ToString(); | ||||||
|  |                 newdr["pumscale"] = dr[4].ToString(); | ||||||
|  |  | ||||||
|  |                 newdr["pumunit"] = dr[7].ToString(); | ||||||
|  |  | ||||||
|  |                 if (dr[6].ToString() != "") | ||||||
|  |                     newdr["pumqty"] = int.Parse(dr[6].ToString()); | ||||||
|  |  | ||||||
|  |                 if (dr[5].ToString() != "") | ||||||
|  |                     newdr["pumprice"] = decimal.Parse(dr[5].ToString()); | ||||||
|  |  | ||||||
|  |                 if (dr[8].ToString() != "") | ||||||
|  |                     newdr["pumamt"] = decimal.Parse(dr[8].ToString()); | ||||||
|  |  | ||||||
|  |                 newdr["supply"] = dr[10].ToString(); | ||||||
|  |                 newdr["state"] = "PO";// dr[14 + 6].ToString(); | ||||||
|  |                 newdr["import"] = true; | ||||||
|  |                 newdr["wuid"] = "JBS"; | ||||||
|  |                 newdr["wdate"] = "2019-04-16 00:00:00"; | ||||||
|  |  | ||||||
|  |                dt.Rows.Add(newdr); | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |             var taE = new dsPurchaseTableAdapters.PurchaseTableAdapter(); | ||||||
|  |             if(checkBox1.Checked) taE.DeleteImport(sd.Value.ToShortDateString(),ed.Value.ToShortDateString()); | ||||||
|  |             taE.Update((dsPurchase.PurchaseDataTable)dt); | ||||||
|  |  | ||||||
|  |             dt.AcceptChanges(); | ||||||
|  |             FCOMMON.Util.MsgI("Save OK"); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void panel1_Paint(object sender, PaintEventArgs e) | ||||||
|  |         { | ||||||
|  |  | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void button2_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             var dlg = FCOMMON.Util.MsgQ("데이터의 SID를 ITEM정보와 확인하여 업데이트 합니다."); | ||||||
|  |             if(dlg != System.Windows.Forms.DialogResult.Yes) return; | ||||||
|  |  | ||||||
|  |             var i = FCOMMON.DBM.UpdateItemIndexbySID(); | ||||||
|  |             FCOMMON.Util.MsgI(i.ToString() + "건의 자료가 업데이트 되었습니다."); | ||||||
|  |              | ||||||
|  |  | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										191
									
								
								SubProject/FEQ0000/Purchase/fPurchase_ImportO.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										191
									
								
								SubProject/FEQ0000/Purchase/fPurchase_ImportO.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,191 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <root> | ||||||
|  |   <!--  | ||||||
|  |     Microsoft ResX Schema  | ||||||
|  |      | ||||||
|  |     Version 2.0 | ||||||
|  |      | ||||||
|  |     The primary goals of this format is to allow a simple XML format  | ||||||
|  |     that is mostly human readable. The generation and parsing of the  | ||||||
|  |     various data types are done through the TypeConverter classes  | ||||||
|  |     associated with the data types. | ||||||
|  |      | ||||||
|  |     Example: | ||||||
|  |      | ||||||
|  |     ... ado.net/XML headers & schema ... | ||||||
|  |     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||||
|  |     <resheader name="version">2.0</resheader> | ||||||
|  |     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||||
|  |     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||||
|  |     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||||
|  |     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||||
|  |     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||||
|  |         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||||
|  |     </data> | ||||||
|  |     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||||
|  |         <comment>This is a comment</comment> | ||||||
|  |     </data> | ||||||
|  |                  | ||||||
|  |     There are any number of "resheader" rows that contain simple  | ||||||
|  |     name/value pairs. | ||||||
|  |      | ||||||
|  |     Each data row contains a name, and value. The row also contains a  | ||||||
|  |     type or mimetype. Type corresponds to a .NET class that support  | ||||||
|  |     text/value conversion through the TypeConverter architecture.  | ||||||
|  |     Classes that don't support this are serialized and stored with the  | ||||||
|  |     mimetype set. | ||||||
|  |      | ||||||
|  |     The mimetype is used for serialized objects, and tells the  | ||||||
|  |     ResXResourceReader how to depersist the object. This is currently not  | ||||||
|  |     extensible. For a given mimetype the value must be set accordingly: | ||||||
|  |      | ||||||
|  |     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||||
|  |     that the ResXResourceWriter will generate, however the reader can  | ||||||
|  |     read any of the formats listed below. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.binary.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.soap.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |  | ||||||
|  |     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||||
|  |     value   : The object must be serialized into a byte array  | ||||||
|  |             : using a System.ComponentModel.TypeConverter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |     --> | ||||||
|  |   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||||
|  |     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||||
|  |     <xsd:element name="root" msdata:IsDataSet="true"> | ||||||
|  |       <xsd:complexType> | ||||||
|  |         <xsd:choice maxOccurs="unbounded"> | ||||||
|  |           <xsd:element name="metadata"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="assembly"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:attribute name="alias" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="data"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="resheader"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |         </xsd:choice> | ||||||
|  |       </xsd:complexType> | ||||||
|  |     </xsd:element> | ||||||
|  |   </xsd:schema> | ||||||
|  |   <resheader name="resmimetype"> | ||||||
|  |     <value>text/microsoft-resx</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="version"> | ||||||
|  |     <value>2.0</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="reader"> | ||||||
|  |     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="writer"> | ||||||
|  |     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  |   <metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>17, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||||
|  |   <data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC | ||||||
|  |         pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ | ||||||
|  |         Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ | ||||||
|  |         /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA | ||||||
|  |         zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ | ||||||
|  |         IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E | ||||||
|  |         rkJggg== | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>83, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC | ||||||
|  |         DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC | ||||||
|  |         rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV | ||||||
|  |         i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG | ||||||
|  |         86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG | ||||||
|  |         QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX | ||||||
|  |         bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 | ||||||
|  |         wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 | ||||||
|  |         v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg | ||||||
|  |         UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA | ||||||
|  |         Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu | ||||||
|  |         lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w | ||||||
|  |         5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f | ||||||
|  |         Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ | ||||||
|  |         08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 | ||||||
|  |         n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI | ||||||
|  |         N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f | ||||||
|  |         oAc0QjgAAAAASUVORK5CYII= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// | ||||||
|  |         h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B | ||||||
|  |         twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA | ||||||
|  |         kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG | ||||||
|  |         WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 | ||||||
|  |         8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  | </root> | ||||||
							
								
								
									
										341
									
								
								SubProject/FEQ0000/dsPurchase.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										341
									
								
								SubProject/FEQ0000/dsPurchase.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -339,6 +339,8 @@ namespace FEQ0000 { | |||||||
|              |              | ||||||
|             private global::System.Data.DataColumn columnmanuproc; |             private global::System.Data.DataColumn columnmanuproc; | ||||||
|              |              | ||||||
|  |             private global::System.Data.DataColumn columnorderno; | ||||||
|  |              | ||||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||||
|             public PurchaseDataTable() { |             public PurchaseDataTable() { | ||||||
| @@ -612,6 +614,14 @@ namespace FEQ0000 { | |||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|              |              | ||||||
|  |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|  |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||||
|  |             public global::System.Data.DataColumn ordernoColumn { | ||||||
|  |                 get { | ||||||
|  |                     return this.columnorderno; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |              | ||||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||||
|             [global::System.ComponentModel.Browsable(false)] |             [global::System.ComponentModel.Browsable(false)] | ||||||
| @@ -678,7 +688,8 @@ namespace FEQ0000 { | |||||||
|                         int pumidx,  |                         int pumidx,  | ||||||
|                         bool isdel,  |                         bool isdel,  | ||||||
|                         string bigo,  |                         string bigo,  | ||||||
|                         string manuproc) { |                         string manuproc,  | ||||||
|  |                         string orderno) { | ||||||
|                 PurchaseRow rowPurchaseRow = ((PurchaseRow)(this.NewRow())); |                 PurchaseRow rowPurchaseRow = ((PurchaseRow)(this.NewRow())); | ||||||
|                 object[] columnValuesArray = new object[] { |                 object[] columnValuesArray = new object[] { | ||||||
|                         null, |                         null, | ||||||
| @@ -710,7 +721,8 @@ namespace FEQ0000 { | |||||||
|                         pumidx, |                         pumidx, | ||||||
|                         isdel, |                         isdel, | ||||||
|                         bigo, |                         bigo, | ||||||
|                         manuproc}; |                         manuproc, | ||||||
|  |                         orderno}; | ||||||
|                 rowPurchaseRow.ItemArray = columnValuesArray; |                 rowPurchaseRow.ItemArray = columnValuesArray; | ||||||
|                 this.Rows.Add(rowPurchaseRow); |                 this.Rows.Add(rowPurchaseRow); | ||||||
|                 return rowPurchaseRow; |                 return rowPurchaseRow; | ||||||
| @@ -770,6 +782,7 @@ namespace FEQ0000 { | |||||||
|                 this.columnisdel = base.Columns["isdel"]; |                 this.columnisdel = base.Columns["isdel"]; | ||||||
|                 this.columnbigo = base.Columns["bigo"]; |                 this.columnbigo = base.Columns["bigo"]; | ||||||
|                 this.columnmanuproc = base.Columns["manuproc"]; |                 this.columnmanuproc = base.Columns["manuproc"]; | ||||||
|  |                 this.columnorderno = base.Columns["orderno"]; | ||||||
|             } |             } | ||||||
|              |              | ||||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
| @@ -835,6 +848,8 @@ namespace FEQ0000 { | |||||||
|                 base.Columns.Add(this.columnbigo); |                 base.Columns.Add(this.columnbigo); | ||||||
|                 this.columnmanuproc = new global::System.Data.DataColumn("manuproc", typeof(string), null, global::System.Data.MappingType.Element); |                 this.columnmanuproc = new global::System.Data.DataColumn("manuproc", typeof(string), null, global::System.Data.MappingType.Element); | ||||||
|                 base.Columns.Add(this.columnmanuproc); |                 base.Columns.Add(this.columnmanuproc); | ||||||
|  |                 this.columnorderno = new global::System.Data.DataColumn("orderno", typeof(string), null, global::System.Data.MappingType.Element); | ||||||
|  |                 base.Columns.Add(this.columnorderno); | ||||||
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { |                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { | ||||||
|                                 this.columnidx}, true)); |                                 this.columnidx}, true)); | ||||||
|                 this.columnidx.AutoIncrement = true; |                 this.columnidx.AutoIncrement = true; | ||||||
| @@ -865,6 +880,7 @@ namespace FEQ0000 { | |||||||
|                 this.columnwdate.AllowDBNull = false; |                 this.columnwdate.AllowDBNull = false; | ||||||
|                 this.columnbigo.MaxLength = 500; |                 this.columnbigo.MaxLength = 500; | ||||||
|                 this.columnmanuproc.MaxLength = 50; |                 this.columnmanuproc.MaxLength = 50; | ||||||
|  |                 this.columnorderno.MaxLength = 50; | ||||||
|             } |             } | ||||||
|              |              | ||||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
| @@ -1470,6 +1486,22 @@ namespace FEQ0000 { | |||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|              |              | ||||||
|  |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|  |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||||
|  |             public string orderno { | ||||||
|  |                 get { | ||||||
|  |                     if (this.IsordernoNull()) { | ||||||
|  |                         return string.Empty; | ||||||
|  |                     } | ||||||
|  |                     else { | ||||||
|  |                         return ((string)(this[this.tablePurchase.ordernoColumn])); | ||||||
|  |                     } | ||||||
|  |                 } | ||||||
|  |                 set { | ||||||
|  |                     this[this.tablePurchase.ordernoColumn] = value; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |              | ||||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||||
|             public bool IspdateNull() { |             public bool IspdateNull() { | ||||||
| @@ -1793,6 +1825,18 @@ namespace FEQ0000 { | |||||||
|             public void SetmanuprocNull() { |             public void SetmanuprocNull() { | ||||||
|                 this[this.tablePurchase.manuprocColumn] = global::System.Convert.DBNull; |                 this[this.tablePurchase.manuprocColumn] = global::System.Convert.DBNull; | ||||||
|             } |             } | ||||||
|  |              | ||||||
|  |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|  |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||||
|  |             public bool IsordernoNull() { | ||||||
|  |                 return this.IsNull(this.tablePurchase.ordernoColumn); | ||||||
|  |             } | ||||||
|  |              | ||||||
|  |             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||||
|  |             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] | ||||||
|  |             public void SetordernoNull() { | ||||||
|  |                 this[this.tablePurchase.ordernoColumn] = global::System.Convert.DBNull; | ||||||
|  |             } | ||||||
|         } |         } | ||||||
|          |          | ||||||
|         /// <summary> |         /// <summary> | ||||||
| @@ -1984,6 +2028,7 @@ namespace FEQ0000.dsPurchaseTableAdapters { | |||||||
|             tableMapping.ColumnMappings.Add("isdel", "isdel"); |             tableMapping.ColumnMappings.Add("isdel", "isdel"); | ||||||
|             tableMapping.ColumnMappings.Add("bigo", "bigo"); |             tableMapping.ColumnMappings.Add("bigo", "bigo"); | ||||||
|             tableMapping.ColumnMappings.Add("manuproc", "manuproc"); |             tableMapping.ColumnMappings.Add("manuproc", "manuproc"); | ||||||
|  |             tableMapping.ColumnMappings.Add("orderno", "orderno"); | ||||||
|             this._adapter.TableMappings.Add(tableMapping); |             this._adapter.TableMappings.Add(tableMapping); | ||||||
|             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); |             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._adapter.DeleteCommand.Connection = this.Connection; |             this._adapter.DeleteCommand.Connection = this.Connection; | ||||||
| @@ -1994,8 +2039,8 @@ namespace FEQ0000.dsPurchaseTableAdapters { | |||||||
|             this._adapter.InsertCommand.Connection = this.Connection; |             this._adapter.InsertCommand.Connection = this.Connection; | ||||||
|             this._adapter.InsertCommand.CommandText = @"INSERT INTO Purchase |             this._adapter.InsertCommand.CommandText = @"INSERT INTO Purchase | ||||||
|                (pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate,  |                (pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate,  | ||||||
|                import, pumidx, isdel, bigo, manuproc) |                import, pumidx, isdel, bigo, manuproc, orderno) | ||||||
| VALUES  (@pdate,@state,@process,@receive,@sc,@request,@sid,@pumname,@pumscale,@pumunit,@pumqty,@pumprice,@pumamt,@supply,@supplyidx,@project,@projectidx,@asset,@edate,@indate,@po,@dept,@wuid,@wdate,@import,@pumidx,@isdel,@bigo,@manuproc);  | VALUES  (@pdate,@state,@process,@receive,@sc,@request,@sid,@pumname,@pumscale,@pumunit,@pumqty,@pumprice,@pumamt,@supply,@supplyidx,@project,@projectidx,@asset,@edate,@indate,@po,@dept,@wuid,@wdate,@import,@pumidx,@isdel,@bigo,@manuproc,@orderno);   | ||||||
| SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC"; | SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC"; | ||||||
|             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; |             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
| @@ -2027,6 +2072,7 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, | |||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isdel", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isdel", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bigo", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, "bigo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bigo", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, "bigo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manuproc", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manuproc", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|  |             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); |             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._adapter.UpdateCommand.Connection = this.Connection; |             this._adapter.UpdateCommand.Connection = this.Connection; | ||||||
|             this._adapter.UpdateCommand.CommandText = "UPDATE Purchase\r\nSET        pdate = @pdate, state = @state, process = @process, r" + |             this._adapter.UpdateCommand.CommandText = "UPDATE Purchase\r\nSET        pdate = @pdate, state = @state, process = @process, r" + | ||||||
| @@ -2036,38 +2082,38 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, | |||||||
|                 "project = @project, projectidx = @projectidx, asset = @asset, edate = @edate, \r\n" + |                 "project = @project, projectidx = @projectidx, asset = @asset, edate = @edate, \r\n" + | ||||||
|                 "               indate = @indate, po = @po, dept = @dept, wuid = @wuid, wdate = @" + |                 "               indate = @indate, po = @po, dept = @dept, wuid = @wuid, wdate = @" + | ||||||
|                 "wdate, import = @import, pumidx = @pumidx, isdel = @isdel, bigo = @bigo, manupro" + |                 "wdate, import = @import, pumidx = @pumidx, isdel = @isdel, bigo = @bigo, manupro" + | ||||||
|                 "c = @manuproc\r\nWHERE  (idx = @Original_idx) AND (@IsNull_pdate = 1 AND pdate IS " + |                 "c = @manuproc, \r\n               orderno = @orderno\r\nWHERE  (idx = @Original_idx)" + | ||||||
|                 "NULL OR\r\n               pdate = @Original_pdate) AND (@IsNull_state = 1 AND stat" + |                 " AND (@IsNull_pdate = 1 AND pdate IS NULL OR\r\n               pdate = @Original_p" + | ||||||
|                 "e IS NULL OR\r\n               state = @Original_state) AND (@IsNull_process = 1 A" + |                 "date) AND (@IsNull_state = 1 AND state IS NULL OR\r\n               state = @Origi" + | ||||||
|                 "ND process IS NULL OR\r\n               process = @Original_process) AND (@IsNull_" + |                 "nal_state) AND (@IsNull_process = 1 AND process IS NULL OR\r\n               proce" + | ||||||
|                 "receive = 1 AND receive IS NULL OR\r\n               receive = @Original_receive) " + |                 "ss = @Original_process) AND (@IsNull_receive = 1 AND receive IS NULL OR\r\n       " + | ||||||
|                 "AND (@IsNull_sc = 1 AND sc IS NULL OR\r\n               sc = @Original_sc) AND (@I" + |                 "        receive = @Original_receive) AND (@IsNull_sc = 1 AND sc IS NULL OR\r\n    " + | ||||||
|                 "sNull_request = 1 AND request IS NULL OR\r\n               request = @Original_req" + |                 "           sc = @Original_sc) AND (@IsNull_request = 1 AND request IS NULL OR\r\n " + | ||||||
|                 "uest) AND (@IsNull_sid = 1 AND sid IS NULL OR\r\n               sid = @Original_si" + |                 "              request = @Original_request) AND (@IsNull_sid = 1 AND sid IS NULL " + | ||||||
|                 "d) AND (@IsNull_pumscale = 1 AND pumscale IS NULL OR\r\n               pumscale = " + |                 "OR\r\n               sid = @Original_sid) AND (@IsNull_pumscale = 1 AND pumscale I" + | ||||||
|                 "@Original_pumscale) AND (@IsNull_pumunit = 1 AND pumunit IS NULL OR\r\n           " + |                 "S NULL OR\r\n               pumscale = @Original_pumscale) AND (@IsNull_pumunit = " + | ||||||
|                 "    pumunit = @Original_pumunit) AND (@IsNull_pumqty = 1 AND pumqty IS NULL OR\r\n" + |                 "1 AND pumunit IS NULL OR\r\n               pumunit = @Original_pumunit) AND (@IsNu" + | ||||||
|                 "               pumqty = @Original_pumqty) AND (@IsNull_pumprice = 1 AND pumprice" + |                 "ll_pumqty = 1 AND pumqty IS NULL OR\r\n               pumqty = @Original_pumqty) A" + | ||||||
|                 " IS NULL OR\r\n               pumprice = @Original_pumprice) AND (@IsNull_pumamt =" + |                 "ND (@IsNull_pumprice = 1 AND pumprice IS NULL OR\r\n               pumprice = @Ori" + | ||||||
|                 " 1 AND pumamt IS NULL OR\r\n               pumamt = @Original_pumamt) AND (@IsNull" + |                 "ginal_pumprice) AND (@IsNull_pumamt = 1 AND pumamt IS NULL OR\r\n               pu" + | ||||||
|                 "_supply = 1 AND supply IS NULL OR\r\n               supply = @Original_supply) AND" + |                 "mamt = @Original_pumamt) AND (@IsNull_supply = 1 AND supply IS NULL OR\r\n        " + | ||||||
|                 " (@IsNull_supplyidx = 1 AND supplyidx IS NULL OR\r\n               supplyidx = @Or" + |                 "       supply = @Original_supply) AND (@IsNull_supplyidx = 1 AND supplyidx IS NU" + | ||||||
|                 "iginal_supplyidx) AND (@IsNull_projectidx = 1 AND projectidx IS NULL OR\r\n       " + |                 "LL OR\r\n               supplyidx = @Original_supplyidx) AND (@IsNull_projectidx =" + | ||||||
|                 "        projectidx = @Original_projectidx) AND (@IsNull_asset = 1 AND asset IS N" + |                 " 1 AND projectidx IS NULL OR\r\n               projectidx = @Original_projectidx) " + | ||||||
|                 "ULL OR\r\n               asset = @Original_asset) AND (@IsNull_edate = 1 AND edate" + |                 "AND (@IsNull_asset = 1 AND asset IS NULL OR\r\n               asset = @Original_as" + | ||||||
|                 " IS NULL OR\r\n               edate = @Original_edate) AND (@IsNull_indate = 1 AND" + |                 "set) AND (@IsNull_edate = 1 AND edate IS NULL OR\r\n               edate = @Origin" + | ||||||
|                 " indate IS NULL OR\r\n               indate = @Original_indate) AND (@IsNull_po = " + |                 "al_edate) AND (@IsNull_indate = 1 AND indate IS NULL OR\r\n               indate =" + | ||||||
|                 "1 AND po IS NULL OR\r\n               po = @Original_po) AND (@IsNull_dept = 1 AND" + |                 " @Original_indate) AND (@IsNull_po = 1 AND po IS NULL OR\r\n               po = @O" + | ||||||
|                 " dept IS NULL OR\r\n               dept = @Original_dept) AND (wuid = @Original_wu" + |                 "riginal_po) AND (@IsNull_dept = 1 AND dept IS NULL OR\r\n               dept = @Or" + | ||||||
|                 "id) AND (wdate = @Original_wdate) AND (@IsNull_import = 1 AND import IS NULL OR\r" + |                 "iginal_dept) AND (wuid = @Original_wuid) AND (wdate = @Original_wdate) AND (@IsN" + | ||||||
|                 "\n               import = @Original_import) AND (@IsNull_pumidx = 1 AND pumidx IS" + |                 "ull_import = 1 AND import IS NULL OR\r\n               import = @Original_import) " + | ||||||
|                 " NULL OR\r\n               pumidx = @Original_pumidx) AND (@IsNull_isdel = 1 AND i" + |                 "AND (@IsNull_pumidx = 1 AND pumidx IS NULL OR\r\n               pumidx = @Original" + | ||||||
|                 "sdel IS NULL OR\r\n               isdel = @Original_isdel) AND (@IsNull_bigo = 1 A" + |                 "_pumidx) AND (@IsNull_isdel = 1 AND isdel IS NULL OR\r\n               isdel = @Or" + | ||||||
|                 "ND bigo IS NULL OR\r\n               bigo = @Original_bigo); \r\nSELECT idx, pdate, " + |                 "iginal_isdel) AND (@IsNull_bigo = 1 AND bigo IS NULL OR\r\n               bigo = @" + | ||||||
|                 "state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, p" + |                 "Original_bigo);  \r\nSELECT idx, pdate, state, process, receive, sc, request, sid," + | ||||||
|                 "umprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, p" + |                 " pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, projec" + | ||||||
|                 "o, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = @id" + |                 "t, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isde" + | ||||||
|                 "x) ORDER BY pdate DESC, idx DESC"; |                 "l, bigo FROM Purchase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC"; | ||||||
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; |             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@state", global::System.Data.SqlDbType.VarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@state", global::System.Data.SqlDbType.VarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
| @@ -2098,6 +2144,7 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, | |||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isdel", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isdel", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bigo", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, "bigo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bigo", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, "bigo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manuproc", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manuproc", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|  |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
| @@ -2166,7 +2213,7 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, | |||||||
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); |             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._commandCollection[0].Connection = this.Connection; |             this._commandCollection[0].Connection = this.Connection; | ||||||
|             this._commandCollection[0].CommandText = @"SELECT  idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid,  |             this._commandCollection[0].CommandText = @"SELECT  idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid,  | ||||||
|                wdate, import, pumidx, isdel, bigo, manuproc |                wdate, import, pumidx, isdel, bigo, manuproc, orderno | ||||||
| FROM     Purchase | FROM     Purchase | ||||||
| WHERE  (ISNULL(isdel, 0) = 0) | WHERE  (ISNULL(isdel, 0) = 0) | ||||||
| ORDER BY pdate DESC, idx DESC"; | ORDER BY pdate DESC, idx DESC"; | ||||||
| @@ -2179,7 +2226,7 @@ ORDER BY pdate DESC, idx DESC"; | |||||||
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); |             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||||
|             this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); |             this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); | ||||||
|             this._commandCollection[2].Connection = this.Connection; |             this._commandCollection[2].Connection = this.Connection; | ||||||
|             this._commandCollection[2].CommandText = @"SELECT asset, bigo, dept, edate, idx, import, indate, isdel, manuproc, pdate, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumqty, pumscale, pumunit, receive, request, sc, sid, state, supply, supplyidx, wdate, wuid FROM Purchase WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) ORDER BY pdate DESC, idx DESC"; |             this._commandCollection[2].CommandText = @"SELECT asset, bigo, dept, edate, idx, import, indate, isdel, manuproc, orderno, pdate, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumqty, pumscale, pumunit, receive, request, sc, sid, state, supply, supplyidx, wdate, wuid FROM Purchase WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) ORDER BY pdate DESC, idx DESC"; | ||||||
|             this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; |             this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; | ||||||
|             this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
|             this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); |             this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||||
| @@ -2341,7 +2388,8 @@ ORDER BY pdate DESC, idx DESC"; | |||||||
|                     global::System.Nullable<int> pumidx,  |                     global::System.Nullable<int> pumidx,  | ||||||
|                     global::System.Nullable<bool> isdel,  |                     global::System.Nullable<bool> isdel,  | ||||||
|                     string bigo,  |                     string bigo,  | ||||||
|                     string manuproc) { |                     string manuproc,  | ||||||
|  |                     string orderno) { | ||||||
|             if ((pdate == null)) { |             if ((pdate == null)) { | ||||||
|                 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; |                 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
| @@ -2511,6 +2559,12 @@ ORDER BY pdate DESC, idx DESC"; | |||||||
|             else { |             else { | ||||||
|                 this.Adapter.InsertCommand.Parameters[28].Value = ((string)(manuproc)); |                 this.Adapter.InsertCommand.Parameters[28].Value = ((string)(manuproc)); | ||||||
|             } |             } | ||||||
|  |             if ((orderno == null)) { | ||||||
|  |                 this.Adapter.InsertCommand.Parameters[29].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.InsertCommand.Parameters[29].Value = ((string)(orderno)); | ||||||
|  |             } | ||||||
|             global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; |             global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; | ||||||
|             if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)  |             if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)  | ||||||
|                         != global::System.Data.ConnectionState.Open)) { |                         != global::System.Data.ConnectionState.Open)) { | ||||||
| @@ -2561,6 +2615,7 @@ ORDER BY pdate DESC, idx DESC"; | |||||||
|                     global::System.Nullable<bool> isdel,  |                     global::System.Nullable<bool> isdel,  | ||||||
|                     string bigo,  |                     string bigo,  | ||||||
|                     string manuproc,  |                     string manuproc,  | ||||||
|  |                     string orderno,  | ||||||
|                     int Original_idx,  |                     int Original_idx,  | ||||||
|                     string Original_pdate,  |                     string Original_pdate,  | ||||||
|                     string Original_state,  |                     string Original_state,  | ||||||
| @@ -2758,207 +2813,213 @@ ORDER BY pdate DESC, idx DESC"; | |||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(manuproc)); |                 this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(manuproc)); | ||||||
|             } |             } | ||||||
|             this.Adapter.UpdateCommand.Parameters[29].Value = ((int)(Original_idx)); |             if ((orderno == null)) { | ||||||
|             if ((Original_pdate == null)) { |                 this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; | ||||||
|                 this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1)); |  | ||||||
|                 this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value; |  | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(orderno)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_pdate)); |             } | ||||||
|  |             this.Adapter.UpdateCommand.Parameters[30].Value = ((int)(Original_idx)); | ||||||
|  |             if ((Original_pdate == null)) { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; | ||||||
|  |             } | ||||||
|  |             else { | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0)); | ||||||
|  |                 this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_pdate)); | ||||||
|             } |             } | ||||||
|             if ((Original_state == null)) { |             if ((Original_state == null)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_state)); |                 this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_state)); | ||||||
|             } |             } | ||||||
|             if ((Original_process == null)) { |             if ((Original_process == null)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_process)); |                 this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_process)); | ||||||
|             } |             } | ||||||
|             if ((Original_receive == null)) { |             if ((Original_receive == null)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_receive)); |                 this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_receive)); | ||||||
|             } |             } | ||||||
|             if ((Original_sc == null)) { |             if ((Original_sc == null)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_sc)); |                 this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_sc)); | ||||||
|             } |             } | ||||||
|             if ((Original_request == null)) { |             if ((Original_request == null)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_request)); |                 this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_request)); | ||||||
|             } |             } | ||||||
|             if ((Original_sid == null)) { |             if ((Original_sid == null)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_sid)); |                 this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_sid)); | ||||||
|             } |             } | ||||||
|             if ((Original_pumscale == null)) { |             if ((Original_pumscale == null)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_pumscale)); |                 this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_pumscale)); | ||||||
|             } |             } | ||||||
|             if ((Original_pumunit == null)) { |             if ((Original_pumunit == null)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Original_pumunit)); |                 this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_pumunit)); | ||||||
|             } |             } | ||||||
|             if ((Original_pumqty.HasValue == true)) { |             if ((Original_pumqty.HasValue == true)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[49].Value = ((int)(Original_pumqty.Value)); |                 this.Adapter.UpdateCommand.Parameters[50].Value = ((int)(Original_pumqty.Value)); | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             if ((Original_pumprice.HasValue == true)) { |             if ((Original_pumprice.HasValue == true)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[51].Value = ((decimal)(Original_pumprice.Value)); |                 this.Adapter.UpdateCommand.Parameters[52].Value = ((decimal)(Original_pumprice.Value)); | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             if ((Original_pumamt.HasValue == true)) { |             if ((Original_pumamt.HasValue == true)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[53].Value = ((decimal)(Original_pumamt.Value)); |                 this.Adapter.UpdateCommand.Parameters[54].Value = ((decimal)(Original_pumamt.Value)); | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             if ((Original_supply == null)) { |             if ((Original_supply == null)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[55].Value = ((string)(Original_supply)); |                 this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_supply)); | ||||||
|             } |             } | ||||||
|             if ((Original_supplyidx.HasValue == true)) { |             if ((Original_supplyidx.HasValue == true)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[57].Value = ((int)(Original_supplyidx.Value)); |                 this.Adapter.UpdateCommand.Parameters[58].Value = ((int)(Original_supplyidx.Value)); | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             if ((Original_projectidx.HasValue == true)) { |             if ((Original_projectidx.HasValue == true)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[59].Value = ((int)(Original_projectidx.Value)); |                 this.Adapter.UpdateCommand.Parameters[60].Value = ((int)(Original_projectidx.Value)); | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             if ((Original_asset == null)) { |             if ((Original_asset == null)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[61].Value = ((string)(Original_asset)); |                 this.Adapter.UpdateCommand.Parameters[62].Value = ((string)(Original_asset)); | ||||||
|             } |             } | ||||||
|             if ((Original_edate == null)) { |             if ((Original_edate == null)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[63].Value = ((string)(Original_edate)); |                 this.Adapter.UpdateCommand.Parameters[64].Value = ((string)(Original_edate)); | ||||||
|             } |             } | ||||||
|             if ((Original_indate == null)) { |             if ((Original_indate == null)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[65].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[65].Value = ((string)(Original_indate)); |                 this.Adapter.UpdateCommand.Parameters[66].Value = ((string)(Original_indate)); | ||||||
|             } |             } | ||||||
|             if ((Original_po == null)) { |             if ((Original_po == null)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[67].Value = ((string)(Original_po)); |                 this.Adapter.UpdateCommand.Parameters[68].Value = ((string)(Original_po)); | ||||||
|             } |             } | ||||||
|             if ((Original_dept == null)) { |             if ((Original_dept == null)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[69].Value = ((string)(Original_dept)); |                 this.Adapter.UpdateCommand.Parameters[70].Value = ((string)(Original_dept)); | ||||||
|             } |             } | ||||||
|             if ((Original_wuid == null)) { |             if ((Original_wuid == null)) { | ||||||
|                 throw new global::System.ArgumentNullException("Original_wuid"); |                 throw new global::System.ArgumentNullException("Original_wuid"); | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[70].Value = ((string)(Original_wuid)); |                 this.Adapter.UpdateCommand.Parameters[71].Value = ((string)(Original_wuid)); | ||||||
|             } |             } | ||||||
|             this.Adapter.UpdateCommand.Parameters[71].Value = ((System.DateTime)(Original_wdate)); |             this.Adapter.UpdateCommand.Parameters[72].Value = ((System.DateTime)(Original_wdate)); | ||||||
|             if ((Original_import.HasValue == true)) { |             if ((Original_import.HasValue == true)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[73].Value = ((bool)(Original_import.Value)); |                 this.Adapter.UpdateCommand.Parameters[74].Value = ((bool)(Original_import.Value)); | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[73].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[74].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             if ((Original_pumidx.HasValue == true)) { |             if ((Original_pumidx.HasValue == true)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[75].Value = ((int)(Original_pumidx.Value)); |                 this.Adapter.UpdateCommand.Parameters[76].Value = ((int)(Original_pumidx.Value)); | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[75].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[76].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             if ((Original_isdel.HasValue == true)) { |             if ((Original_isdel.HasValue == true)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[77].Value = ((bool)(Original_isdel.Value)); |                 this.Adapter.UpdateCommand.Parameters[78].Value = ((bool)(Original_isdel.Value)); | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[77].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[78].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             if ((Original_bigo == null)) { |             if ((Original_bigo == null)) { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(1)); |                 this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(1)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[79].Value = global::System.DBNull.Value; |                 this.Adapter.UpdateCommand.Parameters[80].Value = global::System.DBNull.Value; | ||||||
|             } |             } | ||||||
|             else { |             else { | ||||||
|                 this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(0)); |                 this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(0)); | ||||||
|                 this.Adapter.UpdateCommand.Parameters[79].Value = ((string)(Original_bigo)); |                 this.Adapter.UpdateCommand.Parameters[80].Value = ((string)(Original_bigo)); | ||||||
|             } |             } | ||||||
|             this.Adapter.UpdateCommand.Parameters[80].Value = ((int)(idx)); |             this.Adapter.UpdateCommand.Parameters[81].Value = ((int)(idx)); | ||||||
|             global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; |             global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; | ||||||
|             if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)  |             if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)  | ||||||
|                         != global::System.Data.ConnectionState.Open)) { |                         != global::System.Data.ConnectionState.Open)) { | ||||||
|   | |||||||
| @@ -24,8 +24,8 @@ WHERE  (idx = @Original_idx)</CommandText> | |||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||||
|                     <CommandText>INSERT INTO Purchase |                     <CommandText>INSERT INTO Purchase | ||||||
|                (pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate,  |                (pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate,  | ||||||
|                import, pumidx, isdel, bigo, manuproc) |                import, pumidx, isdel, bigo, manuproc, orderno) | ||||||
| VALUES  (@pdate,@state,@process,@receive,@sc,@request,@sid,@pumname,@pumscale,@pumunit,@pumqty,@pumprice,@pumamt,@supply,@supplyidx,@project,@projectidx,@asset,@edate,@indate,@po,@dept,@wuid,@wdate,@import,@pumidx,@isdel,@bigo,@manuproc);  | VALUES  (@pdate,@state,@process,@receive,@sc,@request,@sid,@pumname,@pumscale,@pumunit,@pumqty,@pumprice,@pumamt,@supply,@supplyidx,@project,@projectidx,@asset,@edate,@indate,@po,@dept,@wuid,@wdate,@import,@pumidx,@isdel,@bigo,@manuproc,@orderno);   | ||||||
| SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC</CommandText> | SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC</CommandText> | ||||||
|                     <Parameters> |                     <Parameters> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
| @@ -57,13 +57,14 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, | |||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="isdel" ColumnName="isdel" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isdel" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="isdel" ColumnName="isdel" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isdel" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="bigo" ColumnName="bigo" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="nvarchar(500)" DbType="String" Direction="Input" ParameterName="@bigo" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumn="bigo" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="bigo" ColumnName="bigo" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="nvarchar(500)" DbType="String" Direction="Input" ParameterName="@bigo" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumn="bigo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="manuproc" ColumnName="manuproc" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@manuproc" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="manuproc" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="manuproc" ColumnName="manuproc" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@manuproc" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="manuproc" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="orderno" ColumnName="orderno" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                     </Parameters> |                     </Parameters> | ||||||
|                   </DbCommand> |                   </DbCommand> | ||||||
|                 </InsertCommand> |                 </InsertCommand> | ||||||
|                 <SelectCommand> |                 <SelectCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> |                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||||
|                     <CommandText>SELECT  idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid,  |                     <CommandText>SELECT  idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid,  | ||||||
|                wdate, import, pumidx, isdel, bigo, manuproc |                wdate, import, pumidx, isdel, bigo, manuproc, orderno | ||||||
| FROM     Purchase | FROM     Purchase | ||||||
| WHERE  (ISNULL(isdel, 0) = 0) | WHERE  (ISNULL(isdel, 0) = 0) | ||||||
| ORDER BY pdate DESC, idx DESC</CommandText> | ORDER BY pdate DESC, idx DESC</CommandText> | ||||||
| @@ -75,7 +76,8 @@ ORDER BY pdate DESC, idx DESC</CommandText> | |||||||
|                     <CommandText>UPDATE Purchase |                     <CommandText>UPDATE Purchase | ||||||
| SET        pdate = @pdate, state = @state, process = @process, receive = @receive, sc = @sc, request = @request, sid = @sid, pumname = @pumname, pumscale = @pumscale, pumunit = @pumunit,  | SET        pdate = @pdate, state = @state, process = @process, receive = @receive, sc = @sc, request = @request, sid = @sid, pumname = @pumname, pumscale = @pumscale, pumunit = @pumunit,  | ||||||
|                pumqty = @pumqty, pumprice = @pumprice, pumamt = @pumamt, supply = @supply, supplyidx = @supplyidx, project = @project, projectidx = @projectidx, asset = @asset, edate = @edate,  |                pumqty = @pumqty, pumprice = @pumprice, pumamt = @pumamt, supply = @supply, supplyidx = @supplyidx, project = @project, projectidx = @projectidx, asset = @asset, edate = @edate,  | ||||||
|                indate = @indate, po = @po, dept = @dept, wuid = @wuid, wdate = @wdate, import = @import, pumidx = @pumidx, isdel = @isdel, bigo = @bigo, manuproc = @manuproc |                indate = @indate, po = @po, dept = @dept, wuid = @wuid, wdate = @wdate, import = @import, pumidx = @pumidx, isdel = @isdel, bigo = @bigo, manuproc = @manuproc,  | ||||||
|  |                orderno = @orderno | ||||||
| WHERE  (idx = @Original_idx) AND (@IsNull_pdate = 1 AND pdate IS NULL OR | WHERE  (idx = @Original_idx) AND (@IsNull_pdate = 1 AND pdate IS NULL OR | ||||||
|                pdate = @Original_pdate) AND (@IsNull_state = 1 AND state IS NULL OR |                pdate = @Original_pdate) AND (@IsNull_state = 1 AND state IS NULL OR | ||||||
|                state = @Original_state) AND (@IsNull_process = 1 AND process IS NULL OR |                state = @Original_state) AND (@IsNull_process = 1 AND process IS NULL OR | ||||||
| @@ -132,6 +134,7 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, | |||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="isdel" ColumnName="isdel" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isdel" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="isdel" ColumnName="isdel" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isdel" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="bigo" ColumnName="bigo" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="nvarchar(500)" DbType="String" Direction="Input" ParameterName="@bigo" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumn="bigo" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="bigo" ColumnName="bigo" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="nvarchar(500)" DbType="String" Direction="Input" ParameterName="@bigo" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumn="bigo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="manuproc" ColumnName="manuproc" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@manuproc" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="manuproc" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="manuproc" ColumnName="manuproc" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@manuproc" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="manuproc" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|  |                       <Parameter AllowDbNull="true" AutogeneratedName="orderno" ColumnName="orderno" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_pdate" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="IsNull_pdate" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="Original_pdate" ColumnName="pdate" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="Original_pdate" ColumnName="pdate" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||||
| @@ -220,6 +223,7 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, | |||||||
|               <Mapping SourceColumn="isdel" DataSetColumn="isdel" /> |               <Mapping SourceColumn="isdel" DataSetColumn="isdel" /> | ||||||
|               <Mapping SourceColumn="bigo" DataSetColumn="bigo" /> |               <Mapping SourceColumn="bigo" DataSetColumn="bigo" /> | ||||||
|               <Mapping SourceColumn="manuproc" DataSetColumn="manuproc" /> |               <Mapping SourceColumn="manuproc" DataSetColumn="manuproc" /> | ||||||
|  |               <Mapping SourceColumn="orderno" DataSetColumn="orderno" /> | ||||||
|             </Mappings> |             </Mappings> | ||||||
|             <Sources> |             <Sources> | ||||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteImport" Modifier="Public" Name="DeleteImport" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteImport"> |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteImport" Modifier="Public" Name="DeleteImport" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteImport"> | ||||||
| @@ -243,7 +247,7 @@ WHERE  (import = 1) AND (pdate BETWEEN @sd AND @ed)</CommandText> | |||||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Purchase" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillDate" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDate" GeneratorSourceName="FillDate" GetMethodModifier="Public" GetMethodName="GetDate" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDate" UserSourceName="FillDate"> |               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Purchase" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillDate" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDate" GeneratorSourceName="FillDate" GetMethodModifier="Public" GetMethodName="GetDate" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDate" UserSourceName="FillDate"> | ||||||
|                 <SelectCommand> |                 <SelectCommand> | ||||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> |                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||||
|                     <CommandText>SELECT asset, bigo, dept, edate, idx, import, indate, isdel, manuproc, pdate, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumqty, pumscale, pumunit, receive, request, sc, sid, state, supply, supplyidx, wdate, wuid FROM Purchase WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) ORDER BY pdate DESC, idx DESC</CommandText> |                     <CommandText>SELECT asset, bigo, dept, edate, idx, import, indate, isdel, manuproc, orderno, pdate, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumqty, pumscale, pumunit, receive, request, sc, sid, state, supply, supplyidx, wdate, wuid FROM Purchase WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) ORDER BY pdate DESC, idx DESC</CommandText> | ||||||
|                     <Parameters> |                     <Parameters> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> |                       <Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||||
| @@ -414,6 +418,13 @@ WHERE  (import = 1) AND (pdate BETWEEN @sd AND @ed)</CommandText> | |||||||
|                   </xs:restriction> |                   </xs:restriction> | ||||||
|                 </xs:simpleType> |                 </xs:simpleType> | ||||||
|               </xs:element> |               </xs:element> | ||||||
|  |               <xs:element name="orderno" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="orderno" msprop:Generator_ColumnVarNameInTable="columnorderno" msprop:Generator_ColumnPropNameInTable="ordernoColumn" msprop:Generator_UserColumnName="orderno" minOccurs="0"> | ||||||
|  |                 <xs:simpleType> | ||||||
|  |                   <xs:restriction base="xs:string"> | ||||||
|  |                     <xs:maxLength value="50" /> | ||||||
|  |                   </xs:restriction> | ||||||
|  |                 </xs:simpleType> | ||||||
|  |               </xs:element> | ||||||
|             </xs:sequence> |             </xs:sequence> | ||||||
|           </xs:complexType> |           </xs:complexType> | ||||||
|         </xs:element> |         </xs:element> | ||||||
|   | |||||||
| @@ -146,6 +146,12 @@ | |||||||
|     <Compile Include="fProjectSchedule.Designer.cs"> |     <Compile Include="fProjectSchedule.Designer.cs"> | ||||||
|       <DependentUpon>fProjectSchedule.cs</DependentUpon> |       <DependentUpon>fProjectSchedule.cs</DependentUpon> | ||||||
|     </Compile> |     </Compile> | ||||||
|  |     <Compile Include="ImportC.cs"> | ||||||
|  |       <SubType>Form</SubType> | ||||||
|  |     </Compile> | ||||||
|  |     <Compile Include="ImportC.Designer.cs"> | ||||||
|  |       <DependentUpon>ImportC.cs</DependentUpon> | ||||||
|  |     </Compile> | ||||||
|     <Compile Include="Import.cs"> |     <Compile Include="Import.cs"> | ||||||
|       <SubType>Form</SubType> |       <SubType>Form</SubType> | ||||||
|     </Compile> |     </Compile> | ||||||
| @@ -204,6 +210,9 @@ | |||||||
|     <EmbeddedResource Include="fProjectSchedule.resx"> |     <EmbeddedResource Include="fProjectSchedule.resx"> | ||||||
|       <DependentUpon>fProjectSchedule.cs</DependentUpon> |       <DependentUpon>fProjectSchedule.cs</DependentUpon> | ||||||
|     </EmbeddedResource> |     </EmbeddedResource> | ||||||
|  |     <EmbeddedResource Include="ImportC.resx"> | ||||||
|  |       <DependentUpon>ImportC.cs</DependentUpon> | ||||||
|  |     </EmbeddedResource> | ||||||
|     <EmbeddedResource Include="Import.resx"> |     <EmbeddedResource Include="Import.resx"> | ||||||
|       <DependentUpon>Import.cs</DependentUpon> |       <DependentUpon>Import.cs</DependentUpon> | ||||||
|     </EmbeddedResource> |     </EmbeddedResource> | ||||||
|   | |||||||
| @@ -117,7 +117,16 @@ namespace FPJ0000 | |||||||
|                         } |                         } | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|  |                 if(cols.IndexOf(strVallue) >= 0) | ||||||
|  |                 { | ||||||
|  |                     FCOMMON.Util.MsgE("동일 컬럼이 발견 됨 진행 불가 : " + strVallue); | ||||||
|  |                     return; | ||||||
|  |                 } | ||||||
|  |                 else | ||||||
|  |                 { | ||||||
|                     cols.Add(strVallue); |                     cols.Add(strVallue); | ||||||
|  |                 } | ||||||
|  |                  | ||||||
|                 this.dtExcel.Columns.Add(strVallue); |                 this.dtExcel.Columns.Add(strVallue); | ||||||
|             } |             } | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										534
									
								
								SubProject/FPJ0000/ImportC.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										534
									
								
								SubProject/FPJ0000/ImportC.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,534 @@ | |||||||
|  | namespace FPJ0000 | ||||||
|  | { | ||||||
|  |     partial class ImportC | ||||||
|  |     { | ||||||
|  |         /// <summary> | ||||||
|  |         /// Required designer variable. | ||||||
|  |         /// </summary> | ||||||
|  |         private System.ComponentModel.IContainer components = null; | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// Clean up any resources being used. | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||||
|  |         protected override void Dispose(bool disposing) | ||||||
|  |         { | ||||||
|  |             if (disposing && (components != null)) | ||||||
|  |             { | ||||||
|  |                 components.Dispose(); | ||||||
|  |             } | ||||||
|  |             base.Dispose(disposing); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         #region Windows Form Designer generated code | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// Required method for Designer support - do not modify | ||||||
|  |         /// the contents of this method with the code editor. | ||||||
|  |         /// </summary> | ||||||
|  |         private void InitializeComponent() | ||||||
|  |         { | ||||||
|  |             this.components = new System.ComponentModel.Container(); | ||||||
|  |             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ImportC)); | ||||||
|  |             this.textBox1 = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.linkLabel1 = new System.Windows.Forms.LinkLabel(); | ||||||
|  |             this.button1 = new System.Windows.Forms.Button(); | ||||||
|  |             this.dataGridView1 = new System.Windows.Forms.DataGridView(); | ||||||
|  |             this.button3 = new System.Windows.Forms.Button(); | ||||||
|  |             this.panel1 = new System.Windows.Forms.Panel(); | ||||||
|  |             this.nudSheet = new System.Windows.Forms.NumericUpDown(); | ||||||
|  |             this.label1 = new System.Windows.Forms.Label(); | ||||||
|  |             this.checkBox1 = new System.Windows.Forms.CheckBox(); | ||||||
|  |             this.numericUpDown2 = new System.Windows.Forms.NumericUpDown(); | ||||||
|  |             this.label6 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label4 = new System.Windows.Forms.Label(); | ||||||
|  |             this.nudCE = new System.Windows.Forms.NumericUpDown(); | ||||||
|  |             this.nudCS = new System.Windows.Forms.NumericUpDown(); | ||||||
|  |             this.label5 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label3 = new System.Windows.Forms.Label(); | ||||||
|  |             this.nudE = new System.Windows.Forms.NumericUpDown(); | ||||||
|  |             this.nudS = new System.Windows.Forms.NumericUpDown(); | ||||||
|  |             this.label2 = new System.Windows.Forms.Label(); | ||||||
|  |             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||||
|  |             this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|  |             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||||
|  |             this.dsPRJ = new FPJ0000.dsPRJ(); | ||||||
|  |             this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); | ||||||
|  |             this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|  |             this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|  |             this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|  |             this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|  |             this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); | ||||||
|  |             this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|  |             this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|  |             this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); | ||||||
|  |             this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|  |             this.progressBar1 = new System.Windows.Forms.ToolStripProgressBar(); | ||||||
|  |             this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); | ||||||
|  |             this.panel1.SuspendLayout(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudSheet)).BeginInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudCE)).BeginInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudCS)).BeginInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudE)).BeginInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudS)).BeginInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||||
|  |             this.bn.SuspendLayout(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit(); | ||||||
|  |             this.SuspendLayout(); | ||||||
|  |             //  | ||||||
|  |             // textBox1 | ||||||
|  |             //  | ||||||
|  |             this.textBox1.Location = new System.Drawing.Point(42, 9); | ||||||
|  |             this.textBox1.Name = "textBox1"; | ||||||
|  |             this.textBox1.Size = new System.Drawing.Size(287, 21); | ||||||
|  |             this.textBox1.TabIndex = 1; | ||||||
|  |             this.textBox1.Text = "c:\\temp\\projectlist.xlsx"; | ||||||
|  |             //  | ||||||
|  |             // linkLabel1 | ||||||
|  |             //  | ||||||
|  |             this.linkLabel1.AutoSize = true; | ||||||
|  |             this.linkLabel1.Location = new System.Drawing.Point(12, 13); | ||||||
|  |             this.linkLabel1.Name = "linkLabel1"; | ||||||
|  |             this.linkLabel1.Size = new System.Drawing.Size(25, 12); | ||||||
|  |             this.linkLabel1.TabIndex = 0; | ||||||
|  |             this.linkLabel1.TabStop = true; | ||||||
|  |             this.linkLabel1.Text = "File"; | ||||||
|  |             this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); | ||||||
|  |             //  | ||||||
|  |             // button1 | ||||||
|  |             //  | ||||||
|  |             this.button1.Location = new System.Drawing.Point(525, 8); | ||||||
|  |             this.button1.Name = "button1"; | ||||||
|  |             this.button1.Size = new System.Drawing.Size(102, 21); | ||||||
|  |             this.button1.TabIndex = 4; | ||||||
|  |             this.button1.Text = "1.View"; | ||||||
|  |             this.button1.UseVisualStyleBackColor = true; | ||||||
|  |             this.button1.Click += new System.EventHandler(this.button1_Click); | ||||||
|  |             //  | ||||||
|  |             // dataGridView1 | ||||||
|  |             //  | ||||||
|  |             this.dataGridView1.AllowUserToAddRows = false; | ||||||
|  |             this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | ||||||
|  |             this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|  |             this.dataGridView1.Location = new System.Drawing.Point(0, 97); | ||||||
|  |             this.dataGridView1.Name = "dataGridView1"; | ||||||
|  |             this.dataGridView1.RowTemplate.Height = 23; | ||||||
|  |             this.dataGridView1.Size = new System.Drawing.Size(906, 535); | ||||||
|  |             this.dataGridView1.TabIndex = 1; | ||||||
|  |             //  | ||||||
|  |             // button3 | ||||||
|  |             //  | ||||||
|  |             this.button3.Location = new System.Drawing.Point(525, 35); | ||||||
|  |             this.button3.Name = "button3"; | ||||||
|  |             this.button3.Size = new System.Drawing.Size(102, 21); | ||||||
|  |             this.button3.TabIndex = 6; | ||||||
|  |             this.button3.Text = "2.Save"; | ||||||
|  |             this.button3.UseVisualStyleBackColor = true; | ||||||
|  |             this.button3.Click += new System.EventHandler(this.button3_Click); | ||||||
|  |             //  | ||||||
|  |             // panel1 | ||||||
|  |             //  | ||||||
|  |             this.panel1.Controls.Add(this.nudSheet); | ||||||
|  |             this.panel1.Controls.Add(this.label1); | ||||||
|  |             this.panel1.Controls.Add(this.checkBox1); | ||||||
|  |             this.panel1.Controls.Add(this.numericUpDown2); | ||||||
|  |             this.panel1.Controls.Add(this.label6); | ||||||
|  |             this.panel1.Controls.Add(this.label4); | ||||||
|  |             this.panel1.Controls.Add(this.nudCE); | ||||||
|  |             this.panel1.Controls.Add(this.nudCS); | ||||||
|  |             this.panel1.Controls.Add(this.label5); | ||||||
|  |             this.panel1.Controls.Add(this.label3); | ||||||
|  |             this.panel1.Controls.Add(this.nudE); | ||||||
|  |             this.panel1.Controls.Add(this.nudS); | ||||||
|  |             this.panel1.Controls.Add(this.label2); | ||||||
|  |             this.panel1.Controls.Add(this.button3); | ||||||
|  |             this.panel1.Controls.Add(this.textBox1); | ||||||
|  |             this.panel1.Controls.Add(this.linkLabel1); | ||||||
|  |             this.panel1.Controls.Add(this.button1); | ||||||
|  |             this.panel1.Dock = System.Windows.Forms.DockStyle.Top; | ||||||
|  |             this.panel1.Location = new System.Drawing.Point(0, 0); | ||||||
|  |             this.panel1.Name = "panel1"; | ||||||
|  |             this.panel1.Size = new System.Drawing.Size(906, 97); | ||||||
|  |             this.panel1.TabIndex = 0; | ||||||
|  |             this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); | ||||||
|  |             //  | ||||||
|  |             // nudSheet | ||||||
|  |             //  | ||||||
|  |             this.nudSheet.Location = new System.Drawing.Point(88, 37); | ||||||
|  |             this.nudSheet.Maximum = new decimal(new int[] { | ||||||
|  |             65535, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             this.nudSheet.Name = "nudSheet"; | ||||||
|  |             this.nudSheet.Size = new System.Drawing.Size(45, 21); | ||||||
|  |             this.nudSheet.TabIndex = 21; | ||||||
|  |             this.nudSheet.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|  |             this.nudSheet.Value = new decimal(new int[] { | ||||||
|  |             1, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             //  | ||||||
|  |             // label1 | ||||||
|  |             //  | ||||||
|  |             this.label1.AutoSize = true; | ||||||
|  |             this.label1.Location = new System.Drawing.Point(46, 42); | ||||||
|  |             this.label1.Name = "label1"; | ||||||
|  |             this.label1.Size = new System.Drawing.Size(36, 12); | ||||||
|  |             this.label1.TabIndex = 20; | ||||||
|  |             this.label1.Text = "sheet"; | ||||||
|  |             //  | ||||||
|  |             // checkBox1 | ||||||
|  |             //  | ||||||
|  |             this.checkBox1.AutoSize = true; | ||||||
|  |             this.checkBox1.Location = new System.Drawing.Point(474, 66); | ||||||
|  |             this.checkBox1.Name = "checkBox1"; | ||||||
|  |             this.checkBox1.Size = new System.Drawing.Size(127, 16); | ||||||
|  |             this.checkBox1.TabIndex = 19; | ||||||
|  |             this.checkBox1.Text = "Auto Delete Import"; | ||||||
|  |             this.checkBox1.UseVisualStyleBackColor = true; | ||||||
|  |             //  | ||||||
|  |             // numericUpDown2 | ||||||
|  |             //  | ||||||
|  |             this.numericUpDown2.Location = new System.Drawing.Point(406, 63); | ||||||
|  |             this.numericUpDown2.Maximum = new decimal(new int[] { | ||||||
|  |             65535, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             this.numericUpDown2.Name = "numericUpDown2"; | ||||||
|  |             this.numericUpDown2.Size = new System.Drawing.Size(45, 21); | ||||||
|  |             this.numericUpDown2.TabIndex = 18; | ||||||
|  |             this.numericUpDown2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|  |             this.numericUpDown2.Value = new decimal(new int[] { | ||||||
|  |             1, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             //  | ||||||
|  |             // label6 | ||||||
|  |             //  | ||||||
|  |             this.label6.AutoSize = true; | ||||||
|  |             this.label6.Location = new System.Drawing.Point(312, 67); | ||||||
|  |             this.label6.Name = "label6"; | ||||||
|  |             this.label6.Size = new System.Drawing.Size(87, 12); | ||||||
|  |             this.label6.TabIndex = 17; | ||||||
|  |             this.label6.Text = "Column Name"; | ||||||
|  |             //  | ||||||
|  |             // label4 | ||||||
|  |             //  | ||||||
|  |             this.label4.AutoSize = true; | ||||||
|  |             this.label4.Location = new System.Drawing.Point(455, 14); | ||||||
|  |             this.label4.Name = "label4"; | ||||||
|  |             this.label4.Size = new System.Drawing.Size(14, 12); | ||||||
|  |             this.label4.TabIndex = 14; | ||||||
|  |             this.label4.Text = "~"; | ||||||
|  |             //  | ||||||
|  |             // nudCE | ||||||
|  |             //  | ||||||
|  |             this.nudCE.Location = new System.Drawing.Point(474, 10); | ||||||
|  |             this.nudCE.Maximum = new decimal(new int[] { | ||||||
|  |             65535, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             this.nudCE.Name = "nudCE"; | ||||||
|  |             this.nudCE.Size = new System.Drawing.Size(45, 21); | ||||||
|  |             this.nudCE.TabIndex = 13; | ||||||
|  |             this.nudCE.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|  |             this.nudCE.Value = new decimal(new int[] { | ||||||
|  |             40, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             //  | ||||||
|  |             // nudCS | ||||||
|  |             //  | ||||||
|  |             this.nudCS.Location = new System.Drawing.Point(406, 10); | ||||||
|  |             this.nudCS.Maximum = new decimal(new int[] { | ||||||
|  |             65535, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             this.nudCS.Name = "nudCS"; | ||||||
|  |             this.nudCS.Size = new System.Drawing.Size(45, 21); | ||||||
|  |             this.nudCS.TabIndex = 12; | ||||||
|  |             this.nudCS.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|  |             this.nudCS.Value = new decimal(new int[] { | ||||||
|  |             2, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             //  | ||||||
|  |             // label5 | ||||||
|  |             //  | ||||||
|  |             this.label5.AutoSize = true; | ||||||
|  |             this.label5.Location = new System.Drawing.Point(335, 14); | ||||||
|  |             this.label5.Name = "label5"; | ||||||
|  |             this.label5.Size = new System.Drawing.Size(64, 12); | ||||||
|  |             this.label5.TabIndex = 11; | ||||||
|  |             this.label5.Text = "Col Range"; | ||||||
|  |             //  | ||||||
|  |             // label3 | ||||||
|  |             //  | ||||||
|  |             this.label3.AutoSize = true; | ||||||
|  |             this.label3.Location = new System.Drawing.Point(455, 40); | ||||||
|  |             this.label3.Name = "label3"; | ||||||
|  |             this.label3.Size = new System.Drawing.Size(14, 12); | ||||||
|  |             this.label3.TabIndex = 10; | ||||||
|  |             this.label3.Text = "~"; | ||||||
|  |             //  | ||||||
|  |             // nudE | ||||||
|  |             //  | ||||||
|  |             this.nudE.Location = new System.Drawing.Point(474, 36); | ||||||
|  |             this.nudE.Maximum = new decimal(new int[] { | ||||||
|  |             65535, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             this.nudE.Name = "nudE"; | ||||||
|  |             this.nudE.Size = new System.Drawing.Size(45, 21); | ||||||
|  |             this.nudE.TabIndex = 9; | ||||||
|  |             this.nudE.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|  |             this.nudE.Value = new decimal(new int[] { | ||||||
|  |             200, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             //  | ||||||
|  |             // nudS | ||||||
|  |             //  | ||||||
|  |             this.nudS.Location = new System.Drawing.Point(406, 36); | ||||||
|  |             this.nudS.Maximum = new decimal(new int[] { | ||||||
|  |             65535, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             this.nudS.Name = "nudS"; | ||||||
|  |             this.nudS.Size = new System.Drawing.Size(45, 21); | ||||||
|  |             this.nudS.TabIndex = 8; | ||||||
|  |             this.nudS.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|  |             this.nudS.Value = new decimal(new int[] { | ||||||
|  |             2, | ||||||
|  |             0, | ||||||
|  |             0, | ||||||
|  |             0}); | ||||||
|  |             //  | ||||||
|  |             // label2 | ||||||
|  |             //  | ||||||
|  |             this.label2.AutoSize = true; | ||||||
|  |             this.label2.Location = new System.Drawing.Point(329, 40); | ||||||
|  |             this.label2.Name = "label2"; | ||||||
|  |             this.label2.Size = new System.Drawing.Size(70, 12); | ||||||
|  |             this.label2.TabIndex = 7; | ||||||
|  |             this.label2.Text = "Row Range"; | ||||||
|  |             //  | ||||||
|  |             // bn | ||||||
|  |             //  | ||||||
|  |             this.bn.AddNewItem = this.bindingNavigatorAddNewItem; | ||||||
|  |             this.bn.BindingSource = this.bs; | ||||||
|  |             this.bn.CountItem = this.bindingNavigatorCountItem; | ||||||
|  |             this.bn.DeleteItem = this.bindingNavigatorDeleteItem; | ||||||
|  |             this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||||
|  |             this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||||
|  |             this.bindingNavigatorMoveFirstItem, | ||||||
|  |             this.bindingNavigatorMovePreviousItem, | ||||||
|  |             this.bindingNavigatorSeparator, | ||||||
|  |             this.bindingNavigatorPositionItem, | ||||||
|  |             this.bindingNavigatorCountItem, | ||||||
|  |             this.bindingNavigatorSeparator1, | ||||||
|  |             this.bindingNavigatorMoveNextItem, | ||||||
|  |             this.bindingNavigatorMoveLastItem, | ||||||
|  |             this.bindingNavigatorSeparator2, | ||||||
|  |             this.bindingNavigatorAddNewItem, | ||||||
|  |             this.bindingNavigatorDeleteItem, | ||||||
|  |             this.progressBar1}); | ||||||
|  |             this.bn.Location = new System.Drawing.Point(0, 632); | ||||||
|  |             this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; | ||||||
|  |             this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; | ||||||
|  |             this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; | ||||||
|  |             this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; | ||||||
|  |             this.bn.Name = "bn"; | ||||||
|  |             this.bn.PositionItem = this.bindingNavigatorPositionItem; | ||||||
|  |             this.bn.Size = new System.Drawing.Size(906, 25); | ||||||
|  |             this.bn.TabIndex = 2; | ||||||
|  |             this.bn.Text = "bindingNavigator1"; | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorAddNewItem | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||||
|  |             this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image"))); | ||||||
|  |             this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem"; | ||||||
|  |             this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true; | ||||||
|  |             this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22); | ||||||
|  |             this.bindingNavigatorAddNewItem.Text = "새로 추가"; | ||||||
|  |             //  | ||||||
|  |             // bs | ||||||
|  |             //  | ||||||
|  |             this.bs.DataMember = "Projects"; | ||||||
|  |             this.bs.DataSource = this.dsPRJ; | ||||||
|  |             //  | ||||||
|  |             // dsPRJ | ||||||
|  |             //  | ||||||
|  |             this.dsPRJ.DataSetName = "dsPRJ"; | ||||||
|  |             this.dsPRJ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorCountItem | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; | ||||||
|  |             this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); | ||||||
|  |             this.bindingNavigatorCountItem.Text = "/{0}"; | ||||||
|  |             this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorDeleteItem | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||||
|  |             this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image"))); | ||||||
|  |             this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem"; | ||||||
|  |             this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true; | ||||||
|  |             this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22); | ||||||
|  |             this.bindingNavigatorDeleteItem.Text = "삭제"; | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorMoveFirstItem | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||||
|  |             this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); | ||||||
|  |             this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; | ||||||
|  |             this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; | ||||||
|  |             this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22); | ||||||
|  |             this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorMovePreviousItem | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||||
|  |             this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); | ||||||
|  |             this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; | ||||||
|  |             this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; | ||||||
|  |             this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22); | ||||||
|  |             this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorSeparator | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; | ||||||
|  |             this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorPositionItem | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorPositionItem.AccessibleName = "위치"; | ||||||
|  |             this.bindingNavigatorPositionItem.AutoSize = false; | ||||||
|  |             this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; | ||||||
|  |             this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); | ||||||
|  |             this.bindingNavigatorPositionItem.Text = "0"; | ||||||
|  |             this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorSeparator1 | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; | ||||||
|  |             this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorMoveNextItem | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||||
|  |             this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); | ||||||
|  |             this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; | ||||||
|  |             this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; | ||||||
|  |             this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22); | ||||||
|  |             this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorMoveLastItem | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||||
|  |             this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); | ||||||
|  |             this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; | ||||||
|  |             this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; | ||||||
|  |             this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22); | ||||||
|  |             this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; | ||||||
|  |             //  | ||||||
|  |             // bindingNavigatorSeparator2 | ||||||
|  |             //  | ||||||
|  |             this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; | ||||||
|  |             this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); | ||||||
|  |             //  | ||||||
|  |             // progressBar1 | ||||||
|  |             //  | ||||||
|  |             this.progressBar1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; | ||||||
|  |             this.progressBar1.Name = "progressBar1"; | ||||||
|  |             this.progressBar1.Size = new System.Drawing.Size(200, 22); | ||||||
|  |             //  | ||||||
|  |             // ta | ||||||
|  |             //  | ||||||
|  |             this.ta.ClearBeforeFill = true; | ||||||
|  |             //  | ||||||
|  |             // ImportC | ||||||
|  |             //  | ||||||
|  |             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||||
|  |             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||||
|  |             this.ClientSize = new System.Drawing.Size(906, 657); | ||||||
|  |             this.Controls.Add(this.dataGridView1); | ||||||
|  |             this.Controls.Add(this.bn); | ||||||
|  |             this.Controls.Add(this.panel1); | ||||||
|  |             this.Name = "ImportC"; | ||||||
|  |             this.Text = "완료아이템 가져오기"; | ||||||
|  |             this.Load += new System.EventHandler(this.@__Load); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); | ||||||
|  |             this.panel1.ResumeLayout(false); | ||||||
|  |             this.panel1.PerformLayout(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudSheet)).EndInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudCE)).EndInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudCS)).EndInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudE)).EndInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.nudS)).EndInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); | ||||||
|  |             this.bn.ResumeLayout(false); | ||||||
|  |             this.bn.PerformLayout(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit(); | ||||||
|  |             this.ResumeLayout(false); | ||||||
|  |             this.PerformLayout(); | ||||||
|  |  | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         #endregion | ||||||
|  |  | ||||||
|  |         private System.Windows.Forms.TextBox textBox1; | ||||||
|  |         private System.Windows.Forms.LinkLabel linkLabel1; | ||||||
|  |         private System.Windows.Forms.Button button1; | ||||||
|  |         private System.Windows.Forms.DataGridView dataGridView1; | ||||||
|  |         private System.Windows.Forms.Button button3; | ||||||
|  |         private System.Windows.Forms.Panel panel1; | ||||||
|  |         private System.Windows.Forms.BindingNavigator bn; | ||||||
|  |         private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; | ||||||
|  |         private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; | ||||||
|  |         private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; | ||||||
|  |         private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; | ||||||
|  |         private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; | ||||||
|  |         private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; | ||||||
|  |         private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; | ||||||
|  |         private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; | ||||||
|  |         private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; | ||||||
|  |         private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; | ||||||
|  |         private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; | ||||||
|  |         private System.Windows.Forms.ToolStripProgressBar progressBar1; | ||||||
|  |         private System.Windows.Forms.BindingSource bs; | ||||||
|  |         private System.Windows.Forms.Label label2; | ||||||
|  |         private System.Windows.Forms.Label label3; | ||||||
|  |         private System.Windows.Forms.NumericUpDown nudE; | ||||||
|  |         private System.Windows.Forms.NumericUpDown nudS; | ||||||
|  |         private System.Windows.Forms.Label label4; | ||||||
|  |         private System.Windows.Forms.NumericUpDown nudCE; | ||||||
|  |         private System.Windows.Forms.NumericUpDown nudCS; | ||||||
|  |         private System.Windows.Forms.Label label5; | ||||||
|  |         private System.Windows.Forms.NumericUpDown numericUpDown2; | ||||||
|  |         private System.Windows.Forms.Label label6; | ||||||
|  |         private System.Windows.Forms.CheckBox checkBox1; | ||||||
|  |         private dsPRJ dsPRJ; | ||||||
|  |         private dsPRJTableAdapters.ProjectsTableAdapter ta; | ||||||
|  |         private System.Windows.Forms.NumericUpDown nudSheet; | ||||||
|  |         private System.Windows.Forms.Label label1; | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										306
									
								
								SubProject/FPJ0000/ImportC.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										306
									
								
								SubProject/FPJ0000/ImportC.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,306 @@ | |||||||
|  | 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 ImportC : Form | ||||||
|  |     { | ||||||
|  |         DataTable dt = new dsPRJ.ProjectsDataTable(); | ||||||
|  |         DataTable dtExcel = new DataTable(); | ||||||
|  |         public ImportC() | ||||||
|  |         { | ||||||
|  |             InitializeComponent(); | ||||||
|  |             this.FormClosed += __Closed; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void __Load(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |            | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         void __Closed(object sender, FormClosedEventArgs e) | ||||||
|  |         { | ||||||
|  |            | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) | ||||||
|  |         { | ||||||
|  |             OpenFileDialog od = new OpenFileDialog(); | ||||||
|  |             od.Filter = "excel|*.xlsx|all files|*.*"; | ||||||
|  |             od.InitialDirectory = FCOMMON.Util.CurrentPath + "model"; | ||||||
|  |             od.FilterIndex = 1; | ||||||
|  |             od.RestoreDirectory = true; | ||||||
|  |             if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return; | ||||||
|  |             textBox1.Text = od.FileName; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void button1_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |               int ColumnNameNo = (int)numericUpDown2.Value; | ||||||
|  |             if(textBox1.Text == "") | ||||||
|  |             { | ||||||
|  |                 FCOMMON.Util.MsgE("파일을 선택하세요"); | ||||||
|  |                 textBox1.Focus(); | ||||||
|  |                 return; | ||||||
|  |             } | ||||||
|  |             if(!System.IO.File.Exists(textBox1.Text)) | ||||||
|  |             { | ||||||
|  |                 FCOMMON.Util.MsgE("입력하신 파일이 존재하지 않습니다."); | ||||||
|  |                 textBox1.Focus(); | ||||||
|  |                 textBox1.SelectAll(); | ||||||
|  |                 return; | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |             dtExcel.Columns.Clear(); | ||||||
|  |             dtExcel.Rows.Clear(); | ||||||
|  |             dtExcel.AcceptChanges(); | ||||||
|  |              | ||||||
|  |             libxl.Book book;// = new libxl.BinBook(); | ||||||
|  |             book = new libxl.XmlBook(); | ||||||
|  |             book.setKey(FCOMMON.info.libxlCompany, FCOMMON.info.libxlKey); | ||||||
|  |             try | ||||||
|  |             { | ||||||
|  |                 book.load(textBox1.Text); | ||||||
|  |             }catch (Exception ex) | ||||||
|  |             { | ||||||
|  |                 FCOMMON.Util.MsgE(ex.Message); | ||||||
|  |                 return; | ||||||
|  |             } | ||||||
|  |            | ||||||
|  |             var sheet = book.getSheet((int)nudSheet.Value-1); | ||||||
|  |             var MaxRow = sheet.lastRow();             | ||||||
|  |             var MinRow = sheet.firstRow(); | ||||||
|  |  | ||||||
|  |             MaxRow = (int)Math.Min(MaxRow, nudE.Value-1); | ||||||
|  |             MinRow = (int)Math.Max(MinRow, nudS.Value-1); | ||||||
|  |             if(MinRow <= (ColumnNameNo-1)) | ||||||
|  |             { | ||||||
|  |                 FCOMMON.Util.MsgI("시작줄을 제목줄 보다 커야 합니다. 자동으로 +1 증가합니다."); | ||||||
|  |                 MinRow = ColumnNameNo ; | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |  | ||||||
|  |             var MaxCol = sheet.lastCol(); | ||||||
|  |             var MinCol = sheet.firstCol(); | ||||||
|  |  | ||||||
|  |             MaxCol = (int)Math.Min(MaxCol, nudCE.Value - 1); | ||||||
|  |             MinCol = (int)Math.Max(MinCol, nudCS.Value - 1); | ||||||
|  |  | ||||||
|  |             //제목줄을 처리한다.  181029 | ||||||
|  |             List<string> cols = new List<string>(); | ||||||
|  |  | ||||||
|  |             for (int c = MinCol; c <= MaxCol; c++) | ||||||
|  |             { | ||||||
|  |                 var strVallue = sheet.readStr(ColumnNameNo-1, c); | ||||||
|  |                 if (strVallue == "" ) | ||||||
|  |                 { | ||||||
|  |                     if (c == MinCol) | ||||||
|  |                     { | ||||||
|  |                         //첫줄 첫행이 빈값이면 처리하지 않는다. | ||||||
|  |                         FCOMMON.Util.MsgE("열 제목에 빈값이 있어 처리되지 못합니다."); | ||||||
|  |                         return; | ||||||
|  |                     } | ||||||
|  |                     else | ||||||
|  |                     { | ||||||
|  |                         //빈값이 나왓으므로 열 최대값을 변경해준다. | ||||||
|  |                         if(c < MaxCol) | ||||||
|  |                         { | ||||||
|  |                             FCOMMON.Util.MsgI("빈값으로 인해 최대 열 번호를 " + c.ToString() + "로 변경합니다"); | ||||||
|  |                             MaxCol = c; | ||||||
|  |                             break; | ||||||
|  |                         } | ||||||
|  |                     } | ||||||
|  |                 } | ||||||
|  |                 if(cols.IndexOf(strVallue) >= 0) | ||||||
|  |                 { | ||||||
|  |                     FCOMMON.Util.MsgE("동일 컬럼이 발견 됨 진행 불가 : " + strVallue); | ||||||
|  |                     return; | ||||||
|  |                 } | ||||||
|  |                 else | ||||||
|  |                 { | ||||||
|  |                     cols.Add(strVallue); | ||||||
|  |                 } | ||||||
|  |                  | ||||||
|  |                 this.dtExcel.Columns.Add(strVallue); | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |  | ||||||
|  |             try{ | ||||||
|  |                 for (int r = MinRow; r <= MaxRow; r++) | ||||||
|  |                 { | ||||||
|  |                     DataRow dr =  dtExcel.NewRow(); | ||||||
|  |  | ||||||
|  |                     Boolean nullColumn = false; | ||||||
|  |                     for (int c = MinCol; c <= Math.Min(cols.Count,MaxCol); c++) | ||||||
|  |                     { | ||||||
|  |                         if (sheet.isDate(r, c)) | ||||||
|  |                         { | ||||||
|  |                             var datevalue = sheet.readNum(r, c); | ||||||
|  |                             int y, m, d; | ||||||
|  |                             y = m = d = 0; | ||||||
|  |                             book.dateUnpack(datevalue, ref y, ref m, ref d); | ||||||
|  |                             if (y >= 2000) | ||||||
|  |                                 dr[cols[c]] = string.Format("{0:0000}-{1:00}-{2:00}", y, m, d); | ||||||
|  |                             else | ||||||
|  |                                 dr[cols[c]] = string.Empty; | ||||||
|  |                              | ||||||
|  |                             //일자가 만약 넘어서면 패스한다. | ||||||
|  |                             if(cols[c]=="일자" ) | ||||||
|  |                             { | ||||||
|  |                                 string value = dr[cols[c]].ToString(); | ||||||
|  |                                 if(value == "") | ||||||
|  |                                 { | ||||||
|  |                                     nullColumn = true;  //날짜가 없다면 패스 | ||||||
|  |                                     break; | ||||||
|  |                                 }  | ||||||
|  |                             } | ||||||
|  |                         } | ||||||
|  |                         else | ||||||
|  |                         { | ||||||
|  |                             var dateStrin = sheet.readStr(r, c); | ||||||
|  |  | ||||||
|  |                             var strVallue = sheet.readStr(r, c); | ||||||
|  |                             if (strVallue=="" && c == MinCol) | ||||||
|  |                             { | ||||||
|  |                                 //첫줄 첫행이 빈값이면 처리하지 않는다. | ||||||
|  |                                 nullColumn = true; | ||||||
|  |                                 break; | ||||||
|  |                             } | ||||||
|  |                             if (cols[c-1] != "") | ||||||
|  |                                 dr[cols[c-1]] = strVallue; | ||||||
|  |                         } | ||||||
|  |                     } | ||||||
|  |                     if (nullColumn) continue; //줄처리를 못한 경우 넘어감 | ||||||
|  |                     if (dr != null) | ||||||
|  |                     { | ||||||
|  |                         dtExcel.Rows.Add(dr); | ||||||
|  |                     } | ||||||
|  |                 } | ||||||
|  |                 dtExcel.AcceptChanges(); | ||||||
|  |             } | ||||||
|  |            catch(Exception ex) | ||||||
|  |             { | ||||||
|  |                 FCOMMON.Util.MsgE("불러오는 중 오류 발생\n" + ex.Message); | ||||||
|  |             } | ||||||
|  |             // | ||||||
|  |             book = null; | ||||||
|  |  | ||||||
|  |             this.bs.DataSource = dtExcel; | ||||||
|  |             this.dataGridView1.DataSource = dtExcel; | ||||||
|  |             this.bn.BindingSource = this.bs; | ||||||
|  |  | ||||||
|  |             if(this.bs.Count < 1) | ||||||
|  |             { | ||||||
|  |                 FCOMMON.Util.MsgE("입력된 자료가 없습니다.\n\n지정된 엑셀의 1번째 칸에 값이 없다면 입력되지 않습니다."); | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |  | ||||||
|  |         private void button3_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             if(dtExcel == null || dtExcel.Rows.Count < 1) | ||||||
|  |             { | ||||||
|  |                 FCOMMON.Util.MsgE("등록 가능한 자료가 없습니다."); | ||||||
|  |                 return; | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |             System.Text.StringBuilder sb = new StringBuilder(); | ||||||
|  |             sb.AppendLine("다음 자료를 추가하시겠습니까?"); | ||||||
|  |             sb.AppendLine(); | ||||||
|  |             sb.AppendLine("'저장 완료' 메세지가 나올때 까지 기다려 주세요."); | ||||||
|  |             sb.AppendLine(); | ||||||
|  |             sb.AppendLine("실행 하려면 '예' 를 누르세요"); | ||||||
|  |             var dlg = FCOMMON.Util.MsgQ(sb.ToString()); | ||||||
|  |             if (dlg != System.Windows.Forms.DialogResult.Yes) return; | ||||||
|  |              | ||||||
|  |             dt.Clear(); | ||||||
|  |             dt.AcceptChanges(); | ||||||
|  |  | ||||||
|  |             this.progressBar1.Value = 0; | ||||||
|  |             this.progressBar1.Maximum = dtExcel.Rows.Count; | ||||||
|  |  | ||||||
|  |             //12,13 | ||||||
|  |             foreach (DataRow dr in dtExcel.Rows) | ||||||
|  |             { | ||||||
|  |                 this.progressBar1.Value += 1; | ||||||
|  |  | ||||||
|  |                 //데이터추가 | ||||||
|  |                 var newdr = dt.NewRow(); | ||||||
|  |                 if (dr[8] == DBNull.Value) continue;   //nullerror | ||||||
|  |  | ||||||
|  |                 newdr["level"] = 1; | ||||||
|  |                 newdr["status"] = "완료";// dr[0].ToString(); | ||||||
|  |                 newdr["part"] = dr[1].ToString(); | ||||||
|  |                 newdr["process"] = dr[2].ToString(); | ||||||
|  |                 newdr["reqstaff"] = dr[9].ToString(); | ||||||
|  |                 newdr["usermanager"] = dr[36].ToString(); //"정봉석";// dr[4].ToString(); | ||||||
|  |                 newdr["usermain"] = dr[36].ToString(); //"";// dr[5].ToString(); | ||||||
|  |                 newdr["usersub"] = "";// dr[6].ToString(); | ||||||
|  |                 newdr["memo"] = "";// dr[7].ToString();   //CR / Order / PO No. | ||||||
|  |                 newdr["asset"] = "";// dr[8].ToString(); | ||||||
|  |                 newdr["name"] = dr[7].ToString(); | ||||||
|  |  | ||||||
|  |                 if (newdr["name"].ToString() == "") continue;   //이름없는것은 처리 안함 | ||||||
|  |  | ||||||
|  |                 newdr["remark_req"] = "";// dr[10].ToString(); | ||||||
|  |                 newdr["remark_ans"] = "";// dr[11].ToString(); | ||||||
|  |                 //12=request date                 | ||||||
|  |                 newdr["sdate"] = "2018-12-31";// dr[13].ToString(); | ||||||
|  |                 newdr["ddate"] = "2018-12-31";//dr[14].ToString(); | ||||||
|  |                 newdr["edate"] = "2018-12-31";//dr[15].ToString(); | ||||||
|  |  | ||||||
|  |                 //float value_progress = 0; | ||||||
|  |                 //if (Single.TryParse(dr[12-1].ToString(), out value_progress)) | ||||||
|  |                 //    newdr["progress"] = value_progress; | ||||||
|  |                  | ||||||
|  |  | ||||||
|  |                 string 대수 =dr[35].ToString().Replace("대","").Replace("수",""); | ||||||
|  |                 if (대수 == "") 대수 = "0"; | ||||||
|  |  | ||||||
|  |                 newdr["cnt"] = int.Parse(대수); | ||||||
|  |  | ||||||
|  |                 string sCostO = dr[11].ToString(); | ||||||
|  |                 string sCostN = dr[13].ToString(); | ||||||
|  |                 if (sCostO == "") sCostO = "0"; | ||||||
|  |                 if (sCostN == "") sCostN = "0"; | ||||||
|  |  | ||||||
|  |                 float value_costo = 0; | ||||||
|  |                 float value_costn = 0; | ||||||
|  |                 if(float.TryParse(sCostO,out value_costo)) | ||||||
|  |                     newdr["costo"] = value_costo; | ||||||
|  |                 if(float.TryParse(sCostO,out value_costn)) | ||||||
|  |                     newdr["costn"] = value_costn; | ||||||
|  |                  | ||||||
|  |                 newdr["import"] = true; | ||||||
|  |                 newdr["wuid"] = "JBS";// FCOMMON.info.Login.no; | ||||||
|  |                 newdr["wdate"] = DateTime.Now;   | ||||||
|  |  | ||||||
|  |                dt.Rows.Add(newdr); | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |             var taE = new dsPRJTableAdapters.ProjectsTableAdapter(); | ||||||
|  |             if(checkBox1.Checked) taE.DeleteImport(); | ||||||
|  |             taE.Update((dsPRJ.ProjectsDataTable)dt); | ||||||
|  |  | ||||||
|  |             dt.AcceptChanges(); | ||||||
|  |             FCOMMON.Util.MsgI("Save OK"); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void panel1_Paint(object sender, PaintEventArgs e) | ||||||
|  |         { | ||||||
|  |  | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void button2_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |           | ||||||
|  |  | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										200
									
								
								SubProject/FPJ0000/ImportC.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										200
									
								
								SubProject/FPJ0000/ImportC.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,200 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <root> | ||||||
|  |   <!--  | ||||||
|  |     Microsoft ResX Schema  | ||||||
|  |      | ||||||
|  |     Version 2.0 | ||||||
|  |      | ||||||
|  |     The primary goals of this format is to allow a simple XML format  | ||||||
|  |     that is mostly human readable. The generation and parsing of the  | ||||||
|  |     various data types are done through the TypeConverter classes  | ||||||
|  |     associated with the data types. | ||||||
|  |      | ||||||
|  |     Example: | ||||||
|  |      | ||||||
|  |     ... ado.net/XML headers & schema ... | ||||||
|  |     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||||
|  |     <resheader name="version">2.0</resheader> | ||||||
|  |     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||||
|  |     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||||
|  |     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||||
|  |     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||||
|  |     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||||
|  |         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||||
|  |     </data> | ||||||
|  |     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||||
|  |         <comment>This is a comment</comment> | ||||||
|  |     </data> | ||||||
|  |                  | ||||||
|  |     There are any number of "resheader" rows that contain simple  | ||||||
|  |     name/value pairs. | ||||||
|  |      | ||||||
|  |     Each data row contains a name, and value. The row also contains a  | ||||||
|  |     type or mimetype. Type corresponds to a .NET class that support  | ||||||
|  |     text/value conversion through the TypeConverter architecture.  | ||||||
|  |     Classes that don't support this are serialized and stored with the  | ||||||
|  |     mimetype set. | ||||||
|  |      | ||||||
|  |     The mimetype is used for serialized objects, and tells the  | ||||||
|  |     ResXResourceReader how to depersist the object. This is currently not  | ||||||
|  |     extensible. For a given mimetype the value must be set accordingly: | ||||||
|  |      | ||||||
|  |     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||||
|  |     that the ResXResourceWriter will generate, however the reader can  | ||||||
|  |     read any of the formats listed below. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.binary.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.soap.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |  | ||||||
|  |     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||||
|  |     value   : The object must be serialized into a byte array  | ||||||
|  |             : using a System.ComponentModel.TypeConverter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |     --> | ||||||
|  |   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||||
|  |     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||||
|  |     <xsd:element name="root" msdata:IsDataSet="true"> | ||||||
|  |       <xsd:complexType> | ||||||
|  |         <xsd:choice maxOccurs="unbounded"> | ||||||
|  |           <xsd:element name="metadata"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="assembly"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:attribute name="alias" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="data"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="resheader"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |         </xsd:choice> | ||||||
|  |       </xsd:complexType> | ||||||
|  |     </xsd:element> | ||||||
|  |   </xsd:schema> | ||||||
|  |   <resheader name="resmimetype"> | ||||||
|  |     <value>text/microsoft-resx</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="version"> | ||||||
|  |     <value>2.0</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="reader"> | ||||||
|  |     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="writer"> | ||||||
|  |     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  |   <metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>17, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||||
|  |   <data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC | ||||||
|  |         pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ | ||||||
|  |         Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ | ||||||
|  |         /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA | ||||||
|  |         zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ | ||||||
|  |         IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E | ||||||
|  |         rkJggg== | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>83, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>147, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC | ||||||
|  |         DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC | ||||||
|  |         rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV | ||||||
|  |         i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG | ||||||
|  |         86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG | ||||||
|  |         QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX | ||||||
|  |         bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 | ||||||
|  |         wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 | ||||||
|  |         v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg | ||||||
|  |         UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA | ||||||
|  |         Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu | ||||||
|  |         lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w | ||||||
|  |         5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f | ||||||
|  |         Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ | ||||||
|  |         08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 | ||||||
|  |         n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI | ||||||
|  |         N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f | ||||||
|  |         oAc0QjgAAAAASUVORK5CYII= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||||
|  |         wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// | ||||||
|  |         h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B | ||||||
|  |         twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA | ||||||
|  |         kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG | ||||||
|  |         WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 | ||||||
|  |         8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  |   <metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>147, 17</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|  |     <value>230, 17</value> | ||||||
|  |   </metadata> | ||||||
|  | </root> | ||||||
							
								
								
									
										11507
									
								
								SubProject/FPJ0000/dsPRJ.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11507
									
								
								SubProject/FPJ0000/dsPRJ.Designer.cs
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -5,17 +5,5 @@ | |||||||
|      the code is regenerated. |      the code is regenerated. | ||||||
| </autogenerated>--> | </autogenerated>--> | ||||||
| <DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> | <DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> | ||||||
|   <TableUISettings> |   <TableUISettings /> | ||||||
|     <TableUISetting Name="JobReport"> |  | ||||||
|       <ColumnUISettings> |  | ||||||
|         <ColumnUISetting Name="type"> |  | ||||||
|           <ControlSettings> |  | ||||||
|             <ControlSetting ArtifactName="Microsoft:System.Windows.Forms:Form"> |  | ||||||
|               <BindableControlInfo Name="ComboBox" Type="System.Windows.Forms.ComboBox" AssemblyName="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |  | ||||||
|             </ControlSetting> |  | ||||||
|           </ControlSettings> |  | ||||||
|         </ColumnUISetting> |  | ||||||
|       </ColumnUISettings> |  | ||||||
|     </TableUISetting> |  | ||||||
|   </TableUISettings> |  | ||||||
| </DataSetUISetting> | </DataSetUISetting> | ||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -1,19 +1 @@ | |||||||
| <?xml version="1.0" encoding="utf-8"?> |  | ||||||
| <!--<autogenerated> |  | ||||||
|      This code was generated by a tool to store the dataset designer's layout information. |  | ||||||
|      Changes to this file may cause incorrect behavior and will be lost if |  | ||||||
|      the code is regenerated. |  | ||||||
| </autogenerated>--> |  | ||||||
| <DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-12" ViewPortY="-23" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout"> |  | ||||||
|   <Shapes> |  | ||||||
|     <Shape ID="DesignTable:Projects" ZOrder="4" X="882" Y="55" Height="516" Width="191" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="351" /> |  | ||||||
|     <Shape ID="DesignTable:ProjectsPart" ZOrder="8" X="316" Y="74" Height="343" Width="215" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" /> |  | ||||||
|     <Shape ID="DesignTable:JobReport" ZOrder="7" X="562" Y="79" Height="324" Width="287" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> |  | ||||||
|     <Shape ID="DesignTable:ProjectsSchedule" ZOrder="6" X="349" Y="438" Height="267" Width="156" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="199" /> |  | ||||||
|     <Shape ID="DesignTable:ProjectsIOMap" ZOrder="2" X="1280" Y="74" Height="244" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="154" /> |  | ||||||
|     <Shape ID="DesignTable:ProjectsMailList" ZOrder="1" X="1099" Y="73" Height="244" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="154" /> |  | ||||||
|     <Shape ID="DesignTable:ProjectsHistory" ZOrder="3" X="98" Y="82" Height="305" Width="195" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="237" /> |  | ||||||
|     <Shape ID="DesignSources:QueriesTableAdapter" ZOrder="5" X="401" Y="21" Height="20" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="16" /> |  | ||||||
|   </Shapes> |  | ||||||
|   <Connectors /> |  | ||||||
| </DiagramLayout> |  | ||||||
							
								
								
									
										587
									
								
								SubProject/FPJ0000/fProjectList.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										587
									
								
								SubProject/FPJ0000/fProjectList.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -30,22 +30,22 @@ | |||||||
|         { |         { | ||||||
|             this.components = new System.ComponentModel.Container(); |             this.components = new System.ComponentModel.Container(); | ||||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectList)); |             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectList)); | ||||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); |             FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType(); |             FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType(); |             FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType(); |             FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType(); |             FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType(); |             FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||||
|             this.bn = new System.Windows.Forms.BindingNavigator(this.components); |             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); |             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||||
|             this.dsMSSQL = new FPJ0000.dsPRJ(); |             this.dsMSSQL = new FPJ0000.dsPRJ(); | ||||||
| @@ -85,10 +85,11 @@ | |||||||
|             this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); |             this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); | ||||||
|             this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager(); |             this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager(); | ||||||
|             this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); |             this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); | ||||||
|             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); |  | ||||||
|             this.toolStrip1 = new System.Windows.Forms.ToolStrip(); |             this.toolStrip1 = new System.Windows.Forms.ToolStrip(); | ||||||
|             this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); |             this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); | ||||||
|             this.cmbYear = new System.Windows.Forms.ToolStripComboBox(); |             this.cmbYearS = new System.Windows.Forms.ToolStripComboBox(); | ||||||
|  |             this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); | ||||||
|  |             this.cmbYearE = new System.Windows.Forms.ToolStripComboBox(); | ||||||
|             this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); |             this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|             this.chk검토 = new System.Windows.Forms.ToolStripButton(); |             this.chk검토 = new System.Windows.Forms.ToolStripButton(); | ||||||
|             this.chk대기 = new System.Windows.Forms.ToolStripButton(); |             this.chk대기 = new System.Windows.Forms.ToolStripButton(); | ||||||
| @@ -119,22 +120,33 @@ | |||||||
|             this.label8 = new System.Windows.Forms.Label(); |             this.label8 = new System.Windows.Forms.Label(); | ||||||
|             this.label10 = new System.Windows.Forms.Label(); |             this.label10 = new System.Windows.Forms.Label(); | ||||||
|             this.label12 = new System.Windows.Forms.Label(); |             this.label12 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label13 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label14 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label15 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label16 = new System.Windows.Forms.Label(); | ||||||
|  |             this.sbSumO = new System.Windows.Forms.Label(); | ||||||
|  |             this.sbSumI = new System.Windows.Forms.Label(); | ||||||
|  |             this.sbSumE = new System.Windows.Forms.Label(); | ||||||
|             this.taHist = new FPJ0000.dsPRJTableAdapters.ProjectsHistoryTableAdapter(); |             this.taHist = new FPJ0000.dsPRJTableAdapters.ProjectsHistoryTableAdapter(); | ||||||
|             this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); |             this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); | ||||||
|             this.panel3 = new System.Windows.Forms.Panel(); |             this.panel3 = new System.Windows.Forms.Panel(); | ||||||
|  |             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); | ||||||
|  |             this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|  |             this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel(); | ||||||
|  |             this.cmbSort = new System.Windows.Forms.ToolStripComboBox(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||||
|             this.bn.SuspendLayout(); |             this.bn.SuspendLayout(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); | ||||||
|             this.cm.SuspendLayout(); |             this.cm.SuspendLayout(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); |  | ||||||
|             this.toolStrip1.SuspendLayout(); |             this.toolStrip1.SuspendLayout(); | ||||||
|             this.tableLayoutPanel1.SuspendLayout(); |             this.tableLayoutPanel1.SuspendLayout(); | ||||||
|             this.panel4.SuspendLayout(); |             this.panel4.SuspendLayout(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.bsHist)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bsHist)).BeginInit(); | ||||||
|             this.tableLayoutPanel2.SuspendLayout(); |             this.tableLayoutPanel2.SuspendLayout(); | ||||||
|             this.panel3.SuspendLayout(); |             this.panel3.SuspendLayout(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); | ||||||
|             this.SuspendLayout(); |             this.SuspendLayout(); | ||||||
|             //  |             //  | ||||||
|             // bn |             // bn | ||||||
| @@ -169,7 +181,7 @@ | |||||||
|             this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; |             this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; | ||||||
|             this.bn.Name = "bn"; |             this.bn.Name = "bn"; | ||||||
|             this.bn.PositionItem = this.bindingNavigatorPositionItem; |             this.bn.PositionItem = this.bindingNavigatorPositionItem; | ||||||
|             this.bn.Size = new System.Drawing.Size(1052, 25); |             this.bn.Size = new System.Drawing.Size(1084, 25); | ||||||
|             this.bn.TabIndex = 0; |             this.bn.TabIndex = 0; | ||||||
|             this.bn.Text = "bindingNavigator1"; |             this.bn.Text = "bindingNavigator1"; | ||||||
|             //  |             //  | ||||||
| @@ -469,165 +481,17 @@ | |||||||
|             this.fpSpread1.Name = "fpSpread1"; |             this.fpSpread1.Name = "fpSpread1"; | ||||||
|             this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { |             this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { | ||||||
|             this.fpSpread1_Sheet1}); |             this.fpSpread1_Sheet1}); | ||||||
|             this.fpSpread1.Size = new System.Drawing.Size(1052, 304); |             this.fpSpread1.Size = new System.Drawing.Size(1084, 262); | ||||||
|             this.fpSpread1.StatusBarVisible = true; |             this.fpSpread1.StatusBarVisible = true; | ||||||
|             this.fpSpread1.TabIndex = 2; |             this.fpSpread1.TabIndex = 2; | ||||||
|             //  |             //  | ||||||
|             // fpSpread1_Sheet1 |  | ||||||
|             //  |  | ||||||
|             this.fpSpread1_Sheet1.Reset(); |  | ||||||
|             this.fpSpread1_Sheet1.SheetName = "Sheet1"; |  | ||||||
|             // Formulas and custom names must be loaded with R1C1 reference style |  | ||||||
|             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnCount = 16; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2; |  | ||||||
|             this.fpSpread1_Sheet1.ActiveColumnIndex = -1; |  | ||||||
|             this.fpSpread1_Sheet1.ActiveRowIndex = -1; |  | ||||||
|             this.fpSpread1_Sheet1.AutoGenerateColumns = false; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX"; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).RowSpan = 2; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "Status"; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).RowSpan = 2; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "Part"; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).RowSpan = 2; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "Process"; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).RowSpan = 2; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "Requestor"; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).RowSpan = 2; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "Project\r\nChampion"; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).ColumnSpan = 3; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "Co Workers"; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).RowSpan = 2; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "Asset No."; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).RowSpan = 2; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "Project"; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).RowSpan = 2; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "대수"; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).RowSpan = 2; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "Original\r\n($K)"; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).RowSpan = 2; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).StyleName = " "; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "Input\r\n($K)"; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).RowSpan = 2; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "Effect\r\n($K)"; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).RowSpan = 2; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "Remark"; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "H/W"; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 7).Value = "전장"; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "S/W"; |  | ||||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "Asset No."; |  | ||||||
|             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))))); |  | ||||||
|             numberCellType6.DecimalPlaces = 0; |  | ||||||
|             numberCellType6.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; |  | ||||||
|             numberCellType6.MaximumValue = 2147483647D; |  | ||||||
|             numberCellType6.MinimumValue = -2147483648D; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType6; |  | ||||||
|             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 = textCellType12; |  | ||||||
|             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).CellType = textCellType13; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(2).DataField = "part"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType14; |  | ||||||
|             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).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Width = 78F; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType15; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(4).DataField = "reqstaff"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |  | ||||||
|             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 = textCellType16; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "userManager"; |  | ||||||
|             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 = textCellType17; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(6).DataField = "usermain"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Label = "H/W"; |  | ||||||
|             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 = textCellType18; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(7).DataField = "userhw2"; |  | ||||||
|             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(8).AllowAutoFilter = true; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType19; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).DataField = "usersub"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Label = "S/W"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(8).Width = 78F; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType20; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(9).DataField = "asset"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(9).Label = "Asset No."; |  | ||||||
|             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 = textCellType21; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(10).DataField = "name"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(10).Width = 78F; |  | ||||||
|             numberCellType7.DecimalPlaces = 0; |  | ||||||
|             numberCellType7.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; |  | ||||||
|             numberCellType7.MaximumValue = 2147483647D; |  | ||||||
|             numberCellType7.MinimumValue = -2147483648D; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType7; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(11).DataField = "cnt"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(11).Width = 59F; |  | ||||||
|             numberCellType8.MaximumValue = 999999999999999D; |  | ||||||
|             numberCellType8.MinimumValue = -999999999999999D; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType8; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(12).DataField = "costo"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; |  | ||||||
|             numberCellType9.MaximumValue = 999999999999999D; |  | ||||||
|             numberCellType9.MinimumValue = -999999999999999D; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType9; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(13).DataField = "costn"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; |  | ||||||
|             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))))); |  | ||||||
|             numberCellType10.MaximumValue = 999999999999999D; |  | ||||||
|             numberCellType10.MinimumValue = -999999999999999D; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType10; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(14).DataField = "coste"; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(14).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); |  | ||||||
|             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).CellType = textCellType22; |  | ||||||
|             this.fpSpread1_Sheet1.Columns.Get(15).DataField = "memo"; |  | ||||||
|             this.fpSpread1_Sheet1.DataAutoSizeColumns = false; |  | ||||||
|             this.fpSpread1_Sheet1.DataSource = this.bs; |  | ||||||
|             this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; |  | ||||||
|             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; |  | ||||||
|             //  |  | ||||||
|             // toolStrip1 |             // toolStrip1 | ||||||
|             //  |             //  | ||||||
|             this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |             this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||||
|             this.toolStripLabel2, |             this.toolStripLabel2, | ||||||
|             this.cmbYear, |             this.cmbYearS, | ||||||
|  |             this.toolStripLabel4, | ||||||
|  |             this.cmbYearE, | ||||||
|             this.toolStripSeparator2, |             this.toolStripSeparator2, | ||||||
|             this.chk검토, |             this.chk검토, | ||||||
|             this.chk대기, |             this.chk대기, | ||||||
| @@ -639,24 +503,39 @@ | |||||||
|             this.toolStripLabel3, |             this.toolStripLabel3, | ||||||
|             this.tbRequest, |             this.tbRequest, | ||||||
|             this.btSearch, |             this.btSearch, | ||||||
|             this.btViewDel}); |             this.btViewDel, | ||||||
|  |             this.toolStripSeparator4, | ||||||
|  |             this.toolStripLabel5, | ||||||
|  |             this.cmbSort}); | ||||||
|             this.toolStrip1.Location = new System.Drawing.Point(0, 0); |             this.toolStrip1.Location = new System.Drawing.Point(0, 0); | ||||||
|             this.toolStrip1.Name = "toolStrip1"; |             this.toolStrip1.Name = "toolStrip1"; | ||||||
|             this.toolStrip1.Size = new System.Drawing.Size(1052, 25); |             this.toolStrip1.Size = new System.Drawing.Size(1084, 25); | ||||||
|             this.toolStrip1.TabIndex = 4; |             this.toolStrip1.TabIndex = 4; | ||||||
|             this.toolStrip1.Text = "toolStrip1"; |             this.toolStrip1.Text = "toolStrip1"; | ||||||
|             //  |             //  | ||||||
|             // toolStripLabel2 |             // toolStripLabel2 | ||||||
|             //  |             //  | ||||||
|             this.toolStripLabel2.Name = "toolStripLabel2"; |             this.toolStripLabel2.Name = "toolStripLabel2"; | ||||||
|             this.toolStripLabel2.Size = new System.Drawing.Size(83, 22); |             this.toolStripLabel2.Size = new System.Drawing.Size(95, 22); | ||||||
|             this.toolStripLabel2.Text = "프로젝트 시작"; |             this.toolStripLabel2.Text = "프로젝트 시작일"; | ||||||
|             //  |             //  | ||||||
|             // cmbYear |             // cmbYearS | ||||||
|             //  |             //  | ||||||
|             this.cmbYear.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |             this.cmbYearS.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||||
|             this.cmbYear.Name = "cmbYear"; |             this.cmbYearS.Name = "cmbYearS"; | ||||||
|             this.cmbYear.Size = new System.Drawing.Size(75, 25); |             this.cmbYearS.Size = new System.Drawing.Size(75, 25); | ||||||
|  |             //  | ||||||
|  |             // toolStripLabel4 | ||||||
|  |             //  | ||||||
|  |             this.toolStripLabel4.Name = "toolStripLabel4"; | ||||||
|  |             this.toolStripLabel4.Size = new System.Drawing.Size(15, 22); | ||||||
|  |             this.toolStripLabel4.Text = "~"; | ||||||
|  |             //  | ||||||
|  |             // cmbYearE | ||||||
|  |             //  | ||||||
|  |             this.cmbYearE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||||
|  |             this.cmbYearE.Name = "cmbYearE"; | ||||||
|  |             this.cmbYearE.Size = new System.Drawing.Size(75, 25); | ||||||
|             //  |             //  | ||||||
|             // toolStripSeparator2 |             // toolStripSeparator2 | ||||||
|             //  |             //  | ||||||
| @@ -665,7 +544,9 @@ | |||||||
|             //  |             //  | ||||||
|             // chk검토 |             // chk검토 | ||||||
|             //  |             //  | ||||||
|  |             this.chk검토.Checked = true; | ||||||
|             this.chk검토.CheckOnClick = true; |             this.chk검토.CheckOnClick = true; | ||||||
|  |             this.chk검토.CheckState = System.Windows.Forms.CheckState.Checked; | ||||||
|             this.chk검토.Image = ((System.Drawing.Image)(resources.GetObject("chk검토.Image"))); |             this.chk검토.Image = ((System.Drawing.Image)(resources.GetObject("chk검토.Image"))); | ||||||
|             this.chk검토.ImageTransparentColor = System.Drawing.Color.Magenta; |             this.chk검토.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||||
|             this.chk검토.Name = "chk검토"; |             this.chk검토.Name = "chk검토"; | ||||||
| @@ -739,6 +620,7 @@ | |||||||
|             this.tbRequest.Name = "tbRequest"; |             this.tbRequest.Name = "tbRequest"; | ||||||
|             this.tbRequest.Size = new System.Drawing.Size(70, 25); |             this.tbRequest.Size = new System.Drawing.Size(70, 25); | ||||||
|             this.tbRequest.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; |             this.tbRequest.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|  |             this.tbRequest.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbRequest_KeyDown); | ||||||
|             //  |             //  | ||||||
|             // btSearch |             // btSearch | ||||||
|             //  |             //  | ||||||
| @@ -764,10 +646,10 @@ | |||||||
|             this.label1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "name", true)); |             this.label1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "name", true)); | ||||||
|             this.label1.Dock = System.Windows.Forms.DockStyle.Bottom; |             this.label1.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||||
|             this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); |             this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||||
|             this.label1.Location = new System.Drawing.Point(0, 329); |             this.label1.Location = new System.Drawing.Point(0, 287); | ||||||
|             this.label1.Name = "label1"; |             this.label1.Name = "label1"; | ||||||
|             this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); |             this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); | ||||||
|             this.label1.Size = new System.Drawing.Size(1052, 23); |             this.label1.Size = new System.Drawing.Size(1084, 23); | ||||||
|             this.label1.TabIndex = 5; |             this.label1.TabIndex = 5; | ||||||
|             this.label1.Text = "--"; |             this.label1.Text = "--"; | ||||||
|             this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; |             this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; | ||||||
| @@ -782,12 +664,12 @@ | |||||||
|             this.tableLayoutPanel1.Controls.Add(this.label2, 0, 0); |             this.tableLayoutPanel1.Controls.Add(this.label2, 0, 0); | ||||||
|             this.tableLayoutPanel1.Controls.Add(this.textBox3, 0, 1); |             this.tableLayoutPanel1.Controls.Add(this.textBox3, 0, 1); | ||||||
|             this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; |             this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|             this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 22); |             this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 47); | ||||||
|             this.tableLayoutPanel1.Name = "tableLayoutPanel1"; |             this.tableLayoutPanel1.Name = "tableLayoutPanel1"; | ||||||
|             this.tableLayoutPanel1.RowCount = 2; |             this.tableLayoutPanel1.RowCount = 2; | ||||||
|             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F)); |             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F)); | ||||||
|             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); |             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); | ||||||
|             this.tableLayoutPanel1.Size = new System.Drawing.Size(1052, 154); |             this.tableLayoutPanel1.Size = new System.Drawing.Size(1084, 171); | ||||||
|             this.tableLayoutPanel1.TabIndex = 11; |             this.tableLayoutPanel1.TabIndex = 11; | ||||||
|             //  |             //  | ||||||
|             // panel4 |             // panel4 | ||||||
| @@ -795,10 +677,10 @@ | |||||||
|             this.panel4.Controls.Add(this.label11); |             this.panel4.Controls.Add(this.label11); | ||||||
|             this.panel4.Controls.Add(this.label4); |             this.panel4.Controls.Add(this.label4); | ||||||
|             this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; |             this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|             this.panel4.Location = new System.Drawing.Point(526, 0); |             this.panel4.Location = new System.Drawing.Point(542, 0); | ||||||
|             this.panel4.Margin = new System.Windows.Forms.Padding(0); |             this.panel4.Margin = new System.Windows.Forms.Padding(0); | ||||||
|             this.panel4.Name = "panel4"; |             this.panel4.Name = "panel4"; | ||||||
|             this.panel4.Size = new System.Drawing.Size(526, 25); |             this.panel4.Size = new System.Drawing.Size(542, 25); | ||||||
|             this.panel4.TabIndex = 0; |             this.panel4.TabIndex = 0; | ||||||
|             //  |             //  | ||||||
|             // label11 |             // label11 | ||||||
| @@ -806,7 +688,7 @@ | |||||||
|             this.label11.Dock = System.Windows.Forms.DockStyle.Fill; |             this.label11.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|             this.label11.Location = new System.Drawing.Point(0, 0); |             this.label11.Location = new System.Drawing.Point(0, 0); | ||||||
|             this.label11.Name = "label11"; |             this.label11.Name = "label11"; | ||||||
|             this.label11.Size = new System.Drawing.Size(426, 25); |             this.label11.Size = new System.Drawing.Size(442, 25); | ||||||
|             this.label11.TabIndex = 14; |             this.label11.TabIndex = 14; | ||||||
|             this.label11.Text = "주간 진행 내용"; |             this.label11.Text = "주간 진행 내용"; | ||||||
|             this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |             this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||||
| @@ -817,7 +699,7 @@ | |||||||
|             this.label4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHist, "pdate", true)); |             this.label4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHist, "pdate", true)); | ||||||
|             this.label4.Dock = System.Windows.Forms.DockStyle.Right; |             this.label4.Dock = System.Windows.Forms.DockStyle.Right; | ||||||
|             this.label4.Font = new System.Drawing.Font("Cambria", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); |             this.label4.Font = new System.Drawing.Font("Cambria", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||||
|             this.label4.Location = new System.Drawing.Point(426, 0); |             this.label4.Location = new System.Drawing.Point(442, 0); | ||||||
|             this.label4.Margin = new System.Windows.Forms.Padding(0); |             this.label4.Margin = new System.Windows.Forms.Padding(0); | ||||||
|             this.label4.Name = "label4"; |             this.label4.Name = "label4"; | ||||||
|             this.label4.Size = new System.Drawing.Size(100, 25); |             this.label4.Size = new System.Drawing.Size(100, 25); | ||||||
| @@ -835,13 +717,13 @@ | |||||||
|             //  |             //  | ||||||
|             this.textBox4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHist, "remark", true)); |             this.textBox4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHist, "remark", true)); | ||||||
|             this.textBox4.Dock = System.Windows.Forms.DockStyle.Fill; |             this.textBox4.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|             this.textBox4.Location = new System.Drawing.Point(526, 25); |             this.textBox4.Location = new System.Drawing.Point(542, 25); | ||||||
|             this.textBox4.Margin = new System.Windows.Forms.Padding(0); |             this.textBox4.Margin = new System.Windows.Forms.Padding(0); | ||||||
|             this.textBox4.Multiline = true; |             this.textBox4.Multiline = true; | ||||||
|             this.textBox4.Name = "textBox4"; |             this.textBox4.Name = "textBox4"; | ||||||
|             this.textBox4.ReadOnly = true; |             this.textBox4.ReadOnly = true; | ||||||
|             this.textBox4.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; |             this.textBox4.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; | ||||||
|             this.textBox4.Size = new System.Drawing.Size(526, 129); |             this.textBox4.Size = new System.Drawing.Size(542, 146); | ||||||
|             this.textBox4.TabIndex = 10; |             this.textBox4.TabIndex = 10; | ||||||
|             //  |             //  | ||||||
|             // label2 |             // label2 | ||||||
| @@ -851,7 +733,7 @@ | |||||||
|             this.label2.Location = new System.Drawing.Point(0, 0); |             this.label2.Location = new System.Drawing.Point(0, 0); | ||||||
|             this.label2.Margin = new System.Windows.Forms.Padding(0); |             this.label2.Margin = new System.Windows.Forms.Padding(0); | ||||||
|             this.label2.Name = "label2"; |             this.label2.Name = "label2"; | ||||||
|             this.label2.Size = new System.Drawing.Size(526, 25); |             this.label2.Size = new System.Drawing.Size(542, 25); | ||||||
|             this.label2.TabIndex = 0; |             this.label2.TabIndex = 0; | ||||||
|             this.label2.Text = "요청 사항"; |             this.label2.Text = "요청 사항"; | ||||||
|             this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |             this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||||
| @@ -866,7 +748,7 @@ | |||||||
|             this.textBox3.Name = "textBox3"; |             this.textBox3.Name = "textBox3"; | ||||||
|             this.textBox3.ReadOnly = true; |             this.textBox3.ReadOnly = true; | ||||||
|             this.textBox3.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; |             this.textBox3.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; | ||||||
|             this.textBox3.Size = new System.Drawing.Size(526, 129); |             this.textBox3.Size = new System.Drawing.Size(542, 146); | ||||||
|             this.textBox3.TabIndex = 8; |             this.textBox3.TabIndex = 8; | ||||||
|             //  |             //  | ||||||
|             // tableLayoutPanel2 |             // tableLayoutPanel2 | ||||||
| @@ -889,12 +771,20 @@ | |||||||
|             this.tableLayoutPanel2.Controls.Add(this.label8, 3, 0); |             this.tableLayoutPanel2.Controls.Add(this.label8, 3, 0); | ||||||
|             this.tableLayoutPanel2.Controls.Add(this.label10, 5, 0); |             this.tableLayoutPanel2.Controls.Add(this.label10, 5, 0); | ||||||
|             this.tableLayoutPanel2.Controls.Add(this.label12, 7, 0); |             this.tableLayoutPanel2.Controls.Add(this.label12, 7, 0); | ||||||
|  |             this.tableLayoutPanel2.Controls.Add(this.label13, 0, 1); | ||||||
|  |             this.tableLayoutPanel2.Controls.Add(this.label14, 2, 1); | ||||||
|  |             this.tableLayoutPanel2.Controls.Add(this.label15, 4, 1); | ||||||
|  |             this.tableLayoutPanel2.Controls.Add(this.label16, 6, 1); | ||||||
|  |             this.tableLayoutPanel2.Controls.Add(this.sbSumO, 3, 1); | ||||||
|  |             this.tableLayoutPanel2.Controls.Add(this.sbSumI, 5, 1); | ||||||
|  |             this.tableLayoutPanel2.Controls.Add(this.sbSumE, 7, 1); | ||||||
|             this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Top; |             this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Top; | ||||||
|             this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0); |             this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0); | ||||||
|             this.tableLayoutPanel2.Name = "tableLayoutPanel2"; |             this.tableLayoutPanel2.Name = "tableLayoutPanel2"; | ||||||
|             this.tableLayoutPanel2.RowCount = 1; |             this.tableLayoutPanel2.RowCount = 2; | ||||||
|             this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); |             this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); | ||||||
|             this.tableLayoutPanel2.Size = new System.Drawing.Size(1052, 22); |             this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); | ||||||
|  |             this.tableLayoutPanel2.Size = new System.Drawing.Size(1084, 47); | ||||||
|             this.tableLayoutPanel2.TabIndex = 12; |             this.tableLayoutPanel2.TabIndex = 12; | ||||||
|             //  |             //  | ||||||
|             // label6 |             // label6 | ||||||
| @@ -903,7 +793,7 @@ | |||||||
|             this.label6.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |             this.label6.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||||
|             this.label6.Location = new System.Drawing.Point(4, 1); |             this.label6.Location = new System.Drawing.Point(4, 1); | ||||||
|             this.label6.Name = "label6"; |             this.label6.Name = "label6"; | ||||||
|             this.label6.Size = new System.Drawing.Size(74, 20); |             this.label6.Size = new System.Drawing.Size(74, 24); | ||||||
|             this.label6.TabIndex = 0; |             this.label6.TabIndex = 0; | ||||||
|             this.label6.Text = "Start"; |             this.label6.Text = "Start"; | ||||||
|             this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |             this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||||
| @@ -913,9 +803,9 @@ | |||||||
|             //  |             //  | ||||||
|             this.label5.Dock = System.Windows.Forms.DockStyle.Fill; |             this.label5.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|             this.label5.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |             this.label5.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||||
|             this.label5.Location = new System.Drawing.Point(793, 1); |             this.label5.Location = new System.Drawing.Point(817, 1); | ||||||
|             this.label5.Name = "label5"; |             this.label5.Name = "label5"; | ||||||
|             this.label5.Size = new System.Drawing.Size(74, 20); |             this.label5.Size = new System.Drawing.Size(74, 24); | ||||||
|             this.label5.TabIndex = 0; |             this.label5.TabIndex = 0; | ||||||
|             this.label5.Text = "End"; |             this.label5.Text = "End"; | ||||||
|             this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |             this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||||
| @@ -926,9 +816,9 @@ | |||||||
|             this.label9.Dock = System.Windows.Forms.DockStyle.Fill; |             this.label9.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|             this.label9.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |             this.label9.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||||
|             this.label9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); |             this.label9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); | ||||||
|             this.label9.Location = new System.Drawing.Point(267, 1); |             this.label9.Location = new System.Drawing.Point(275, 1); | ||||||
|             this.label9.Name = "label9"; |             this.label9.Name = "label9"; | ||||||
|             this.label9.Size = new System.Drawing.Size(74, 20); |             this.label9.Size = new System.Drawing.Size(74, 24); | ||||||
|             this.label9.TabIndex = 0; |             this.label9.TabIndex = 0; | ||||||
|             this.label9.Text = "Due"; |             this.label9.Text = "Due"; | ||||||
|             this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |             this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||||
| @@ -939,9 +829,9 @@ | |||||||
|             this.label3.Dock = System.Windows.Forms.DockStyle.Fill; |             this.label3.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|             this.label3.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |             this.label3.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||||
|             this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); |             this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); | ||||||
|             this.label3.Location = new System.Drawing.Point(530, 1); |             this.label3.Location = new System.Drawing.Point(546, 1); | ||||||
|             this.label3.Name = "label3"; |             this.label3.Name = "label3"; | ||||||
|             this.label3.Size = new System.Drawing.Size(74, 20); |             this.label3.Size = new System.Drawing.Size(74, 24); | ||||||
|             this.label3.TabIndex = 0; |             this.label3.TabIndex = 0; | ||||||
|             this.label3.Text = "Out"; |             this.label3.Text = "Out"; | ||||||
|             this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |             this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||||
| @@ -953,7 +843,7 @@ | |||||||
|             this.label7.Dock = System.Windows.Forms.DockStyle.Fill; |             this.label7.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|             this.label7.Location = new System.Drawing.Point(85, 1); |             this.label7.Location = new System.Drawing.Point(85, 1); | ||||||
|             this.label7.Name = "label7"; |             this.label7.Name = "label7"; | ||||||
|             this.label7.Size = new System.Drawing.Size(175, 20); |             this.label7.Size = new System.Drawing.Size(183, 24); | ||||||
|             this.label7.TabIndex = 1; |             this.label7.TabIndex = 1; | ||||||
|             this.label7.Text = "--"; |             this.label7.Text = "--"; | ||||||
|             this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |             this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||||
| @@ -962,9 +852,9 @@ | |||||||
|             //  |             //  | ||||||
|             this.label8.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ddate", true)); |             this.label8.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ddate", true)); | ||||||
|             this.label8.Dock = System.Windows.Forms.DockStyle.Fill; |             this.label8.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|             this.label8.Location = new System.Drawing.Point(348, 1); |             this.label8.Location = new System.Drawing.Point(356, 1); | ||||||
|             this.label8.Name = "label8"; |             this.label8.Name = "label8"; | ||||||
|             this.label8.Size = new System.Drawing.Size(175, 20); |             this.label8.Size = new System.Drawing.Size(183, 24); | ||||||
|             this.label8.TabIndex = 1; |             this.label8.TabIndex = 1; | ||||||
|             this.label8.Text = "--"; |             this.label8.Text = "--"; | ||||||
|             this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |             this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||||
| @@ -973,9 +863,9 @@ | |||||||
|             //  |             //  | ||||||
|             this.label10.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "odate", true)); |             this.label10.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "odate", true)); | ||||||
|             this.label10.Dock = System.Windows.Forms.DockStyle.Fill; |             this.label10.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|             this.label10.Location = new System.Drawing.Point(611, 1); |             this.label10.Location = new System.Drawing.Point(627, 1); | ||||||
|             this.label10.Name = "label10"; |             this.label10.Name = "label10"; | ||||||
|             this.label10.Size = new System.Drawing.Size(175, 20); |             this.label10.Size = new System.Drawing.Size(183, 24); | ||||||
|             this.label10.TabIndex = 1; |             this.label10.TabIndex = 1; | ||||||
|             this.label10.Text = "--"; |             this.label10.Text = "--"; | ||||||
|             this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |             this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||||
| @@ -984,13 +874,92 @@ | |||||||
|             //  |             //  | ||||||
|             this.label12.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "edate", true)); |             this.label12.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "edate", true)); | ||||||
|             this.label12.Dock = System.Windows.Forms.DockStyle.Fill; |             this.label12.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|             this.label12.Location = new System.Drawing.Point(874, 1); |             this.label12.Location = new System.Drawing.Point(898, 1); | ||||||
|             this.label12.Name = "label12"; |             this.label12.Name = "label12"; | ||||||
|             this.label12.Size = new System.Drawing.Size(174, 20); |             this.label12.Size = new System.Drawing.Size(182, 24); | ||||||
|             this.label12.TabIndex = 1; |             this.label12.TabIndex = 1; | ||||||
|             this.label12.Text = "--"; |             this.label12.Text = "--"; | ||||||
|             this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |             this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||||
|             //  |             //  | ||||||
|  |             // label13 | ||||||
|  |             //  | ||||||
|  |             this.tableLayoutPanel2.SetColumnSpan(this.label13, 2); | ||||||
|  |             this.label13.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|  |             this.label13.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||||
|  |             this.label13.Location = new System.Drawing.Point(4, 26); | ||||||
|  |             this.label13.Name = "label13"; | ||||||
|  |             this.label13.Size = new System.Drawing.Size(264, 20); | ||||||
|  |             this.label13.TabIndex = 0; | ||||||
|  |             this.label13.Text = "Cost Summary"; | ||||||
|  |             this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||||
|  |             //  | ||||||
|  |             // label14 | ||||||
|  |             //  | ||||||
|  |             this.label14.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|  |             this.label14.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||||
|  |             this.label14.Location = new System.Drawing.Point(275, 26); | ||||||
|  |             this.label14.Name = "label14"; | ||||||
|  |             this.label14.Size = new System.Drawing.Size(74, 20); | ||||||
|  |             this.label14.TabIndex = 0; | ||||||
|  |             this.label14.Text = "Origin"; | ||||||
|  |             this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||||
|  |             //  | ||||||
|  |             // label15 | ||||||
|  |             //  | ||||||
|  |             this.label15.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|  |             this.label15.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||||
|  |             this.label15.Location = new System.Drawing.Point(546, 26); | ||||||
|  |             this.label15.Name = "label15"; | ||||||
|  |             this.label15.Size = new System.Drawing.Size(74, 20); | ||||||
|  |             this.label15.TabIndex = 0; | ||||||
|  |             this.label15.Text = "Input"; | ||||||
|  |             this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||||
|  |             //  | ||||||
|  |             // label16 | ||||||
|  |             //  | ||||||
|  |             this.label16.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|  |             this.label16.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||||
|  |             this.label16.Location = new System.Drawing.Point(817, 26); | ||||||
|  |             this.label16.Name = "label16"; | ||||||
|  |             this.label16.Size = new System.Drawing.Size(74, 20); | ||||||
|  |             this.label16.TabIndex = 0; | ||||||
|  |             this.label16.Text = "Effect"; | ||||||
|  |             this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||||
|  |             //  | ||||||
|  |             // sbSumO | ||||||
|  |             //  | ||||||
|  |             this.sbSumO.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|  |             this.sbSumO.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold); | ||||||
|  |             this.sbSumO.Location = new System.Drawing.Point(356, 26); | ||||||
|  |             this.sbSumO.Name = "sbSumO"; | ||||||
|  |             this.sbSumO.Size = new System.Drawing.Size(183, 20); | ||||||
|  |             this.sbSumO.TabIndex = 1; | ||||||
|  |             this.sbSumO.Text = "--"; | ||||||
|  |             this.sbSumO.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||||
|  |             //  | ||||||
|  |             // sbSumI | ||||||
|  |             //  | ||||||
|  |             this.sbSumI.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|  |             this.sbSumI.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold); | ||||||
|  |             this.sbSumI.Location = new System.Drawing.Point(627, 26); | ||||||
|  |             this.sbSumI.Name = "sbSumI"; | ||||||
|  |             this.sbSumI.Size = new System.Drawing.Size(183, 20); | ||||||
|  |             this.sbSumI.TabIndex = 1; | ||||||
|  |             this.sbSumI.Text = "--"; | ||||||
|  |             this.sbSumI.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||||
|  |             //  | ||||||
|  |             // sbSumE | ||||||
|  |             //  | ||||||
|  |             this.sbSumE.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); | ||||||
|  |             this.sbSumE.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|  |             this.sbSumE.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||||
|  |             this.sbSumE.Location = new System.Drawing.Point(898, 26); | ||||||
|  |             this.sbSumE.Name = "sbSumE"; | ||||||
|  |             this.sbSumE.Size = new System.Drawing.Size(182, 20); | ||||||
|  |             this.sbSumE.TabIndex = 1; | ||||||
|  |             this.sbSumE.Text = "--"; | ||||||
|  |             this.sbSumE.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||||
|  |             //  | ||||||
|             // taHist |             // taHist | ||||||
|             //  |             //  | ||||||
|             this.taHist.ClearBeforeFill = true; |             this.taHist.ClearBeforeFill = true; | ||||||
| @@ -1000,15 +969,193 @@ | |||||||
|             this.panel3.Controls.Add(this.tableLayoutPanel1); |             this.panel3.Controls.Add(this.tableLayoutPanel1); | ||||||
|             this.panel3.Controls.Add(this.tableLayoutPanel2); |             this.panel3.Controls.Add(this.tableLayoutPanel2); | ||||||
|             this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; |             this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||||
|             this.panel3.Location = new System.Drawing.Point(0, 352); |             this.panel3.Location = new System.Drawing.Point(0, 310); | ||||||
|             this.panel3.Name = "panel3"; |             this.panel3.Name = "panel3"; | ||||||
|             this.panel3.Size = new System.Drawing.Size(1052, 176); |             this.panel3.Size = new System.Drawing.Size(1084, 218); | ||||||
|             this.panel3.TabIndex = 7; |             this.panel3.TabIndex = 7; | ||||||
|             //  |             //  | ||||||
|  |             // fpSpread1_Sheet1 | ||||||
|  |             //  | ||||||
|  |             this.fpSpread1_Sheet1.Reset(); | ||||||
|  |             this.fpSpread1_Sheet1.SheetName = "Sheet1"; | ||||||
|  |             // Formulas and custom names must be loaded with R1C1 reference style | ||||||
|  |             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnCount = 16; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2; | ||||||
|  |             this.fpSpread1_Sheet1.ActiveColumnIndex = -1; | ||||||
|  |             this.fpSpread1_Sheet1.ActiveRowIndex = -1; | ||||||
|  |             this.fpSpread1_Sheet1.AutoGenerateColumns = false; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).RowSpan = 2; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX"; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).RowSpan = 2; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "Status"; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).RowSpan = 2; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "Part"; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).RowSpan = 2; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "Process"; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).RowSpan = 2; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "Requestor"; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).RowSpan = 2; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "Project\r\nChampion"; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).ColumnSpan = 3; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "Co Workers"; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).RowSpan = 2; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "Asset No."; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).RowSpan = 2; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "Project"; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).RowSpan = 2; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "대수"; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).RowSpan = 2; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "Original\r\n($K)"; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).RowSpan = 2; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).StyleName = " "; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "Input\r\n($K)"; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).RowSpan = 2; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "Effect\r\n($K)"; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).RowSpan = 2; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "Remark"; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 6).Value = "H/W"; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 7).Value = "전장"; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 8).Value = "S/W"; | ||||||
|  |             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 9).Value = "Asset No."; | ||||||
|  |             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))))); | ||||||
|  |             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 = 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).CellType = textCellType2; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(2).DataField = "part"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; | ||||||
|  |             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).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(3).Width = 78F; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(4).DataField = "reqstaff"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|  |             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 = textCellType5; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "userManager"; | ||||||
|  |             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 = textCellType6; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(6).DataField = "usermain"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(6).Label = "H/W"; | ||||||
|  |             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 = textCellType7; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(7).DataField = "userhw2"; | ||||||
|  |             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(8).AllowAutoFilter = true; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(8).DataField = "usersub"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(8).Label = "S/W"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(8).Width = 78F; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType9; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(9).DataField = "asset"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(9).Label = "Asset No."; | ||||||
|  |             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 = textCellType10; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(10).DataField = "name"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(10).Width = 78F; | ||||||
|  |             numberCellType2.DecimalPlaces = 0; | ||||||
|  |             numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||||
|  |             numberCellType2.MaximumValue = 2147483647D; | ||||||
|  |             numberCellType2.MinimumValue = -2147483648D; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType2; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(11).DataField = "cnt"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(11).Width = 59F; | ||||||
|  |             numberCellType3.MaximumValue = 999999999999999D; | ||||||
|  |             numberCellType3.MinimumValue = -999999999999999D; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType3; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(12).DataField = "costo"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||||
|  |             numberCellType4.MaximumValue = 999999999999999D; | ||||||
|  |             numberCellType4.MinimumValue = -999999999999999D; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType4; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(13).DataField = "costn"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||||
|  |             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.MaximumValue = 999999999999999D; | ||||||
|  |             numberCellType5.MinimumValue = -999999999999999D; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType5; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(14).DataField = "coste"; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(14).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||||
|  |             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).CellType = textCellType11; | ||||||
|  |             this.fpSpread1_Sheet1.Columns.Get(15).DataField = "memo"; | ||||||
|  |             this.fpSpread1_Sheet1.DataAutoSizeColumns = false; | ||||||
|  |             this.fpSpread1_Sheet1.DataSource = this.bs; | ||||||
|  |             this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; | ||||||
|  |             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; | ||||||
|  |             //  | ||||||
|  |             // toolStripSeparator4 | ||||||
|  |             //  | ||||||
|  |             this.toolStripSeparator4.Name = "toolStripSeparator4"; | ||||||
|  |             this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25); | ||||||
|  |             //  | ||||||
|  |             // toolStripLabel5 | ||||||
|  |             //  | ||||||
|  |             this.toolStripLabel5.Name = "toolStripLabel5"; | ||||||
|  |             this.toolStripLabel5.Size = new System.Drawing.Size(31, 22); | ||||||
|  |             this.toolStripLabel5.Text = "정렬"; | ||||||
|  |             //  | ||||||
|  |             // cmbSort | ||||||
|  |             //  | ||||||
|  |             this.cmbSort.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||||
|  |             this.cmbSort.Items.AddRange(new object[] { | ||||||
|  |             "---", | ||||||
|  |             "Origin Cost", | ||||||
|  |             "Input Cost", | ||||||
|  |             "Effect Cost", | ||||||
|  |             "Asset No", | ||||||
|  |             "Project", | ||||||
|  |             "Champion", | ||||||
|  |             "Requestor", | ||||||
|  |             "Process"}); | ||||||
|  |             this.cmbSort.Name = "cmbSort"; | ||||||
|  |             this.cmbSort.Size = new System.Drawing.Size(75, 25); | ||||||
|  |             this.cmbSort.SelectedIndexChanged += new System.EventHandler(this.toolStripComboBox1_SelectedIndexChanged); | ||||||
|  |             //  | ||||||
|             // fProjectList |             // fProjectList | ||||||
|             //  |             //  | ||||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; |             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | ||||||
|             this.ClientSize = new System.Drawing.Size(1052, 553); |             this.ClientSize = new System.Drawing.Size(1084, 553); | ||||||
|             this.Controls.Add(this.fpSpread1); |             this.Controls.Add(this.fpSpread1); | ||||||
|             this.Controls.Add(this.label1); |             this.Controls.Add(this.label1); | ||||||
|             this.Controls.Add(this.panel3); |             this.Controls.Add(this.panel3); | ||||||
| @@ -1025,7 +1172,6 @@ | |||||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); |             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); | ||||||
|             this.cm.ResumeLayout(false); |             this.cm.ResumeLayout(false); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); |             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); |  | ||||||
|             this.toolStrip1.ResumeLayout(false); |             this.toolStrip1.ResumeLayout(false); | ||||||
|             this.toolStrip1.PerformLayout(); |             this.toolStrip1.PerformLayout(); | ||||||
|             this.tableLayoutPanel1.ResumeLayout(false); |             this.tableLayoutPanel1.ResumeLayout(false); | ||||||
| @@ -1034,6 +1180,7 @@ | |||||||
|             ((System.ComponentModel.ISupportInitialize)(this.bsHist)).EndInit(); |             ((System.ComponentModel.ISupportInitialize)(this.bsHist)).EndInit(); | ||||||
|             this.tableLayoutPanel2.ResumeLayout(false); |             this.tableLayoutPanel2.ResumeLayout(false); | ||||||
|             this.panel3.ResumeLayout(false); |             this.panel3.ResumeLayout(false); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); | ||||||
|             this.ResumeLayout(false); |             this.ResumeLayout(false); | ||||||
|             this.PerformLayout(); |             this.PerformLayout(); | ||||||
|  |  | ||||||
| @@ -1092,7 +1239,7 @@ | |||||||
|         private System.Windows.Forms.TextBox textBox4; |         private System.Windows.Forms.TextBox textBox4; | ||||||
|         private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; |         private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; | ||||||
|         private System.Windows.Forms.ToolStripLabel toolStripLabel2; |         private System.Windows.Forms.ToolStripLabel toolStripLabel2; | ||||||
|         private System.Windows.Forms.ToolStripComboBox cmbYear; |         private System.Windows.Forms.ToolStripComboBox cmbYearS; | ||||||
|         private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; |         private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; | ||||||
|         private System.Windows.Forms.ToolStripMenuItem 엑셀파일로저장ToolStripMenuItem; |         private System.Windows.Forms.ToolStripMenuItem 엑셀파일로저장ToolStripMenuItem; | ||||||
|         private System.Windows.Forms.ToolStripMenuItem 메일발송주소관리ToolStripMenuItem; |         private System.Windows.Forms.ToolStripMenuItem 메일발송주소관리ToolStripMenuItem; | ||||||
| @@ -1112,10 +1259,22 @@ | |||||||
|         private System.Windows.Forms.ToolStripMenuItem 편집ToolStripMenuItem; |         private System.Windows.Forms.ToolStripMenuItem 편집ToolStripMenuItem; | ||||||
|         private System.Windows.Forms.Panel panel4; |         private System.Windows.Forms.Panel panel4; | ||||||
|         private System.Windows.Forms.Panel panel3; |         private System.Windows.Forms.Panel panel3; | ||||||
|         private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; |  | ||||||
|         private System.Windows.Forms.Label label7; |         private System.Windows.Forms.Label label7; | ||||||
|         private System.Windows.Forms.Label label8; |         private System.Windows.Forms.Label label8; | ||||||
|         private System.Windows.Forms.Label label10; |         private System.Windows.Forms.Label label10; | ||||||
|         private System.Windows.Forms.Label label12; |         private System.Windows.Forms.Label label12; | ||||||
|  |         private System.Windows.Forms.Label label13; | ||||||
|  |         private System.Windows.Forms.Label label14; | ||||||
|  |         private System.Windows.Forms.Label label15; | ||||||
|  |         private System.Windows.Forms.Label label16; | ||||||
|  |         private System.Windows.Forms.Label sbSumO; | ||||||
|  |         private System.Windows.Forms.Label sbSumI; | ||||||
|  |         private System.Windows.Forms.Label sbSumE; | ||||||
|  |         private System.Windows.Forms.ToolStripLabel toolStripLabel4; | ||||||
|  |         private System.Windows.Forms.ToolStripComboBox cmbYearE; | ||||||
|  |         private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; | ||||||
|  |         private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; | ||||||
|  |         private System.Windows.Forms.ToolStripLabel toolStripLabel5; | ||||||
|  |         private System.Windows.Forms.ToolStripComboBox cmbSort; | ||||||
|     } |     } | ||||||
| } | } | ||||||
| @@ -41,13 +41,18 @@ namespace FPJ0000 | |||||||
|             //     cmbState.Items.Add(item.Value); |             //     cmbState.Items.Add(item.Value); | ||||||
|             // this.cmbState.SelectedIndex = 0; |             // this.cmbState.SelectedIndex = 0; | ||||||
|  |  | ||||||
|             this.cmbYear.Items.Clear(); |             this.cmbSort.SelectedIndex = 0; | ||||||
|  |             this.cmbYearS.Items.Clear(); | ||||||
|  |             this.cmbYearE.Items.Clear(); | ||||||
|             for (int i = 2010; i <= DateTime.Now.Year; i++) |             for (int i = 2010; i <= DateTime.Now.Year; i++) | ||||||
|                 cmbYear.Items.Add(i.ToString("0000")); |             { | ||||||
|             this.cmbYear.Text = DateTime.Now.AddYears(-1).Year.ToString("0000"); |                 cmbYearS.Items.Add(i.ToString("0000")); | ||||||
|  |                 cmbYearE.Items.Add(i.ToString("0000")); | ||||||
|  |             } | ||||||
|  |             this.cmbYearS.Text = DateTime.Now.AddYears(-2).Year.ToString("0000"); | ||||||
|  |             this.cmbYearE.Text = DateTime.Now.Year.ToString("0000"); | ||||||
|             refreshData(); |             refreshData(); | ||||||
|  |  | ||||||
|  |  | ||||||
|             //일반사용자의경우에는 상태를 변경하지 못한다. |             //일반사용자의경우에는 상태를 변경하지 못한다. | ||||||
|             int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAutoType.project)); |             int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAutoType.project)); | ||||||
|             if (curLevel >= 5) |             if (curLevel >= 5) | ||||||
| @@ -131,7 +136,7 @@ namespace FPJ0000 | |||||||
|             string State_where = " WHERE "; |             string State_where = " WHERE "; | ||||||
|  |  | ||||||
|             if (btViewDel.Checked==false) State_where += " isnull(isdel,0)=0 and ";    //삭제보기 햇을 경우 |             if (btViewDel.Checked==false) State_where += " isnull(isdel,0)=0 and ";    //삭제보기 햇을 경우 | ||||||
|             State_where += " pdate >= '" + cmbYear.Text + "-01-01' AND (ISNULL(userManager, '') LIKE @username OR " + |             State_where += " pdate between '" + cmbYearS.Text + "-01-01' and '" + cmbYearE.Text +"-12-31' AND (ISNULL(userManager, '') LIKE @username OR " + | ||||||
|                "ISNULL(usermain, '') LIKE @username OR " + |                "ISNULL(usermain, '') LIKE @username OR " + | ||||||
|                "ISNULL(reqstaff, '') LIKE @username OR " + |                "ISNULL(reqstaff, '') LIKE @username OR " + | ||||||
|                "ISNULL(usersub, '') LIKE @username) "; |                "ISNULL(usersub, '') LIKE @username) "; | ||||||
| @@ -160,6 +165,10 @@ namespace FPJ0000 | |||||||
|             //  this.ta.Adapter.SelectCommand.CommandText = orgQuery; |             //  this.ta.Adapter.SelectCommand.CommandText = orgQuery; | ||||||
|             this.dsMSSQL.Projects.AcceptChanges(); |             this.dsMSSQL.Projects.AcceptChanges(); | ||||||
|  |  | ||||||
|  |             sbSumE.Text = this.dsMSSQL.Projects.Sum(t => t.coste).ToString("N2"); | ||||||
|  |             sbSumO.Text = this.dsMSSQL.Projects.Sum(t => t.costo).ToString("N2"); | ||||||
|  |             sbSumI.Text = this.dsMSSQL.Projects.Sum(t => t.costn).ToString("N2"); | ||||||
|  |  | ||||||
|             FormattingData(); |             FormattingData(); | ||||||
|  |  | ||||||
|         } |         } | ||||||
| @@ -289,7 +298,12 @@ namespace FPJ0000 | |||||||
|         private void toolStripLabel3_Click(object sender, EventArgs e) |         private void toolStripLabel3_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             //사용자목록처리 |             //사용자목록처리 | ||||||
|  |             if (tbRequest.Text != "") | ||||||
|  |             { | ||||||
|                 tbRequest.Text = string.Empty; |                 tbRequest.Text = string.Empty; | ||||||
|  |             } | ||||||
|  |             else tbRequest.Text = FCOMMON.info.Login.nameK; | ||||||
|  |              | ||||||
|             refreshData(); |             refreshData(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
| @@ -312,7 +326,7 @@ namespace FPJ0000 | |||||||
|             if (dlg == System.Windows.Forms.DialogResult.Yes) |             if (dlg == System.Windows.Forms.DialogResult.Yes) | ||||||
|             { |             { | ||||||
|                 dsPRJTableAdapters.QueriesTableAdapter ta = new dsPRJTableAdapters.QueriesTableAdapter(); |                 dsPRJTableAdapters.QueriesTableAdapter ta = new dsPRJTableAdapters.QueriesTableAdapter(); | ||||||
|                 int retval = ta.CopyProjectData(dr.idx, FCOMMON.info.Login.no); |                 int retval = (int)ta.CopyProjectData(dr.idx, FCOMMON.info.Login.no); | ||||||
|  |  | ||||||
|                 refreshData(); |                 refreshData(); | ||||||
|             } |             } | ||||||
| @@ -489,5 +503,62 @@ namespace FPJ0000 | |||||||
|         { |         { | ||||||
|             DataEdit(); |             DataEdit(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |         private void tbRequest_KeyDown(object sender, KeyEventArgs e) | ||||||
|  |         { | ||||||
|  |             if (e.KeyCode == Keys.Enter) | ||||||
|  |                 btSearch.PerformClick(); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void toolStripComboBox1_SelectedIndexChanged(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             //                --- | ||||||
|  |             //Origin Cost | ||||||
|  |             //Input Cost | ||||||
|  |             //Effect Cost | ||||||
|  |             //Asset No | ||||||
|  |             //Project | ||||||
|  |             //Champion | ||||||
|  |             //Requestor | ||||||
|  |             //Process | ||||||
|  |             switch(cmbSort.SelectedIndex) | ||||||
|  |             { | ||||||
|  |                 case 1: | ||||||
|  |                     if (this.bs.Sort == "costo") this.bs.Sort = "costo desc"; | ||||||
|  |                     else this.bs.Sort = "costo"; | ||||||
|  |                     break; | ||||||
|  |                 case 2: | ||||||
|  |                     if (this.bs.Sort == "costn") this.bs.Sort = "costn desc"; | ||||||
|  |                     else this.bs.Sort = "costn"; | ||||||
|  |                     break; | ||||||
|  |                 case 3: | ||||||
|  |                     if (this.bs.Sort == "coste") this.bs.Sort = "coste desc"; | ||||||
|  |                     else this.bs.Sort = "coste"; | ||||||
|  |                     break; | ||||||
|  |                 case 4: | ||||||
|  |                     if (this.bs.Sort == "asset") this.bs.Sort = "asset desc"; | ||||||
|  |                     else this.bs.Sort = "asset"; | ||||||
|  |                     break; | ||||||
|  |                 case 5: | ||||||
|  |                     if (this.bs.Sort == "[namme]") this.bs.Sort = "[namme] desc"; | ||||||
|  |                     else this.bs.Sort = "[namme]"; | ||||||
|  |                     break; | ||||||
|  |                 case 6: | ||||||
|  |                     if (this.bs.Sort == "userManager") this.bs.Sort = "userManager desc"; | ||||||
|  |                     else this.bs.Sort = "userManager"; | ||||||
|  |                     break; | ||||||
|  |                 case 7: | ||||||
|  |                     if (this.bs.Sort == "reqstaff") this.bs.Sort = "reqstaff desc"; | ||||||
|  |                     else this.bs.Sort = "reqstaff"; | ||||||
|  |                     break; | ||||||
|  |                 case 8: | ||||||
|  |                     if (this.bs.Sort == "process") this.bs.Sort = "process desc"; | ||||||
|  |                     else this.bs.Sort = "process"; | ||||||
|  |                     break; | ||||||
|  |                 default: | ||||||
|  |                     this.bs.Sort = ""; | ||||||
|  |                     break; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
| @@ -208,9 +208,6 @@ | |||||||
|         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= |         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= | ||||||
| </value> | </value> | ||||||
|   </data> |   </data> | ||||||
|   <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |  | ||||||
|     <value>17, 17</value> |  | ||||||
|   </metadata> |  | ||||||
|   <metadata name="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>387, 17</value> |     <value>387, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
| @@ -403,7 +400,4 @@ | |||||||
|   <metadata name="taHist.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |   <metadata name="taHist.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||||
|     <value>647, 17</value> |     <value>647, 17</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|   <metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |  | ||||||
|     <value>883, 17</value> |  | ||||||
|   </metadata> |  | ||||||
| </root> | </root> | ||||||
		Reference in New Issue
	
	Block a user
	 chikyun.kim
					chikyun.kim