diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs index 001ec3d..1498f6c 100644 --- a/Project/Properties/AssemblyInfo.cs +++ b/Project/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 // 지정되도록 할 수 있습니다. // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("22.07.20.1130")] -[assembly: AssemblyFileVersion("22.07.20.1130")] +[assembly: AssemblyVersion("22.07.22.0830")] +[assembly: AssemblyFileVersion("22.07.22.0830")] diff --git a/Project/fMain.Designer.cs b/Project/fMain.Designer.cs index a1f4150..5c95037 100644 --- a/Project/fMain.Designer.cs +++ b/Project/fMain.Designer.cs @@ -125,8 +125,8 @@ this.메일자동발신테스트ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripSeparator(); this.아이템비활성화하기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.설명서ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.버젼확인ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.설명서ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem(); @@ -134,6 +134,7 @@ this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); + this.sPR설정ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.cmTab.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout(); @@ -256,14 +257,14 @@ // this.codesToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("codesToolStripMenuItem.Image"))); this.codesToolStripMenuItem.Name = "codesToolStripMenuItem"; - this.codesToolStripMenuItem.Size = new System.Drawing.Size(153, 24); + this.codesToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.codesToolStripMenuItem.Text = "공용코드"; this.codesToolStripMenuItem.Click += new System.EventHandler(this.codesToolStripMenuItem_Click); // // itemsToolStripMenuItem // this.itemsToolStripMenuItem.Name = "itemsToolStripMenuItem"; - this.itemsToolStripMenuItem.Size = new System.Drawing.Size(153, 24); + this.itemsToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.itemsToolStripMenuItem.Text = "품목정보"; this.itemsToolStripMenuItem.Click += new System.EventHandler(this.itemsToolStripMenuItem_Click); // @@ -274,7 +275,7 @@ this.myAccouserToolStripMenuItem, this.권한설정ToolStripMenuItem}); this.userInfoToolStripMenuItem.Name = "userInfoToolStripMenuItem"; - this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(153, 24); + this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.userInfoToolStripMenuItem.Text = "사용자"; // // userAccountToolStripMenuItem @@ -301,14 +302,14 @@ // customerToolStripMenuItem // this.customerToolStripMenuItem.Name = "customerToolStripMenuItem"; - this.customerToolStripMenuItem.Size = new System.Drawing.Size(153, 24); + this.customerToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.customerToolStripMenuItem.Text = "업체정보"; this.customerToolStripMenuItem.Click += new System.EventHandler(this.customerToolStripMenuItem_Click); // // mn_kuntae // this.mn_kuntae.Name = "mn_kuntae"; - this.mn_kuntae.Size = new System.Drawing.Size(153, 24); + this.mn_kuntae.Size = new System.Drawing.Size(180, 24); this.mn_kuntae.Text = "월별 근무표"; this.mn_kuntae.Click += new System.EventHandler(this.월별근무표ToolStripMenuItem_Click); // @@ -316,7 +317,7 @@ // this.메일양식ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("메일양식ToolStripMenuItem.Image"))); this.메일양식ToolStripMenuItem.Name = "메일양식ToolStripMenuItem"; - this.메일양식ToolStripMenuItem.Size = new System.Drawing.Size(153, 24); + this.메일양식ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.메일양식ToolStripMenuItem.Text = "메일 양식"; this.메일양식ToolStripMenuItem.Click += new System.EventHandler(this.메일양식ToolStripMenuItem_Click); // @@ -775,7 +776,8 @@ this.accessDBToolStripMenuItem, this.메일자동발신테스트ToolStripMenuItem, this.toolStripMenuItem5, - this.아이템비활성화하기ToolStripMenuItem}); + this.아이템비활성화하기ToolStripMenuItem, + this.sPR설정ToolStripMenuItem}); this.btDev.ForeColor = System.Drawing.Color.Blue; this.btDev.Image = ((System.Drawing.Image)(resources.GetObject("btDev.Image"))); this.btDev.Name = "btDev"; @@ -917,14 +919,6 @@ this.아이템비활성화하기ToolStripMenuItem.Text = "아이템 비활성화하기"; this.아이템비활성화하기ToolStripMenuItem.Click += new System.EventHandler(this.아이템비활성화하기ToolStripMenuItem_Click); // - // 설명서ToolStripMenuItem - // - this.설명서ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("설명서ToolStripMenuItem.Image"))); - this.설명서ToolStripMenuItem.Name = "설명서ToolStripMenuItem"; - this.설명서ToolStripMenuItem.Size = new System.Drawing.Size(79, 23); - this.설명서ToolStripMenuItem.Text = "설명서"; - this.설명서ToolStripMenuItem.Click += new System.EventHandler(this.설명서ToolStripMenuItem_Click); - // // 버젼확인ToolStripMenuItem // this.버젼확인ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("버젼확인ToolStripMenuItem.Image"))); @@ -933,6 +927,14 @@ this.버젼확인ToolStripMenuItem.Text = "버젼확인"; this.버젼확인ToolStripMenuItem.Click += new System.EventHandler(this.버젼확인ToolStripMenuItem_Click); // + // 설명서ToolStripMenuItem + // + this.설명서ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("설명서ToolStripMenuItem.Image"))); + this.설명서ToolStripMenuItem.Name = "설명서ToolStripMenuItem"; + this.설명서ToolStripMenuItem.Size = new System.Drawing.Size(79, 23); + this.설명서ToolStripMenuItem.Text = "설명서"; + this.설명서ToolStripMenuItem.Click += new System.EventHandler(this.설명서ToolStripMenuItem_Click); + // // tabControl1 // this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons; @@ -1016,6 +1018,13 @@ this.toolStripButton2.Text = "품목정보"; this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1); // + // sPR설정ToolStripMenuItem + // + this.sPR설정ToolStripMenuItem.Name = "sPR설정ToolStripMenuItem"; + this.sPR설정ToolStripMenuItem.Size = new System.Drawing.Size(278, 24); + this.sPR설정ToolStripMenuItem.Text = "SPR 설정"; + this.sPR설정ToolStripMenuItem.Click += new System.EventHandler(this.sPR설정ToolStripMenuItem_Click); + // // fMain // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; @@ -1152,6 +1161,7 @@ private System.Windows.Forms.ToolStripMenuItem 버젼확인ToolStripMenuItem; private System.Windows.Forms.ToolStripSeparator toolStripMenuItem11; private System.Windows.Forms.ToolStripMenuItem 근태마감ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem sPR설정ToolStripMenuItem; } } diff --git a/Project/fMain.cs b/Project/fMain.cs index f2aef22..5e0f020 100644 --- a/Project/fMain.cs +++ b/Project/fMain.cs @@ -1129,7 +1129,8 @@ namespace Project "서버 : " + MaxVerstion + "\n" + "현재 : " + curversion); } - } else Util.MsgE("버젼 확인 불가"); + } + else Util.MsgE("버젼 확인 불가"); } private void 근태마감ToolStripMenuItem_Click(object sender, EventArgs e) @@ -1168,5 +1169,37 @@ namespace Project Application.Exit(); //this.Close(); } + + private void sPR설정ToolStripMenuItem_Click(object sender, EventArgs e) + { + var lines = Clipboard.GetText().Replace("\r", "").Split('\n'); + List items = new List(); + foreach (var lin in lines) + { + if (string.IsNullOrEmpty(lin)) continue; + if (lin.Length == 9) items.Add(lin.Trim()); + } + + var dlg = FCOMMON.Util.MsgQ($"{lines.Length} 건의 자료를 SPR로 설정할까요?"); + if (dlg != DialogResult.Yes) return; + + var cn = FCOMMON.DBM.getCn(); + cn.Open(); + var cmd = new System.Data.SqlClient.SqlCommand("", cn); + var cnt = 0; + foreach (var item in items) + { + var sql = $"update Items set Storage = 'SPR' where gcode = '{FCOMMON.info.Login.gcode}' and sid='{item}'"; + cmd.CommandText = sql; + cnt += cmd.ExecuteNonQuery(); + if (cnt % 25 == 0) + { + this.Text = $"{cnt}/{items.Count}"; + Application.DoEvents(); + } + } + cn.Close(); + FCOMMON.Util.MsgI($"{cnt}건의 자료가 변경 되었습니다"); + } } } diff --git a/Project/fMain.resx b/Project/fMain.resx index 7aa4c5b..571418c 100644 --- a/Project/fMain.resx +++ b/Project/fMain.resx @@ -153,83 +153,6 @@ Mi4wAwEBAAAh+QQBAAAXACwAAAAAEAAQAAAIggAvCBwo0IJBCwQTFqwAAQEDhAoXTpgoYQDEhBYqTKDA kYKEBRclciRAoMEDCREuZtw40oKCCihVauxIIYEBmCkJruxYoWfMggYPsOyJU+WAABMqCJDgM+eFg0iV Aigg4WfBo0kFADAYwWnBABSkQjSIcYDYiAMtBHCwFW3ag24HBgQAOw== - - - - - R0lGODlhEAAQAIQfAP/umP/eN//kV//riOuzSuujJ+usOuu3VuvKgf/0uf/yq+ucF//bJf/pfOvOiO/O - fP/52//ZGP/UAP/haf/ma//hR//ncevDceu8YP39/OuuQP/rp//pdP/nZf///////yH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIkAA/CByYwUOGgQgTfvDgwINChQw9IHD4UGBEABAuUETo - oaNEDxg1erTo4IGDiQAGNFCA4QABAg4jdkxpoYOABAkUGKD4UaUFARUCMLCwk6NGCkADRKBQNKEHDB6E - RpDQlCNUoRYkSJhQYKPFAyqZThjbleMBDxw07CxQYMKGBRs9vNTQcaGHBXjjjuS4t2LFgAA7 - - - - - R0lGODlhEAAQAIQQAP/cpv/GcNvb292RIP+kG/+5T6m5rMStgK13Jv+wOt2TJKmwrP/zcZOru////wAA - AP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQBAAAQACwAAAAAEAAQAAAIZQAhCBxIsKBABgQBGCTIoCEEBgEWDmRAgMAAAwUgKJQ4 - QIEDBwciSmw4QMDHBRIBBCiQAIGABw8aSBSosgHMmCkH2oQpc6bAnTh9QgDa0ydRoUMffCw6s4FJB0wl - OoWKdGiDBgEBADs= - - - - - R0lGODlhEAAQAIQfAJrM+3OSsKfS++zx9uXt9Yis1FdwkZW51ElVa8fj/bba/NXb5PL2+o276b3d/VJh - e7TR4ENLXNXn8KLD536kwIyzzJ/E2KjL3t7n7ykxQz5FVa/W/OLp8I+w1P///////yH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAItgA9CBxIcOCHgx4kQIBwwcKBChQiBgjgASEECQQGZNRI - oGMDAxU9QCCQoGRJBygZNPgo8AKDBB1iyuzAoOYDgRZeonSgoGfPDQxuejjwcsLMAkgFBBVY4aVPBRui - ClCKQCCFojGRIm0ggEBVDxQG8IQqdSoAAhGsijWqdSsADmk9BBBLdqoAAHgxaBAYgAHPsnjxDtjrwcAC - Bhw5KOaAYQCEDHwNSH7wAAGCCBE0aMggtKBnggEBADs= - - - - - R0lGODlhEAAQAIQfAKnrVsfvlYnVOHy8KnfJLJneRWqyJLvth1W7GzGTEVWnHT2aFIPNMkuiGmrKJGKt - Io7eOXa5KU64GDiWE1yqIHK3KHa5J0WeGGC/IG+1JW/FKGjCJHnRLWrOIP///////yH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIqwA/CBTooeDAgwg9DFjoAWHCAQEAFBjQ0CHBAQAEFLBQ - 8WDBjxEARPjY8YPChREiZshg4EFJhQFiFmBQAAIECh8vLoTAgAEBAgIUeGhwoaHCghUE/NTAgcCFAxAW - GDWZQamGDRgwIEAgYUJBjh4MCODAAYODBRMkSEhQMAJLARQUNODgwGsCtiYjHBDgsuCCDl4NmqxQAK7R - v3gHemD5QK4HtBMSEyRplOTBgAA7 - - - - - R0lGODlhEAAQAIMPAEWi6azap1WzS9LusYrSbApexXLHV+z41vH559Ltw8ns+pe75hBs0iCZEP////// - /yH/C05FVFNDQVBFMi4wAwEBAAAh+QQBAAAPACwAAAAAEAAQAAAIiwAfCBxIsKDBBw4SOjg4MGGDBgwY - JDzo4OEBBAgUMGiwkGBFBAcODAAAYMEAjh4ZIBgwQAAAAgZOdkTIQEGCAQRICoAZACVNBQACkHxpQEDP - jg5qLhgKQIDTowIrJoA5NGKDABIbNpjqlEGBAguyag3QEiLYsDOjPgwQYEFYsQUdRpSY1qDCugzzBgQA - Ow== - - - - - R0lGODlhEAAQAIQfAKxoR8VkLxFw1feVPITSWv+eQv7Qo0Cc6OyIN/v7+3PLTSCZEFy17Wa6XuT1x2bG - Q3nNUU6vRXPAa9mLXMTkwJZEHJt7LL5aJ/z8/O2KONx3L/ubP/r6+rtVI////////yH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIpgA/CBxIsOBADBgEeljoweAHDB06eIi4QICAhRwOdjAQ - kaMDCgwELOiQ8WGHAQYMFIjIgMEBCBEzQkSwoUCBCR0OSGigIKZJDQM2cKxwoAGBBx0ykISoIcOGiAcO - EFCAVCkHphueAtgaIYKFpks7NM0qFIDFCxk0kPyQQCzZiB0CbLAqsO1YslnTrq0r9m4GvSUHcoioobDa - vQU5DIar2KFgxYEHBgQAOw== - - - - - R0lGODlhEAAQAIQfAGm6/idTd4yTmF+v8Xa37KvW+lyh3KHJ62aq41ee2bXZ98nm/2mt5W2Ck5XN/C1c - hEZieho8WXXA/2Gn4P39/W+y6V+l3qjP8Njt/lx2izxPYGyv51Oa1EJWZ////////yH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIqgA/CPzgoaBBDwMTEoQgoGGDBhAQKvSQAcOCBQUcaHwg - USBFDARCEqhQgYEEjh47gKxwweAFBAgkREDooYMCAhs8XGCAwMOEmB1o2qywYSdMnxMABCVocwMDngUP - GLAAYCZTBTARHPAgdWpVoQV+TrBgoGwCA1+ZOkgwduuBBAk4pCWogUBcDnjxAgjQkS4BAAMCD9jrgcJE - DQ8eBAjwYKZhhQQPFoRMuXJAADs= - - - - - R0lGODlhEAAQAIQAAP/99v/qaOvOSem4M+zSSv/ypf/ug//1w//2zP/xnv/te//zrf/0uv/41/nWdufB - MP/vkevTVf/rcv/0s//wlv/57OvRM//vi+/OQtaXIuuYEuvTLNyhJ+vHUP///////yH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIoAA/CBxIsCBBDwgTKizogUCEhwQIYLBgYYOHgR4cKPQA - oMEBBAgsfsjoAQGDCQsKJEhAAcKBChYQajyZkiWECwYMAHiAkAAAlCop4FRA9ABPDxgqABVqQIGEpxQG - IMTQoCaEphICaFXAAaEABCmZZtUawECGi0gRHGigloFWCgzOYhRAt0OHASg1yD24cUAFDRcNMhwAWLBB - D4UNMwz8ISAAOw== @@ -250,6 +173,15 @@ gYDHjyAJKNjogQIBChoQZAgQAEGCiQUOKFxAIEMEDhsQPEDAQEKDBzI9dKiZIYOFowwENPg5QeHQlRIi SJAwYIADBwWaegCQIMAACQEEKK2KFYNCrgMihBXbwEHVBGY9GFCQIEGBu3jvKrhw1oBfCBAOHJgwAQOG CyQdKlaIsLHjggEBADs= + + + + + R0lGODlhEAAQAIQfAP/umP/eN//kV//riOuzSuujJ+usOuu3VuvKgf/0uf/yq+ucF//bJf/pfOvOiO/O + fP/52//ZGP/UAP/haf/ma//hR//ncevDceu8YP39/OuuQP/rp//pdP/nZf///////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIkAA/CByYwUOGgQgTfvDgwINChQw9IHD4UGBEABAuUETo + oaNEDxg1erTo4IGDiQAGNFCA4QABAg4jdkxpoYOABAkUGKD4UaUFARUCMLCwk6NGCkADRKBQNKEHDB6E + RpDQlCNUoRYkSJhQYKPFAyqZThjbleMBDxw07CxQYMKGBRs9vNTQcaGHBXjjjuS4t2LFgAA7 @@ -365,6 +297,74 @@ h58L4755nzwWACmRSEixWEynl0gQtXWDq9efcWesTLPb7RZmkg1AikQiUigU0uklEoREZl63mEkW430F g0EHv2mdHpgsyzvNJMvHQ/n9fofX69XJ7HK5bGaSrfBQPNXBzU92nQFgfwCJli/+LKS33wAAAABJRU5E rkJggg== + + + + + R0lGODlhEAAQAIQQAP/cpv/GcNvb292RIP+kG/+5T6m5rMStgK13Jv+wOt2TJKmwrP/zcZOru////wAA + AP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAQACwAAAAAEAAQAAAIZQAhCBxIsKBABgQBGCTIoCEEBgEWDmRAgMAAAwUgKJQ4 + QIEDBwciSmw4QMDHBRIBBCiQAIGABw8aSBSosgHMmCkH2oQpc6bAnTh9QgDa0ydRoUMffCw6s4FJB0wl + OoWKdGiDBgEBADs= + + + + + R0lGODlhEAAQAIQfAJrM+3OSsKfS++zx9uXt9Yis1FdwkZW51ElVa8fj/bba/NXb5PL2+o276b3d/VJh + e7TR4ENLXNXn8KLD536kwIyzzJ/E2KjL3t7n7ykxQz5FVa/W/OLp8I+w1P///////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAItgA9CBxIcOCHgx4kQIBwwcKBChQiBgjgASEECQQGZNRI + oGMDAxU9QCCQoGRJBygZNPgo8AKDBB1iyuzAoOYDgRZeonSgoGfPDQxuejjwcsLMAkgFBBVY4aVPBRui + ClCKQCCFojGRIm0ggEBVDxQG8IQqdSoAAhGsijWqdSsADmk9BBBLdqoAAHgxaBAYgAHPsnjxDtjrwcAC + Bhw5KOaAYQCEDHwNSH7wAAGCCBE0aMggtKBnggEBADs= + + + + + R0lGODlhEAAQAIQfAKnrVsfvlYnVOHy8KnfJLJneRWqyJLvth1W7GzGTEVWnHT2aFIPNMkuiGmrKJGKt + Io7eOXa5KU64GDiWE1yqIHK3KHa5J0WeGGC/IG+1JW/FKGjCJHnRLWrOIP///////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIqwA/CBTooeDAgwg9DFjoAWHCAQEAFBjQ0CHBAQAEFLBQ + 8WDBjxEARPjY8YPChREiZshg4EFJhQFiFmBQAAIECh8vLoTAgAEBAgIUeGhwoaHCghUE/NTAgcCFAxAW + GDWZQamGDRgwIEAgYUJBjh4MCODAAYODBRMkSEhQMAJLARQUNODgwGsCtiYjHBDgsuCCDl4NmqxQAK7R + v3gHemD5QK4HtBMSEyRplOTBgAA7 + + + + + R0lGODlhEAAQAIMPAEWi6azap1WzS9LusYrSbApexXLHV+z41vH559Ltw8ns+pe75hBs0iCZEP////// + /yH/C05FVFNDQVBFMi4wAwEBAAAh+QQBAAAPACwAAAAAEAAQAAAIiwAfCBxIsKDBBw4SOjg4MGGDBgwY + JDzo4OEBBAgUMGiwkGBFBAcODAAAYMEAjh4ZIBgwQAAAAgZOdkTIQEGCAQRICoAZACVNBQACkHxpQEDP + jg5qLhgKQIDTowIrJoA5NGKDABIbNpjqlEGBAguyag3QEiLYsDOjPgwQYEFYsQUdRpSY1qDCugzzBgQA + Ow== + + + + + R0lGODlhEAAQAIQfAKxoR8VkLxFw1feVPITSWv+eQv7Qo0Cc6OyIN/v7+3PLTSCZEFy17Wa6XuT1x2bG + Q3nNUU6vRXPAa9mLXMTkwJZEHJt7LL5aJ/z8/O2KONx3L/ubP/r6+rtVI////////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIpgA/CBxIsOBADBgEeljoweAHDB06eIi4QICAhRwOdjAQ + kaMDCgwELOiQ8WGHAQYMFIjIgMEBCBEzQkSwoUCBCR0OSGigIKZJDQM2cKxwoAGBBx0ykISoIcOGiAcO + EFCAVCkHphueAtgaIYKFpks7NM0qFIDFCxk0kPyQQCzZiB0CbLAqsO1YslnTrq0r9m4GvSUHcoioobDa + vQU5DIar2KFgxYEHBgQAOw== + + + + + R0lGODlhEAAQAIQfAGm6/idTd4yTmF+v8Xa37KvW+lyh3KHJ62aq41ee2bXZ98nm/2mt5W2Ck5XN/C1c + hEZieho8WXXA/2Gn4P39/W+y6V+l3qjP8Njt/lx2izxPYGyv51Oa1EJWZ////////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIqgA/CPzgoaBBDwMTEoQgoGGDBhAQKvSQAcOCBQUcaHwg + USBFDARCEqhQgYEEjh47gKxwweAFBAgkREDooYMCAhs8XGCAwMOEmB1o2qywYSdMnxMABCVocwMDngUP + GLAAYCZTBTARHPAgdWpVoQV+TrBgoGwCA1+ZOkgwduuBBAk4pCWogUBcDnjxAgjQkS4BAAMCD9jrgcJE + DQ8eBAjwYKZhhQQPFoRMuXJAADs= + + + + + R0lGODlhEAAQAIQAAP/99v/qaOvOSem4M+zSSv/ypf/ug//1w//2zP/xnv/te//zrf/0uv/41/nWdufB + MP/vkevTVf/rcv/0s//wlv/57OvRM//vi+/OQtaXIuuYEuvTLNyhJ+vHUP///////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIoAA/CBxIsCBBDwgTKizogUCEhwQIYLBgYYOHgR4cKPQA + oMEBBAgsfsjoAQGDCQsKJEhAAcKBChYQajyZkiWECwYMAHiAkAAAlCop4FRA9ABPDxgqABVqQIGEpxQG + IMTQoCaEphICaFXAAaEABCmZZtUawECGi0gRHGigloFWCgzOYhRAt0OHASg1yD24cUAFDRcNMhwAWLBB + D4UNMwz8ISAAOw== diff --git a/SubProject/FCM0000/Item/fItemAdd.Designer.cs b/SubProject/FCM0000/Item/fItemAdd.Designer.cs index d64e0c6..d839a4c 100644 --- a/SubProject/FCM0000/Item/fItemAdd.Designer.cs +++ b/SubProject/FCM0000/Item/fItemAdd.Designer.cs @@ -28,280 +28,304 @@ /// private void InitializeComponent() { - System.Windows.Forms.Label nameLabel; - System.Windows.Forms.Label sidLabel; - System.Windows.Forms.Label modelLabel; - System.Windows.Forms.Label manuLabel; - System.Windows.Forms.Label supplyLabel; - System.Windows.Forms.Label memoLabel; - System.Windows.Forms.Label priceLabel; - System.Windows.Forms.Label label1; - System.Windows.Forms.Label label2; - this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter(); - this.tbName = new System.Windows.Forms.TextBox(); - this.tbSid = new System.Windows.Forms.TextBox(); - this.tbModel = new System.Windows.Forms.TextBox(); - this.tbManu = new System.Windows.Forms.TextBox(); - this.tbSupply = new System.Windows.Forms.TextBox(); - this.tbMemo = new System.Windows.Forms.TextBox(); - this.tbPrice = new System.Windows.Forms.TextBox(); - this.tbSupplyIdx = new System.Windows.Forms.TextBox(); - this.tbUnit = new System.Windows.Forms.TextBox(); - this.btOK = new System.Windows.Forms.Button(); - this.dsMSSQL = new FCM0000.dsMSSQL(); - this.tbPriceD = new System.Windows.Forms.TextBox(); - nameLabel = new System.Windows.Forms.Label(); - sidLabel = new System.Windows.Forms.Label(); - modelLabel = new System.Windows.Forms.Label(); - manuLabel = new System.Windows.Forms.Label(); - supplyLabel = new System.Windows.Forms.Label(); - memoLabel = new System.Windows.Forms.Label(); - priceLabel = new System.Windows.Forms.Label(); - label1 = new System.Windows.Forms.Label(); - label2 = new System.Windows.Forms.Label(); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); - this.SuspendLayout(); - // - // nameLabel - // - nameLabel.AutoSize = true; - nameLabel.Location = new System.Drawing.Point(34, 17); - nameLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - nameLabel.Name = "nameLabel"; - nameLabel.Size = new System.Drawing.Size(55, 30); - nameLabel.TabIndex = 0; - nameLabel.Text = "품명"; - // - // sidLabel - // - sidLabel.AutoSize = true; - sidLabel.Location = new System.Drawing.Point(44, 231); - sidLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - sidLabel.Name = "sidLabel"; - sidLabel.Size = new System.Drawing.Size(45, 30); - sidLabel.TabIndex = 10; - sidLabel.Text = "SID"; - // - // modelLabel - // - modelLabel.AutoSize = true; - modelLabel.Location = new System.Drawing.Point(13, 63); - modelLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - modelLabel.Name = "modelLabel"; - modelLabel.Size = new System.Drawing.Size(76, 30); - modelLabel.TabIndex = 8; - modelLabel.Text = "모델명"; - // - // manuLabel - // - manuLabel.AutoSize = true; - manuLabel.Location = new System.Drawing.Point(13, 147); - manuLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - manuLabel.Name = "manuLabel"; - manuLabel.Size = new System.Drawing.Size(76, 30); - manuLabel.TabIndex = 6; - manuLabel.Text = "제조사"; - // - // supplyLabel - // - supplyLabel.AutoSize = true; - supplyLabel.Location = new System.Drawing.Point(13, 273); - supplyLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - supplyLabel.Name = "supplyLabel"; - supplyLabel.Size = new System.Drawing.Size(76, 30); - supplyLabel.TabIndex = 12; - supplyLabel.Text = "공급처"; - // - // memoLabel - // - memoLabel.AutoSize = true; - memoLabel.Location = new System.Drawing.Point(34, 318); - memoLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - memoLabel.Name = "memoLabel"; - memoLabel.Size = new System.Drawing.Size(55, 30); - memoLabel.TabIndex = 15; - memoLabel.Text = "비고"; - // - // priceLabel - // - priceLabel.AutoSize = true; - priceLabel.Location = new System.Drawing.Point(34, 189); - priceLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - priceLabel.Name = "priceLabel"; - priceLabel.Size = new System.Drawing.Size(55, 30); - priceLabel.TabIndex = 8; - priceLabel.Text = "단가"; - // - // label1 - // - label1.AutoSize = true; - label1.Location = new System.Drawing.Point(34, 101); - label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - label1.Name = "label1"; - label1.Size = new System.Drawing.Size(55, 30); - label1.TabIndex = 4; - label1.Text = "단위"; - // - // ta - // - this.ta.ClearBeforeFill = true; - // - // tbName - // - this.tbName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.tbName.Location = new System.Drawing.Point(97, 17); - this.tbName.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbName.Name = "tbName"; - this.tbName.Size = new System.Drawing.Size(561, 35); - this.tbName.TabIndex = 2; - // - // tbSid - // - this.tbSid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.tbSid.Location = new System.Drawing.Point(97, 228); - this.tbSid.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbSid.Name = "tbSid"; - this.tbSid.Size = new System.Drawing.Size(561, 35); - this.tbSid.TabIndex = 11; - this.tbSid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // tbModel - // - this.tbModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); - this.tbModel.Location = new System.Drawing.Point(97, 58); - this.tbModel.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbModel.Name = "tbModel"; - this.tbModel.Size = new System.Drawing.Size(561, 35); - this.tbModel.TabIndex = 3; - // - // tbManu - // - this.tbManu.Location = new System.Drawing.Point(97, 144); - this.tbManu.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbManu.Name = "tbManu"; - this.tbManu.Size = new System.Drawing.Size(561, 35); - this.tbManu.TabIndex = 7; - // - // tbSupply - // - this.tbSupply.Location = new System.Drawing.Point(97, 270); - this.tbSupply.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbSupply.Name = "tbSupply"; - this.tbSupply.Size = new System.Drawing.Size(449, 35); - this.tbSupply.TabIndex = 13; - // - // tbMemo - // - this.tbMemo.Location = new System.Drawing.Point(97, 311); - this.tbMemo.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbMemo.Name = "tbMemo"; - this.tbMemo.Size = new System.Drawing.Size(561, 35); - this.tbMemo.TabIndex = 16; - this.tbMemo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // tbPrice - // - this.tbPrice.Location = new System.Drawing.Point(97, 187); - this.tbPrice.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbPrice.Name = "tbPrice"; - this.tbPrice.Size = new System.Drawing.Size(241, 35); - this.tbPrice.TabIndex = 9; - this.tbPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // tbSupplyIdx - // - this.tbSupplyIdx.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.tbSupplyIdx.Enabled = false; - this.tbSupplyIdx.Location = new System.Drawing.Point(556, 270); - this.tbSupplyIdx.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbSupplyIdx.Name = "tbSupplyIdx"; - this.tbSupplyIdx.Size = new System.Drawing.Size(102, 35); - this.tbSupplyIdx.TabIndex = 14; - this.tbSupplyIdx.Text = "-1"; - this.tbSupplyIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // tbUnit - // - this.tbUnit.Location = new System.Drawing.Point(97, 100); - this.tbUnit.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbUnit.Name = "tbUnit"; - this.tbUnit.Size = new System.Drawing.Size(561, 35); - this.tbUnit.TabIndex = 5; - this.tbUnit.Text = "EA"; - this.tbUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // btOK - // - this.btOK.Location = new System.Drawing.Point(97, 357); - this.btOK.Name = "btOK"; - this.btOK.Size = new System.Drawing.Size(561, 66); - this.btOK.TabIndex = 17; - this.btOK.Text = "확인"; - this.btOK.UseVisualStyleBackColor = true; - this.btOK.Click += new System.EventHandler(this.btOK_Click); - // - // dsMSSQL - // - this.dsMSSQL.DataSetName = "dsMSSQL"; - this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // - // label2 - // - label2.AutoSize = true; - label2.ForeColor = System.Drawing.Color.Blue; - label2.Location = new System.Drawing.Point(348, 189); - label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - label2.Name = "label2"; - label2.Size = new System.Drawing.Size(25, 30); - label2.TabIndex = 18; - label2.Text = "$"; - // - // tbPriceD - // - this.tbPriceD.ForeColor = System.Drawing.Color.Blue; - this.tbPriceD.Location = new System.Drawing.Point(383, 187); - this.tbPriceD.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbPriceD.Name = "tbPriceD"; - this.tbPriceD.Size = new System.Drawing.Size(275, 35); - this.tbPriceD.TabIndex = 19; - this.tbPriceD.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // fItemAdd - // - this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 30F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(669, 436); - this.Controls.Add(label2); - this.Controls.Add(this.tbPriceD); - this.Controls.Add(this.btOK); - this.Controls.Add(nameLabel); - this.Controls.Add(this.tbName); - this.Controls.Add(sidLabel); - this.Controls.Add(this.tbSid); - this.Controls.Add(label1); - this.Controls.Add(modelLabel); - this.Controls.Add(this.tbModel); - this.Controls.Add(manuLabel); - this.Controls.Add(this.tbManu); - this.Controls.Add(supplyLabel); - this.Controls.Add(this.tbSupply); - this.Controls.Add(memoLabel); - this.Controls.Add(this.tbMemo); - this.Controls.Add(priceLabel); - this.Controls.Add(this.tbPrice); - this.Controls.Add(this.tbSupplyIdx); - this.Controls.Add(this.tbUnit); - this.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.MaximizeBox = false; - this.MinimizeBox = false; - this.MinimumSize = new System.Drawing.Size(685, 448); - this.Name = "fItemAdd"; - this.Text = "품목 추가"; - this.Load += new System.EventHandler(this.fItemAdd_Load); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); + System.Windows.Forms.Label nameLabel; + System.Windows.Forms.Label sidLabel; + System.Windows.Forms.Label modelLabel; + System.Windows.Forms.Label manuLabel; + System.Windows.Forms.Label supplyLabel; + System.Windows.Forms.Label memoLabel; + System.Windows.Forms.Label priceLabel; + System.Windows.Forms.Label label1; + System.Windows.Forms.Label label2; + System.Windows.Forms.Label label3; + this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter(); + this.tbName = new System.Windows.Forms.TextBox(); + this.tbSid = new System.Windows.Forms.TextBox(); + this.tbModel = new System.Windows.Forms.TextBox(); + this.tbManu = new System.Windows.Forms.TextBox(); + this.tbSupply = new System.Windows.Forms.TextBox(); + this.tbMemo = new System.Windows.Forms.TextBox(); + this.tbPrice = new System.Windows.Forms.TextBox(); + this.tbSupplyIdx = new System.Windows.Forms.TextBox(); + this.tbUnit = new System.Windows.Forms.TextBox(); + this.btOK = new System.Windows.Forms.Button(); + this.dsMSSQL = new FCM0000.dsMSSQL(); + this.tbPriceD = new System.Windows.Forms.TextBox(); + this.tbStorage = new System.Windows.Forms.TextBox(); + nameLabel = new System.Windows.Forms.Label(); + sidLabel = new System.Windows.Forms.Label(); + modelLabel = new System.Windows.Forms.Label(); + manuLabel = new System.Windows.Forms.Label(); + supplyLabel = new System.Windows.Forms.Label(); + memoLabel = new System.Windows.Forms.Label(); + priceLabel = new System.Windows.Forms.Label(); + label1 = new System.Windows.Forms.Label(); + label2 = new System.Windows.Forms.Label(); + label3 = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); + this.SuspendLayout(); + // + // nameLabel + // + nameLabel.AutoSize = true; + nameLabel.Location = new System.Drawing.Point(53, 17); + nameLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + nameLabel.Name = "nameLabel"; + nameLabel.Size = new System.Drawing.Size(55, 30); + nameLabel.TabIndex = 0; + nameLabel.Text = "품명"; + // + // sidLabel + // + sidLabel.AutoSize = true; + sidLabel.Location = new System.Drawing.Point(63, 231); + sidLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + sidLabel.Name = "sidLabel"; + sidLabel.Size = new System.Drawing.Size(45, 30); + sidLabel.TabIndex = 10; + sidLabel.Text = "SID"; + // + // modelLabel + // + modelLabel.AutoSize = true; + modelLabel.Location = new System.Drawing.Point(32, 63); + modelLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + modelLabel.Name = "modelLabel"; + modelLabel.Size = new System.Drawing.Size(76, 30); + modelLabel.TabIndex = 8; + modelLabel.Text = "모델명"; + // + // manuLabel + // + manuLabel.AutoSize = true; + manuLabel.Location = new System.Drawing.Point(32, 147); + manuLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + manuLabel.Name = "manuLabel"; + manuLabel.Size = new System.Drawing.Size(76, 30); + manuLabel.TabIndex = 6; + manuLabel.Text = "제조사"; + // + // supplyLabel + // + supplyLabel.AutoSize = true; + supplyLabel.Location = new System.Drawing.Point(32, 319); + supplyLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + supplyLabel.Name = "supplyLabel"; + supplyLabel.Size = new System.Drawing.Size(76, 30); + supplyLabel.TabIndex = 12; + supplyLabel.Text = "공급처"; + // + // memoLabel + // + memoLabel.AutoSize = true; + memoLabel.Location = new System.Drawing.Point(53, 364); + memoLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + memoLabel.Name = "memoLabel"; + memoLabel.Size = new System.Drawing.Size(55, 30); + memoLabel.TabIndex = 15; + memoLabel.Text = "비고"; + // + // priceLabel + // + priceLabel.AutoSize = true; + priceLabel.Location = new System.Drawing.Point(53, 189); + priceLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + priceLabel.Name = "priceLabel"; + priceLabel.Size = new System.Drawing.Size(55, 30); + priceLabel.TabIndex = 8; + priceLabel.Text = "단가"; + // + // label1 + // + label1.AutoSize = true; + label1.Location = new System.Drawing.Point(53, 101); + label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(55, 30); + label1.TabIndex = 4; + label1.Text = "단위"; + // + // label2 + // + label2.AutoSize = true; + label2.ForeColor = System.Drawing.Color.Blue; + label2.Location = new System.Drawing.Point(364, 189); + label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + label2.Name = "label2"; + label2.Size = new System.Drawing.Size(25, 30); + label2.TabIndex = 18; + label2.Text = "$"; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // tbName + // + this.tbName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.tbName.Location = new System.Drawing.Point(112, 17); + this.tbName.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbName.Name = "tbName"; + this.tbName.Size = new System.Drawing.Size(546, 35); + this.tbName.TabIndex = 2; + // + // tbSid + // + this.tbSid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.tbSid.Location = new System.Drawing.Point(112, 228); + this.tbSid.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbSid.Name = "tbSid"; + this.tbSid.Size = new System.Drawing.Size(546, 35); + this.tbSid.TabIndex = 11; + this.tbSid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbModel + // + this.tbModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); + this.tbModel.Location = new System.Drawing.Point(112, 58); + this.tbModel.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbModel.Name = "tbModel"; + this.tbModel.Size = new System.Drawing.Size(546, 35); + this.tbModel.TabIndex = 3; + // + // tbManu + // + this.tbManu.Location = new System.Drawing.Point(112, 144); + this.tbManu.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbManu.Name = "tbManu"; + this.tbManu.Size = new System.Drawing.Size(546, 35); + this.tbManu.TabIndex = 7; + // + // tbSupply + // + this.tbSupply.Location = new System.Drawing.Point(112, 316); + this.tbSupply.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbSupply.Name = "tbSupply"; + this.tbSupply.Size = new System.Drawing.Size(449, 35); + this.tbSupply.TabIndex = 13; + // + // tbMemo + // + this.tbMemo.Location = new System.Drawing.Point(112, 357); + this.tbMemo.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbMemo.Name = "tbMemo"; + this.tbMemo.Size = new System.Drawing.Size(546, 35); + this.tbMemo.TabIndex = 16; + this.tbMemo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbPrice + // + this.tbPrice.Location = new System.Drawing.Point(112, 187); + this.tbPrice.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbPrice.Name = "tbPrice"; + this.tbPrice.Size = new System.Drawing.Size(241, 35); + this.tbPrice.TabIndex = 9; + this.tbPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbSupplyIdx + // + this.tbSupplyIdx.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.tbSupplyIdx.Enabled = false; + this.tbSupplyIdx.Location = new System.Drawing.Point(556, 316); + this.tbSupplyIdx.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbSupplyIdx.Name = "tbSupplyIdx"; + this.tbSupplyIdx.Size = new System.Drawing.Size(102, 35); + this.tbSupplyIdx.TabIndex = 14; + this.tbSupplyIdx.Text = "-1"; + this.tbSupplyIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbUnit + // + this.tbUnit.Location = new System.Drawing.Point(112, 100); + this.tbUnit.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbUnit.Name = "tbUnit"; + this.tbUnit.Size = new System.Drawing.Size(546, 35); + this.tbUnit.TabIndex = 5; + this.tbUnit.Text = "EA"; + this.tbUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // btOK + // + this.btOK.Location = new System.Drawing.Point(112, 403); + this.btOK.Name = "btOK"; + this.btOK.Size = new System.Drawing.Size(546, 66); + this.btOK.TabIndex = 17; + this.btOK.Text = "확인"; + this.btOK.UseVisualStyleBackColor = true; + this.btOK.Click += new System.EventHandler(this.btOK_Click); + // + // dsMSSQL + // + this.dsMSSQL.DataSetName = "dsMSSQL"; + this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // tbPriceD + // + this.tbPriceD.ForeColor = System.Drawing.Color.Blue; + this.tbPriceD.Location = new System.Drawing.Point(399, 187); + this.tbPriceD.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbPriceD.Name = "tbPriceD"; + this.tbPriceD.Size = new System.Drawing.Size(259, 35); + this.tbPriceD.TabIndex = 19; + this.tbPriceD.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // label3 + // + label3.AutoSize = true; + label3.Location = new System.Drawing.Point(4, 272); + label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + label3.Name = "label3"; + label3.Size = new System.Drawing.Size(104, 30); + label3.TabIndex = 20; + label3.Text = "STORAGE"; + // + // tbStorage + // + this.tbStorage.Location = new System.Drawing.Point(112, 270); + this.tbStorage.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbStorage.Name = "tbStorage"; + this.tbStorage.Size = new System.Drawing.Size(241, 35); + this.tbStorage.TabIndex = 21; + this.tbStorage.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // fItemAdd + // + this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 30F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(669, 478); + this.Controls.Add(label3); + this.Controls.Add(this.tbStorage); + this.Controls.Add(label2); + this.Controls.Add(this.tbPriceD); + this.Controls.Add(this.btOK); + this.Controls.Add(nameLabel); + this.Controls.Add(this.tbName); + this.Controls.Add(sidLabel); + this.Controls.Add(this.tbSid); + this.Controls.Add(label1); + this.Controls.Add(modelLabel); + this.Controls.Add(this.tbModel); + this.Controls.Add(manuLabel); + this.Controls.Add(this.tbManu); + this.Controls.Add(supplyLabel); + this.Controls.Add(this.tbSupply); + this.Controls.Add(memoLabel); + this.Controls.Add(this.tbMemo); + this.Controls.Add(priceLabel); + this.Controls.Add(this.tbPrice); + this.Controls.Add(this.tbSupplyIdx); + this.Controls.Add(this.tbUnit); + this.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.MinimumSize = new System.Drawing.Size(685, 448); + this.Name = "fItemAdd"; + this.Text = "품목 추가"; + this.Load += new System.EventHandler(this.fItemAdd_Load); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); } @@ -320,5 +344,6 @@ public System.Windows.Forms.TextBox tbSupplyIdx; public System.Windows.Forms.TextBox tbUnit; public System.Windows.Forms.TextBox tbPriceD; - } + public System.Windows.Forms.TextBox tbStorage; + } } \ No newline at end of file diff --git a/SubProject/FCM0000/Item/fItemAdd.cs b/SubProject/FCM0000/Item/fItemAdd.cs index b49d6cd..9feb62e 100644 --- a/SubProject/FCM0000/Item/fItemAdd.cs +++ b/SubProject/FCM0000/Item/fItemAdd.cs @@ -82,6 +82,7 @@ namespace FCM0000.Item newdr.supplyidx = int.Parse(tbSupplyIdx.Text.Trim()); newdr.memo = tbMemo.Text.Trim(); newdr.cate = "--"; + newdr.Storage = tbStorage.Text.Trim(); //21711 diff --git a/SubProject/FCM0000/Item/fItemAdd.resx b/SubProject/FCM0000/Item/fItemAdd.resx index b4313f3..b92f581 100644 --- a/SubProject/FCM0000/Item/fItemAdd.resx +++ b/SubProject/FCM0000/Item/fItemAdd.resx @@ -141,13 +141,16 @@ False + + False + 122, 17 17, 17 - + False \ No newline at end of file diff --git a/SubProject/FCM0000/Item/fItems.Designer.cs b/SubProject/FCM0000/Item/fItems.Designer.cs index 370a6cb..2d9ecfb 100644 --- a/SubProject/FCM0000/Item/fItems.Designer.cs +++ b/SubProject/FCM0000/Item/fItems.Designer.cs @@ -28,121 +28,122 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fItems)); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.CurrencyCellType currencyCellType1 = new FarPoint.Win.Spread.CellType.CurrencyCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.ComboBoxCellType comboBoxCellType1 = new FarPoint.Win.Spread.CellType.ComboBoxCellType(); - 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.dsMSSQL = new FCM0000.dsMSSQL(); - 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.itemsBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel(); - this.tbFind = new System.Windows.Forms.ToolStripTextBox(); - this.btFind = new System.Windows.Forms.ToolStripButton(); - this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); - this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); - this.viewPurchaseListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter(); - this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); - this.toolStrip1 = new System.Windows.Forms.ToolStrip(); - this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); - this.cmbCate = new System.Windows.Forms.ToolStripComboBox(); - this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); - this.cmbMode = new System.Windows.Forms.ToolStripComboBox(); - this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); - this.cmbSort = new System.Windows.Forms.ToolStripComboBox(); - this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripLabel6 = new System.Windows.Forms.ToolStripLabel(); - this.tbSearch = new System.Windows.Forms.ToolStripTextBox(); - this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); - this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); - this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); - this.panel1 = new System.Windows.Forms.Panel(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.memoTextBox = new System.Windows.Forms.TextBox(); - this.label1 = new System.Windows.Forms.Label(); - this.panIMage = new System.Windows.Forms.Panel(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.toolStrip2 = new System.Windows.Forms.ToolStrip(); - this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel(); - this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); - this.toolStripButton6 = new System.Windows.Forms.ToolStripButton(); - this.toolStripButton9 = new System.Windows.Forms.ToolStripButton(); - this.label4 = new System.Windows.Forms.Label(); - this.lvSupplyDamdang = new System.Windows.Forms.ListView(); - this.columnHeader11 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnHeader12 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnHeader13 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.label2 = new System.Windows.Forms.Label(); - this.lvInDate = new System.Windows.Forms.ListView(); - this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnHeader9 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.label3 = new System.Windows.Forms.Label(); - this.lvOrder = new System.Windows.Forms.ListView(); - this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnHeader8 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnHeader10 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.taPurchase = new FCM0000.dsMSSQLTableAdapters.PurchaseTableAdapter(); - this.bsStaff = new System.Windows.Forms.BindingSource(this.components); - this.taStaff = new FCM0000.dsMSSQLTableAdapters.StaffTableAdapter(); - this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); - ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); - this.bn.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); - this.cm1.SuspendLayout(); - this.toolStrip1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); - this.groupBox1.SuspendLayout(); - this.panIMage.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - this.toolStrip2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bsStaff)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); - this.SuspendLayout(); - // - // 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.ImageScalingSize = new System.Drawing.Size(30, 30); - this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fItems)); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.CurrencyCellType currencyCellType1 = new FarPoint.Win.Spread.CellType.CurrencyCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.ComboBoxCellType comboBoxCellType1 = new FarPoint.Win.Spread.CellType.ComboBoxCellType(); + 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.dsMSSQL = new FCM0000.dsMSSQL(); + 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.itemsBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel(); + this.tbFind = new System.Windows.Forms.ToolStripTextBox(); + this.btFind = new System.Windows.Forms.ToolStripButton(); + this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); + this.viewPurchaseListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter(); + this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); + this.cmbCate = new System.Windows.Forms.ToolStripComboBox(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); + this.cmbMode = new System.Windows.Forms.ToolStripComboBox(); + this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); + this.cmbSort = new System.Windows.Forms.ToolStripComboBox(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel6 = new System.Windows.Forms.ToolStripLabel(); + this.tbSearch = new System.Windows.Forms.ToolStripTextBox(); + this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); + this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); + this.panel1 = new System.Windows.Forms.Panel(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.memoTextBox = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.panIMage = new System.Windows.Forms.Panel(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.toolStrip2 = new System.Windows.Forms.ToolStrip(); + this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel(); + this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton6 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton9 = new System.Windows.Forms.ToolStripButton(); + this.label4 = new System.Windows.Forms.Label(); + this.lvSupplyDamdang = new System.Windows.Forms.ListView(); + this.columnHeader11 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader12 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader13 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.label2 = new System.Windows.Forms.Label(); + this.lvInDate = new System.Windows.Forms.ListView(); + this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader9 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.label3 = new System.Windows.Forms.Label(); + this.lvOrder = new System.Windows.Forms.ListView(); + this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader8 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader10 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.taPurchase = new FCM0000.dsMSSQLTableAdapters.PurchaseTableAdapter(); + this.bsStaff = new System.Windows.Forms.BindingSource(this.components); + this.taStaff = new FCM0000.dsMSSQLTableAdapters.StaffTableAdapter(); + this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); + ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); + this.bn.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); + this.cm1.SuspendLayout(); + this.toolStrip1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); + this.groupBox1.SuspendLayout(); + this.panIMage.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.toolStrip2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bsStaff)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); + this.SuspendLayout(); + // + // 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.ImageScalingSize = new System.Drawing.Size(30, 30); + this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.bindingNavigatorMoveFirstItem, this.bindingNavigatorMovePreviousItem, this.bindingNavigatorSeparator, @@ -159,231 +160,229 @@ this.toolStripLabel3, this.tbFind, this.btFind}); - this.bn.Location = new System.Drawing.Point(0, 660); - 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(877, 37); - this.bn.TabIndex = 0; - this.bn.Text = "bindingNavigator1"; - // - // bindingNavigatorAddNewItem - // - 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(81, 34); - this.bindingNavigatorAddNewItem.Text = "추가(&A)"; - // - // bs - // - this.bs.DataMember = "Items"; - this.bs.DataSource = this.dsMSSQL; - this.bs.Sort = "sid,name"; - this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); - // - // dsMSSQL - // - this.dsMSSQL.DataSetName = "dsMSSQL"; - this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // - // bindingNavigatorCountItem - // - this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; - this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 34); - this.bindingNavigatorCountItem.Text = "/{0}"; - this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; - // - // bindingNavigatorDeleteItem - // - 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(82, 34); - this.bindingNavigatorDeleteItem.Text = "삭제(&D)"; - // - // 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(34, 34); - 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(34, 34); - this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; - // - // bindingNavigatorSeparator - // - this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; - this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 37); - // - // bindingNavigatorPositionItem - // - this.bindingNavigatorPositionItem.AccessibleName = "위치"; - this.bindingNavigatorPositionItem.AutoSize = false; - this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); - this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; - this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); - this.bindingNavigatorPositionItem.Text = "0"; - this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; - // - // bindingNavigatorSeparator1 - // - this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; - this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 37); - // - // 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(34, 34); - 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(34, 34); - this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; - // - // bindingNavigatorSeparator2 - // - this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; - this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 37); - // - // itemsBindingNavigatorSaveItem - // - this.itemsBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("itemsBindingNavigatorSaveItem.Image"))); - this.itemsBindingNavigatorSaveItem.Name = "itemsBindingNavigatorSaveItem"; - this.itemsBindingNavigatorSaveItem.Size = new System.Drawing.Size(80, 34); - this.itemsBindingNavigatorSaveItem.Text = "저장(&S)"; - this.itemsBindingNavigatorSaveItem.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click); - // - // toolStripSeparator2 - // - this.toolStripSeparator2.Name = "toolStripSeparator2"; - this.toolStripSeparator2.Size = new System.Drawing.Size(6, 37); - // - // toolStripLabel3 - // - this.toolStripLabel3.Name = "toolStripLabel3"; - this.toolStripLabel3.Size = new System.Drawing.Size(31, 34); - this.toolStripLabel3.Text = "검색"; - // - // tbFind - // - this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F); - this.tbFind.Name = "tbFind"; - this.tbFind.Size = new System.Drawing.Size(100, 37); - this.tbFind.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.btFind_KeyDown); - // - // btFind - // - this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image"))); - this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btFind.Name = "btFind"; - this.btFind.Size = new System.Drawing.Size(34, 34); - this.btFind.Text = "toolStripButton1"; - this.btFind.Click += new System.EventHandler(this.toolStripButton1_Click_1); - // - // cm1 - // - this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F); - this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bn.Location = new System.Drawing.Point(0, 660); + 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(877, 37); + this.bn.TabIndex = 0; + this.bn.Text = "bindingNavigator1"; + // + // bindingNavigatorAddNewItem + // + 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(81, 34); + this.bindingNavigatorAddNewItem.Text = "추가(&A)"; + // + // bs + // + this.bs.DataMember = "Items"; + this.bs.DataSource = this.dsMSSQL; + this.bs.Sort = "sid,name"; + this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); + // + // dsMSSQL + // + this.dsMSSQL.DataSetName = "dsMSSQL"; + this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // bindingNavigatorCountItem + // + this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; + this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 34); + this.bindingNavigatorCountItem.Text = "/{0}"; + this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; + // + // bindingNavigatorDeleteItem + // + 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(82, 34); + this.bindingNavigatorDeleteItem.Text = "삭제(&D)"; + // + // 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(34, 34); + 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(34, 34); + this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 37); + // + // 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, 37); + // + // 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(34, 34); + 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(34, 34); + this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 37); + // + // itemsBindingNavigatorSaveItem + // + this.itemsBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("itemsBindingNavigatorSaveItem.Image"))); + this.itemsBindingNavigatorSaveItem.Name = "itemsBindingNavigatorSaveItem"; + this.itemsBindingNavigatorSaveItem.Size = new System.Drawing.Size(80, 34); + this.itemsBindingNavigatorSaveItem.Text = "저장(&S)"; + this.itemsBindingNavigatorSaveItem.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(6, 37); + // + // toolStripLabel3 + // + this.toolStripLabel3.Name = "toolStripLabel3"; + this.toolStripLabel3.Size = new System.Drawing.Size(31, 34); + this.toolStripLabel3.Text = "검색"; + // + // tbFind + // + this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tbFind.Name = "tbFind"; + this.tbFind.Size = new System.Drawing.Size(100, 37); + this.tbFind.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.btFind_KeyDown); + // + // btFind + // + this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image"))); + this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btFind.Name = "btFind"; + this.btFind.Size = new System.Drawing.Size(34, 34); + this.btFind.Text = "toolStripButton1"; + this.btFind.Click += new System.EventHandler(this.toolStripButton1_Click_1); + // + // cm1 + // + this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F); + this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.columnSizeToolStripMenuItem, this.toolStripMenuItem1, this.viewPurchaseListToolStripMenuItem}); - this.cm1.Name = "cm1"; - this.cm1.Size = new System.Drawing.Size(318, 94); - // - // columnSizeToolStripMenuItem - // - this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.cm1.Name = "cm1"; + this.cm1.Size = new System.Drawing.Size(318, 94); + // + // columnSizeToolStripMenuItem + // + this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.resetToolStripMenuItem, this.saveToolStripMenuItem, this.loadToolStripMenuItem}); - this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem"; - this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(317, 42); - this.columnSizeToolStripMenuItem.Text = "열 너비"; - // - // resetToolStripMenuItem - // - this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image"))); - this.resetToolStripMenuItem.Name = "resetToolStripMenuItem"; - this.resetToolStripMenuItem.Size = new System.Drawing.Size(159, 42); - this.resetToolStripMenuItem.Text = "Reset"; - this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click); - // - // saveToolStripMenuItem - // - this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image"))); - this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; - this.saveToolStripMenuItem.Size = new System.Drawing.Size(159, 42); - this.saveToolStripMenuItem.Text = "Save"; - this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); - // - // loadToolStripMenuItem - // - this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image"))); - this.loadToolStripMenuItem.Name = "loadToolStripMenuItem"; - this.loadToolStripMenuItem.Size = new System.Drawing.Size(159, 42); - this.loadToolStripMenuItem.Text = "Load"; - this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click); - // - // toolStripMenuItem1 - // - this.toolStripMenuItem1.Name = "toolStripMenuItem1"; - this.toolStripMenuItem1.Size = new System.Drawing.Size(314, 6); - // - // viewPurchaseListToolStripMenuItem - // - this.viewPurchaseListToolStripMenuItem.Enabled = false; - this.viewPurchaseListToolStripMenuItem.Name = "viewPurchaseListToolStripMenuItem"; - this.viewPurchaseListToolStripMenuItem.Size = new System.Drawing.Size(317, 42); - this.viewPurchaseListToolStripMenuItem.Text = "view Purchase List"; - // - // ta - // - this.ta.ClearBeforeFill = true; - // - // tam - // - this.tam.BackupDataSetBeforeUpdate = false; - this.tam.BoardTableAdapter = null; - this.tam.CommonTableAdapter = null; - this.tam.CustomsTableAdapter = null; - this.tam.EETGW_DocuFormTableAdapter = null; - this.tam.HolidayLIstTableAdapter = null; - this.tam.InventoryUserTableAdapter = null; - this.tam.ItemsTableAdapter = this.ta; - this.tam.ProjectsTableAdapter = null; - this.tam.PurchaseTableAdapter = null; - this.tam.RequestItemTableAdapter = null; - this.tam.StaffTableAdapter = null; - this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; - // - // toolStrip1 - // - this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30); - this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem"; + this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(317, 42); + this.columnSizeToolStripMenuItem.Text = "열 너비"; + // + // resetToolStripMenuItem + // + this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image"))); + this.resetToolStripMenuItem.Name = "resetToolStripMenuItem"; + this.resetToolStripMenuItem.Size = new System.Drawing.Size(159, 42); + this.resetToolStripMenuItem.Text = "Reset"; + this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click); + // + // saveToolStripMenuItem + // + this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image"))); + this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; + this.saveToolStripMenuItem.Size = new System.Drawing.Size(159, 42); + this.saveToolStripMenuItem.Text = "Save"; + this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); + // + // loadToolStripMenuItem + // + this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image"))); + this.loadToolStripMenuItem.Name = "loadToolStripMenuItem"; + this.loadToolStripMenuItem.Size = new System.Drawing.Size(159, 42); + this.loadToolStripMenuItem.Text = "Load"; + this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click); + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(314, 6); + // + // viewPurchaseListToolStripMenuItem + // + this.viewPurchaseListToolStripMenuItem.Enabled = false; + this.viewPurchaseListToolStripMenuItem.Name = "viewPurchaseListToolStripMenuItem"; + this.viewPurchaseListToolStripMenuItem.Size = new System.Drawing.Size(317, 42); + this.viewPurchaseListToolStripMenuItem.Text = "view Purchase List"; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // tam + // + this.tam.BackupDataSetBeforeUpdate = false; + this.tam.BoardTableAdapter = null; + this.tam.CommonTableAdapter = null; + this.tam.CustomsTableAdapter = null; + this.tam.EETGW_DocuFormTableAdapter = null; + this.tam.HolidayLIstTableAdapter = null; + this.tam.InventoryUserTableAdapter = null; + this.tam.ItemsTableAdapter = this.ta; + this.tam.ProjectsTableAdapter = null; + this.tam.PurchaseTableAdapter = null; + this.tam.RequestItemTableAdapter = null; + this.tam.StaffTableAdapter = null; + this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + // + // toolStrip1 + // + this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30); + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabel2, this.cmbCate, this.toolStripSeparator1, @@ -396,565 +395,569 @@ this.tbSearch, this.toolStripButton2, this.toolStripButton1}); - this.toolStrip1.Location = new System.Drawing.Point(0, 0); - this.toolStrip1.Name = "toolStrip1"; - this.toolStrip1.Size = new System.Drawing.Size(1272, 37); - this.toolStrip1.TabIndex = 2; - this.toolStrip1.Text = "toolStrip1"; - // - // toolStripLabel2 - // - this.toolStripLabel2.Name = "toolStripLabel2"; - this.toolStripLabel2.Size = new System.Drawing.Size(31, 34); - this.toolStripLabel2.Text = "분류"; - // - // cmbCate - // - this.cmbCate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbCate.Items.AddRange(new object[] { + this.toolStrip1.Location = new System.Drawing.Point(0, 0); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(1272, 37); + this.toolStrip1.TabIndex = 2; + this.toolStrip1.Text = "toolStrip1"; + // + // toolStripLabel2 + // + this.toolStripLabel2.Name = "toolStripLabel2"; + this.toolStripLabel2.Size = new System.Drawing.Size(31, 34); + this.toolStripLabel2.Text = "분류"; + // + // cmbCate + // + this.cmbCate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbCate.Items.AddRange(new object[] { "Normal", "Duplication"}); - this.cmbCate.Name = "cmbCate"; - this.cmbCate.Size = new System.Drawing.Size(100, 37); - // - // toolStripSeparator1 - // - this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(6, 37); - // - // toolStripLabel1 - // - this.toolStripLabel1.Name = "toolStripLabel1"; - this.toolStripLabel1.Size = new System.Drawing.Size(68, 34); - this.toolStripLabel1.Text = "Query Type"; - // - // cmbMode - // - this.cmbMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbMode.Items.AddRange(new object[] { + this.cmbCate.Name = "cmbCate"; + this.cmbCate.Size = new System.Drawing.Size(100, 37); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(6, 37); + // + // toolStripLabel1 + // + this.toolStripLabel1.Name = "toolStripLabel1"; + this.toolStripLabel1.Size = new System.Drawing.Size(68, 34); + this.toolStripLabel1.Text = "Query Type"; + // + // cmbMode + // + this.cmbMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbMode.Items.AddRange(new object[] { "Normal", "Duplication"}); - this.cmbMode.Name = "cmbMode"; - this.cmbMode.Size = new System.Drawing.Size(120, 37); - // - // toolStripLabel4 - // - this.toolStripLabel4.Name = "toolStripLabel4"; - this.toolStripLabel4.Size = new System.Drawing.Size(31, 34); - this.toolStripLabel4.Text = "정렬"; - // - // cmbSort - // - this.cmbSort.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbSort.Items.AddRange(new object[] { + this.cmbMode.Name = "cmbMode"; + this.cmbMode.Size = new System.Drawing.Size(120, 37); + // + // toolStripLabel4 + // + this.toolStripLabel4.Name = "toolStripLabel4"; + this.toolStripLabel4.Size = new System.Drawing.Size(31, 34); + this.toolStripLabel4.Text = "정렬"; + // + // cmbSort + // + this.cmbSort.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbSort.Items.AddRange(new object[] { "--", "idx", "sid", "sid,name", "name", "cate"}); - this.cmbSort.Name = "cmbSort"; - this.cmbSort.Size = new System.Drawing.Size(100, 37); - this.cmbSort.SelectedIndexChanged += new System.EventHandler(this.cmbSort_SelectedIndexChanged); - this.cmbSort.Click += new System.EventHandler(this.cmbSort_Click); - // - // toolStripSeparator3 - // - this.toolStripSeparator3.Name = "toolStripSeparator3"; - this.toolStripSeparator3.Size = new System.Drawing.Size(6, 37); - // - // toolStripLabel6 - // - this.toolStripLabel6.Name = "toolStripLabel6"; - this.toolStripLabel6.Size = new System.Drawing.Size(31, 34); - this.toolStripLabel6.Text = "검색"; - // - // tbSearch - // - this.tbSearch.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.tbSearch.Font = new System.Drawing.Font("맑은 고딕", 9F); - this.tbSearch.Name = "tbSearch"; - this.tbSearch.Size = new System.Drawing.Size(100, 37); - this.tbSearch.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.tbSearch.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbSearch_KeyDown); - // - // toolStripButton2 - // - this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); - this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton2.Name = "toolStripButton2"; - this.toolStripButton2.Size = new System.Drawing.Size(104, 34); - this.toolStripButton2.Text = "새고로침(&R)"; - this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click); - // - // toolStripButton1 - // - this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - 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(65, 34); - this.toolStripButton1.Text = "닫기"; - this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); - // - // fpSpread1 - // - this.fpSpread1.AccessibleDescription = ""; - this.fpSpread1.ContextMenuStrip = this.cm1; - this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; - this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.fpSpread1.Location = new System.Drawing.Point(0, 37); - this.fpSpread1.Name = "fpSpread1"; - this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { + this.cmbSort.Name = "cmbSort"; + this.cmbSort.Size = new System.Drawing.Size(100, 37); + this.cmbSort.SelectedIndexChanged += new System.EventHandler(this.cmbSort_SelectedIndexChanged); + this.cmbSort.Click += new System.EventHandler(this.cmbSort_Click); + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(6, 37); + // + // toolStripLabel6 + // + this.toolStripLabel6.Name = "toolStripLabel6"; + this.toolStripLabel6.Size = new System.Drawing.Size(31, 34); + this.toolStripLabel6.Text = "검색"; + // + // tbSearch + // + this.tbSearch.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tbSearch.Name = "tbSearch"; + this.tbSearch.Size = new System.Drawing.Size(100, 37); + this.tbSearch.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.tbSearch.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbSearch_KeyDown); + // + // toolStripButton2 + // + this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); + this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton2.Name = "toolStripButton2"; + this.toolStripButton2.Size = new System.Drawing.Size(104, 34); + this.toolStripButton2.Text = "새고로침(&R)"; + this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click); + // + // toolStripButton1 + // + this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + 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(65, 34); + this.toolStripButton1.Text = "닫기"; + this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); + // + // fpSpread1 + // + this.fpSpread1.AccessibleDescription = ""; + this.fpSpread1.ContextMenuStrip = this.cm1; + this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; + this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.fpSpread1.Location = new System.Drawing.Point(0, 37); + this.fpSpread1.Name = "fpSpread1"; + this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.fpSpread1_Sheet1}); - this.fpSpread1.Size = new System.Drawing.Size(877, 623); - this.fpSpread1.TabIndex = 3; - // - // panel1 - // - this.panel1.Dock = System.Windows.Forms.DockStyle.Right; - this.panel1.Location = new System.Drawing.Point(877, 37); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(13, 660); - this.panel1.TabIndex = 4; - // - // groupBox1 - // - this.groupBox1.Controls.Add(this.memoTextBox); - this.groupBox1.Controls.Add(this.label1); - this.groupBox1.Controls.Add(this.panIMage); - this.groupBox1.Controls.Add(this.label4); - this.groupBox1.Controls.Add(this.lvSupplyDamdang); - this.groupBox1.Controls.Add(this.label2); - this.groupBox1.Controls.Add(this.lvInDate); - this.groupBox1.Controls.Add(this.label3); - this.groupBox1.Controls.Add(this.lvOrder); - this.groupBox1.Dock = System.Windows.Forms.DockStyle.Right; - this.groupBox1.Location = new System.Drawing.Point(890, 37); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(382, 660); - this.groupBox1.TabIndex = 5; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "기타 정보"; - // - // memoTextBox - // - this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true)); - this.memoTextBox.Dock = System.Windows.Forms.DockStyle.Fill; - this.memoTextBox.Location = new System.Drawing.Point(3, 213); - this.memoTextBox.Multiline = true; - this.memoTextBox.Name = "memoTextBox"; - this.memoTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both; - this.memoTextBox.Size = new System.Drawing.Size(376, 138); - this.memoTextBox.TabIndex = 3; - // - // label1 - // - this.label1.Dock = System.Windows.Forms.DockStyle.Top; - this.label1.Location = new System.Drawing.Point(3, 191); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(376, 22); - this.label1.TabIndex = 1; - this.label1.Text = "비고"; - this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // panIMage - // - this.panIMage.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); - this.panIMage.Controls.Add(this.pictureBox1); - this.panIMage.Controls.Add(this.toolStrip2); - this.panIMage.Dock = System.Windows.Forms.DockStyle.Top; - this.panIMage.Location = new System.Drawing.Point(3, 17); - this.panIMage.Name = "panIMage"; - this.panIMage.Padding = new System.Windows.Forms.Padding(2); - this.panIMage.Size = new System.Drawing.Size(376, 174); - this.panIMage.TabIndex = 10; - // - // pictureBox1 - // - this.pictureBox1.BackColor = System.Drawing.Color.DimGray; - this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill; - this.pictureBox1.Location = new System.Drawing.Point(2, 2); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(372, 145); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; - this.pictureBox1.TabIndex = 0; - this.pictureBox1.TabStop = false; - // - // toolStrip2 - // - this.toolStrip2.Dock = System.Windows.Forms.DockStyle.Bottom; - this.toolStrip2.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; - this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fpSpread1.Size = new System.Drawing.Size(877, 623); + this.fpSpread1.TabIndex = 3; + // + // panel1 + // + this.panel1.Dock = System.Windows.Forms.DockStyle.Right; + this.panel1.Location = new System.Drawing.Point(877, 37); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(13, 660); + this.panel1.TabIndex = 4; + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.memoTextBox); + this.groupBox1.Controls.Add(this.label1); + this.groupBox1.Controls.Add(this.panIMage); + this.groupBox1.Controls.Add(this.label4); + this.groupBox1.Controls.Add(this.lvSupplyDamdang); + this.groupBox1.Controls.Add(this.label2); + this.groupBox1.Controls.Add(this.lvInDate); + this.groupBox1.Controls.Add(this.label3); + this.groupBox1.Controls.Add(this.lvOrder); + this.groupBox1.Dock = System.Windows.Forms.DockStyle.Right; + this.groupBox1.Location = new System.Drawing.Point(890, 37); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(382, 660); + this.groupBox1.TabIndex = 5; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "기타 정보"; + // + // memoTextBox + // + this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true)); + this.memoTextBox.Dock = System.Windows.Forms.DockStyle.Fill; + this.memoTextBox.Location = new System.Drawing.Point(3, 213); + this.memoTextBox.Multiline = true; + this.memoTextBox.Name = "memoTextBox"; + this.memoTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both; + this.memoTextBox.Size = new System.Drawing.Size(376, 138); + this.memoTextBox.TabIndex = 3; + // + // label1 + // + this.label1.Dock = System.Windows.Forms.DockStyle.Top; + this.label1.Location = new System.Drawing.Point(3, 191); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(376, 22); + this.label1.TabIndex = 1; + this.label1.Text = "비고"; + this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // panIMage + // + this.panIMage.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); + this.panIMage.Controls.Add(this.pictureBox1); + this.panIMage.Controls.Add(this.toolStrip2); + this.panIMage.Dock = System.Windows.Forms.DockStyle.Top; + this.panIMage.Location = new System.Drawing.Point(3, 17); + this.panIMage.Name = "panIMage"; + this.panIMage.Padding = new System.Windows.Forms.Padding(2); + this.panIMage.Size = new System.Drawing.Size(376, 174); + this.panIMage.TabIndex = 10; + // + // pictureBox1 + // + this.pictureBox1.BackColor = System.Drawing.Color.DimGray; + this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill; + this.pictureBox1.Location = new System.Drawing.Point(2, 2); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(372, 145); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.pictureBox1.TabIndex = 0; + this.pictureBox1.TabStop = false; + // + // toolStrip2 + // + this.toolStrip2.Dock = System.Windows.Forms.DockStyle.Bottom; + this.toolStrip2.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; + this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabel5, this.toolStripButton3, this.toolStripButton6, this.toolStripButton9}); - this.toolStrip2.Location = new System.Drawing.Point(2, 147); - this.toolStrip2.Name = "toolStrip2"; - this.toolStrip2.Size = new System.Drawing.Size(372, 25); - this.toolStrip2.TabIndex = 0; - this.toolStrip2.Text = "toolStrip2"; - // - // toolStripLabel5 - // - this.toolStripLabel5.Name = "toolStripLabel5"; - this.toolStripLabel5.Size = new System.Drawing.Size(11, 22); - this.toolStripLabel5.Text = " "; - // - // toolStripButton3 - // - this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); - this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton3.Name = "toolStripButton3"; - this.toolStripButton3.Size = new System.Drawing.Size(75, 22); - this.toolStripButton3.Text = "파일선택"; - this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); - // - // toolStripButton6 - // - this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image"))); - this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton6.Name = "toolStripButton6"; - this.toolStripButton6.Size = new System.Drawing.Size(75, 22); - this.toolStripButton6.Text = "붙여넣기"; - this.toolStripButton6.Click += new System.EventHandler(this.toolStripButton6_Click); - // - // toolStripButton9 - // - this.toolStripButton9.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton9.Image"))); - this.toolStripButton9.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton9.Name = "toolStripButton9"; - this.toolStripButton9.Size = new System.Drawing.Size(75, 22); - this.toolStripButton9.Text = "웹캠촬영"; - this.toolStripButton9.Click += new System.EventHandler(this.toolStripButton9_Click); - // - // label4 - // - this.label4.Dock = System.Windows.Forms.DockStyle.Bottom; - this.label4.Location = new System.Drawing.Point(3, 351); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(376, 22); - this.label4.TabIndex = 8; - this.label4.Text = "공급처 담당자"; - this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lvSupplyDamdang - // - this.lvSupplyDamdang.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.toolStrip2.Location = new System.Drawing.Point(2, 147); + this.toolStrip2.Name = "toolStrip2"; + this.toolStrip2.Size = new System.Drawing.Size(372, 25); + this.toolStrip2.TabIndex = 0; + this.toolStrip2.Text = "toolStrip2"; + // + // toolStripLabel5 + // + this.toolStripLabel5.Name = "toolStripLabel5"; + this.toolStripLabel5.Size = new System.Drawing.Size(11, 22); + this.toolStripLabel5.Text = " "; + // + // toolStripButton3 + // + this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); + this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton3.Name = "toolStripButton3"; + this.toolStripButton3.Size = new System.Drawing.Size(75, 22); + this.toolStripButton3.Text = "파일선택"; + this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); + // + // toolStripButton6 + // + this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image"))); + this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton6.Name = "toolStripButton6"; + this.toolStripButton6.Size = new System.Drawing.Size(75, 22); + this.toolStripButton6.Text = "붙여넣기"; + this.toolStripButton6.Click += new System.EventHandler(this.toolStripButton6_Click); + // + // toolStripButton9 + // + this.toolStripButton9.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton9.Image"))); + this.toolStripButton9.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton9.Name = "toolStripButton9"; + this.toolStripButton9.Size = new System.Drawing.Size(75, 22); + this.toolStripButton9.Text = "웹캠촬영"; + this.toolStripButton9.Click += new System.EventHandler(this.toolStripButton9_Click); + // + // label4 + // + this.label4.Dock = System.Windows.Forms.DockStyle.Bottom; + this.label4.Location = new System.Drawing.Point(3, 351); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(376, 22); + this.label4.TabIndex = 8; + this.label4.Text = "공급처 담당자"; + this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lvSupplyDamdang + // + this.lvSupplyDamdang.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader11, this.columnHeader12, this.columnHeader13}); - this.lvSupplyDamdang.Dock = System.Windows.Forms.DockStyle.Bottom; - this.lvSupplyDamdang.FullRowSelect = true; - this.lvSupplyDamdang.GridLines = true; - this.lvSupplyDamdang.HideSelection = false; - this.lvSupplyDamdang.Location = new System.Drawing.Point(3, 373); - this.lvSupplyDamdang.Name = "lvSupplyDamdang"; - this.lvSupplyDamdang.Size = new System.Drawing.Size(376, 80); - this.lvSupplyDamdang.TabIndex = 9; - this.lvSupplyDamdang.UseCompatibleStateImageBehavior = false; - this.lvSupplyDamdang.View = System.Windows.Forms.View.Details; - // - // columnHeader11 - // - this.columnHeader11.Text = "성명"; - this.columnHeader11.Width = 101; - // - // columnHeader12 - // - this.columnHeader12.Text = "전화"; - this.columnHeader12.Width = 110; - // - // columnHeader13 - // - this.columnHeader13.Text = "이메일"; - this.columnHeader13.Width = 149; - // - // label2 - // - this.label2.Dock = System.Windows.Forms.DockStyle.Bottom; - this.label2.Location = new System.Drawing.Point(3, 453); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(376, 22); - this.label2.TabIndex = 4; - this.label2.Text = "최근 입고 내역"; - this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lvInDate - // - this.lvInDate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.lvInDate.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.lvSupplyDamdang.Dock = System.Windows.Forms.DockStyle.Bottom; + this.lvSupplyDamdang.FullRowSelect = true; + this.lvSupplyDamdang.GridLines = true; + this.lvSupplyDamdang.HideSelection = false; + this.lvSupplyDamdang.Location = new System.Drawing.Point(3, 373); + this.lvSupplyDamdang.Name = "lvSupplyDamdang"; + this.lvSupplyDamdang.Size = new System.Drawing.Size(376, 80); + this.lvSupplyDamdang.TabIndex = 9; + this.lvSupplyDamdang.UseCompatibleStateImageBehavior = false; + this.lvSupplyDamdang.View = System.Windows.Forms.View.Details; + // + // columnHeader11 + // + this.columnHeader11.Text = "성명"; + this.columnHeader11.Width = 101; + // + // columnHeader12 + // + this.columnHeader12.Text = "전화"; + this.columnHeader12.Width = 110; + // + // columnHeader13 + // + this.columnHeader13.Text = "이메일"; + this.columnHeader13.Width = 149; + // + // label2 + // + this.label2.Dock = System.Windows.Forms.DockStyle.Bottom; + this.label2.Location = new System.Drawing.Point(3, 453); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(376, 22); + this.label2.TabIndex = 4; + this.label2.Text = "최근 입고 내역"; + this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lvInDate + // + this.lvInDate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.lvInDate.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2, this.columnHeader3, this.columnHeader4, this.columnHeader9}); - this.lvInDate.Dock = System.Windows.Forms.DockStyle.Bottom; - this.lvInDate.FullRowSelect = true; - this.lvInDate.GridLines = true; - this.lvInDate.HideSelection = false; - this.lvInDate.Location = new System.Drawing.Point(3, 475); - this.lvInDate.Name = "lvInDate"; - this.lvInDate.Size = new System.Drawing.Size(376, 80); - this.lvInDate.TabIndex = 5; - this.lvInDate.UseCompatibleStateImageBehavior = false; - this.lvInDate.View = System.Windows.Forms.View.Details; - // - // columnHeader1 - // - this.columnHeader1.Text = "입고일"; - this.columnHeader1.Width = 80; - // - // columnHeader2 - // - this.columnHeader2.Text = "담당"; - // - // columnHeader3 - // - this.columnHeader3.Text = "수량"; - this.columnHeader3.Width = 50; - // - // columnHeader4 - // - this.columnHeader4.Text = "금액"; - this.columnHeader4.Width = 80; - // - // columnHeader9 - // - this.columnHeader9.Text = "상태"; - this.columnHeader9.Width = 70; - // - // label3 - // - this.label3.Dock = System.Windows.Forms.DockStyle.Bottom; - this.label3.Location = new System.Drawing.Point(3, 555); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(376, 22); - this.label3.TabIndex = 6; - this.label3.Text = "최근 주문 내역"; - this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lvOrder - // - this.lvOrder.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.lvInDate.Dock = System.Windows.Forms.DockStyle.Bottom; + this.lvInDate.FullRowSelect = true; + this.lvInDate.GridLines = true; + this.lvInDate.HideSelection = false; + this.lvInDate.Location = new System.Drawing.Point(3, 475); + this.lvInDate.Name = "lvInDate"; + this.lvInDate.Size = new System.Drawing.Size(376, 80); + this.lvInDate.TabIndex = 5; + this.lvInDate.UseCompatibleStateImageBehavior = false; + this.lvInDate.View = System.Windows.Forms.View.Details; + // + // columnHeader1 + // + this.columnHeader1.Text = "입고일"; + this.columnHeader1.Width = 80; + // + // columnHeader2 + // + this.columnHeader2.Text = "담당"; + // + // columnHeader3 + // + this.columnHeader3.Text = "수량"; + this.columnHeader3.Width = 50; + // + // columnHeader4 + // + this.columnHeader4.Text = "금액"; + this.columnHeader4.Width = 80; + // + // columnHeader9 + // + this.columnHeader9.Text = "상태"; + this.columnHeader9.Width = 70; + // + // label3 + // + this.label3.Dock = System.Windows.Forms.DockStyle.Bottom; + this.label3.Location = new System.Drawing.Point(3, 555); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(376, 22); + this.label3.TabIndex = 6; + this.label3.Text = "최근 주문 내역"; + this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lvOrder + // + this.lvOrder.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader5, this.columnHeader6, this.columnHeader7, this.columnHeader8, this.columnHeader10}); - this.lvOrder.Dock = System.Windows.Forms.DockStyle.Bottom; - this.lvOrder.FullRowSelect = true; - this.lvOrder.GridLines = true; - this.lvOrder.HideSelection = false; - this.lvOrder.Location = new System.Drawing.Point(3, 577); - this.lvOrder.Name = "lvOrder"; - this.lvOrder.Size = new System.Drawing.Size(376, 80); - this.lvOrder.TabIndex = 7; - this.lvOrder.UseCompatibleStateImageBehavior = false; - this.lvOrder.View = System.Windows.Forms.View.Details; - // - // columnHeader5 - // - this.columnHeader5.Text = "등록일"; - this.columnHeader5.Width = 80; - // - // columnHeader6 - // - this.columnHeader6.Text = "담당"; - // - // columnHeader7 - // - this.columnHeader7.Text = "수량"; - this.columnHeader7.Width = 50; - // - // columnHeader8 - // - this.columnHeader8.Text = "금액"; - this.columnHeader8.Width = 80; - // - // columnHeader10 - // - this.columnHeader10.Text = "상태"; - this.columnHeader10.Width = 70; - // - // taPurchase - // - this.taPurchase.ClearBeforeFill = true; - // - // bsStaff - // - this.bsStaff.DataMember = "Staff"; - this.bsStaff.DataSource = this.dsMSSQL; - this.bsStaff.Sort = ""; - // - // taStaff - // - this.taStaff.ClearBeforeFill = true; - // - // 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 = 13; - this.fpSpread1_Sheet1.ActiveColumnIndex = -1; - this.fpSpread1_Sheet1.ActiveRowIndex = -1; - this.fpSpread1_Sheet1.AutoGenerateColumns = false; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).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, 4).Value = "SID#"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "모델명"; - 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, 8).Value = "제조사"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "규격"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "단위"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "공급처"; - this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 42F; - 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).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(0).Label = "IDX"; - this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(0).Width = 62F; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType1; - this.fpSpread1_Sheet1.Columns.Get(1).DataField = "disable"; - this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(1).Label = "숨김"; - 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).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1; - this.fpSpread1_Sheet1.Columns.Get(2).DataField = "cate"; - this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(2).Label = "분류"; - this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(2).Width = 113F; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2; - this.fpSpread1_Sheet1.Columns.Get(3).DataField = "name"; - this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(3).Label = "품명"; - this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(3).Width = 113F; - this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3; - this.fpSpread1_Sheet1.Columns.Get(4).DataField = "sid"; - this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(4).Label = "SID#"; - this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(4).Width = 113F; - this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4; - this.fpSpread1_Sheet1.Columns.Get(5).DataField = "model"; - this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(5).Label = "모델명"; - this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(5).Width = 113F; - currencyCellType1.DecimalPlaces = 0; - currencyCellType1.MaximumValue = new decimal(new int[] { + this.lvOrder.Dock = System.Windows.Forms.DockStyle.Bottom; + this.lvOrder.FullRowSelect = true; + this.lvOrder.GridLines = true; + this.lvOrder.HideSelection = false; + this.lvOrder.Location = new System.Drawing.Point(3, 577); + this.lvOrder.Name = "lvOrder"; + this.lvOrder.Size = new System.Drawing.Size(376, 80); + this.lvOrder.TabIndex = 7; + this.lvOrder.UseCompatibleStateImageBehavior = false; + this.lvOrder.View = System.Windows.Forms.View.Details; + // + // columnHeader5 + // + this.columnHeader5.Text = "등록일"; + this.columnHeader5.Width = 80; + // + // columnHeader6 + // + this.columnHeader6.Text = "담당"; + // + // columnHeader7 + // + this.columnHeader7.Text = "수량"; + this.columnHeader7.Width = 50; + // + // columnHeader8 + // + this.columnHeader8.Text = "금액"; + this.columnHeader8.Width = 80; + // + // columnHeader10 + // + this.columnHeader10.Text = "상태"; + this.columnHeader10.Width = 70; + // + // taPurchase + // + this.taPurchase.ClearBeforeFill = true; + // + // bsStaff + // + this.bsStaff.DataMember = "Staff"; + this.bsStaff.DataSource = this.dsMSSQL; + this.bsStaff.Sort = ""; + // + // taStaff + // + this.taStaff.ClearBeforeFill = true; + // + // 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 = 14; + this.fpSpread1_Sheet1.ActiveColumnIndex = -1; + this.fpSpread1_Sheet1.ActiveRowIndex = -1; + this.fpSpread1_Sheet1.AutoGenerateColumns = false; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "숨김"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "분류"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "품명"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).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, 8).Value = "단가($)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "제조사"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "규격"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "단위"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "공급처"; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 42F; + 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).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(0).Label = "IDX"; + this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(0).Width = 62F; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType1; + this.fpSpread1_Sheet1.Columns.Get(1).DataField = "disable"; + this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(1).Label = "숨김"; + 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 = textCellType1; + this.fpSpread1_Sheet1.Columns.Get(2).DataField = "Storage"; + this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(2).Width = 79F; + this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2; + this.fpSpread1_Sheet1.Columns.Get(3).DataField = "cate"; + this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(3).Label = "분류"; + this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(3).Width = 113F; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(4).DataField = "name"; + this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(4).Label = "품명"; + this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(4).Width = 113F; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4; + this.fpSpread1_Sheet1.Columns.Get(5).DataField = "sid"; + this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(5).Label = "SID#"; + this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(5).Width = 113F; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5; + this.fpSpread1_Sheet1.Columns.Get(6).DataField = "model"; + this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(6).Label = "모델명"; + this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(6).Width = 113F; + currencyCellType1.DecimalPlaces = 0; + currencyCellType1.MaximumValue = new decimal(new int[] { 10000000, 0, 0, 0}); - currencyCellType1.MinimumValue = new decimal(new int[] { + currencyCellType1.MinimumValue = new decimal(new int[] { 10000000, 0, 0, -2147483648}); - currencyCellType1.NegativeRed = true; - currencyCellType1.NullDisplay = "--"; - currencyCellType1.Separator = ","; - currencyCellType1.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(6).CellType = currencyCellType1; - this.fpSpread1_Sheet1.Columns.Get(6).DataField = "price"; - this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; - this.fpSpread1_Sheet1.Columns.Get(6).Label = "단가"; - this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(6).Width = 123F; - numberCellType2.DecimalPlaces = 2; - this.fpSpread1_Sheet1.Columns.Get(7).CellType = numberCellType2; - this.fpSpread1_Sheet1.Columns.Get(7).DataField = "priceD"; - this.fpSpread1_Sheet1.Columns.Get(7).ForeColor = System.Drawing.Color.Blue; - this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; - this.fpSpread1_Sheet1.Columns.Get(7).Label = "단가($)"; - this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(7).Width = 94F; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType5; - this.fpSpread1_Sheet1.Columns.Get(8).DataField = "manu"; - 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).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(8).Width = 113F; - numberCellType3.MaximumValue = 999999999999999D; - numberCellType3.MinimumValue = -999999999999999D; - this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType3; - this.fpSpread1_Sheet1.Columns.Get(9).DataField = "scale"; - this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(9).Label = "규격"; - this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(9).Width = 84F; - this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType6; - this.fpSpread1_Sheet1.Columns.Get(10).DataField = "unit"; - this.fpSpread1_Sheet1.Columns.Get(10).Label = "단위"; - this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType7; - this.fpSpread1_Sheet1.Columns.Get(11).DataField = "supply"; - this.fpSpread1_Sheet1.Columns.Get(11).Tag = "supplyname"; - this.fpSpread1_Sheet1.Columns.Get(11).Visible = false; - comboBoxCellType1.AllowEditorVerticalAlign = true; - comboBoxCellType1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; - comboBoxCellType1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; - comboBoxCellType1.ButtonAlign = FarPoint.Win.ButtonAlign.Right; - comboBoxCellType1.EditorValue = FarPoint.Win.Spread.CellType.EditorValue.ItemData; - this.fpSpread1_Sheet1.Columns.Get(12).CellType = comboBoxCellType1; - this.fpSpread1_Sheet1.Columns.Get(12).DataField = "supplyidx"; - this.fpSpread1_Sheet1.Columns.Get(12).Label = "공급처"; - this.fpSpread1_Sheet1.Columns.Get(12).Tag = "supply"; - this.fpSpread1_Sheet1.DataAutoCellTypes = false; - 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; - // - // fItems - // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1272, 697); - this.Controls.Add(this.fpSpread1); - this.Controls.Add(this.bn); - this.Controls.Add(this.panel1); - this.Controls.Add(this.groupBox1); - this.Controls.Add(this.toolStrip1); - this.Name = "fItems"; - this.Text = "품목 정보"; - this.Load += new System.EventHandler(this.fItems_Load); - ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); - this.bn.ResumeLayout(false); - this.bn.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); - this.cm1.ResumeLayout(false); - this.toolStrip1.ResumeLayout(false); - this.toolStrip1.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); - this.groupBox1.ResumeLayout(false); - this.groupBox1.PerformLayout(); - this.panIMage.ResumeLayout(false); - this.panIMage.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - this.toolStrip2.ResumeLayout(false); - this.toolStrip2.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bsStaff)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); + currencyCellType1.NegativeRed = true; + currencyCellType1.NullDisplay = "--"; + currencyCellType1.Separator = ","; + currencyCellType1.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = currencyCellType1; + this.fpSpread1_Sheet1.Columns.Get(7).DataField = "price"; + this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; + this.fpSpread1_Sheet1.Columns.Get(7).Label = "단가"; + this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(7).Width = 123F; + numberCellType2.DecimalPlaces = 2; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType2; + this.fpSpread1_Sheet1.Columns.Get(8).DataField = "priceD"; + this.fpSpread1_Sheet1.Columns.Get(8).ForeColor = System.Drawing.Color.Blue; + this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; + this.fpSpread1_Sheet1.Columns.Get(8).Label = "단가($)"; + this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(8).Width = 94F; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType6; + this.fpSpread1_Sheet1.Columns.Get(9).DataField = "manu"; + 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).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(9).Width = 113F; + numberCellType3.MaximumValue = 999999999999999D; + numberCellType3.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType3; + this.fpSpread1_Sheet1.Columns.Get(10).DataField = "scale"; + this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(10).Label = "규격"; + this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(10).Width = 84F; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType7; + this.fpSpread1_Sheet1.Columns.Get(11).DataField = "unit"; + this.fpSpread1_Sheet1.Columns.Get(11).Label = "단위"; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType8; + this.fpSpread1_Sheet1.Columns.Get(12).DataField = "supply"; + this.fpSpread1_Sheet1.Columns.Get(12).Tag = "supplyname"; + this.fpSpread1_Sheet1.Columns.Get(12).Visible = false; + comboBoxCellType1.AllowEditorVerticalAlign = true; + comboBoxCellType1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + comboBoxCellType1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + comboBoxCellType1.ButtonAlign = FarPoint.Win.ButtonAlign.Right; + comboBoxCellType1.EditorValue = FarPoint.Win.Spread.CellType.EditorValue.ItemData; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = comboBoxCellType1; + this.fpSpread1_Sheet1.Columns.Get(13).DataField = "supplyidx"; + this.fpSpread1_Sheet1.Columns.Get(13).Label = "공급처"; + this.fpSpread1_Sheet1.Columns.Get(13).Tag = "supply"; + this.fpSpread1_Sheet1.DataAutoCellTypes = false; + 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; + // + // fItems + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1272, 697); + this.Controls.Add(this.fpSpread1); + this.Controls.Add(this.bn); + this.Controls.Add(this.panel1); + this.Controls.Add(this.groupBox1); + this.Controls.Add(this.toolStrip1); + this.Name = "fItems"; + this.Text = "품목 정보"; + this.Load += new System.EventHandler(this.fItems_Load); + ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); + this.bn.ResumeLayout(false); + this.bn.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); + this.cm1.ResumeLayout(false); + this.toolStrip1.ResumeLayout(false); + this.toolStrip1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.panIMage.ResumeLayout(false); + this.panIMage.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.toolStrip2.ResumeLayout(false); + this.toolStrip2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bsStaff)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); } @@ -1035,6 +1038,6 @@ private System.Windows.Forms.ToolStripButton toolStripButton9; private System.Windows.Forms.ToolStripLabel toolStripLabel6; private System.Windows.Forms.ToolStripTextBox tbSearch; - private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; - } + private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; + } } \ No newline at end of file diff --git a/SubProject/FCM0000/Item/fItems.resx b/SubProject/FCM0000/Item/fItems.resx index 762bcb9..3fda1e7 100644 --- a/SubProject/FCM0000/Item/fItems.resx +++ b/SubProject/FCM0000/Item/fItems.resx @@ -222,20 +222,20 @@ iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL0SURBVEhLtVZbTxNBFCZeYrxEjY8++KKiMfHFRAgviv4H - o/4Bn9RoDBETzcQgRmjLtrbQVuyFlgVKQy3d7i6XSpRCdxc0QICWBpSbCQRjgk+QWLL2NNPEmIHuwPZL - vkx29sz3Zc6ZObsleuCxKXD4mdF58WVjxw0Y4Rm/0h+3Ojv3M37hkVeQxeBwain2ZWVzaP63CiM8u7Lz - TGv0IUJoH16yd9S3hCq8PYqkpH9mJn6p6nZU0msZNy8lXrdEKvDS3YPxi3cjo9+WSEbbMSTNLJpZ4Q6W - oIfBHbkaVtILJPFCDI3M/ahnd7FzqCmklySqlZB26prDQSpU00KUZ9YycOCwpDZ4eKmHJEZLLy+LWLIw - nhh8R0Px5DJJiJZw1TTf86q69xc+fl3dJAnRsntsZaOqzn0eS+8M1NR2c2h+nShEy/j3dRVZ2yux9M6o - Nr4rjYytbpCEaAk7rjY1n8PSOwMh5xGoDUmIll2J1CJVL4feSxKipUeUeSypDXD/oPeSxLRSnl/7Y/bx - 97GkNkDHcYl761weQRqm7lzZBQeMnu7+bjlNFC3E8MjcMnWvfmCxHGrwhTkuMakGYqNqZGSWKL4d4evE - tPO3sZw2wIk2eD+InDSpCkpS5RJTar0nHHdxCQl6L8koT6gppNfgCpdjOW1AjOdkdqfxqDSVM4XR6A73 - QgagVnDg3KIswBWB+wl/IDCGpNQC9GQ4SPQ1NTWfsrL8YFSezpny0rTa4Of6SHcQ5qDJIHt7JYy7/udC - 1rbT1jZeEfKmyrRqZqODyGY7hkP0R43Fe9YW4Mf5rCGYgrm5NTIKGcAh+qPW7r9kD/RO5QxzO02qNpYf - hwzgEP3xytFxxRGMJfOmQHtQHEPmljM4RH/UOFqvObr6Z/8zTWY/X6U4RH88feM80RSMpf81bQ7FUs+t - gcs4pDh4wbjKgwODW3lTV3bn6C1bhl8XD/eczoOMn/vUOfB5y9nVN1PbyF7Hr4oPMEcmbxmy+I/jqSKj - pOQvnQJaQklTJLQAAAAASUVORK5CYII= + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALzSURBVEhLtVZbTxNBFCZeYrxEjY8++OI1Jr6YCOFF0f9g + 1D/gkxqNIWKimRjECG3Z1hbair1AWaA01KXb3eVSCVLo7lITMEBbAsrNBDAxwSdIhKw9zTQxZqA7sP2S + L5OdPfN9mXNmzm6JEXhiCR5+bnZfetXQcRNGeMavjMftzs79TEB87BcVKTSSXowllzeG535rMMKzJzvP + tEYfIYT24SV7R11zuNzfo8pq5ufm11+ath3VzOqmV5ATb5oj5Xjp7sEEpHuR5LdFktF2DMuZBSsr3sUS + 9DB5I9c4dXqeJF6I4dHZH3XsLnYONYX0kkT1EtJOXXM4SIVqWohKenUTDhyW1AefIPeQxGjpFxQJSxbG + U1PL0XA8tUQSoiVcNd33vLL2w8VPX1Y2SEK05MaW1ytrveex9M5AjW23hufWiEK0jH9f05C9vQJL74wq + 8/sL3WMr6yQhWsKOqyxN57D0zkDIfQRqQxKiZVcivUDVy6H3koRo6ZMUAUvqA9w/6L0kMb1U5lb/WFuE + B1hSH6DjeKS9dS6fKI9Qd67sggNmX3d/tzJNFC1EbnR2ibpXP7TZDtW3cDyfmNCCsaQWGZ0him9H+Dox + 7cIdLKcPcKJN/o8SL09ooprS+MSkVufj4h4+IUPvJRnlCTWF9Jo8XBmW0wfE+E5mdxqPypM5UxjNXq4X + MgC1ggPnlRQRrgjcT/gDgTEsp+ehJ8NBoq+ppemUnRWGospUzlSQp7T6AN9HuoMwB00GOdsrYNz1Pxey + t522twmqmDdVpzQrGx1CDscxHGI8qm3+s46gMC5kDcEUzK2tkSRkAIcYjxpn4LIz2DuZM8ztNKU5WGEc + MoBDjMdrV8dVVyiWypsCnSFpDFmbz+AQ41Htar3u6uqf+c80lf18XcAhxuPZW/eJxlBs+l/TpnAs/cIe + vIJDioOXjKcsNPB5K2/qye4cvWNL8evi4b7bfZAJ8IOdA4Nb7q6+TE0DewO/Kj7AHFn8pcgWOI6nioyS + kr/Li1oqyqt7QQAAAABJRU5ErkJggg== @@ -282,25 +282,25 @@ iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAQkSURBVEhLtVftT1NXHL7RGf0TNs0SjZtOv+tI/OBXo2YM - xHQolJVWqW6KQqUDJBe7ibQXaKflTVYFgVY3UYOOSrEBRlta6gS2RdSiLaj4EqWAum+u63M5x16gMCp3 - T3LSm/ye83t6Xn4vh4kVO3f+vPiLI1eW7yho/TyxoHVTfP71jzez7R8Qs7iQsG1rZKUubn9lv/2waWDo - kOnuKHvO98+xppFQTs1ffydr7FsJVRxI2PaV8h+9lu/O+V7qWoIhzjo2Y/xw+Vlol6ZtO5mycEh1TpWq - 7t4jzhpdkI7pwlJtlz2zqj8wfaQUO4Z3FFjjCW0mcIbpOld1YePIG6EAVpxjGRo/UP2na5+x16Iw9NQo - DB7THoO7OYm9sZFMZ76p7G8VzsNQ1QaepnLOVEKJDogWNQfe0km6lrGQum7wcXqpp1pS1LaG0GbFTOFg - SFrS3UzM0YHtFa5U++toKOOktzOF61xFKP+JqCtuvPcmrdh5kFCmAhdp8kwjonJ9z6UtB1qWEsq8QIXV - lkCw+NpoRLx2YDjqAhQG93l6kbC9GadudsQqCkAYZ5pS3CVXGntdVBg+FWXeekKbxG6NfS1ChpJwprFs - rxC7Tzg6UjjnV/j+UtOxDr6oX1Xtg6fJGtunPBGQcS6Oxil+ZWWeKmKKGfFq60ryyUOh95yJhGTYdzgR - ERPDICPRf5Vv9k8kCv/VAoFIyDH7x6n/feV9Nt6AuEUapIaDlX1O3iAivq34w039Q4vP7dvyrq7IrXsw - Rg1K463zhC8alCdvXaD+c+v8YygyTAJrizvWNPguYaTrvdWELxrgk/pHcUnIs8UxKG+FTb7/VXiPoec0 - 9V940fc2oaBlA7/VwsPPMHrF3+ry3l+of5TUraprHzJ7995cIrxcuAiELxqElyur5o4fF5o3KCt6b1BD - jjkwLmY4JbPtn+Wbhyao//2VfW3EFD78EneJMMgR9MTEY3pSiAXyMs9PwuQk5ZxaYmKYpKP2tdn195/T - f4U0l3T8t/WwIf0hDfLEGIGWSV1/9wn1m9Vw/0VS0fVPiHkScr3HgkROSeEi4Uw+0SE90uAbQeIntHkj - nCSWwUfEZxDVroGYI5Do7KsPn739kAqjpKnNgSC+YxWGqEzvbkZppf6yzw4MS8IdKaFMRZrWoSxs8r+i - ZDpiEcb2Ko2/O4Si7MXB19KSrkxCiY600u6rkYs2f2GJxrZOXuox4UyFR4Y2Ko1zzF3tUrWdEpypUBRD - KIzGDg0eGj00fMryvguI06PmwAS9vXRgpRB9F7fRgNYTLWi01hQtK6ExaGXR0goFZo5gSBU+01Rd1yEy - beGYSxgrRsjI9D2Ns16k9wWeK3i24PmCSoPcm2kaCCD7fc11ayXf21cTqrhAEcdDDQ82VLaEPOtHLMsu - IuZ5gmH+BfOd89s25OCvAAAAAElFTkSuQmCC + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAQkSURBVEhLtVftT1NXHL5xLu5PUJclLm6+fd9m4ge/LmrG + UExFoay0Sn1FoVIFycWqSHuBVldExCoVaH1DDSqFYgNIW1qqAroMAbUFFV/iKODcN+36XM6hV6hK5fok + J73J7zm/p+fl93KYWLF27fmvftt9Ze6a3IZfVuc2LIvLqf9uOds0k5jFhYRtXCArcnNbSrscu0zd/TtN + PUOsuffd/prBUFb5X/8lahwrCFUcSNimefIjPuueM33/6OqCIc42PGkcvPwitF7TuIpMmT6kOpdKZe59 + wtmiC9IxUViqbXWkH+8KTBxJBc6BNbm2OEKbDJxhqs5dllc9+EYogBVnWftHtpfdc282dlgVhvZyhcFr + 2mjw1CawN34m05mtpV0NwnkYqorA82TOlUwo0QHR/Fr/WzpJVzccUpsfPE0t8pZJ8hsXENoHMVk4GJIW + ttUSc3Rge4Ur1V4fCqUd9bUkcS3fE8onEW3FmdU9b1IKXDsI5X3gIo2daURUrm+/9Ov2ulmEMiVQYbU1 + ECy4NjQurqroHoi6AIXBc5ZeJGxv2p+3mmMVBSCMM00qaJUrjR1uKgyfimJfJaGNYYPGsRAhQ0k401i2 + V4gNh53NSZxrHb5/1zQvhi/qV1Xx6Hmixv4jTwRknJujcYpfWbH3ODHFjDi1bR755KHQe09FQjLsO5yI + iIlhkJHov8qx+EdXC//VNIFIyLL4R6j/zSWddt6AuEUapIYdpZ0u3iAith2766H+ocXn9pXZV7/da340 + TA1K452zhC8alEfvnKP+95r9wygyTDxrX7q/pm88YaTqfWWELxrgk/pHcYnPti9lUN7yanq/qPBGQ/sJ + 6j/vYu/b+Ny6n/itFh5+mtEn/laXdFyg/lFSV6iuzWY2bbr1tfBy4SIQvmgQXq6M8vt+XGjeoDzWcYMa + siyBETHDKZFtWpRj6R+l/reUdjYSU/jwCz2FwiBH0BMTj4lJIRbIi70nhclJyrm0xMQwCfscCzMrH76k + /wppLuHQzSWwIf0hDfLEGIGWSV3Z84z6zah6+Cohv/4HYh6DXO+1IpFTUrhIuBIPN0t3V/UNIvET2pQR + ThLfwEfEZxDVroqYI5DoHPN3nf77MRVGSVNbAkF8xyoMUZneU4vSSv1lnu4ekIQ7UkJ5HylapzKvxv+a + kumIRRjbqzTedgpF2YsP/pUWtqYTSnSkFLVdjVy0qQtLNPbF8iKvCWcqPDK0USmc8+PVLlnbIsGZCkUx + hMJo7NDgodFDw6cs6TyHON1nCYzS20sHVgrR8biNBrSeaEGjtaZoWQmNQSuLllYoMHkEQ6rwmSbrWneS + adPHx4SxYoSMTN9e/cGL9LnAcwXPFjxfUGmQe9NN3QFkvz+4Nq3kgGM+oYoLFHE81PBgQ2WLz7bNYVl2 + BjFPEQzzP4+4884nkdwlAAAAAElFTkSuQmCC @@ -345,18 +345,18 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKSSURBVDhPzZLrSltBFIXPGxT6GN5AYhBR1Igo+EMUREVD - TGJiLqhBUREJRqlR8RoSczsxSalVUFCESq0ixR/WKIhEaUzSKrR9g1Io9Id+nXMofYV2YDEzMGvttfYe - 6f9Y4XDYu7q6mlpYWEjPzc3deDyeu/Hx8fuhoaGvAwMD38bGxu7n5+d9f55LXV1dmra2tufqJRqNPotE - IlxeXnJxccH5+TlnZ2fEAh5+fXnNj/c6vG4HgYCf/v5+g16v/y6AwFN3d7dWEhU+7+3tcXt7y/7+Phsb - GySTSQ4PD1GEE4kEp6en7OzsMDw8jMPhwOl0YrPZaG1tzUlClZOTE7a2ttT94eGBXC5HJpPh6upKFZyZ - mUHE5ODggHg8zvLyMiIStbW1SIqiQj4+PuYw9QmH/BFDKINeoDd8w6s3HwiFQoh+oDhVXNntdqanp6mu - rkZSrMRiMbLZLE5BNkfv6ItlsaxnMYpzbzjN7u4uBoOB7e1t/H4/PT09uN1uKisrkaxWK2tra6TTaQxh - QY7ncSbzOBJ5rLEcPZE7Njc3aW9vV+MsLi7S0dHB6OgoFRUVSGazmZWVFVKplCpgFZUVsvNlHls8h1nO - qg5bWlrUhnq9XpqbmxkcHKS8vBzJaDQiZs/R0RGWUBqTnMO2LiDIfWK3y9csLS3R1NSELMtMTU3R2Nio - TkOr1SIp2SYnJ1Vrwc13QuQaoyyyiz7Yo9e8CGwg5o1OpyMYDKrZ6+rqsFgsaDQaJCWPy+VS5zoxMaHa - VTodCASYnZ2ls7NTHZdC8Pl8jIyMYDKZEL+R0tJSJGHHVVJS8lPYeWxoaHiqr69Xq9XU1FBVVUVZWdlT - cXHxY1FR0WNhYeFfFBQUKHirfud/uCTpN8tW0cVm/HObAAAAAElFTkSuQmCC + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKQSURBVDhPzZLbSltBGIX3GxT6GB4uJAYRRY2IgheiICoa + cjIxB9SgqIgEo9SoeAyJOZukNI2goAiVpooUL6xREInSmNgqtH2DUij0Qr/O3pS+QjuwmL2ZWetf6/9H + +j9WKBTyrK+vZ5eWlnILCwvXbrf7dnJy8n5kZOTr0NDQt4mJifvFxUXvn+tSb2+vqrOz87nyE4lEnoXD + YS4uLjg/P+fs7IzT01Nifje/vrzmx3sNHpcdv9/H4OCgTqvVfhdA4Kmvr08tiQqf9/b2uLm5YX9/n1Qq + RTKZJJPJIAsnEglOTk7Y2dlhdHQUu92Ow+HAarXS0dFRlIQqx8fHbG1tKfvDwwPFYpF8Ps/l5aUiODc3 + h4jJwcEB8Xic1dVVRCQaGhqQZEWZfHR0RCb7CXv0I7pgHq1Af+iaV28+EAwGEf1Adiq7stlszM7OUldX + hyRbicViFAoFHIJsitwyECtg3ixgEN/9oRy7u7vodDq2t7fx+Xzo9XpcLhc1NTVIFouFjY0NcrkcupAg + x+9wJO+wJ+6wxIrow7ek02m6urqUOMvLy3R3dzM+Pk51dTWSyWRibW2NbDarCFhEZZnseHmHNV7EFC0o + Dtvb25WGejwe2traGB4epqqqCslgMCBmz+HhIeZgDmO0iHVTQJAHxG6LXrGyskJrayvRaJSZmRlaWlqU + aajVaiQ52/T0tGItkH4nRK4wREV20Qdb5IoX/hRi3mg0GgKBgJK9sbERs9mMSqVCkvM4nU5lrlNTU4pd + udN+v5/5+Xl6enqUcckEr9fL2NgYRqMR8RqpqKhAEnac5eXlP4Wdx+bm5qempialWn19PbW1tVRWVj6J + 88eysrLH0tLSvygpKZHxVnnO/3BJ0m/JH9HCt9NfZQAAAABJRU5ErkJggg== diff --git a/SubProject/FCM0000/Item/fLovItem.Designer.cs b/SubProject/FCM0000/Item/fLovItem.Designer.cs index 5e90f89..f3094b5 100644 --- a/SubProject/FCM0000/Item/fLovItem.Designer.cs +++ b/SubProject/FCM0000/Item/fLovItem.Designer.cs @@ -28,150 +28,151 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.Windows.Forms.Label manuLabel; - System.Windows.Forms.Label memoLabel; - System.Windows.Forms.Label priceLabel; - System.Windows.Forms.Label label1; - System.Windows.Forms.Label label2; - System.Windows.Forms.Label label4; - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLovItem)); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); - this.bn = new System.Windows.Forms.BindingNavigator(this.components); - this.bs = new System.Windows.Forms.BindingSource(this.components); - this.dsMSSQL = new FCM0000.dsMSSQL(); - this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); - 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.btOK = new System.Windows.Forms.ToolStripButton(); - this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); - this.tbFind = new System.Windows.Forms.ToolStripTextBox(); - this.btFind = new System.Windows.Forms.ToolStripButton(); - this.btAdd = new System.Windows.Forms.ToolStripButton(); - this.panel1 = new System.Windows.Forms.Panel(); - this.textBox4 = new System.Windows.Forms.TextBox(); - this.linkLabel1 = new System.Windows.Forms.LinkLabel(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.textBox3 = new System.Windows.Forms.TextBox(); - this.textBox2 = new System.Windows.Forms.TextBox(); - this.textBox1 = new System.Windows.Forms.TextBox(); - this.manuTextBox = new System.Windows.Forms.TextBox(); - this.memoTextBox = new System.Windows.Forms.TextBox(); - this.priceTextBox = new System.Windows.Forms.TextBox(); - this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter(); - this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); - this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); - this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); - this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); - manuLabel = new System.Windows.Forms.Label(); - memoLabel = new System.Windows.Forms.Label(); - priceLabel = new System.Windows.Forms.Label(); - label1 = new System.Windows.Forms.Label(); - label2 = new System.Windows.Forms.Label(); - label4 = new System.Windows.Forms.Label(); - ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); - this.bn.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); - this.panel1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); - this.cm1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); - this.SuspendLayout(); - // - // manuLabel - // - manuLabel.AutoSize = true; - manuLabel.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - manuLabel.ForeColor = System.Drawing.Color.White; - manuLabel.Location = new System.Drawing.Point(11, 15); - manuLabel.Name = "manuLabel"; - manuLabel.Size = new System.Drawing.Size(58, 21); - manuLabel.TabIndex = 8; - manuLabel.Text = "제조사"; - // - // memoLabel - // - memoLabel.AutoSize = true; - memoLabel.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - memoLabel.ForeColor = System.Drawing.Color.White; - memoLabel.Location = new System.Drawing.Point(24, 45); - memoLabel.Name = "memoLabel"; - memoLabel.Size = new System.Drawing.Size(42, 21); - memoLabel.TabIndex = 12; - memoLabel.Text = "비고"; - // - // priceLabel - // - priceLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - priceLabel.AutoSize = true; - priceLabel.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - priceLabel.ForeColor = System.Drawing.Color.White; - priceLabel.Location = new System.Drawing.Point(24, 448); - priceLabel.Name = "priceLabel"; - priceLabel.Size = new System.Drawing.Size(42, 21); - priceLabel.TabIndex = 18; - priceLabel.Text = "단가"; - // - // label1 - // - label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - label1.AutoSize = true; - label1.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - label1.ForeColor = System.Drawing.Color.White; - label1.Location = new System.Drawing.Point(24, 514); - label1.Name = "label1"; - label1.Size = new System.Drawing.Size(42, 21); - label1.TabIndex = 20; - label1.Text = "종류"; - // - // label2 - // - label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - label2.AutoSize = true; - label2.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - label2.ForeColor = System.Drawing.Color.White; - label2.Location = new System.Drawing.Point(24, 418); - label2.Name = "label2"; - label2.Size = new System.Drawing.Size(42, 21); - label2.TabIndex = 22; - label2.Text = "규격"; - // - // label4 - // - label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - label4.AutoSize = true; - label4.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - label4.ForeColor = System.Drawing.Color.White; - label4.Location = new System.Drawing.Point(3, 479); - label4.Name = "label4"; - label4.Size = new System.Drawing.Size(63, 21); - label4.TabIndex = 28; - label4.Text = "단가($)"; - // - // bn - // - this.bn.AddNewItem = null; - this.bn.BindingSource = this.bs; - this.bn.CountItem = this.bindingNavigatorCountItem; - this.bn.DeleteItem = null; - this.bn.ImageScalingSize = new System.Drawing.Size(30, 30); - this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.Label manuLabel; + System.Windows.Forms.Label memoLabel; + System.Windows.Forms.Label priceLabel; + System.Windows.Forms.Label label1; + System.Windows.Forms.Label label2; + System.Windows.Forms.Label label4; + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLovItem)); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); + this.bn = new System.Windows.Forms.BindingNavigator(this.components); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.dsMSSQL = new FCM0000.dsMSSQL(); + this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); + 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.btOK = new System.Windows.Forms.ToolStripButton(); + this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); + this.tbFind = new System.Windows.Forms.ToolStripTextBox(); + this.btFind = new System.Windows.Forms.ToolStripButton(); + this.btAdd = new System.Windows.Forms.ToolStripButton(); + this.panel1 = new System.Windows.Forms.Panel(); + this.textBox4 = new System.Windows.Forms.TextBox(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.textBox3 = new System.Windows.Forms.TextBox(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.manuTextBox = new System.Windows.Forms.TextBox(); + this.memoTextBox = new System.Windows.Forms.TextBox(); + this.priceTextBox = new System.Windows.Forms.TextBox(); + this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter(); + this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); + this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); + this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); + manuLabel = new System.Windows.Forms.Label(); + memoLabel = new System.Windows.Forms.Label(); + priceLabel = new System.Windows.Forms.Label(); + label1 = new System.Windows.Forms.Label(); + label2 = new System.Windows.Forms.Label(); + label4 = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); + this.bn.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); + this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); + this.cm1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); + this.SuspendLayout(); + // + // manuLabel + // + manuLabel.AutoSize = true; + manuLabel.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + manuLabel.ForeColor = System.Drawing.Color.White; + manuLabel.Location = new System.Drawing.Point(11, 15); + manuLabel.Name = "manuLabel"; + manuLabel.Size = new System.Drawing.Size(58, 21); + manuLabel.TabIndex = 8; + manuLabel.Text = "제조사"; + // + // memoLabel + // + memoLabel.AutoSize = true; + memoLabel.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + memoLabel.ForeColor = System.Drawing.Color.White; + memoLabel.Location = new System.Drawing.Point(24, 45); + memoLabel.Name = "memoLabel"; + memoLabel.Size = new System.Drawing.Size(42, 21); + memoLabel.TabIndex = 12; + memoLabel.Text = "비고"; + // + // priceLabel + // + priceLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + priceLabel.AutoSize = true; + priceLabel.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + priceLabel.ForeColor = System.Drawing.Color.White; + priceLabel.Location = new System.Drawing.Point(24, 448); + priceLabel.Name = "priceLabel"; + priceLabel.Size = new System.Drawing.Size(42, 21); + priceLabel.TabIndex = 18; + priceLabel.Text = "단가"; + // + // label1 + // + label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + label1.AutoSize = true; + label1.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + label1.ForeColor = System.Drawing.Color.White; + label1.Location = new System.Drawing.Point(24, 514); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(42, 21); + label1.TabIndex = 20; + label1.Text = "종류"; + // + // label2 + // + label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + label2.AutoSize = true; + label2.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + label2.ForeColor = System.Drawing.Color.White; + label2.Location = new System.Drawing.Point(24, 418); + label2.Name = "label2"; + label2.Size = new System.Drawing.Size(42, 21); + label2.TabIndex = 22; + label2.Text = "규격"; + // + // label4 + // + label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + label4.AutoSize = true; + label4.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + label4.ForeColor = System.Drawing.Color.White; + label4.Location = new System.Drawing.Point(3, 479); + label4.Name = "label4"; + label4.Size = new System.Drawing.Size(63, 21); + label4.TabIndex = 28; + label4.Text = "단가($)"; + // + // bn + // + this.bn.AddNewItem = null; + this.bn.BindingSource = this.bs; + this.bn.CountItem = this.bindingNavigatorCountItem; + this.bn.DeleteItem = null; + this.bn.ImageScalingSize = new System.Drawing.Size(30, 30); + this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.bindingNavigatorMoveFirstItem, this.bindingNavigatorMovePreviousItem, this.bindingNavigatorSeparator, @@ -186,405 +187,409 @@ this.tbFind, this.btFind, this.btAdd}); - this.bn.Location = new System.Drawing.Point(0, 0); - 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(1177, 37); - this.bn.TabIndex = 0; - this.bn.Text = "bindingNavigator1"; - // - // bs - // - this.bs.DataMember = "Items"; - this.bs.DataSource = this.dsMSSQL; - this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); - // - // dsMSSQL - // - this.dsMSSQL.DataSetName = "dsMSSQL"; - this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // - // bindingNavigatorCountItem - // - this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; - this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 34); - this.bindingNavigatorCountItem.Text = "/{0}"; - this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; - // - // 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(34, 34); - 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(34, 34); - this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; - // - // bindingNavigatorSeparator - // - this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; - this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 37); - // - // 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, 37); - // - // 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(34, 34); - 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(34, 34); - this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; - // - // bindingNavigatorSeparator2 - // - this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; - this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 37); - // - // btOK - // - this.btOK.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - this.btOK.Image = ((System.Drawing.Image)(resources.GetObject("btOK.Image"))); - this.btOK.Name = "btOK"; - this.btOK.Size = new System.Drawing.Size(82, 34); - this.btOK.Text = "선택(&O)"; - this.btOK.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click); - // - // toolStripLabel1 - // - this.toolStripLabel1.Name = "toolStripLabel1"; - this.toolStripLabel1.Size = new System.Drawing.Size(31, 34); - this.toolStripLabel1.Text = "검색"; - // - // tbFind - // - this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.tbFind.Name = "tbFind"; - this.tbFind.Size = new System.Drawing.Size(150, 37); - this.tbFind.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // btFind - // - this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image"))); - this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btFind.Name = "btFind"; - this.btFind.Size = new System.Drawing.Size(34, 34); - this.btFind.Text = "toolStripButton1"; - this.btFind.Click += new System.EventHandler(this.btFind_Click); - // - // btAdd - // - this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image"))); - this.btAdd.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btAdd.Name = "btAdd"; - this.btAdd.Size = new System.Drawing.Size(89, 34); - this.btAdd.Text = "품목추가"; - this.btAdd.Click += new System.EventHandler(this.btAdd_Click); - // - // panel1 - // - this.panel1.BackColor = System.Drawing.Color.Gray; - this.panel1.Controls.Add(label4); - this.panel1.Controls.Add(this.textBox4); - this.panel1.Controls.Add(this.linkLabel1); - this.panel1.Controls.Add(this.pictureBox1); - this.panel1.Controls.Add(this.textBox3); - this.panel1.Controls.Add(label2); - this.panel1.Controls.Add(this.textBox2); - this.panel1.Controls.Add(label1); - this.panel1.Controls.Add(this.textBox1); - this.panel1.Controls.Add(manuLabel); - this.panel1.Controls.Add(this.manuTextBox); - this.panel1.Controls.Add(memoLabel); - this.panel1.Controls.Add(this.memoTextBox); - this.panel1.Controls.Add(priceLabel); - this.panel1.Controls.Add(this.priceTextBox); - this.panel1.Dock = System.Windows.Forms.DockStyle.Right; - this.panel1.Location = new System.Drawing.Point(887, 37); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(290, 550); - this.panel1.TabIndex = 2; - // - // textBox4 - // - this.textBox4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.textBox4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "priceD", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N2")); - this.textBox4.Location = new System.Drawing.Point(74, 477); - this.textBox4.Name = "textBox4"; - this.textBox4.ReadOnly = true; - this.textBox4.Size = new System.Drawing.Size(200, 25); - this.textBox4.TabIndex = 29; - // - // linkLabel1 - // - this.linkLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.linkLabel1.AutoSize = true; - this.linkLabel1.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.linkLabel1.ForeColor = System.Drawing.Color.White; - this.linkLabel1.Location = new System.Drawing.Point(11, 262); - this.linkLabel1.Name = "linkLabel1"; - this.linkLabel1.Size = new System.Drawing.Size(58, 21); - this.linkLabel1.TabIndex = 27; - this.linkLabel1.TabStop = true; - this.linkLabel1.Text = "이미지"; - this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); - // - // pictureBox1 - // - this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + this.bn.Location = new System.Drawing.Point(0, 0); + 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(1177, 37); + this.bn.TabIndex = 0; + this.bn.Text = "bindingNavigator1"; + // + // bs + // + this.bs.DataMember = "Items"; + this.bs.DataSource = this.dsMSSQL; + this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); + // + // dsMSSQL + // + this.dsMSSQL.DataSetName = "dsMSSQL"; + this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // bindingNavigatorCountItem + // + this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; + this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 34); + this.bindingNavigatorCountItem.Text = "/{0}"; + this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; + // + // 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(34, 34); + 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(34, 34); + this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 37); + // + // 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, 37); + // + // 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(34, 34); + 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(34, 34); + this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 37); + // + // btOK + // + this.btOK.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.btOK.Image = ((System.Drawing.Image)(resources.GetObject("btOK.Image"))); + this.btOK.Name = "btOK"; + this.btOK.Size = new System.Drawing.Size(82, 34); + this.btOK.Text = "선택(&O)"; + this.btOK.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click); + // + // toolStripLabel1 + // + this.toolStripLabel1.Name = "toolStripLabel1"; + this.toolStripLabel1.Size = new System.Drawing.Size(31, 34); + this.toolStripLabel1.Text = "검색"; + // + // tbFind + // + this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tbFind.Name = "tbFind"; + this.tbFind.Size = new System.Drawing.Size(150, 37); + this.tbFind.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // btFind + // + this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image"))); + this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btFind.Name = "btFind"; + this.btFind.Size = new System.Drawing.Size(34, 34); + this.btFind.Text = "toolStripButton1"; + this.btFind.Click += new System.EventHandler(this.btFind_Click); + // + // btAdd + // + this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image"))); + this.btAdd.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btAdd.Name = "btAdd"; + this.btAdd.Size = new System.Drawing.Size(89, 34); + this.btAdd.Text = "품목추가"; + this.btAdd.Click += new System.EventHandler(this.btAdd_Click); + // + // panel1 + // + this.panel1.BackColor = System.Drawing.Color.Gray; + this.panel1.Controls.Add(label4); + this.panel1.Controls.Add(this.textBox4); + this.panel1.Controls.Add(this.linkLabel1); + this.panel1.Controls.Add(this.pictureBox1); + this.panel1.Controls.Add(this.textBox3); + this.panel1.Controls.Add(label2); + this.panel1.Controls.Add(this.textBox2); + this.panel1.Controls.Add(label1); + this.panel1.Controls.Add(this.textBox1); + this.panel1.Controls.Add(manuLabel); + this.panel1.Controls.Add(this.manuTextBox); + this.panel1.Controls.Add(memoLabel); + this.panel1.Controls.Add(this.memoTextBox); + this.panel1.Controls.Add(priceLabel); + this.panel1.Controls.Add(this.priceTextBox); + this.panel1.Dock = System.Windows.Forms.DockStyle.Right; + this.panel1.Location = new System.Drawing.Point(887, 37); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(290, 550); + this.panel1.TabIndex = 2; + // + // textBox4 + // + this.textBox4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.textBox4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "priceD", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N2")); + this.textBox4.Location = new System.Drawing.Point(74, 477); + this.textBox4.Name = "textBox4"; + this.textBox4.ReadOnly = true; + this.textBox4.Size = new System.Drawing.Size(200, 25); + this.textBox4.TabIndex = 29; + // + // linkLabel1 + // + this.linkLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.linkLabel1.AutoSize = true; + this.linkLabel1.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.linkLabel1.ForeColor = System.Drawing.Color.White; + this.linkLabel1.Location = new System.Drawing.Point(11, 262); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(58, 21); + this.linkLabel1.TabIndex = 27; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = "이미지"; + this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); + // + // pictureBox1 + // + this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.pictureBox1.BackColor = System.Drawing.Color.Black; - this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pictureBox1.Location = new System.Drawing.Point(74, 262); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(202, 146); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; - this.pictureBox1.TabIndex = 26; - this.pictureBox1.TabStop = false; - // - // textBox3 - // - this.textBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "unit", true)); - this.textBox3.Location = new System.Drawing.Point(237, 415); - this.textBox3.Name = "textBox3"; - this.textBox3.ReadOnly = true; - this.textBox3.Size = new System.Drawing.Size(38, 25); - this.textBox3.TabIndex = 24; - // - // textBox2 - // - this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "scale", true)); - this.textBox2.Location = new System.Drawing.Point(75, 415); - this.textBox2.Name = "textBox2"; - this.textBox2.ReadOnly = true; - this.textBox2.Size = new System.Drawing.Size(156, 25); - this.textBox2.TabIndex = 23; - // - // textBox1 - // - this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cate", true)); - this.textBox1.Location = new System.Drawing.Point(75, 512); - this.textBox1.Name = "textBox1"; - this.textBox1.ReadOnly = true; - this.textBox1.Size = new System.Drawing.Size(200, 25); - this.textBox1.TabIndex = 21; - // - // manuTextBox - // - this.manuTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "manu", true)); - this.manuTextBox.Location = new System.Drawing.Point(75, 13); - this.manuTextBox.Name = "manuTextBox"; - this.manuTextBox.ReadOnly = true; - this.manuTextBox.Size = new System.Drawing.Size(200, 25); - this.manuTextBox.TabIndex = 9; - // - // memoTextBox - // - this.memoTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.pictureBox1.BackColor = System.Drawing.Color.Black; + this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pictureBox1.Location = new System.Drawing.Point(74, 262); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(202, 146); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.pictureBox1.TabIndex = 26; + this.pictureBox1.TabStop = false; + // + // textBox3 + // + this.textBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "unit", true)); + this.textBox3.Location = new System.Drawing.Point(237, 415); + this.textBox3.Name = "textBox3"; + this.textBox3.ReadOnly = true; + this.textBox3.Size = new System.Drawing.Size(38, 25); + this.textBox3.TabIndex = 24; + // + // textBox2 + // + this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "scale", true)); + this.textBox2.Location = new System.Drawing.Point(75, 415); + this.textBox2.Name = "textBox2"; + this.textBox2.ReadOnly = true; + this.textBox2.Size = new System.Drawing.Size(156, 25); + this.textBox2.TabIndex = 23; + // + // textBox1 + // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cate", true)); + this.textBox1.Location = new System.Drawing.Point(75, 512); + this.textBox1.Name = "textBox1"; + this.textBox1.ReadOnly = true; + this.textBox1.Size = new System.Drawing.Size(200, 25); + this.textBox1.TabIndex = 21; + // + // manuTextBox + // + this.manuTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "manu", true)); + this.manuTextBox.Location = new System.Drawing.Point(75, 13); + this.manuTextBox.Name = "manuTextBox"; + this.manuTextBox.ReadOnly = true; + this.manuTextBox.Size = new System.Drawing.Size(200, 25); + this.manuTextBox.TabIndex = 9; + // + // memoTextBox + // + this.memoTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true)); - this.memoTextBox.Location = new System.Drawing.Point(75, 44); - this.memoTextBox.Multiline = true; - this.memoTextBox.Name = "memoTextBox"; - this.memoTextBox.ReadOnly = true; - this.memoTextBox.Size = new System.Drawing.Size(200, 213); - this.memoTextBox.TabIndex = 13; - // - // priceTextBox - // - this.priceTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.priceTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "price", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N2")); - this.priceTextBox.Location = new System.Drawing.Point(75, 446); - this.priceTextBox.Name = "priceTextBox"; - this.priceTextBox.ReadOnly = true; - this.priceTextBox.Size = new System.Drawing.Size(200, 25); - this.priceTextBox.TabIndex = 19; - // - // ta - // - this.ta.ClearBeforeFill = true; - // - // tam - // - this.tam.BackupDataSetBeforeUpdate = false; - this.tam.BoardTableAdapter = null; - this.tam.CommonTableAdapter = null; - this.tam.CustomsTableAdapter = null; - this.tam.EETGW_DocuFormTableAdapter = null; - this.tam.HolidayLIstTableAdapter = null; - this.tam.InventoryUserTableAdapter = null; - this.tam.ItemsTableAdapter = this.ta; - this.tam.ProjectsTableAdapter = null; - this.tam.PurchaseTableAdapter = null; - this.tam.RequestItemTableAdapter = null; - this.tam.StaffTableAdapter = null; - this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; - // - // fpSpread1 - // - this.fpSpread1.AccessibleDescription = ""; - this.fpSpread1.ContextMenuStrip = this.cm1; - this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; - this.fpSpread1.Location = new System.Drawing.Point(0, 37); - this.fpSpread1.Name = "fpSpread1"; - this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { + this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true)); + this.memoTextBox.Location = new System.Drawing.Point(75, 44); + this.memoTextBox.Multiline = true; + this.memoTextBox.Name = "memoTextBox"; + this.memoTextBox.ReadOnly = true; + this.memoTextBox.Size = new System.Drawing.Size(200, 213); + this.memoTextBox.TabIndex = 13; + // + // priceTextBox + // + this.priceTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.priceTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "price", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N2")); + this.priceTextBox.Location = new System.Drawing.Point(75, 446); + this.priceTextBox.Name = "priceTextBox"; + this.priceTextBox.ReadOnly = true; + this.priceTextBox.Size = new System.Drawing.Size(200, 25); + this.priceTextBox.TabIndex = 19; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // tam + // + this.tam.BackupDataSetBeforeUpdate = false; + this.tam.BoardTableAdapter = null; + this.tam.CommonTableAdapter = null; + this.tam.CustomsTableAdapter = null; + this.tam.EETGW_DocuFormTableAdapter = null; + this.tam.HolidayLIstTableAdapter = null; + this.tam.InventoryUserTableAdapter = null; + this.tam.ItemsTableAdapter = this.ta; + this.tam.ProjectsTableAdapter = null; + this.tam.PurchaseTableAdapter = null; + this.tam.RequestItemTableAdapter = null; + this.tam.StaffTableAdapter = null; + this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + // + // fpSpread1 + // + this.fpSpread1.AccessibleDescription = ""; + this.fpSpread1.ContextMenuStrip = this.cm1; + this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; + this.fpSpread1.Location = new System.Drawing.Point(0, 37); + this.fpSpread1.Name = "fpSpread1"; + this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.fpSpread1_Sheet1}); - this.fpSpread1.Size = new System.Drawing.Size(887, 550); - this.fpSpread1.TabIndex = 4; - // - // cm1 - // - this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F); - this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fpSpread1.Size = new System.Drawing.Size(887, 550); + this.fpSpread1.TabIndex = 4; + // + // cm1 + // + this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F); + this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.columnSizeToolStripMenuItem}); - this.cm1.Name = "cm1"; - this.cm1.Size = new System.Drawing.Size(185, 46); - // - // columnSizeToolStripMenuItem - // - this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.cm1.Name = "cm1"; + this.cm1.Size = new System.Drawing.Size(185, 46); + // + // columnSizeToolStripMenuItem + // + this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.saveToolStripMenuItem, this.loadToolStripMenuItem, this.resetToolStripMenuItem}); - this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem"; - this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(184, 42); - this.columnSizeToolStripMenuItem.Text = "열 너비"; - // - // saveToolStripMenuItem - // - this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image"))); - this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; - this.saveToolStripMenuItem.Size = new System.Drawing.Size(202, 42); - this.saveToolStripMenuItem.Text = "저장"; - this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); - // - // loadToolStripMenuItem - // - this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image"))); - this.loadToolStripMenuItem.Name = "loadToolStripMenuItem"; - this.loadToolStripMenuItem.Size = new System.Drawing.Size(202, 42); - this.loadToolStripMenuItem.Text = "불러오기"; - this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click); - // - // resetToolStripMenuItem - // - this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image"))); - this.resetToolStripMenuItem.Name = "resetToolStripMenuItem"; - this.resetToolStripMenuItem.Size = new System.Drawing.Size(202, 42); - this.resetToolStripMenuItem.Text = "초기화"; - this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click); - // - // 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 = 5; - this.fpSpread1_Sheet1.ActiveColumnIndex = -1; - this.fpSpread1_Sheet1.ActiveRowIndex = -1; - this.fpSpread1_Sheet1.AutoGenerateColumns = false; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "품명"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "모델"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "SID"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "공급"; - this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 27F; - 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).Label = "IDX"; - this.fpSpread1_Sheet1.Columns.Get(0).Visible = false; - this.fpSpread1_Sheet1.Columns.Get(0).Width = 99F; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1; - this.fpSpread1_Sheet1.Columns.Get(1).DataField = "name"; - this.fpSpread1_Sheet1.Columns.Get(1).Label = "품명"; - this.fpSpread1_Sheet1.Columns.Get(1).Width = 154F; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; - this.fpSpread1_Sheet1.Columns.Get(2).DataField = "model"; - this.fpSpread1_Sheet1.Columns.Get(2).Label = "모델"; - this.fpSpread1_Sheet1.Columns.Get(2).Width = 154F; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; - this.fpSpread1_Sheet1.Columns.Get(3).DataField = "sid"; - this.fpSpread1_Sheet1.Columns.Get(3).Label = "SID"; - this.fpSpread1_Sheet1.Columns.Get(3).Width = 154F; - this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; - this.fpSpread1_Sheet1.Columns.Get(4).DataField = "supply"; - this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(4).Label = "공급"; - this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(4).Width = 133F; - 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; - // - // fLovItem - // - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; - this.ClientSize = new System.Drawing.Size(1177, 587); - this.Controls.Add(this.fpSpread1); - this.Controls.Add(this.panel1); - this.Controls.Add(this.bn); - this.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Name = "fLovItem"; - this.Text = "품목 선택"; - this.Load += new System.EventHandler(this.fLovItem_Load); - ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); - this.bn.ResumeLayout(false); - this.bn.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); - this.panel1.ResumeLayout(false); - this.panel1.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); - this.cm1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); + this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem"; + this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(184, 42); + this.columnSizeToolStripMenuItem.Text = "열 너비"; + // + // saveToolStripMenuItem + // + this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image"))); + this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; + this.saveToolStripMenuItem.Size = new System.Drawing.Size(202, 42); + this.saveToolStripMenuItem.Text = "저장"; + this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); + // + // loadToolStripMenuItem + // + this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image"))); + this.loadToolStripMenuItem.Name = "loadToolStripMenuItem"; + this.loadToolStripMenuItem.Size = new System.Drawing.Size(202, 42); + this.loadToolStripMenuItem.Text = "불러오기"; + this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click); + // + // resetToolStripMenuItem + // + this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image"))); + this.resetToolStripMenuItem.Name = "resetToolStripMenuItem"; + this.resetToolStripMenuItem.Size = new System.Drawing.Size(202, 42); + this.resetToolStripMenuItem.Text = "초기화"; + this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click); + // + // 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 = 6; + this.fpSpread1_Sheet1.ActiveColumnIndex = -1; + this.fpSpread1_Sheet1.ActiveRowIndex = -1; + this.fpSpread1_Sheet1.AutoGenerateColumns = false; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "품명"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "모델"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "SID"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "공급"; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 27F; + 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).Label = "IDX"; + this.fpSpread1_Sheet1.Columns.Get(0).Visible = false; + this.fpSpread1_Sheet1.Columns.Get(0).Width = 99F; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1; + this.fpSpread1_Sheet1.Columns.Get(1).DataField = "name"; + this.fpSpread1_Sheet1.Columns.Get(1).Label = "품명"; + this.fpSpread1_Sheet1.Columns.Get(1).Width = 154F; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; + this.fpSpread1_Sheet1.Columns.Get(2).DataField = "model"; + this.fpSpread1_Sheet1.Columns.Get(2).Label = "모델"; + this.fpSpread1_Sheet1.Columns.Get(2).Width = 154F; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(3).DataField = "sid"; + this.fpSpread1_Sheet1.Columns.Get(3).Label = "SID"; + this.fpSpread1_Sheet1.Columns.Get(3).Width = 154F; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; + this.fpSpread1_Sheet1.Columns.Get(4).DataField = "supply"; + this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(4).Label = "공급"; + this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(4).Width = 133F; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5; + this.fpSpread1_Sheet1.Columns.Get(5).DataField = "Storage"; + 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.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; + // + // fLovItem + // + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; + this.ClientSize = new System.Drawing.Size(1177, 587); + this.Controls.Add(this.fpSpread1); + this.Controls.Add(this.panel1); + this.Controls.Add(this.bn); + this.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Name = "fLovItem"; + this.Text = "품목 선택"; + this.Load += new System.EventHandler(this.fLovItem_Load); + ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); + this.bn.ResumeLayout(false); + this.bn.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); + this.cm1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); } @@ -625,6 +630,6 @@ private System.Windows.Forms.ToolStripTextBox tbFind; private System.Windows.Forms.ToolStripButton btAdd; private System.Windows.Forms.TextBox textBox4; - private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; - } + private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; + } } \ No newline at end of file diff --git a/SubProject/FCM0000/Item/fLovItem.cs b/SubProject/FCM0000/Item/fLovItem.cs index 5f5f598..ebd567a 100644 --- a/SubProject/FCM0000/Item/fLovItem.cs +++ b/SubProject/FCM0000/Item/fLovItem.cs @@ -20,6 +20,7 @@ namespace FCM0000 public decimal itempriceD { get; set; } public string SID { get; set; } public string itemUnit { get; set; } + public string Storage { get; set; } public string itemSupply { get; set; } public int itemSupplyidx { get; set; } @@ -40,6 +41,7 @@ namespace FCM0000 itempriceD = 0; SID = string.Empty; itemUnit = "EA"; + Storage = string.Empty; itemSupply = string.Empty; itemSupplyidx = -1; itemManu = string.Empty; @@ -107,6 +109,7 @@ namespace FCM0000 itemSupply = string.Empty; itemSupplyidx = -1; itemManu = string.Empty; + Storage = string.Empty; itemUnit = "EA"; SID = string.Empty; return; @@ -125,7 +128,9 @@ namespace FCM0000 else itemprice = dr.price; if (dr.IspriceDNull()) itempriceD = 0; else itempriceD = dr.priceD; - + + if (dr.IsStorageNull()) Storage = string.Empty; + else Storage = dr.Storage; if (dr.IssupplyNull()) itemSupply = string.Empty; else itemSupply = dr.supply; @@ -277,6 +282,7 @@ namespace FCM0000 itemUnit = f.tbUnit.Text.Trim(); itemSupply = f.tbSupply.Text.Trim(); itemSupplyidx = int.Parse(f.tbSupplyIdx.Text); + Storage = f.tbStorage.Text.Trim(); DialogResult = System.Windows.Forms.DialogResult.OK; } } diff --git a/SubProject/FCM0000/Item/fLovItem.resx b/SubProject/FCM0000/Item/fLovItem.resx index 2315f45..1ba62bf 100644 --- a/SubProject/FCM0000/Item/fLovItem.resx +++ b/SubProject/FCM0000/Item/fLovItem.resx @@ -230,19 +230,19 @@ iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALBSURBVGhD7Zk7bxQxEMdPvApKHhWPL4FApAoFii63vrNX - ygkEPV+BiOa6QB8QRJRUIbe2lJA0KfgMIPgAPCog1EADM3uTxhqTnX04t9L+pL8U6cbj/23W9niu19HR - UZ3x6/FJZc1C4vQj5XSWZOajmpqfyqk/ueDvgTUf8s8gZpilNyeTyQkafnxop6+A8Segr8qZvzINv8CX - edzP0suULh79zZWLKhtt3HK3f/PmigtzDJx+rrbVBUrfLPAa3IOnd8CZqaJlt/wjydK7NE39XNt4cDqx - 5iU3eZ2COV7gXDRtPcC/92ziRnvchI3Iml2ck6avRv7kY5o/lDX7sLudIRvlifHahISLm2yUAxbVfS5x - XOk7ZEeGseb80tR855PGFOx4ZbZY3Of5hPEFr/EzslUMPB2rHlI+XExR5V621VWydzR5ecAkksiHi5EI - yw6y93+wyMI6hUsikQ8XIxLUW1g0ks0wELjAJhDKh4uRCtbCDbIZZlYS8wkk8uFixLJmlWyGgSDLDhbK - h4sRy5otshlmdvFgBgvlw8WINTXvyWYYSalcF1xuTniwks0wkv2/LrjcrF6ZX2QzTOu/QOtfofYv4rZv - o/N8kMEF5yHZDINNJ26wVD5cjFhZep1shsFibrBlPrMJBPLhYiTqW/OpcDcPS1cuiUQ+XIxMeo3sHc28 - XWhw/092kktkrxh5u49LdizS62SrOEubK+fm4VKPLcfSfVPsVXJJYyqx6ZjslAN7lVziGILN5CnZKA/e - QweZcdwEzUq/WXy7eIpsVAMbrXCM7/IT1a/EjXZqa+4egk3eGDsTvja1PXkO7FU2szuNvlVesEXBvim2 - +/CA4c0IlOfQ67htU/p44OmIZUeZ2mk2Rq+JT9gmwCILm06w0FexZseLB97ssByZlSTDA7govcPPsCTG - qnIufmbt6Gg9vd4/xTNqSYSHQM4AAAAASUVORK5CYII= + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALBSURBVGhD7Zk7bxQxEMdPvApKHhWPL4FApLoCKbrc+s5e + KScQ9HwFIprrAn1AEFFShdzaUh40FHwGEHwAHhUQaqCBmb1JY43Jzj6cW2l/0l+KdOPx/zZrezzX6+jo + qM7k1eSksmYpcfqhcjpLMvNRzcxP5dSfXPD30JoP+WcQM8rSm9Pp9AQNPz6001fA+GPQV+XMX5lGX+DL + PBpk6WVKF4/B1upFlY03++7Wb95ccWGOodPP1I66QOmbBV6Du/D0DjgzVbTiVn4kWXqHpqmfa5v3TyfW + vOAmr1Mwx3Oci6atB/j3nk3c+DU3YSOyZh/npOmrkT/5mOYPZc0b2N3OkI3yxHhtQsLFTTbKAYvqHpc4 + rvRtsiPDWHN+eWa+80ljCna8Mlss7vN8wviC1/gp2SoGno5VDykfLqaoci876irZO5q8PGASSeTDxUiE + ZQfZ+z9YZGGdwiWRyIeLEQnqLSwayWYYCFxiEwjlw8VIBWvhBtkMMy+J+QQS+XAxYlmzRjbDQJBlBwvl + w8WIZc022Qwzv3gwg4Xy4WLEmpn3ZDOMpFSuCy43JzxYyWYYyf5fF1xuVi/NL7IZpvVfoPWvUPsXcdu3 + 0UU+yOCC84BshsGmEzdYKh8uRqwsvU42w2AxN9w2n9kEAvlwMRINrPlUuJuHpSuXRCIfLkYmvU72jmbR + LjS4/ye7ySWyV4y83cclOxbpDbJVnOWt1XOLcKnHlmPpvin2KrmkMZXYdEJ2yoG9Si5xDMFm8oRslAfv + ocPMOG6CZqX3+m/7p8hGNbDRCsf4Pj9R/UrceLe25u4h2OSNsTPha1Pbk+fAXmUzu9P4W+UFWxTsm2K7 + Dw8Y3oxAeQ69gds2pY8Hno5YdpSpneZj9Lr4hG0CLLKw6QQLfQ1rdrx44M0Oy5F5STI6gIvSO/wMS2Ks + KhfiZ9aOjtbT6/0Ddt5qN1uCD44AAAAASUVORK5CYII= diff --git a/SubProject/FCM0000/dsMSSQL.Designer.cs b/SubProject/FCM0000/dsMSSQL.Designer.cs index f2e5620..6373bac 100644 --- a/SubProject/FCM0000/dsMSSQL.Designer.cs +++ b/SubProject/FCM0000/dsMSSQL.Designer.cs @@ -669,6 +669,8 @@ namespace FCM0000 { private global::System.Data.DataColumn columnpriceD; + private global::System.Data.DataColumn columnStorage; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public ItemsDataTable() { @@ -862,6 +864,14 @@ namespace FCM0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn StorageColumn { + get { + return this.columnStorage; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -918,7 +928,8 @@ namespace FCM0000 { int iparam1, string import, string gcode, - decimal priceD) { + decimal priceD, + string Storage) { ItemsRow rowItemsRow = ((ItemsRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -940,7 +951,8 @@ namespace FCM0000 { iparam1, import, gcode, - priceD}; + priceD, + Storage}; rowItemsRow.ItemArray = columnValuesArray; this.Rows.Add(rowItemsRow); return rowItemsRow; @@ -990,6 +1002,7 @@ namespace FCM0000 { this.columnimport = base.Columns["import"]; this.columngcode = base.Columns["gcode"]; this.columnpriceD = base.Columns["priceD"]; + this.columnStorage = base.Columns["Storage"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -1035,6 +1048,8 @@ namespace FCM0000 { base.Columns.Add(this.columngcode); this.columnpriceD = new global::System.Data.DataColumn("priceD", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnpriceD); + this.columnStorage = new global::System.Data.DataColumn("Storage", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnStorage); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnidx}, true)); this.columnidx.AutoIncrement = true; @@ -1058,6 +1073,7 @@ namespace FCM0000 { this.columnunit.MaxLength = 50; this.columnimport.MaxLength = 1; this.columngcode.MaxLength = 10; + this.columnStorage.MaxLength = 20; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -6231,6 +6247,22 @@ namespace FCM0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string Storage { + get { + if (this.IsStorageNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableItems.StorageColumn])); + } + } + set { + this[this.tableItems.StorageColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool IsnameNull() { @@ -6434,6 +6466,18 @@ namespace FCM0000 { public void SetpriceDNull() { this[this.tableItems.priceDColumn] = global::System.Convert.DBNull; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsStorageNull() { + return this.IsNull(this.tableItems.StorageColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetStorageNull() { + this[this.tableItems.StorageColumn] = global::System.Convert.DBNull; + } } /// @@ -10553,67 +10597,185 @@ namespace FCM0000.dsMSSQLTableAdapters { tableMapping.ColumnMappings.Add("import", "import"); tableMapping.ColumnMappings.Add("gcode", "gcode"); tableMapping.ColumnMappings.Add("priceD", "priceD"); + tableMapping.ColumnMappings.Add("Storage", "Storage"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand.Connection = this.Connection; - this._adapter.DeleteCommand.CommandText = "DELETE FROM Items\r\nWHERE (idx = @Original_idx)"; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [Items] WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [na" + + "me] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_sid = 1 AND [sid] IS NU" + + "LL) OR ([sid] = @Original_sid)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR " + + "([model] = @Original_model)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([man" + + "u] = @Original_manu)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply" + + "] = @Original_supply)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] " + + "= @Original_price)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Ori" + + "ginal_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND (" + + "(@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNul" + + "l_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx))" + + " AND ((@IsNull_scale = 1 AND [scale] IS NULL) OR ([scale] = @Original_scale)) AN" + + "D ((@IsNull_unit = 1 AND [unit] IS NULL) OR ([unit] = @Original_unit)) AND ((@Is" + + "Null_disable = 1 AND [disable] IS NULL) OR ([disable] = @Original_disable)) AND " + + "((@IsNull_bparam1 = 1 AND [bparam1] IS NULL) OR ([bparam1] = @Original_bparam1))" + + " AND ((@IsNull_iparam1 = 1 AND [iparam1] IS NULL) OR ([iparam1] = @Original_ipar" + + "am1)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_im" + + "port)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcod" + + "e)) AND ((@IsNull_priceD = 1 AND [priceD] IS NULL) OR ([priceD] = @Original_pric" + + "eD)) AND ((@IsNull_Storage = 1 AND [Storage] IS NULL) OR ([Storage] = @Original_" + + "Storage)))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.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.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_name", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_model", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_model", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_manu", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_manu", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_supply", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_supply", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_price", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "price", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_price", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "price", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_scale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "scale", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_scale", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "scale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_unit", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_unit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_disable", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_disable", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bparam1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bparam1", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bparam1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bparam1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_iparam1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "iparam1", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_iparam1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "iparam1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_import", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_gcode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_priceD", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "priceD", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_priceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Storage", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Storage", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.InsertCommand.Connection = this.Connection; - this._adapter.InsertCommand.CommandText = @"INSERT INTO Items - (name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD) -VALUES (@name,@sid,@model,@manu,@supply,@price,@memo,@wuid,@wdate,@cate,@supplyidx,@scale,@unit,@disable,@bparam1,@iparam1,@import,@gcode,@priceD); -SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode FROM Items WHERE (idx = SCOPE_IDENTITY()) ORDER BY cate, name, idx"; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [Items] ([name], [sid], [model], [manu], [supply], [price], [memo], [wuid], [wdate], [cate], [supplyidx], [scale], [unit], [disable], [bparam1], [iparam1], [import], [gcode], [priceD], [Storage]) VALUES (@name, @sid, @model, @manu, @supply, @price, @memo, @wuid, @wdate, @cate, @supplyidx, @scale, @unit, @disable, @bparam1, @iparam1, @import, @gcode, @priceD, @Storage); +SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage FROM Items WHERE (idx = SCOPE_IDENTITY()) ORDER BY cate, name, idx"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manu", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supply", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@price", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "price", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supplyidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@scale", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "scale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@unit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@disable", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bparam1", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@iparam1", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "iparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@priceD", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manu", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supply", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@price", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "price", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@scale", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "scale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@unit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@disable", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bparam1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@iparam1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "iparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@priceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Storage", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.UpdateCommand.Connection = this.Connection; - this._adapter.UpdateCommand.CommandText = @"UPDATE Items -SET name = @name, sid = @sid, model = @model, manu = @manu, supply = @supply, price = @price, memo = @memo, wuid = @wuid, wdate = @wdate, cate = @cate, supplyidx = @supplyidx, - scale = @scale, unit = @unit, disable = @disable, bparam1 = @bparam1, iparam1 = @iparam1, import = @import, gcode = @gcode, priceD = @priceD -WHERE (idx = @Original_idx); -SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode FROM Items WHERE (idx = @idx) ORDER BY cate, name, idx"; + this._adapter.UpdateCommand.CommandText = "UPDATE [Items] SET [name] = @name, [sid] = @sid, [model] = @model, [manu] = @manu" + + ", [supply] = @supply, [price] = @price, [memo] = @memo, [wuid] = @wuid, [wdate] " + + "= @wdate, [cate] = @cate, [supplyidx] = @supplyidx, [scale] = @scale, [unit] = @" + + "unit, [disable] = @disable, [bparam1] = @bparam1, [iparam1] = @iparam1, [import]" + + " = @import, [gcode] = @gcode, [priceD] = @priceD, [Storage] = @Storage WHERE (([" + + "idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @O" + + "riginal_name)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_si" + + "d)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model))" + + " AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((" + + "@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND (" + + "(@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@I" + + "sNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @" + + "Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_cate = 1 AND [cate]" + + " IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_supplyidx = 1 AND [supplyi" + + "dx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_scale = 1 AND" + + " [scale] IS NULL) OR ([scale] = @Original_scale)) AND ((@IsNull_unit = 1 AND [un" + + "it] IS NULL) OR ([unit] = @Original_unit)) AND ((@IsNull_disable = 1 AND [disabl" + + "e] IS NULL) OR ([disable] = @Original_disable)) AND ((@IsNull_bparam1 = 1 AND [b" + + "param1] IS NULL) OR ([bparam1] = @Original_bparam1)) AND ((@IsNull_iparam1 = 1 A" + + "ND [iparam1] IS NULL) OR ([iparam1] = @Original_iparam1)) AND ((@IsNull_import =" + + " 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_gcode =" + + " 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AND ((@IsNull_priceD = 1" + + " AND [priceD] IS NULL) OR ([priceD] = @Original_priceD)) AND ((@IsNull_Storage =" + + " 1 AND [Storage] IS NULL) OR ([Storage] = @Original_Storage)));\r\nSELECT idx, nam" + + "e, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, u" + + "nit, disable, bparam1, iparam1, import, gcode, priceD, Storage FROM Items WHERE " + + "(idx = @idx) ORDER BY cate, name, idx"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manu", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supply", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@price", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "price", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supplyidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@scale", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "scale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@unit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@disable", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bparam1", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@iparam1", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "iparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@priceD", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", 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("@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("@name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manu", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supply", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@price", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "price", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@scale", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "scale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@unit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@disable", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bparam1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@iparam1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "iparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@priceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Storage", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", 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, 0, 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_name", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_model", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_model", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_manu", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_manu", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_supply", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_supply", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_price", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "price", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_price", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "price", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_scale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "scale", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_scale", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "scale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_unit", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_unit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_disable", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_disable", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bparam1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bparam1", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bparam1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bparam1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_iparam1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "iparam1", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_iparam1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "iparam1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_import", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_gcode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_priceD", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "priceD", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_priceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Storage", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Storage", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -10630,8 +10792,8 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp" + - "lyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD\r\nFROM I" + - "tems\r\nWHERE (gcode = @gcode)\r\nORDER BY cate, name, idx"; + "lyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage\r\nF" + + "ROM Items\r\nWHERE (gcode = @gcode)\r\nORDER BY cate, name, idx"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); @@ -10656,7 +10818,7 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[4].Connection = this.Connection; - this._commandCollection[4].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD + this._commandCollection[4].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage FROM Items WHERE (sid IN (SELECT sid @@ -10669,7 +10831,7 @@ ORDER BY sid, name, idx"; this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[5].Connection = this.Connection; - this._commandCollection[5].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD + this._commandCollection[5].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage FROM Items WHERE (gcode = @code) AND (ISNULL(cate, N'') LIKE @cate) AND (ISNULL(name, N'') LIKE @search OR ISNULL(model, N'') LIKE @search OR @@ -10682,7 +10844,7 @@ ORDER BY name, idx"; this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[6].Connection = this.Connection; - this._commandCollection[6].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD + this._commandCollection[6].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage FROM Items WHERE (ISNULL(name, N'') LIKE @search OR ISNULL(sid, N'') LIKE @search OR @@ -10696,14 +10858,14 @@ ORDER BY name, idx"; this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[7].Connection = this.Connection; - this._commandCollection[7].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD + this._commandCollection[7].CommandText = @"SELECT Storage, bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, priceD, scale, sid, supply, supplyidx, unit, wdate, wuid FROM Items WHERE (ISNULL(name, N'') LIKE @search OR ISNULL(sid, N'') LIKE @search OR ISNULL(manu, N'') LIKE @search OR ISNULL(supply, N'') LIKE @search OR ISNULL(model, N'') LIKE @search OR - ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode) and isnull(disable,0)=0 + ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode) AND (ISNULL(disable, 0) = 0) ORDER BY name, idx"; this._commandCollection[7].CommandType = global::System.Data.CommandType.Text; this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); @@ -10711,8 +10873,8 @@ ORDER BY name, idx"; this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[8].Connection = this.Connection; this._commandCollection[8].CommandText = "SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, n" + - "ame, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD\r\nFROM I" + - "tems\r\nWHERE (idx = @idx)"; + "ame, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage\r\nF" + + "ROM Items\r\nWHERE (idx = @idx)"; this._commandCollection[8].CommandType = global::System.Data.CommandType.Text; this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand(); @@ -11021,8 +11183,180 @@ ORDER BY name, idx"; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(int Original_idx) { + public virtual int Delete( + int Original_idx, + string Original_name, + string Original_sid, + string Original_model, + string Original_manu, + string Original_supply, + global::System.Nullable Original_price, + string Original_memo, + string Original_wuid, + System.DateTime Original_wdate, + string Original_cate, + global::System.Nullable Original_supplyidx, + global::System.Nullable Original_scale, + string Original_unit, + global::System.Nullable Original_disable, + global::System.Nullable Original_bparam1, + global::System.Nullable Original_iparam1, + string Original_import, + string Original_gcode, + global::System.Nullable Original_priceD, + string Original_Storage) { this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); + if ((Original_name == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_name)); + } + if ((Original_sid == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_sid)); + } + if ((Original_model == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_model)); + } + if ((Original_manu == null)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_manu)); + } + if ((Original_supply == null)) { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_supply)); + } + if ((Original_price.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((decimal)(Original_price.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((Original_memo == null)) { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_memo)); + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.DeleteCommand.Parameters[15].Value = ((string)(Original_wuid)); + } + this.Adapter.DeleteCommand.Parameters[16].Value = ((System.DateTime)(Original_wdate)); + if ((Original_cate == null)) { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_cate)); + } + if ((Original_supplyidx.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[20].Value = ((int)(Original_supplyidx.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value; + } + if ((Original_scale.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[22].Value = ((double)(Original_scale.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value; + } + if ((Original_unit == null)) { + this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[24].Value = ((string)(Original_unit)); + } + if ((Original_disable.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[26].Value = ((bool)(Original_disable.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value; + } + if ((Original_bparam1.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[28].Value = ((bool)(Original_bparam1.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value; + } + if ((Original_iparam1.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[30].Value = ((int)(Original_iparam1.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value; + } + if ((Original_import == null)) { + this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[32].Value = ((string)(Original_import)); + } + if ((Original_gcode == null)) { + this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[34].Value = ((string)(Original_gcode)); + } + if ((Original_priceD.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[36].Value = ((decimal)(Original_priceD.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value; + } + if ((Original_Storage == null)) { + this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[38].Value = ((string)(Original_Storage)); + } global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { @@ -11062,7 +11396,8 @@ ORDER BY name, idx"; global::System.Nullable iparam1, string import, string gcode, - global::System.Nullable priceD) { + global::System.Nullable priceD, + string Storage) { if ((name == null)) { this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; } @@ -11172,6 +11507,12 @@ ORDER BY name, idx"; else { this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; } + if ((Storage == null)) { + this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[19].Value = ((string)(Storage)); + } global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { @@ -11212,7 +11553,28 @@ ORDER BY name, idx"; string import, string gcode, global::System.Nullable priceD, + string Storage, int Original_idx, + string Original_name, + string Original_sid, + string Original_model, + string Original_manu, + string Original_supply, + global::System.Nullable Original_price, + string Original_memo, + string Original_wuid, + System.DateTime Original_wdate, + string Original_cate, + global::System.Nullable Original_supplyidx, + global::System.Nullable Original_scale, + string Original_unit, + global::System.Nullable Original_disable, + global::System.Nullable Original_bparam1, + global::System.Nullable Original_iparam1, + string Original_import, + string Original_gcode, + global::System.Nullable Original_priceD, + string Original_Storage, int idx) { if ((name == null)) { this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; @@ -11323,8 +11685,165 @@ ORDER BY name, idx"; else { this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; } - this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(Original_idx)); - this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(idx)); + if ((Storage == null)) { + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Storage)); + } + this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_idx)); + if ((Original_name == null)) { + this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_name)); + } + if ((Original_sid == null)) { + this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_sid)); + } + if ((Original_model == null)) { + this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_model)); + } + if ((Original_manu == null)) { + this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_manu)); + } + if ((Original_supply == null)) { + this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_supply)); + } + if ((Original_price.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[32].Value = ((decimal)(Original_price.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; + } + if ((Original_memo == null)) { + this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_memo)); + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_wuid)); + } + this.Adapter.UpdateCommand.Parameters[36].Value = ((System.DateTime)(Original_wdate)); + if ((Original_cate == null)) { + this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_cate)); + } + if ((Original_supplyidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[40].Value = ((int)(Original_supplyidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value; + } + if ((Original_scale.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[42].Value = ((double)(Original_scale.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value; + } + if ((Original_unit == null)) { + this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_unit)); + } + if ((Original_disable.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[46].Value = ((bool)(Original_disable.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value; + } + if ((Original_bparam1.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[48].Value = ((bool)(Original_bparam1.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value; + } + if ((Original_iparam1.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[50].Value = ((int)(Original_iparam1.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value; + } + if ((Original_import == null)) { + this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_import)); + } + if ((Original_gcode == null)) { + this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_gcode)); + } + if ((Original_priceD.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[56].Value = ((decimal)(Original_priceD.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value; + } + if ((Original_Storage == null)) { + this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[58].Value = ((string)(Original_Storage)); + } + this.Adapter.UpdateCommand.Parameters[59].Value = ((int)(idx)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { @@ -11341,6 +11860,55 @@ ORDER BY name, idx"; } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string name, + string sid, + string model, + string manu, + string supply, + global::System.Nullable price, + string memo, + string wuid, + System.DateTime wdate, + string cate, + global::System.Nullable supplyidx, + global::System.Nullable scale, + string unit, + global::System.Nullable disable, + global::System.Nullable bparam1, + global::System.Nullable iparam1, + string import, + string gcode, + global::System.Nullable priceD, + string Storage, + int Original_idx, + string Original_name, + string Original_sid, + string Original_model, + string Original_manu, + string Original_supply, + global::System.Nullable Original_price, + string Original_memo, + string Original_wuid, + System.DateTime Original_wdate, + string Original_cate, + global::System.Nullable Original_supplyidx, + global::System.Nullable Original_scale, + string Original_unit, + global::System.Nullable Original_disable, + global::System.Nullable Original_bparam1, + global::System.Nullable Original_iparam1, + string Original_import, + string Original_gcode, + global::System.Nullable Original_priceD, + string Original_Storage) { + return this.Update(name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage, Original_idx, Original_name, Original_sid, Original_model, Original_manu, Original_supply, Original_price, Original_memo, Original_wuid, Original_wdate, Original_cate, Original_supplyidx, Original_scale, Original_unit, Original_disable, Original_bparam1, Original_iparam1, Original_import, Original_gcode, Original_priceD, Original_Storage, Original_idx); + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] diff --git a/SubProject/FCM0000/dsMSSQL.cs b/SubProject/FCM0000/dsMSSQL.cs index c1fbd12..50b4a48 100644 --- a/SubProject/FCM0000/dsMSSQL.cs +++ b/SubProject/FCM0000/dsMSSQL.cs @@ -2,9 +2,9 @@ { - partial class dsMSSQL - { - } + partial class dsMSSQL + { + } } namespace FCM0000.dsMSSQLTableAdapters { diff --git a/SubProject/FCM0000/dsMSSQL.xsd b/SubProject/FCM0000/dsMSSQL.xsd index 517c2b1..fedcc79 100644 --- a/SubProject/FCM0000/dsMSSQL.xsd +++ b/SubProject/FCM0000/dsMSSQL.xsd @@ -12,45 +12,81 @@ - DELETE FROM Items -WHERE (idx = @Original_idx) + DELETE FROM [Items] WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_scale = 1 AND [scale] IS NULL) OR ([scale] = @Original_scale)) AND ((@IsNull_unit = 1 AND [unit] IS NULL) OR ([unit] = @Original_unit)) AND ((@IsNull_disable = 1 AND [disable] IS NULL) OR ([disable] = @Original_disable)) AND ((@IsNull_bparam1 = 1 AND [bparam1] IS NULL) OR ([bparam1] = @Original_bparam1)) AND ((@IsNull_iparam1 = 1 AND [iparam1] IS NULL) OR ([iparam1] = @Original_iparam1)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AND ((@IsNull_priceD = 1 AND [priceD] IS NULL) OR ([priceD] = @Original_priceD)) AND ((@IsNull_Storage = 1 AND [Storage] IS NULL) OR ([Storage] = @Original_Storage))) - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - INSERT INTO Items - (name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD) -VALUES (@name,@sid,@model,@manu,@supply,@price,@memo,@wuid,@wdate,@cate,@supplyidx,@scale,@unit,@disable,@bparam1,@iparam1,@import,@gcode,@priceD); -SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode FROM Items WHERE (idx = SCOPE_IDENTITY()) ORDER BY cate, name, idx + + INSERT INTO [Items] ([name], [sid], [model], [manu], [supply], [price], [memo], [wuid], [wdate], [cate], [supplyidx], [scale], [unit], [disable], [bparam1], [iparam1], [import], [gcode], [priceD], [Storage]) VALUES (@name, @sid, @model, @manu, @supply, @price, @memo, @wuid, @wdate, @cate, @supplyidx, @scale, @unit, @disable, @bparam1, @iparam1, @import, @gcode, @priceD, @Storage); +SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage FROM Items WHERE (idx = SCOPE_IDENTITY()) ORDER BY cate, name, idx - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD + SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage FROM Items WHERE (gcode = @gcode) ORDER BY cate, name, idx @@ -60,34 +96,70 @@ ORDER BY cate, name, idx - - UPDATE Items -SET name = @name, sid = @sid, model = @model, manu = @manu, supply = @supply, price = @price, memo = @memo, wuid = @wuid, wdate = @wdate, cate = @cate, supplyidx = @supplyidx, - scale = @scale, unit = @unit, disable = @disable, bparam1 = @bparam1, iparam1 = @iparam1, import = @import, gcode = @gcode, priceD = @priceD -WHERE (idx = @Original_idx); -SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode FROM Items WHERE (idx = @idx) ORDER BY cate, name, idx + + UPDATE [Items] SET [name] = @name, [sid] = @sid, [model] = @model, [manu] = @manu, [supply] = @supply, [price] = @price, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [cate] = @cate, [supplyidx] = @supplyidx, [scale] = @scale, [unit] = @unit, [disable] = @disable, [bparam1] = @bparam1, [iparam1] = @iparam1, [import] = @import, [gcode] = @gcode, [priceD] = @priceD, [Storage] = @Storage WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_scale = 1 AND [scale] IS NULL) OR ([scale] = @Original_scale)) AND ((@IsNull_unit = 1 AND [unit] IS NULL) OR ([unit] = @Original_unit)) AND ((@IsNull_disable = 1 AND [disable] IS NULL) OR ([disable] = @Original_disable)) AND ((@IsNull_bparam1 = 1 AND [bparam1] IS NULL) OR ([bparam1] = @Original_bparam1)) AND ((@IsNull_iparam1 = 1 AND [iparam1] IS NULL) OR ([iparam1] = @Original_iparam1)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AND ((@IsNull_priceD = 1 AND [priceD] IS NULL) OR ([priceD] = @Original_priceD)) AND ((@IsNull_Storage = 1 AND [Storage] IS NULL) OR ([Storage] = @Original_Storage))); +SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage FROM Items WHERE (idx = @idx) ORDER BY cate, name, idx - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -114,6 +186,7 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp + @@ -164,7 +237,7 @@ where gcode = @gcode and sid = @sid and isnull(sid,'') <> '' - SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD + SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage FROM Items WHERE (sid IN (SELECT sid @@ -182,7 +255,7 @@ ORDER BY sid, name, idx - SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD + SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage FROM Items WHERE (gcode = @code) AND (ISNULL(cate, N'') LIKE @cate) AND (ISNULL(name, N'') LIKE @search OR ISNULL(model, N'') LIKE @search OR @@ -200,7 +273,7 @@ ORDER BY name, idx - SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD + SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage FROM Items WHERE (ISNULL(name, N'') LIKE @search OR ISNULL(sid, N'') LIKE @search OR @@ -219,14 +292,14 @@ ORDER BY name, idx - SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD + SELECT Storage, bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, priceD, scale, sid, supply, supplyidx, unit, wdate, wuid FROM Items WHERE (ISNULL(name, N'') LIKE @search OR ISNULL(sid, N'') LIKE @search OR ISNULL(manu, N'') LIKE @search OR ISNULL(supply, N'') LIKE @search OR ISNULL(model, N'') LIKE @search OR - ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode) and isnull(disable,0)=0 + ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode) AND (ISNULL(disable, 0) = 0) ORDER BY name, idx @@ -238,7 +311,7 @@ ORDER BY name, idx - SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD + SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage FROM Items WHERE (idx = @idx) @@ -1645,7 +1718,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx - + @@ -1734,10 +1807,17 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx + + + + + + + - + @@ -1789,7 +1869,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx - + @@ -1857,7 +1937,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx - + @@ -1946,7 +2026,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx - + @@ -2059,7 +2139,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx - + @@ -2124,7 +2204,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx - + @@ -2265,7 +2345,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx - + @@ -2386,7 +2466,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx - + @@ -2416,7 +2496,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx - + @@ -2493,7 +2573,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx - + diff --git a/SubProject/FEQ0000/Purchase/fPurchase_Add.Designer.cs b/SubProject/FEQ0000/Purchase/fPurchase_Add.Designer.cs index 582dbd7..4e2ff39 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase_Add.Designer.cs +++ b/SubProject/FEQ0000/Purchase/fPurchase_Add.Designer.cs @@ -28,865 +28,889 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.Windows.Forms.Label processLabel; - System.Windows.Forms.Label receiveLabel; - System.Windows.Forms.Label scLabel; - System.Windows.Forms.Label sidLabel; - System.Windows.Forms.Label pumscaleLabel; - System.Windows.Forms.Label pumqtyLabel; - System.Windows.Forms.Label pumpriceLabel; - System.Windows.Forms.Label pumamtLabel; - System.Windows.Forms.Label assetLabel; - System.Windows.Forms.Label poLabel; - System.Windows.Forms.Label deptLabel; - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchase_Add)); - System.Windows.Forms.Label label1; - System.Windows.Forms.Label label2; - System.Windows.Forms.Label label4; - System.Windows.Forms.Label label5; - System.Windows.Forms.Label label3; - System.Windows.Forms.Label label6; - System.Windows.Forms.Label label7; - System.Windows.Forms.Label label8; - System.Windows.Forms.Label label9; - this.tbSC = new System.Windows.Forms.TextBox(); - this.tbSID = new System.Windows.Forms.TextBox(); - this.tbPumName = new System.Windows.Forms.TextBox(); - this.tbPumModel = new System.Windows.Forms.TextBox(); - this.tbPumUnit = new System.Windows.Forms.TextBox(); - this.tbPumQty = new System.Windows.Forms.TextBox(); - this.tbPumPrice = new System.Windows.Forms.TextBox(); - this.tbPumAmt = new System.Windows.Forms.TextBox(); - this.tbSupply = new System.Windows.Forms.TextBox(); - this.tbSupplyIndex = new System.Windows.Forms.TextBox(); - this.tbProject = new System.Windows.Forms.TextBox(); - this.tbProjectIndex = new System.Windows.Forms.TextBox(); - this.tbPO = new System.Windows.Forms.TextBox(); - this.tbBigo = new System.Windows.Forms.TextBox(); - this.dtPdate = new System.Windows.Forms.DateTimePicker(); - this.btSave = new System.Windows.Forms.Button(); - this.cmbState = new System.Windows.Forms.ComboBox(); - this.cbProcess = new System.Windows.Forms.ComboBox(); - this.cmbRequest = new System.Windows.Forms.ComboBox(); - this.cmbReceive = new System.Windows.Forms.ComboBox(); - this.tbPumIDX = new System.Windows.Forms.TextBox(); - this.tbPumStock = new System.Windows.Forms.TextBox(); - this.dtInDate = new System.Windows.Forms.DateTimePicker(); - this.chkInDate = new System.Windows.Forms.CheckBox(); - this.dtExpDate = new System.Windows.Forms.DateTimePicker(); - this.chkExp = new System.Windows.Forms.CheckBox(); - this.btSaveAdd = new System.Windows.Forms.Button(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.tbPumPriceD = new System.Windows.Forms.TextBox(); - this.button3 = new System.Windows.Forms.Button(); - this.button2 = new System.Windows.Forms.Button(); - this.button1 = new System.Windows.Forms.Button(); - this.groupBox2 = new System.Windows.Forms.GroupBox(); - this.button7 = new System.Windows.Forms.Button(); - this.button6 = new System.Windows.Forms.Button(); - this.button5 = new System.Windows.Forms.Button(); - this.button4 = new System.Windows.Forms.Button(); - this.tbOrderNo = new System.Windows.Forms.TextBox(); - this.cbManuProc = new System.Windows.Forms.ComboBox(); - this.cbEQModel = new System.Windows.Forms.ComboBox(); - this.cbEQManu = new System.Windows.Forms.ComboBox(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); - this.dsPurchase = new FEQ0000.dsPurchase(); - this.purchaseBindingSource = new System.Windows.Forms.BindingSource(this.components); - this.purchaseTableAdapter = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter(); - processLabel = new System.Windows.Forms.Label(); - receiveLabel = new System.Windows.Forms.Label(); - scLabel = new System.Windows.Forms.Label(); - sidLabel = new System.Windows.Forms.Label(); - pumscaleLabel = new System.Windows.Forms.Label(); - pumqtyLabel = new System.Windows.Forms.Label(); - pumpriceLabel = new System.Windows.Forms.Label(); - pumamtLabel = new System.Windows.Forms.Label(); - assetLabel = new System.Windows.Forms.Label(); - poLabel = new System.Windows.Forms.Label(); - deptLabel = new System.Windows.Forms.Label(); - label1 = new System.Windows.Forms.Label(); - label2 = new System.Windows.Forms.Label(); - label4 = new System.Windows.Forms.Label(); - label5 = new System.Windows.Forms.Label(); - label3 = new System.Windows.Forms.Label(); - label6 = new System.Windows.Forms.Label(); - label7 = new System.Windows.Forms.Label(); - label8 = new System.Windows.Forms.Label(); - label9 = new System.Windows.Forms.Label(); - this.groupBox1.SuspendLayout(); - this.groupBox2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.purchaseBindingSource)).BeginInit(); - this.SuspendLayout(); - // - // processLabel - // - processLabel.AutoSize = true; - processLabel.Location = new System.Drawing.Point(57, 130); - processLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - processLabel.Name = "processLabel"; - processLabel.Size = new System.Drawing.Size(39, 20); - processLabel.TabIndex = 6; - processLabel.Text = "공정"; - // - // receiveLabel - // - receiveLabel.AutoSize = true; - receiveLabel.Location = new System.Drawing.Point(42, 95); - receiveLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - receiveLabel.Name = "receiveLabel"; - receiveLabel.Size = new System.Drawing.Size(54, 20); - receiveLabel.TabIndex = 4; - receiveLabel.Text = "수령인"; - // - // scLabel - // - scLabel.AutoSize = true; - scLabel.Location = new System.Drawing.Point(69, 160); - scLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - scLabel.Name = "scLabel"; - scLabel.Size = new System.Drawing.Size(27, 20); - scLabel.TabIndex = 8; - scLabel.Text = "SC"; - // - // sidLabel - // - sidLabel.AutoSize = true; - sidLabel.Location = new System.Drawing.Point(288, 251); - sidLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - sidLabel.Name = "sidLabel"; - sidLabel.Size = new System.Drawing.Size(32, 20); - sidLabel.TabIndex = 19; - sidLabel.Text = "SID"; - // - // pumscaleLabel - // - pumscaleLabel.AutoSize = true; - pumscaleLabel.Location = new System.Drawing.Point(10, 142); - pumscaleLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - pumscaleLabel.Name = "pumscaleLabel"; - pumscaleLabel.Size = new System.Drawing.Size(75, 20); - pumscaleLabel.TabIndex = 9; - pumscaleLabel.Text = "모델/규격"; - // - // pumqtyLabel - // - pumqtyLabel.AutoSize = true; - pumqtyLabel.Location = new System.Drawing.Point(47, 179); - pumqtyLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - pumqtyLabel.Name = "pumqtyLabel"; - pumqtyLabel.Size = new System.Drawing.Size(39, 20); - pumqtyLabel.TabIndex = 12; - pumqtyLabel.Text = "수량"; - // - // pumpriceLabel - // - pumpriceLabel.AutoSize = true; - pumpriceLabel.Location = new System.Drawing.Point(280, 179); - pumpriceLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - pumpriceLabel.Name = "pumpriceLabel"; - pumpriceLabel.Size = new System.Drawing.Size(39, 20); - pumpriceLabel.TabIndex = 15; - pumpriceLabel.Text = "단가"; - // - // pumamtLabel - // - pumamtLabel.AutoSize = true; - pumamtLabel.Location = new System.Drawing.Point(47, 251); - pumamtLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - pumamtLabel.Name = "pumamtLabel"; - pumamtLabel.Size = new System.Drawing.Size(39, 20); - pumamtLabel.TabIndex = 17; - pumamtLabel.Text = "합계"; - // - // assetLabel - // - assetLabel.AutoSize = true; - assetLabel.Location = new System.Drawing.Point(24, 326); - assetLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - assetLabel.Name = "assetLabel"; - assetLabel.Size = new System.Drawing.Size(69, 20); - assetLabel.TabIndex = 18; - assetLabel.Text = "장비모델"; - // - // poLabel - // - poLabel.AutoSize = true; - poLabel.Location = new System.Drawing.Point(66, 190); - poLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - poLabel.Name = "poLabel"; - poLabel.Size = new System.Drawing.Size(30, 20); - poLabel.TabIndex = 10; - poLabel.Text = "PO"; - // - // deptLabel - // - deptLabel.AutoSize = true; - deptLabel.Location = new System.Drawing.Point(50, 362); - deptLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - deptLabel.Name = "deptLabel"; - deptLabel.Size = new System.Drawing.Size(39, 20); - deptLabel.TabIndex = 27; - deptLabel.Text = "비고"; - this.toolTip1.SetToolTip(deptLabel, resources.GetString("deptLabel.ToolTip")); - // - // label1 - // - label1.AutoSize = true; - label1.Location = new System.Drawing.Point(32, 35); - label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - label1.Name = "label1"; - label1.Size = new System.Drawing.Size(54, 20); - label1.TabIndex = 0; - label1.Text = "입력일"; - // - // label2 - // - label2.AutoSize = true; - label2.Location = new System.Drawing.Point(12, 290); - label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - label2.Name = "label2"; - label2.Size = new System.Drawing.Size(84, 20); - label2.TabIndex = 16; - label2.Text = "장비제조사"; - // - // label4 - // - label4.AutoSize = true; - label4.Location = new System.Drawing.Point(24, 254); - label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - label4.Name = "label4"; - label4.Size = new System.Drawing.Size(69, 20); - label4.TabIndex = 14; - label4.Text = "제조공정"; - // - // label5 - // - label5.AutoSize = true; - label5.Location = new System.Drawing.Point(36, 221); - label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - label5.Name = "label5"; - label5.Size = new System.Drawing.Size(59, 20); - label5.TabIndex = 12; - label5.Text = "SCR/CF"; - // - // label3 - // - label3.AutoSize = true; - label3.Location = new System.Drawing.Point(46, 69); - label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - label3.Name = "label3"; - label3.Size = new System.Drawing.Size(39, 20); - label3.TabIndex = 2; - label3.Text = "요청"; - // - // label6 - // - label6.AutoSize = true; - label6.Location = new System.Drawing.Point(280, 69); - label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - label6.Name = "label6"; - label6.Size = new System.Drawing.Size(39, 20); - label6.TabIndex = 4; - label6.Text = "상태"; - // - // label7 - // - label7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - label7.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - label7.Location = new System.Drawing.Point(11, 539); - label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - label7.Name = "label7"; - label7.Padding = new System.Windows.Forms.Padding(5); - label7.Size = new System.Drawing.Size(910, 103); - label7.TabIndex = 17; - label7.Text = resources.GetString("label7.Text"); - // - // label8 - // - label8.AutoSize = true; - label8.ForeColor = System.Drawing.Color.Blue; - label8.Location = new System.Drawing.Point(29, 214); - label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - label8.Name = "label8"; - label8.Size = new System.Drawing.Size(57, 20); - label8.TabIndex = 35; - label8.Text = "단가($)"; - // - // label9 - // - label9.AutoSize = true; - label9.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - label9.ForeColor = System.Drawing.Color.Blue; - label9.Location = new System.Drawing.Point(285, 218); - label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - label9.Name = "label9"; - label9.Size = new System.Drawing.Size(163, 15); - label9.TabIndex = 37; - label9.Text = "해외물품은 좌측 단가를 입력"; - // - // tbSC - // - this.tbSC.Location = new System.Drawing.Point(104, 156); - this.tbSC.Margin = new System.Windows.Forms.Padding(4); - this.tbSC.Name = "tbSC"; - this.tbSC.Size = new System.Drawing.Size(286, 27); - this.tbSC.TabIndex = 9; - // - // tbSID - // - this.tbSID.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); - this.tbSID.Location = new System.Drawing.Point(327, 248); - this.tbSID.Margin = new System.Windows.Forms.Padding(4); - this.tbSID.Name = "tbSID"; - this.tbSID.Size = new System.Drawing.Size(148, 27); - this.tbSID.TabIndex = 20; - // - // tbPumName - // - this.tbPumName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.tbPumName.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.tbPumName.Location = new System.Drawing.Point(93, 102); - this.tbPumName.Margin = new System.Windows.Forms.Padding(4); - this.tbPumName.Name = "tbPumName"; - this.tbPumName.Size = new System.Drawing.Size(311, 27); - this.tbPumName.TabIndex = 7; - this.tbPumName.Click += new System.EventHandler(this.tbPumName_Click); - this.tbPumName.TextChanged += new System.EventHandler(this.tbPumName_TextChanged); - // - // tbPumModel - // - this.tbPumModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.tbPumModel.ImeMode = System.Windows.Forms.ImeMode.Alpha; - this.tbPumModel.Location = new System.Drawing.Point(93, 139); - this.tbPumModel.Margin = new System.Windows.Forms.Padding(4); - this.tbPumModel.Name = "tbPumModel"; - this.tbPumModel.Size = new System.Drawing.Size(311, 27); - this.tbPumModel.TabIndex = 10; - // - // tbPumUnit - // - this.tbPumUnit.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); - this.tbPumUnit.Location = new System.Drawing.Point(410, 139); - this.tbPumUnit.Margin = new System.Windows.Forms.Padding(4); - this.tbPumUnit.Name = "tbPumUnit"; - this.tbPumUnit.Size = new System.Drawing.Size(64, 27); - this.tbPumUnit.TabIndex = 11; - this.tbPumUnit.TabStop = false; - this.tbPumUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.toolTip1.SetToolTip(this.tbPumUnit, "단위"); - // - // tbPumQty - // - this.tbPumQty.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.tbPumQty.Location = new System.Drawing.Point(94, 175); - this.tbPumQty.Margin = new System.Windows.Forms.Padding(4); - this.tbPumQty.Name = "tbPumQty"; - this.tbPumQty.Size = new System.Drawing.Size(111, 27); - this.tbPumQty.TabIndex = 13; - this.tbPumQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.tbPumQty.TextChanged += new System.EventHandler(this.tbPumQty_TextChanged); - // - // tbPumPrice - // - this.tbPumPrice.Location = new System.Drawing.Point(326, 175); - this.tbPumPrice.Margin = new System.Windows.Forms.Padding(4); - this.tbPumPrice.Name = "tbPumPrice"; - this.tbPumPrice.Size = new System.Drawing.Size(148, 27); - this.tbPumPrice.TabIndex = 16; - this.tbPumPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.tbPumPrice.TextChanged += new System.EventHandler(this.tbPumQty_TextChanged); - // - // tbPumAmt - // - this.tbPumAmt.Location = new System.Drawing.Point(93, 248); - this.tbPumAmt.Margin = new System.Windows.Forms.Padding(4); - this.tbPumAmt.Name = "tbPumAmt"; - this.tbPumAmt.ReadOnly = true; - this.tbPumAmt.Size = new System.Drawing.Size(179, 27); - this.tbPumAmt.TabIndex = 18; - this.tbPumAmt.TabStop = false; - this.tbPumAmt.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - // - // tbSupply - // - this.tbSupply.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.tbSupply.Location = new System.Drawing.Point(93, 283); - this.tbSupply.Margin = new System.Windows.Forms.Padding(4); - this.tbSupply.Name = "tbSupply"; - this.tbSupply.Size = new System.Drawing.Size(311, 27); - this.tbSupply.TabIndex = 22; - // - // tbSupplyIndex - // - this.tbSupplyIndex.Location = new System.Drawing.Point(410, 283); - this.tbSupplyIndex.Margin = new System.Windows.Forms.Padding(4); - this.tbSupplyIndex.Name = "tbSupplyIndex"; - this.tbSupplyIndex.ReadOnly = true; - this.tbSupplyIndex.Size = new System.Drawing.Size(64, 27); - this.tbSupplyIndex.TabIndex = 23; - this.tbSupplyIndex.TabStop = false; - this.tbSupplyIndex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.toolTip1.SetToolTip(this.tbSupplyIndex, "Database ID"); - // - // tbProject - // - this.tbProject.BackColor = System.Drawing.SystemColors.Window; - this.tbProject.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.tbProject.Location = new System.Drawing.Point(93, 320); - this.tbProject.Margin = new System.Windows.Forms.Padding(4); - this.tbProject.Name = "tbProject"; - this.tbProject.Size = new System.Drawing.Size(311, 27); - this.tbProject.TabIndex = 25; - this.toolTip1.SetToolTip(this.tbProject, "관련 프로젝트에서 선택하여 입력, 가공 파트 및 명확히 프로젝트에 한정되어 구매되는 것들"); - // - // tbProjectIndex - // - this.tbProjectIndex.Location = new System.Drawing.Point(410, 320); - this.tbProjectIndex.Margin = new System.Windows.Forms.Padding(4); - this.tbProjectIndex.Name = "tbProjectIndex"; - this.tbProjectIndex.ReadOnly = true; - this.tbProjectIndex.Size = new System.Drawing.Size(64, 27); - this.tbProjectIndex.TabIndex = 26; - this.tbProjectIndex.TabStop = false; - this.tbProjectIndex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.toolTip1.SetToolTip(this.tbProjectIndex, "Database ID"); - // - // tbPO - // - this.tbPO.Location = new System.Drawing.Point(104, 187); - this.tbPO.Margin = new System.Windows.Forms.Padding(4); - this.tbPO.Name = "tbPO"; - this.tbPO.Size = new System.Drawing.Size(286, 27); - this.tbPO.TabIndex = 11; - // - // tbBigo - // - this.tbBigo.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.tbBigo.Location = new System.Drawing.Point(93, 359); - this.tbBigo.Margin = new System.Windows.Forms.Padding(4); - this.tbBigo.MaxLength = 500; - this.tbBigo.Multiline = true; - this.tbBigo.Name = "tbBigo"; - this.tbBigo.Size = new System.Drawing.Size(381, 150); - this.tbBigo.TabIndex = 28; - this.tbBigo.TabStop = false; - this.toolTip1.SetToolTip(this.tbBigo, resources.GetString("tbBigo.ToolTip")); - // - // dtPdate - // - this.dtPdate.Location = new System.Drawing.Point(93, 29); - this.dtPdate.Margin = new System.Windows.Forms.Padding(4); - this.dtPdate.Name = "dtPdate"; - this.dtPdate.Size = new System.Drawing.Size(381, 27); - this.dtPdate.TabIndex = 1; - // - // btSave - // - this.btSave.Location = new System.Drawing.Point(11, 648); - this.btSave.Margin = new System.Windows.Forms.Padding(4); - this.btSave.Name = "btSave"; - this.btSave.Size = new System.Drawing.Size(490, 43); - this.btSave.TabIndex = 1; - this.btSave.Text = "저장(&S)"; - this.btSave.UseVisualStyleBackColor = true; - this.btSave.Click += new System.EventHandler(this.button1_Click); - // - // cmbState - // - this.cmbState.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.cmbState.FormattingEnabled = true; - this.cmbState.Location = new System.Drawing.Point(327, 66); - this.cmbState.Margin = new System.Windows.Forms.Padding(4); - this.cmbState.Name = "cmbState"; - this.cmbState.Size = new System.Drawing.Size(148, 28); - this.cmbState.TabIndex = 5; - this.cmbState.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); - // - // cbProcess - // - this.cbProcess.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; - this.cbProcess.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; - this.cbProcess.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.cbProcess.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cbProcess.FormattingEnabled = true; - this.cbProcess.Location = new System.Drawing.Point(104, 125); - this.cbProcess.Margin = new System.Windows.Forms.Padding(4); - this.cbProcess.Name = "cbProcess"; - this.cbProcess.Size = new System.Drawing.Size(286, 28); - this.cbProcess.TabIndex = 7; - // - // cmbRequest - // - this.cmbRequest.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; - this.cmbRequest.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; - this.cmbRequest.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbRequest.FormattingEnabled = true; - this.cmbRequest.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.cmbRequest.Location = new System.Drawing.Point(93, 66); - this.cmbRequest.Margin = new System.Windows.Forms.Padding(4); - this.cmbRequest.Name = "cmbRequest"; - this.cmbRequest.Size = new System.Drawing.Size(179, 28); - this.cmbRequest.TabIndex = 3; - // - // cmbReceive - // - this.cmbReceive.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; - this.cmbReceive.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; - this.cmbReceive.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbReceive.FormattingEnabled = true; - this.cmbReceive.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.cmbReceive.Location = new System.Drawing.Point(104, 93); - this.cmbReceive.Margin = new System.Windows.Forms.Padding(4); - this.cmbReceive.Name = "cmbReceive"; - this.cmbReceive.Size = new System.Drawing.Size(286, 28); - this.cmbReceive.TabIndex = 5; - // - // tbPumIDX - // - this.tbPumIDX.Location = new System.Drawing.Point(410, 102); - this.tbPumIDX.Margin = new System.Windows.Forms.Padding(4); - this.tbPumIDX.Name = "tbPumIDX"; - this.tbPumIDX.ReadOnly = true; - this.tbPumIDX.Size = new System.Drawing.Size(64, 27); - this.tbPumIDX.TabIndex = 8; - this.tbPumIDX.TabStop = false; - this.tbPumIDX.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.toolTip1.SetToolTip(this.tbPumIDX, "Database ID"); - // - // tbPumStock - // - this.tbPumStock.Location = new System.Drawing.Point(208, 175); - this.tbPumStock.Margin = new System.Windows.Forms.Padding(4); - this.tbPumStock.Name = "tbPumStock"; - this.tbPumStock.ReadOnly = true; - this.tbPumStock.Size = new System.Drawing.Size(64, 27); - this.tbPumStock.TabIndex = 14; - this.tbPumStock.TabStop = false; - this.tbPumStock.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.toolTip1.SetToolTip(this.tbPumStock, "재고량"); - // - // dtInDate - // - this.dtInDate.Location = new System.Drawing.Point(104, 58); - this.dtInDate.Margin = new System.Windows.Forms.Padding(4); - this.dtInDate.Name = "dtInDate"; - this.dtInDate.Size = new System.Drawing.Size(286, 27); - this.dtInDate.TabIndex = 3; - this.dtInDate.TabStop = false; - // - // chkInDate - // - this.chkInDate.AutoSize = true; - this.chkInDate.Location = new System.Drawing.Point(24, 60); - this.chkInDate.Margin = new System.Windows.Forms.Padding(4); - this.chkInDate.Name = "chkInDate"; - this.chkInDate.Size = new System.Drawing.Size(73, 24); - this.chkInDate.TabIndex = 2; - this.chkInDate.TabStop = false; - this.chkInDate.Text = "입고일"; - this.chkInDate.UseVisualStyleBackColor = true; - this.chkInDate.CheckedChanged += new System.EventHandler(this.chkInDate_CheckedChanged); - // - // dtExpDate - // - this.dtExpDate.Location = new System.Drawing.Point(104, 26); - this.dtExpDate.Margin = new System.Windows.Forms.Padding(4); - this.dtExpDate.Name = "dtExpDate"; - this.dtExpDate.Size = new System.Drawing.Size(286, 27); - this.dtExpDate.TabIndex = 1; - this.dtExpDate.TabStop = false; - // - // chkExp - // - this.chkExp.AutoSize = true; - this.chkExp.Location = new System.Drawing.Point(24, 30); - this.chkExp.Margin = new System.Windows.Forms.Padding(4); - this.chkExp.Name = "chkExp"; - this.chkExp.Size = new System.Drawing.Size(73, 24); - this.chkExp.TabIndex = 0; - this.chkExp.TabStop = false; - this.chkExp.Text = "예상일"; - this.chkExp.UseVisualStyleBackColor = true; - this.chkExp.CheckedChanged += new System.EventHandler(this.chkExp_CheckedChanged); - // - // btSaveAdd - // - this.btSaveAdd.Location = new System.Drawing.Point(511, 648); - this.btSaveAdd.Margin = new System.Windows.Forms.Padding(4); - this.btSaveAdd.Name = "btSaveAdd"; - this.btSaveAdd.Size = new System.Drawing.Size(410, 43); - this.btSaveAdd.TabIndex = 3; - this.btSaveAdd.Text = "저장 및 추가(&A)"; - this.btSaveAdd.UseVisualStyleBackColor = true; - this.btSaveAdd.Click += new System.EventHandler(this.button2_Click); - // - // groupBox1 - // - this.groupBox1.Controls.Add(label9); - this.groupBox1.Controls.Add(this.tbPumPriceD); - this.groupBox1.Controls.Add(label8); - this.groupBox1.Controls.Add(this.button3); - this.groupBox1.Controls.Add(this.button2); - this.groupBox1.Controls.Add(this.button1); - this.groupBox1.Controls.Add(label6); - this.groupBox1.Controls.Add(label3); - this.groupBox1.Controls.Add(this.dtPdate); - this.groupBox1.Controls.Add(this.tbPumStock); - this.groupBox1.Controls.Add(this.tbPumAmt); - this.groupBox1.Controls.Add(this.tbBigo); - this.groupBox1.Controls.Add(deptLabel); - this.groupBox1.Controls.Add(this.tbSupplyIndex); - this.groupBox1.Controls.Add(pumamtLabel); - this.groupBox1.Controls.Add(this.tbPumIDX); - this.groupBox1.Controls.Add(this.cmbState); - this.groupBox1.Controls.Add(this.tbSID); - this.groupBox1.Controls.Add(this.tbPumQty); - this.groupBox1.Controls.Add(pumqtyLabel); - this.groupBox1.Controls.Add(sidLabel); - this.groupBox1.Controls.Add(this.tbProject); - this.groupBox1.Controls.Add(this.tbProjectIndex); - this.groupBox1.Controls.Add(this.tbPumPrice); - this.groupBox1.Controls.Add(this.tbSupply); - this.groupBox1.Controls.Add(pumpriceLabel); - this.groupBox1.Controls.Add(label1); - this.groupBox1.Controls.Add(this.tbPumName); - this.groupBox1.Controls.Add(this.cmbRequest); - this.groupBox1.Controls.Add(pumscaleLabel); - this.groupBox1.Controls.Add(this.tbPumUnit); - this.groupBox1.Controls.Add(this.tbPumModel); - this.groupBox1.Location = new System.Drawing.Point(11, 6); - this.groupBox1.Margin = new System.Windows.Forms.Padding(4); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Padding = new System.Windows.Forms.Padding(4); - this.groupBox1.Size = new System.Drawing.Size(490, 525); - this.groupBox1.TabIndex = 0; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "필수입력"; - // - // tbPumPriceD - // - this.tbPumPriceD.ForeColor = System.Drawing.Color.Blue; - this.tbPumPriceD.Location = new System.Drawing.Point(94, 211); - this.tbPumPriceD.Margin = new System.Windows.Forms.Padding(4); - this.tbPumPriceD.Name = "tbPumPriceD"; - this.tbPumPriceD.Size = new System.Drawing.Size(178, 27); - this.tbPumPriceD.TabIndex = 36; - this.tbPumPriceD.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.tbPumPriceD.TextChanged += new System.EventHandler(this.tbDolloerPrice_TextChanged); - // - // button3 - // - this.button3.Location = new System.Drawing.Point(9, 320); - this.button3.Name = "button3"; - this.button3.Size = new System.Drawing.Size(80, 27); - this.button3.TabIndex = 34; - this.button3.Text = "프로젝트"; - this.toolTip1.SetToolTip(this.button3, "관련 프로젝트에서 선택하여 입력, 가공 파트 및 명확히 프로젝트에 한정되어 구매되는 것들"); - this.button3.UseVisualStyleBackColor = true; - this.button3.Click += new System.EventHandler(this.button3_Click); - // - // button2 - // - this.button2.Location = new System.Drawing.Point(9, 283); - this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(80, 27); - this.button2.TabIndex = 33; - this.button2.Text = "공급처"; - this.button2.UseVisualStyleBackColor = true; - this.button2.Click += new System.EventHandler(this.button2_Click_1); - // - // button1 - // - this.button1.Location = new System.Drawing.Point(9, 102); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(80, 27); - this.button1.TabIndex = 32; - this.button1.Text = "품명"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click_1); - // - // groupBox2 - // - this.groupBox2.BackColor = System.Drawing.Color.Gainsboro; - this.groupBox2.Controls.Add(this.button7); - this.groupBox2.Controls.Add(this.button6); - this.groupBox2.Controls.Add(this.button5); - this.groupBox2.Controls.Add(this.button4); - this.groupBox2.Controls.Add(this.tbOrderNo); - this.groupBox2.Controls.Add(label5); - this.groupBox2.Controls.Add(this.cbManuProc); - this.groupBox2.Controls.Add(label4); - this.groupBox2.Controls.Add(this.chkExp); - this.groupBox2.Controls.Add(this.cbEQModel); - this.groupBox2.Controls.Add(this.cbEQManu); - this.groupBox2.Controls.Add(label2); - this.groupBox2.Controls.Add(this.chkInDate); - this.groupBox2.Controls.Add(this.dtExpDate); - this.groupBox2.Controls.Add(this.dtInDate); - this.groupBox2.Controls.Add(this.pictureBox1); - this.groupBox2.Controls.Add(this.tbPO); - this.groupBox2.Controls.Add(poLabel); - this.groupBox2.Controls.Add(this.tbSC); - this.groupBox2.Controls.Add(scLabel); - this.groupBox2.Controls.Add(receiveLabel); - this.groupBox2.Controls.Add(assetLabel); - this.groupBox2.Controls.Add(this.cmbReceive); - this.groupBox2.Controls.Add(processLabel); - this.groupBox2.Controls.Add(this.cbProcess); - this.groupBox2.Location = new System.Drawing.Point(512, 7); - this.groupBox2.Margin = new System.Windows.Forms.Padding(4); - this.groupBox2.Name = "groupBox2"; - this.groupBox2.Padding = new System.Windows.Forms.Padding(4); - this.groupBox2.Size = new System.Drawing.Size(409, 524); - this.groupBox2.TabIndex = 2; - this.groupBox2.TabStop = false; - this.groupBox2.Text = "추가정보"; - // - // button7 - // - this.button7.Location = new System.Drawing.Point(6, 454); - this.button7.Name = "button7"; - this.button7.Size = new System.Drawing.Size(93, 27); - this.button7.TabIndex = 36; - this.button7.Text = "견적서폴더"; - this.button7.UseVisualStyleBackColor = true; - this.button7.Click += new System.EventHandler(this.button7_Click); - // - // button6 - // - this.button6.Location = new System.Drawing.Point(6, 422); - this.button6.Name = "button6"; - this.button6.Size = new System.Drawing.Size(93, 27); - this.button6.TabIndex = 35; - this.button6.Text = "그림선택"; - this.button6.UseVisualStyleBackColor = true; - this.button6.Click += new System.EventHandler(this.button6_Click); - // - // button5 - // - this.button5.Location = new System.Drawing.Point(6, 390); - this.button5.Name = "button5"; - this.button5.Size = new System.Drawing.Size(93, 27); - this.button5.TabIndex = 34; - this.button5.Text = "촬영"; - this.button5.UseVisualStyleBackColor = true; - this.button5.Click += new System.EventHandler(this.button5_Click); - // - // button4 - // - this.button4.Location = new System.Drawing.Point(6, 358); - this.button4.Name = "button4"; - this.button4.Size = new System.Drawing.Size(93, 27); - this.button4.TabIndex = 33; - this.button4.Text = "붙여넣기"; - this.button4.UseVisualStyleBackColor = true; - this.button4.Click += new System.EventHandler(this.button4_Click); - // - // 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, 218); - 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 = 13; - // - // cbManuProc - // - this.cbManuProc.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; - this.cbManuProc.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; - this.cbManuProc.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cbManuProc.FormattingEnabled = true; - this.cbManuProc.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.cbManuProc.Location = new System.Drawing.Point(104, 251); - this.cbManuProc.Margin = new System.Windows.Forms.Padding(4); - this.cbManuProc.Name = "cbManuProc"; - this.cbManuProc.Size = new System.Drawing.Size(286, 28); - this.cbManuProc.TabIndex = 15; - // - // cbEQModel - // - this.cbEQModel.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; - this.cbEQModel.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; - this.cbEQModel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cbEQModel.FormattingEnabled = true; - this.cbEQModel.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.cbEQModel.Location = new System.Drawing.Point(104, 323); - this.cbEQModel.Margin = new System.Windows.Forms.Padding(4); - this.cbEQModel.Name = "cbEQModel"; - this.cbEQModel.Size = new System.Drawing.Size(286, 28); - this.cbEQModel.TabIndex = 19; - // - // cbEQManu - // - this.cbEQManu.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; - this.cbEQManu.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; - this.cbEQManu.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cbEQManu.FormattingEnabled = true; - this.cbEQManu.ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.cbEQManu.Location = new System.Drawing.Point(104, 287); - this.cbEQManu.Margin = new System.Windows.Forms.Padding(4); - this.cbEQManu.Name = "cbEQManu"; - this.cbEQManu.Size = new System.Drawing.Size(286, 28); - this.cbEQManu.TabIndex = 17; - this.cbEQManu.SelectedIndexChanged += new System.EventHandler(this.cbEQManu_SelectedIndexChanged); - // - // pictureBox1 - // - this.pictureBox1.BackColor = System.Drawing.Color.Gray; - this.pictureBox1.Location = new System.Drawing.Point(104, 358); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(286, 148); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; - this.pictureBox1.TabIndex = 17; - this.pictureBox1.TabStop = false; - this.pictureBox1.Tag = "A"; - // - // dsPurchase - // - this.dsPurchase.DataSetName = "dsPurchase"; - this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // - // purchaseBindingSource - // - this.purchaseBindingSource.DataMember = "Purchase"; - this.purchaseBindingSource.DataSource = this.dsPurchase; - // - // purchaseTableAdapter - // - this.purchaseTableAdapter.ClearBeforeFill = true; - // - // fPurchase_Add - // - this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(928, 701); - this.Controls.Add(this.groupBox2); - this.Controls.Add(this.groupBox1); - this.Controls.Add(this.btSaveAdd); - this.Controls.Add(this.btSave); - this.Controls.Add(label7); - this.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "fPurchase_Add"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "Purchase ADD/EDIT"; - this.Load += new System.EventHandler(this.@__Load); - this.groupBox1.ResumeLayout(false); - this.groupBox1.PerformLayout(); - this.groupBox2.ResumeLayout(false); - this.groupBox2.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.purchaseBindingSource)).EndInit(); - this.ResumeLayout(false); + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.Label processLabel; + System.Windows.Forms.Label receiveLabel; + System.Windows.Forms.Label scLabel; + System.Windows.Forms.Label sidLabel; + System.Windows.Forms.Label pumscaleLabel; + System.Windows.Forms.Label pumqtyLabel; + System.Windows.Forms.Label pumpriceLabel; + System.Windows.Forms.Label pumamtLabel; + System.Windows.Forms.Label assetLabel; + System.Windows.Forms.Label poLabel; + System.Windows.Forms.Label deptLabel; + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchase_Add)); + System.Windows.Forms.Label label1; + System.Windows.Forms.Label label2; + System.Windows.Forms.Label label4; + System.Windows.Forms.Label label5; + System.Windows.Forms.Label label3; + System.Windows.Forms.Label label6; + System.Windows.Forms.Label label7; + System.Windows.Forms.Label label8; + System.Windows.Forms.Label label9; + System.Windows.Forms.Label label10; + this.tbSC = new System.Windows.Forms.TextBox(); + this.tbSID = new System.Windows.Forms.TextBox(); + this.tbPumName = new System.Windows.Forms.TextBox(); + this.tbPumModel = new System.Windows.Forms.TextBox(); + this.tbPumUnit = new System.Windows.Forms.TextBox(); + this.tbPumQty = new System.Windows.Forms.TextBox(); + this.tbPumPrice = new System.Windows.Forms.TextBox(); + this.tbPumAmt = new System.Windows.Forms.TextBox(); + this.tbSupply = new System.Windows.Forms.TextBox(); + this.tbSupplyIndex = new System.Windows.Forms.TextBox(); + this.tbProject = new System.Windows.Forms.TextBox(); + this.tbProjectIndex = new System.Windows.Forms.TextBox(); + this.tbPO = new System.Windows.Forms.TextBox(); + this.tbBigo = new System.Windows.Forms.TextBox(); + this.dtPdate = new System.Windows.Forms.DateTimePicker(); + this.btSave = new System.Windows.Forms.Button(); + this.cmbState = new System.Windows.Forms.ComboBox(); + this.cbProcess = new System.Windows.Forms.ComboBox(); + this.cmbRequest = new System.Windows.Forms.ComboBox(); + this.cmbReceive = new System.Windows.Forms.ComboBox(); + this.tbPumIDX = new System.Windows.Forms.TextBox(); + this.tbPumStock = new System.Windows.Forms.TextBox(); + this.dtInDate = new System.Windows.Forms.DateTimePicker(); + this.chkInDate = new System.Windows.Forms.CheckBox(); + this.dtExpDate = new System.Windows.Forms.DateTimePicker(); + this.chkExp = new System.Windows.Forms.CheckBox(); + this.btSaveAdd = new System.Windows.Forms.Button(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.tbPumPriceD = new System.Windows.Forms.TextBox(); + this.button3 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.button1 = new System.Windows.Forms.Button(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.button7 = new System.Windows.Forms.Button(); + this.button6 = new System.Windows.Forms.Button(); + this.button5 = new System.Windows.Forms.Button(); + this.button4 = new System.Windows.Forms.Button(); + this.tbOrderNo = new System.Windows.Forms.TextBox(); + this.cbManuProc = new System.Windows.Forms.ComboBox(); + this.cbEQModel = new System.Windows.Forms.ComboBox(); + this.cbEQManu = new System.Windows.Forms.ComboBox(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); + this.dsPurchase = new FEQ0000.dsPurchase(); + this.purchaseBindingSource = new System.Windows.Forms.BindingSource(this.components); + this.purchaseTableAdapter = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter(); + this.tbStorage = new System.Windows.Forms.TextBox(); + processLabel = new System.Windows.Forms.Label(); + receiveLabel = new System.Windows.Forms.Label(); + scLabel = new System.Windows.Forms.Label(); + sidLabel = new System.Windows.Forms.Label(); + pumscaleLabel = new System.Windows.Forms.Label(); + pumqtyLabel = new System.Windows.Forms.Label(); + pumpriceLabel = new System.Windows.Forms.Label(); + pumamtLabel = new System.Windows.Forms.Label(); + assetLabel = new System.Windows.Forms.Label(); + poLabel = new System.Windows.Forms.Label(); + deptLabel = new System.Windows.Forms.Label(); + label1 = new System.Windows.Forms.Label(); + label2 = new System.Windows.Forms.Label(); + label4 = new System.Windows.Forms.Label(); + label5 = new System.Windows.Forms.Label(); + label3 = new System.Windows.Forms.Label(); + label6 = new System.Windows.Forms.Label(); + label7 = new System.Windows.Forms.Label(); + label8 = new System.Windows.Forms.Label(); + label9 = new System.Windows.Forms.Label(); + label10 = new System.Windows.Forms.Label(); + this.groupBox1.SuspendLayout(); + this.groupBox2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.purchaseBindingSource)).BeginInit(); + this.SuspendLayout(); + // + // processLabel + // + processLabel.AutoSize = true; + processLabel.Location = new System.Drawing.Point(57, 130); + processLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + processLabel.Name = "processLabel"; + processLabel.Size = new System.Drawing.Size(39, 20); + processLabel.TabIndex = 6; + processLabel.Text = "공정"; + // + // receiveLabel + // + receiveLabel.AutoSize = true; + receiveLabel.Location = new System.Drawing.Point(42, 95); + receiveLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + receiveLabel.Name = "receiveLabel"; + receiveLabel.Size = new System.Drawing.Size(54, 20); + receiveLabel.TabIndex = 4; + receiveLabel.Text = "수령인"; + // + // scLabel + // + scLabel.AutoSize = true; + scLabel.Location = new System.Drawing.Point(69, 160); + scLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + scLabel.Name = "scLabel"; + scLabel.Size = new System.Drawing.Size(27, 20); + scLabel.TabIndex = 8; + scLabel.Text = "SC"; + // + // sidLabel + // + sidLabel.AutoSize = true; + sidLabel.Location = new System.Drawing.Point(288, 251); + sidLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + sidLabel.Name = "sidLabel"; + sidLabel.Size = new System.Drawing.Size(32, 20); + sidLabel.TabIndex = 19; + sidLabel.Text = "SID"; + // + // pumscaleLabel + // + pumscaleLabel.AutoSize = true; + pumscaleLabel.Location = new System.Drawing.Point(10, 142); + pumscaleLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + pumscaleLabel.Name = "pumscaleLabel"; + pumscaleLabel.Size = new System.Drawing.Size(75, 20); + pumscaleLabel.TabIndex = 9; + pumscaleLabel.Text = "모델/규격"; + // + // pumqtyLabel + // + pumqtyLabel.AutoSize = true; + pumqtyLabel.Location = new System.Drawing.Point(47, 179); + pumqtyLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + pumqtyLabel.Name = "pumqtyLabel"; + pumqtyLabel.Size = new System.Drawing.Size(39, 20); + pumqtyLabel.TabIndex = 12; + pumqtyLabel.Text = "수량"; + // + // pumpriceLabel + // + pumpriceLabel.AutoSize = true; + pumpriceLabel.Location = new System.Drawing.Point(280, 179); + pumpriceLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + pumpriceLabel.Name = "pumpriceLabel"; + pumpriceLabel.Size = new System.Drawing.Size(39, 20); + pumpriceLabel.TabIndex = 15; + pumpriceLabel.Text = "단가"; + // + // pumamtLabel + // + pumamtLabel.AutoSize = true; + pumamtLabel.Location = new System.Drawing.Point(47, 251); + pumamtLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + pumamtLabel.Name = "pumamtLabel"; + pumamtLabel.Size = new System.Drawing.Size(39, 20); + pumamtLabel.TabIndex = 17; + pumamtLabel.Text = "합계"; + // + // assetLabel + // + assetLabel.AutoSize = true; + assetLabel.Location = new System.Drawing.Point(24, 326); + assetLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + assetLabel.Name = "assetLabel"; + assetLabel.Size = new System.Drawing.Size(69, 20); + assetLabel.TabIndex = 18; + assetLabel.Text = "장비모델"; + // + // poLabel + // + poLabel.AutoSize = true; + poLabel.Location = new System.Drawing.Point(66, 190); + poLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + poLabel.Name = "poLabel"; + poLabel.Size = new System.Drawing.Size(30, 20); + poLabel.TabIndex = 10; + poLabel.Text = "PO"; + // + // deptLabel + // + deptLabel.AutoSize = true; + deptLabel.Location = new System.Drawing.Point(46, 355); + deptLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + deptLabel.Name = "deptLabel"; + deptLabel.Size = new System.Drawing.Size(39, 20); + deptLabel.TabIndex = 27; + deptLabel.Text = "비고"; + this.toolTip1.SetToolTip(deptLabel, resources.GetString("deptLabel.ToolTip")); + // + // label1 + // + label1.AutoSize = true; + label1.Location = new System.Drawing.Point(32, 35); + label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(54, 20); + label1.TabIndex = 0; + label1.Text = "입력일"; + // + // label2 + // + label2.AutoSize = true; + label2.Location = new System.Drawing.Point(12, 290); + label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label2.Name = "label2"; + label2.Size = new System.Drawing.Size(84, 20); + label2.TabIndex = 16; + label2.Text = "장비제조사"; + // + // label4 + // + label4.AutoSize = true; + label4.Location = new System.Drawing.Point(24, 254); + label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label4.Name = "label4"; + label4.Size = new System.Drawing.Size(69, 20); + label4.TabIndex = 14; + label4.Text = "제조공정"; + // + // label5 + // + label5.AutoSize = true; + label5.Location = new System.Drawing.Point(36, 221); + label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label5.Name = "label5"; + label5.Size = new System.Drawing.Size(59, 20); + label5.TabIndex = 12; + label5.Text = "SCR/CF"; + // + // label3 + // + label3.AutoSize = true; + label3.Location = new System.Drawing.Point(46, 69); + label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label3.Name = "label3"; + label3.Size = new System.Drawing.Size(39, 20); + label3.TabIndex = 2; + label3.Text = "요청"; + // + // label6 + // + label6.AutoSize = true; + label6.Location = new System.Drawing.Point(280, 69); + label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label6.Name = "label6"; + label6.Size = new System.Drawing.Size(39, 20); + label6.TabIndex = 4; + label6.Text = "상태"; + // + // label7 + // + label7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + label7.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + label7.Location = new System.Drawing.Point(11, 539); + label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label7.Name = "label7"; + label7.Padding = new System.Windows.Forms.Padding(5); + label7.Size = new System.Drawing.Size(910, 103); + label7.TabIndex = 17; + label7.Text = resources.GetString("label7.Text"); + // + // label8 + // + label8.AutoSize = true; + label8.ForeColor = System.Drawing.Color.Blue; + label8.Location = new System.Drawing.Point(29, 214); + label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label8.Name = "label8"; + label8.Size = new System.Drawing.Size(57, 20); + label8.TabIndex = 35; + label8.Text = "단가($)"; + // + // label9 + // + label9.AutoSize = true; + label9.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + label9.ForeColor = System.Drawing.Color.Blue; + label9.Location = new System.Drawing.Point(285, 218); + label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label9.Name = "label9"; + label9.Size = new System.Drawing.Size(163, 15); + label9.TabIndex = 37; + label9.Text = "해외물품은 좌측 단가를 입력"; + // + // tbSC + // + this.tbSC.Location = new System.Drawing.Point(104, 156); + this.tbSC.Margin = new System.Windows.Forms.Padding(4); + this.tbSC.Name = "tbSC"; + this.tbSC.Size = new System.Drawing.Size(286, 27); + this.tbSC.TabIndex = 9; + // + // tbSID + // + this.tbSID.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); + this.tbSID.Location = new System.Drawing.Point(327, 248); + this.tbSID.Margin = new System.Windows.Forms.Padding(4); + this.tbSID.Name = "tbSID"; + this.tbSID.Size = new System.Drawing.Size(148, 27); + this.tbSID.TabIndex = 20; + // + // tbPumName + // + this.tbPumName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.tbPumName.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbPumName.Location = new System.Drawing.Point(93, 102); + this.tbPumName.Margin = new System.Windows.Forms.Padding(4); + this.tbPumName.Name = "tbPumName"; + this.tbPumName.Size = new System.Drawing.Size(311, 27); + this.tbPumName.TabIndex = 7; + this.tbPumName.Click += new System.EventHandler(this.tbPumName_Click); + this.tbPumName.TextChanged += new System.EventHandler(this.tbPumName_TextChanged); + // + // tbPumModel + // + this.tbPumModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.tbPumModel.ImeMode = System.Windows.Forms.ImeMode.Alpha; + this.tbPumModel.Location = new System.Drawing.Point(93, 139); + this.tbPumModel.Margin = new System.Windows.Forms.Padding(4); + this.tbPumModel.Name = "tbPumModel"; + this.tbPumModel.Size = new System.Drawing.Size(311, 27); + this.tbPumModel.TabIndex = 10; + // + // tbPumUnit + // + this.tbPumUnit.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); + this.tbPumUnit.Location = new System.Drawing.Point(410, 139); + this.tbPumUnit.Margin = new System.Windows.Forms.Padding(4); + this.tbPumUnit.Name = "tbPumUnit"; + this.tbPumUnit.Size = new System.Drawing.Size(64, 27); + this.tbPumUnit.TabIndex = 11; + this.tbPumUnit.TabStop = false; + this.tbPumUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.toolTip1.SetToolTip(this.tbPumUnit, "단위"); + // + // tbPumQty + // + this.tbPumQty.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.tbPumQty.Location = new System.Drawing.Point(94, 175); + this.tbPumQty.Margin = new System.Windows.Forms.Padding(4); + this.tbPumQty.Name = "tbPumQty"; + this.tbPumQty.Size = new System.Drawing.Size(111, 27); + this.tbPumQty.TabIndex = 13; + this.tbPumQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.tbPumQty.TextChanged += new System.EventHandler(this.tbPumQty_TextChanged); + // + // tbPumPrice + // + this.tbPumPrice.Location = new System.Drawing.Point(326, 175); + this.tbPumPrice.Margin = new System.Windows.Forms.Padding(4); + this.tbPumPrice.Name = "tbPumPrice"; + this.tbPumPrice.Size = new System.Drawing.Size(148, 27); + this.tbPumPrice.TabIndex = 16; + this.tbPumPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.tbPumPrice.TextChanged += new System.EventHandler(this.tbPumQty_TextChanged); + // + // tbPumAmt + // + this.tbPumAmt.Location = new System.Drawing.Point(93, 248); + this.tbPumAmt.Margin = new System.Windows.Forms.Padding(4); + this.tbPumAmt.Name = "tbPumAmt"; + this.tbPumAmt.ReadOnly = true; + this.tbPumAmt.Size = new System.Drawing.Size(179, 27); + this.tbPumAmt.TabIndex = 18; + this.tbPumAmt.TabStop = false; + this.tbPumAmt.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // tbSupply + // + this.tbSupply.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbSupply.Location = new System.Drawing.Point(93, 283); + this.tbSupply.Margin = new System.Windows.Forms.Padding(4); + this.tbSupply.Name = "tbSupply"; + this.tbSupply.Size = new System.Drawing.Size(112, 27); + this.tbSupply.TabIndex = 22; + // + // tbSupplyIndex + // + this.tbSupplyIndex.Location = new System.Drawing.Point(208, 283); + this.tbSupplyIndex.Margin = new System.Windows.Forms.Padding(4); + this.tbSupplyIndex.Name = "tbSupplyIndex"; + this.tbSupplyIndex.ReadOnly = true; + this.tbSupplyIndex.Size = new System.Drawing.Size(64, 27); + this.tbSupplyIndex.TabIndex = 23; + this.tbSupplyIndex.TabStop = false; + this.tbSupplyIndex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.toolTip1.SetToolTip(this.tbSupplyIndex, "Database ID"); + // + // tbProject + // + this.tbProject.BackColor = System.Drawing.SystemColors.Window; + this.tbProject.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbProject.Location = new System.Drawing.Point(93, 320); + this.tbProject.Margin = new System.Windows.Forms.Padding(4); + this.tbProject.Name = "tbProject"; + this.tbProject.Size = new System.Drawing.Size(311, 27); + this.tbProject.TabIndex = 25; + this.toolTip1.SetToolTip(this.tbProject, "관련 프로젝트에서 선택하여 입력, 가공 파트 및 명확히 프로젝트에 한정되어 구매되는 것들"); + // + // tbProjectIndex + // + this.tbProjectIndex.Location = new System.Drawing.Point(410, 320); + this.tbProjectIndex.Margin = new System.Windows.Forms.Padding(4); + this.tbProjectIndex.Name = "tbProjectIndex"; + this.tbProjectIndex.ReadOnly = true; + this.tbProjectIndex.Size = new System.Drawing.Size(64, 27); + this.tbProjectIndex.TabIndex = 26; + this.tbProjectIndex.TabStop = false; + this.tbProjectIndex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.toolTip1.SetToolTip(this.tbProjectIndex, "Database ID"); + // + // tbPO + // + this.tbPO.Location = new System.Drawing.Point(104, 187); + this.tbPO.Margin = new System.Windows.Forms.Padding(4); + this.tbPO.Name = "tbPO"; + this.tbPO.Size = new System.Drawing.Size(286, 27); + this.tbPO.TabIndex = 11; + // + // tbBigo + // + this.tbBigo.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.tbBigo.Location = new System.Drawing.Point(93, 355); + this.tbBigo.Margin = new System.Windows.Forms.Padding(4); + this.tbBigo.MaxLength = 500; + this.tbBigo.Multiline = true; + this.tbBigo.Name = "tbBigo"; + this.tbBigo.Size = new System.Drawing.Size(381, 154); + this.tbBigo.TabIndex = 28; + this.tbBigo.TabStop = false; + this.toolTip1.SetToolTip(this.tbBigo, resources.GetString("tbBigo.ToolTip")); + // + // dtPdate + // + this.dtPdate.Location = new System.Drawing.Point(93, 29); + this.dtPdate.Margin = new System.Windows.Forms.Padding(4); + this.dtPdate.Name = "dtPdate"; + this.dtPdate.Size = new System.Drawing.Size(381, 27); + this.dtPdate.TabIndex = 1; + // + // btSave + // + this.btSave.Location = new System.Drawing.Point(11, 648); + this.btSave.Margin = new System.Windows.Forms.Padding(4); + this.btSave.Name = "btSave"; + this.btSave.Size = new System.Drawing.Size(490, 43); + this.btSave.TabIndex = 1; + this.btSave.Text = "저장(&S)"; + this.btSave.UseVisualStyleBackColor = true; + this.btSave.Click += new System.EventHandler(this.button1_Click); + // + // cmbState + // + this.cmbState.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.cmbState.FormattingEnabled = true; + this.cmbState.Location = new System.Drawing.Point(327, 66); + this.cmbState.Margin = new System.Windows.Forms.Padding(4); + this.cmbState.Name = "cmbState"; + this.cmbState.Size = new System.Drawing.Size(148, 28); + this.cmbState.TabIndex = 5; + this.cmbState.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); + // + // cbProcess + // + this.cbProcess.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cbProcess.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cbProcess.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.cbProcess.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbProcess.FormattingEnabled = true; + this.cbProcess.Location = new System.Drawing.Point(104, 125); + this.cbProcess.Margin = new System.Windows.Forms.Padding(4); + this.cbProcess.Name = "cbProcess"; + this.cbProcess.Size = new System.Drawing.Size(286, 28); + this.cbProcess.TabIndex = 7; + // + // cmbRequest + // + this.cmbRequest.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cmbRequest.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cmbRequest.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbRequest.FormattingEnabled = true; + this.cmbRequest.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.cmbRequest.Location = new System.Drawing.Point(93, 66); + this.cmbRequest.Margin = new System.Windows.Forms.Padding(4); + this.cmbRequest.Name = "cmbRequest"; + this.cmbRequest.Size = new System.Drawing.Size(179, 28); + this.cmbRequest.TabIndex = 3; + // + // cmbReceive + // + this.cmbReceive.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cmbReceive.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cmbReceive.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbReceive.FormattingEnabled = true; + this.cmbReceive.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.cmbReceive.Location = new System.Drawing.Point(104, 93); + this.cmbReceive.Margin = new System.Windows.Forms.Padding(4); + this.cmbReceive.Name = "cmbReceive"; + this.cmbReceive.Size = new System.Drawing.Size(286, 28); + this.cmbReceive.TabIndex = 5; + // + // tbPumIDX + // + this.tbPumIDX.Location = new System.Drawing.Point(410, 102); + this.tbPumIDX.Margin = new System.Windows.Forms.Padding(4); + this.tbPumIDX.Name = "tbPumIDX"; + this.tbPumIDX.ReadOnly = true; + this.tbPumIDX.Size = new System.Drawing.Size(64, 27); + this.tbPumIDX.TabIndex = 8; + this.tbPumIDX.TabStop = false; + this.tbPumIDX.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.toolTip1.SetToolTip(this.tbPumIDX, "Database ID"); + // + // tbPumStock + // + this.tbPumStock.Location = new System.Drawing.Point(208, 175); + this.tbPumStock.Margin = new System.Windows.Forms.Padding(4); + this.tbPumStock.Name = "tbPumStock"; + this.tbPumStock.ReadOnly = true; + this.tbPumStock.Size = new System.Drawing.Size(64, 27); + this.tbPumStock.TabIndex = 14; + this.tbPumStock.TabStop = false; + this.tbPumStock.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.toolTip1.SetToolTip(this.tbPumStock, "재고량"); + // + // dtInDate + // + this.dtInDate.Location = new System.Drawing.Point(104, 58); + this.dtInDate.Margin = new System.Windows.Forms.Padding(4); + this.dtInDate.Name = "dtInDate"; + this.dtInDate.Size = new System.Drawing.Size(286, 27); + this.dtInDate.TabIndex = 3; + this.dtInDate.TabStop = false; + // + // chkInDate + // + this.chkInDate.AutoSize = true; + this.chkInDate.Location = new System.Drawing.Point(24, 60); + this.chkInDate.Margin = new System.Windows.Forms.Padding(4); + this.chkInDate.Name = "chkInDate"; + this.chkInDate.Size = new System.Drawing.Size(73, 24); + this.chkInDate.TabIndex = 2; + this.chkInDate.TabStop = false; + this.chkInDate.Text = "입고일"; + this.chkInDate.UseVisualStyleBackColor = true; + this.chkInDate.CheckedChanged += new System.EventHandler(this.chkInDate_CheckedChanged); + // + // dtExpDate + // + this.dtExpDate.Location = new System.Drawing.Point(104, 26); + this.dtExpDate.Margin = new System.Windows.Forms.Padding(4); + this.dtExpDate.Name = "dtExpDate"; + this.dtExpDate.Size = new System.Drawing.Size(286, 27); + this.dtExpDate.TabIndex = 1; + this.dtExpDate.TabStop = false; + // + // chkExp + // + this.chkExp.AutoSize = true; + this.chkExp.Location = new System.Drawing.Point(24, 30); + this.chkExp.Margin = new System.Windows.Forms.Padding(4); + this.chkExp.Name = "chkExp"; + this.chkExp.Size = new System.Drawing.Size(73, 24); + this.chkExp.TabIndex = 0; + this.chkExp.TabStop = false; + this.chkExp.Text = "예상일"; + this.chkExp.UseVisualStyleBackColor = true; + this.chkExp.CheckedChanged += new System.EventHandler(this.chkExp_CheckedChanged); + // + // btSaveAdd + // + this.btSaveAdd.Location = new System.Drawing.Point(511, 648); + this.btSaveAdd.Margin = new System.Windows.Forms.Padding(4); + this.btSaveAdd.Name = "btSaveAdd"; + this.btSaveAdd.Size = new System.Drawing.Size(410, 43); + this.btSaveAdd.TabIndex = 3; + this.btSaveAdd.Text = "저장 및 추가(&A)"; + this.btSaveAdd.UseVisualStyleBackColor = true; + this.btSaveAdd.Click += new System.EventHandler(this.button2_Click); + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.tbStorage); + this.groupBox1.Controls.Add(label10); + this.groupBox1.Controls.Add(label9); + this.groupBox1.Controls.Add(this.tbPumPriceD); + this.groupBox1.Controls.Add(label8); + this.groupBox1.Controls.Add(this.button3); + this.groupBox1.Controls.Add(this.button2); + this.groupBox1.Controls.Add(this.button1); + this.groupBox1.Controls.Add(label6); + this.groupBox1.Controls.Add(label3); + this.groupBox1.Controls.Add(this.dtPdate); + this.groupBox1.Controls.Add(this.tbPumStock); + this.groupBox1.Controls.Add(this.tbPumAmt); + this.groupBox1.Controls.Add(this.tbBigo); + this.groupBox1.Controls.Add(deptLabel); + this.groupBox1.Controls.Add(this.tbSupplyIndex); + this.groupBox1.Controls.Add(pumamtLabel); + this.groupBox1.Controls.Add(this.tbPumIDX); + this.groupBox1.Controls.Add(this.cmbState); + this.groupBox1.Controls.Add(this.tbSID); + this.groupBox1.Controls.Add(this.tbPumQty); + this.groupBox1.Controls.Add(pumqtyLabel); + this.groupBox1.Controls.Add(sidLabel); + this.groupBox1.Controls.Add(this.tbProject); + this.groupBox1.Controls.Add(this.tbProjectIndex); + this.groupBox1.Controls.Add(this.tbPumPrice); + this.groupBox1.Controls.Add(this.tbSupply); + this.groupBox1.Controls.Add(pumpriceLabel); + this.groupBox1.Controls.Add(label1); + this.groupBox1.Controls.Add(this.tbPumName); + this.groupBox1.Controls.Add(this.cmbRequest); + this.groupBox1.Controls.Add(pumscaleLabel); + this.groupBox1.Controls.Add(this.tbPumUnit); + this.groupBox1.Controls.Add(this.tbPumModel); + this.groupBox1.Location = new System.Drawing.Point(11, 6); + this.groupBox1.Margin = new System.Windows.Forms.Padding(4); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Padding = new System.Windows.Forms.Padding(4); + this.groupBox1.Size = new System.Drawing.Size(490, 525); + this.groupBox1.TabIndex = 0; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "필수입력"; + // + // tbPumPriceD + // + this.tbPumPriceD.ForeColor = System.Drawing.Color.Blue; + this.tbPumPriceD.Location = new System.Drawing.Point(94, 211); + this.tbPumPriceD.Margin = new System.Windows.Forms.Padding(4); + this.tbPumPriceD.Name = "tbPumPriceD"; + this.tbPumPriceD.Size = new System.Drawing.Size(178, 27); + this.tbPumPriceD.TabIndex = 36; + this.tbPumPriceD.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.tbPumPriceD.TextChanged += new System.EventHandler(this.tbDolloerPrice_TextChanged); + // + // button3 + // + this.button3.Location = new System.Drawing.Point(9, 320); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(80, 27); + this.button3.TabIndex = 34; + this.button3.Text = "프로젝트"; + this.toolTip1.SetToolTip(this.button3, "관련 프로젝트에서 선택하여 입력, 가공 파트 및 명확히 프로젝트에 한정되어 구매되는 것들"); + this.button3.UseVisualStyleBackColor = true; + this.button3.Click += new System.EventHandler(this.button3_Click); + // + // button2 + // + this.button2.Location = new System.Drawing.Point(9, 283); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(80, 27); + this.button2.TabIndex = 33; + this.button2.Text = "공급처"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click_1); + // + // button1 + // + this.button1.Location = new System.Drawing.Point(9, 102); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(80, 27); + this.button1.TabIndex = 32; + this.button1.Text = "품명"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click_1); + // + // groupBox2 + // + this.groupBox2.BackColor = System.Drawing.Color.Gainsboro; + this.groupBox2.Controls.Add(this.button7); + this.groupBox2.Controls.Add(this.button6); + this.groupBox2.Controls.Add(this.button5); + this.groupBox2.Controls.Add(this.button4); + this.groupBox2.Controls.Add(this.tbOrderNo); + this.groupBox2.Controls.Add(label5); + this.groupBox2.Controls.Add(this.cbManuProc); + this.groupBox2.Controls.Add(label4); + this.groupBox2.Controls.Add(this.chkExp); + this.groupBox2.Controls.Add(this.cbEQModel); + this.groupBox2.Controls.Add(this.cbEQManu); + this.groupBox2.Controls.Add(label2); + this.groupBox2.Controls.Add(this.chkInDate); + this.groupBox2.Controls.Add(this.dtExpDate); + this.groupBox2.Controls.Add(this.dtInDate); + this.groupBox2.Controls.Add(this.pictureBox1); + this.groupBox2.Controls.Add(this.tbPO); + this.groupBox2.Controls.Add(poLabel); + this.groupBox2.Controls.Add(this.tbSC); + this.groupBox2.Controls.Add(scLabel); + this.groupBox2.Controls.Add(receiveLabel); + this.groupBox2.Controls.Add(assetLabel); + this.groupBox2.Controls.Add(this.cmbReceive); + this.groupBox2.Controls.Add(processLabel); + this.groupBox2.Controls.Add(this.cbProcess); + this.groupBox2.Location = new System.Drawing.Point(512, 7); + this.groupBox2.Margin = new System.Windows.Forms.Padding(4); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Padding = new System.Windows.Forms.Padding(4); + this.groupBox2.Size = new System.Drawing.Size(409, 524); + this.groupBox2.TabIndex = 2; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "추가정보"; + // + // button7 + // + this.button7.Location = new System.Drawing.Point(6, 454); + this.button7.Name = "button7"; + this.button7.Size = new System.Drawing.Size(93, 27); + this.button7.TabIndex = 36; + this.button7.Text = "견적서폴더"; + this.button7.UseVisualStyleBackColor = true; + this.button7.Click += new System.EventHandler(this.button7_Click); + // + // button6 + // + this.button6.Location = new System.Drawing.Point(6, 422); + this.button6.Name = "button6"; + this.button6.Size = new System.Drawing.Size(93, 27); + this.button6.TabIndex = 35; + this.button6.Text = "그림선택"; + this.button6.UseVisualStyleBackColor = true; + this.button6.Click += new System.EventHandler(this.button6_Click); + // + // button5 + // + this.button5.Location = new System.Drawing.Point(6, 390); + this.button5.Name = "button5"; + this.button5.Size = new System.Drawing.Size(93, 27); + this.button5.TabIndex = 34; + this.button5.Text = "촬영"; + this.button5.UseVisualStyleBackColor = true; + this.button5.Click += new System.EventHandler(this.button5_Click); + // + // button4 + // + this.button4.Location = new System.Drawing.Point(6, 358); + this.button4.Name = "button4"; + this.button4.Size = new System.Drawing.Size(93, 27); + this.button4.TabIndex = 33; + this.button4.Text = "붙여넣기"; + this.button4.UseVisualStyleBackColor = true; + this.button4.Click += new System.EventHandler(this.button4_Click); + // + // 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, 218); + 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 = 13; + // + // cbManuProc + // + this.cbManuProc.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cbManuProc.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cbManuProc.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbManuProc.FormattingEnabled = true; + this.cbManuProc.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.cbManuProc.Location = new System.Drawing.Point(104, 251); + this.cbManuProc.Margin = new System.Windows.Forms.Padding(4); + this.cbManuProc.Name = "cbManuProc"; + this.cbManuProc.Size = new System.Drawing.Size(286, 28); + this.cbManuProc.TabIndex = 15; + // + // cbEQModel + // + this.cbEQModel.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cbEQModel.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cbEQModel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbEQModel.FormattingEnabled = true; + this.cbEQModel.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.cbEQModel.Location = new System.Drawing.Point(104, 323); + this.cbEQModel.Margin = new System.Windows.Forms.Padding(4); + this.cbEQModel.Name = "cbEQModel"; + this.cbEQModel.Size = new System.Drawing.Size(286, 28); + this.cbEQModel.TabIndex = 19; + // + // cbEQManu + // + this.cbEQManu.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cbEQManu.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cbEQManu.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbEQManu.FormattingEnabled = true; + this.cbEQManu.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.cbEQManu.Location = new System.Drawing.Point(104, 287); + this.cbEQManu.Margin = new System.Windows.Forms.Padding(4); + this.cbEQManu.Name = "cbEQManu"; + this.cbEQManu.Size = new System.Drawing.Size(286, 28); + this.cbEQManu.TabIndex = 17; + this.cbEQManu.SelectedIndexChanged += new System.EventHandler(this.cbEQManu_SelectedIndexChanged); + // + // pictureBox1 + // + this.pictureBox1.BackColor = System.Drawing.Color.Gray; + this.pictureBox1.Location = new System.Drawing.Point(104, 358); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(286, 148); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.pictureBox1.TabIndex = 17; + this.pictureBox1.TabStop = false; + this.pictureBox1.Tag = "A"; + // + // dsPurchase + // + this.dsPurchase.DataSetName = "dsPurchase"; + this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // purchaseBindingSource + // + this.purchaseBindingSource.DataMember = "Purchase"; + this.purchaseBindingSource.DataSource = this.dsPurchase; + // + // purchaseTableAdapter + // + this.purchaseTableAdapter.ClearBeforeFill = true; + // + // tbStorage + // + this.tbStorage.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.tbStorage.Location = new System.Drawing.Point(370, 283); + this.tbStorage.Margin = new System.Windows.Forms.Padding(4); + this.tbStorage.Name = "tbStorage"; + this.tbStorage.Size = new System.Drawing.Size(104, 27); + this.tbStorage.TabIndex = 39; + // + // label10 + // + label10.AutoSize = true; + label10.Location = new System.Drawing.Point(287, 286); + label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label10.Name = "label10"; + label10.Size = new System.Drawing.Size(75, 20); + label10.TabIndex = 38; + label10.Text = "STORAGE"; + // + // fPurchase_Add + // + this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(928, 701); + this.Controls.Add(this.groupBox2); + this.Controls.Add(this.groupBox1); + this.Controls.Add(this.btSaveAdd); + this.Controls.Add(this.btSave); + this.Controls.Add(label7); + this.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "fPurchase_Add"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Purchase ADD/EDIT"; + this.Load += new System.EventHandler(this.@__Load); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.groupBox2.ResumeLayout(false); + this.groupBox2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.purchaseBindingSource)).EndInit(); + this.ResumeLayout(false); } @@ -938,5 +962,6 @@ private System.Windows.Forms.Button button6; private System.Windows.Forms.Button button7; private System.Windows.Forms.TextBox tbPumPriceD; - } + private System.Windows.Forms.TextBox tbStorage; + } } \ No newline at end of file diff --git a/SubProject/FEQ0000/Purchase/fPurchase_Add.cs b/SubProject/FEQ0000/Purchase/fPurchase_Add.cs index c437cdb..5d7cdbf 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase_Add.cs +++ b/SubProject/FEQ0000/Purchase/fPurchase_Add.cs @@ -345,7 +345,7 @@ namespace FEQ0000 this.tbSID.Text = f.SID; this.tbSID.Tag = f.SID; this.tbPumUnit.Text = f.itemUnit; //181214 - + this.tbStorage.Text = f.Storage; this.tbPumModel.Enabled = false; this.tbPumUnit.Enabled = false; if (tbSID.Text != "") tbSID.Enabled = false; @@ -488,6 +488,12 @@ namespace FEQ0000 } } + if(tbStorage.Text.Equals("SPR")) + { + if (FCOMMON.Util.MsgQ("SPR 항목입니다. 저장할까요?") != DialogResult.Yes) + return false; + } + var overtime = DateTime.Now - DateTime.Parse("2019-01-09 00:00:00"); if (overtime.TotalSeconds > 0) diff --git a/SubProject/FEQ0000/Purchase/fPurchase_Add.resx b/SubProject/FEQ0000/Purchase/fPurchase_Add.resx index 138db1c..13a9dbc 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase_Add.resx +++ b/SubProject/FEQ0000/Purchase/fPurchase_Add.resx @@ -203,6 +203,9 @@ * 개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRench, Driver, Drill, Tab 등) * 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등) + + False + 17, 17