From d3778387de78493ed6bb8f55314318f538945468 Mon Sep 17 00:00:00 2001 From: chi Date: Thu, 21 Jan 2021 10:22:27 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90=20=EB=AA=A9?= =?UTF-8?q?=EB=A1=9D=ED=99=94=EB=A9=B4=20=EC=88=98=EC=A0=95=20=EB=B0=8F=20?= =?UTF-8?q?=EC=97=85=EB=AC=B4=EC=9D=BC=EC=A7=80=EC=99=80=20=EC=A0=81?= =?UTF-8?q?=EC=A0=95=EC=9D=B8=EC=9B=90=20=EC=B2=B4=ED=81=AC=20=EB=B0=95?= =?UTF-8?q?=EC=8A=A4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vs/EETGW/config/applicationhost.config | 971 +++ Project/AdoNetEFMain.Context.cs | 6 +- Project/AdoNetEFMain.edmx | 219 +- Project/AdoNetEFMain.edmx.diagram | 8 +- Project/Dialog/fLogin.cs | 8 + Project/EETGW.csproj | 1 + Project/EETGW_GroupUser.cs | 3 + Project/History.txt | 4 +- Project/_Common/fAddNewUser.Designer.cs | 57 +- Project/_Common/fAddNewUser.cs | 90 +- Project/_Common/fAddNewUser.resx | 3 + Project/_Common/fUserInfo.Designer.cs | 2 + Project/_Common/fUserInfo.cs | 17 + Project/_Common/fUserInfo.resx | 3 - Project/_Common/fUserList.Designer.cs | 487 +- Project/_Common/fUserList.cs | 97 +- Project/_Common/fUserList.resx | 64 +- Project/dsMSSQL.Designer.cs | 1857 ++++- Project/dsMSSQL.xsd | 261 +- Project/dsMSSQL.xss | 19 +- Project/fMain.Designer.cs | 100 +- Project/fMain.cs | 50 +- Project/fMain.resx | 98 +- Project/vGroupUser.cs | 3 + SubProject/FCOMMON/fBase.cs | 2 +- .../FEQ0000/Purchase/fPurchase.Designer.cs | 36 +- SubProject/FEQ0000/Purchase/fPurchase.resx | 82 +- SubProject/FEQ0000/Purchase/fPurchase_AddS.cs | 7 +- .../FPJ0000/EBoard/fEboardData.Designer.cs | 1265 ++++ SubProject/FPJ0000/EBoard/fEboardData.cs | 175 + SubProject/FPJ0000/EBoard/fEboardData.resx | 266 + .../FPJ0000/EBoard/fEboardList.Designer.cs | 1227 +++ SubProject/FPJ0000/EBoard/fEboardList.cs | 607 ++ SubProject/FPJ0000/EBoard/fEboardList.resx | 324 + SubProject/FPJ0000/FPJ0000.csproj | 39 + .../JobReport/fJobReportAI.Designer.cs | 666 ++ SubProject/FPJ0000/JobReport/fJobReportAI.cs | 365 + .../FPJ0000/JobReport/fJobReportAI.resx | 291 + .../JobReport/fJobReport_Add.Designer.cs | 6 + .../JobReport/fJobReport_AddAI.Designer.cs | 523 ++ .../FPJ0000/JobReport/fJobReport_AddAI.cs | 422 ++ .../FPJ0000/JobReport/fJobReport_AddAI.resx | 165 + .../Project/fPartBuyStatus.Designer.cs | 491 +- SubProject/FPJ0000/Project/fPartBuyStatus.cs | 46 +- .../FPJ0000/Project/fPartBuyStatus.resx | 40 +- .../FPJ0000/Project/fPartList.Designer.cs | 88 +- SubProject/FPJ0000/Project/fPartList.cs | 35 +- SubProject/FPJ0000/Project/fPartList.resx | 30 +- .../FPJ0000/Project/fProjectData.Designer.cs | 204 +- SubProject/FPJ0000/Project/fProjectData.resx | 188 +- .../Project/fProjectPartListEdit.Designer.cs | 233 +- .../FPJ0000/Project/fProjectPartListEdit.cs | 12 +- .../FPJ0000/Project/fProjectPartListEdit.resx | 6 +- SubProject/FPJ0000/dsPRJ.Designer.cs | 6643 ++++++++++++++++- SubProject/FPJ0000/dsPRJ.cs | 15 + SubProject/FPJ0000/dsPRJ.xsd | 1077 ++- SubProject/FPJ0000/dsPRJ.xss | 34 +- 57 files changed, 18406 insertions(+), 1632 deletions(-) create mode 100644 .vs/EETGW/config/applicationhost.config create mode 100644 SubProject/FPJ0000/EBoard/fEboardData.Designer.cs create mode 100644 SubProject/FPJ0000/EBoard/fEboardData.cs create mode 100644 SubProject/FPJ0000/EBoard/fEboardData.resx create mode 100644 SubProject/FPJ0000/EBoard/fEboardList.Designer.cs create mode 100644 SubProject/FPJ0000/EBoard/fEboardList.cs create mode 100644 SubProject/FPJ0000/EBoard/fEboardList.resx create mode 100644 SubProject/FPJ0000/JobReport/fJobReportAI.Designer.cs create mode 100644 SubProject/FPJ0000/JobReport/fJobReportAI.cs create mode 100644 SubProject/FPJ0000/JobReport/fJobReportAI.resx create mode 100644 SubProject/FPJ0000/JobReport/fJobReport_AddAI.Designer.cs create mode 100644 SubProject/FPJ0000/JobReport/fJobReport_AddAI.cs create mode 100644 SubProject/FPJ0000/JobReport/fJobReport_AddAI.resx create mode 100644 SubProject/FPJ0000/dsPRJ.cs diff --git a/.vs/EETGW/config/applicationhost.config b/.vs/EETGW/config/applicationhost.config new file mode 100644 index 0000000..a5eb849 --- /dev/null +++ b/.vs/EETGW/config/applicationhost.config @@ -0,0 +1,971 @@ + + + + + + +
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+ + +
+
+
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Project/AdoNetEFMain.Context.cs b/Project/AdoNetEFMain.Context.cs index 40cf187..3cf4327 100644 --- a/Project/AdoNetEFMain.Context.cs +++ b/Project/AdoNetEFMain.Context.cs @@ -25,10 +25,10 @@ namespace Project throw new UnintentionalCodeFirstException(); } - public virtual DbSet EETGW_GroupUser { get; set; } public virtual DbSet UserGroup { get; set; } - public virtual DbSet Users { get; set; } - public virtual DbSet vGroupUser { get; set; } public virtual DbSet EETGW_LoginInfo { get; set; } + public virtual DbSet Users { get; set; } + public virtual DbSet EETGW_GroupUser { get; set; } + public virtual DbSet vGroupUser { get; set; } } } diff --git a/Project/AdoNetEFMain.edmx b/Project/AdoNetEFMain.edmx index 34c0f3b..33e05a7 100644 --- a/Project/AdoNetEFMain.edmx +++ b/Project/AdoNetEFMain.edmx @@ -14,6 +14,9 @@ + + + @@ -89,6 +92,9 @@ + + + @@ -114,7 +120,10 @@ [vGroupUser].[ads_created] AS [ads_created], [vGroupUser].[memo] AS [memo], [vGroupUser].[processs] AS [processs], - [vGroupUser].[id] AS [id] + [vGroupUser].[id] AS [id], + [vGroupUser].[state] AS [state], + [vGroupUser].[useJobReport] AS [useJobReport], + [vGroupUser].[useUserState] AS [useUserState] FROM [dbo].[vGroupUser] AS [vGroupUser] @@ -122,18 +131,6 @@ - - - - - - - - - - - - @@ -144,11 +141,30 @@ + + + + + + + + + + + + + + + + + + + - + @@ -166,15 +182,30 @@ - + + + + + + + + + + + + + + + + - + @@ -192,25 +223,9 @@ - - - - - - - - - - - - - - - - - - - + + + @@ -218,19 +233,6 @@ - - - - - - - - - - - - - @@ -242,57 +244,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -306,6 +257,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Project/AdoNetEFMain.edmx.diagram b/Project/AdoNetEFMain.edmx.diagram index ed6b903..5b91c5c 100644 --- a/Project/AdoNetEFMain.edmx.diagram +++ b/Project/AdoNetEFMain.edmx.diagram @@ -5,11 +5,11 @@ - - - - + + + + diff --git a/Project/Dialog/fLogin.cs b/Project/Dialog/fLogin.cs index 9d9a36f..4d3bdde 100644 --- a/Project/Dialog/fLogin.cs +++ b/Project/Dialog/fLogin.cs @@ -139,6 +139,14 @@ namespace Project.Dialog FCOMMON.info.Login.permission = 0; FCOMMON.info.Login.gpermission = int.Parse(gperm); + + using (var dbEnity = new EEEntitiesMain()) + { + var drGrpUser = dbEnity.EETGW_GroupUser.Where(t => t.uid == userdr.id & t.gcode == gcode).FirstOrDefault(); + FCOMMON.info.Login.process = drGrpUser.Process; + } + + //로그인정보 기록 AddLoginInfo(); diff --git a/Project/EETGW.csproj b/Project/EETGW.csproj index ddeb7cf..d0fa2a0 100644 --- a/Project/EETGW.csproj +++ b/Project/EETGW.csproj @@ -133,6 +133,7 @@ + ..\DLL\libxl.net.dll diff --git a/Project/EETGW_GroupUser.cs b/Project/EETGW_GroupUser.cs index 0b91489..956dfce 100644 --- a/Project/EETGW_GroupUser.cs +++ b/Project/EETGW_GroupUser.cs @@ -19,6 +19,9 @@ namespace Project public string uid { get; set; } public Nullable level { get; set; } public string Process { get; set; } + public string state { get; set; } + public Nullable useJobReport { get; set; } + public Nullable useUserState { get; set; } public string wuid { get; set; } public System.DateTime wdate { get; set; } } diff --git a/Project/History.txt b/Project/History.txt index dcb9dcb..ad9b833 100644 --- a/Project/History.txt +++ b/Project/History.txt @@ -1,4 +1,6 @@ -210107 chi 파트리스트 구매현황 화면 추가 +210115 chi 공정자료를 user 테이블에서 eetgw_groupuser 로 변경 함(사용자 정보 수정창은 적용 됨) + +210107 chi 파트리스트 구매현황 화면 추가 201027 chi 개인별/월별 근무시간 합계표 차트 -> 폼 변경 201007 chi 부서로그인 기능 추가, 구매내역 메일 보내기 기능 200921 chi 파트리스트 저장시 sid 의 공백이 제거되게함 diff --git a/Project/_Common/fAddNewUser.Designer.cs b/Project/_Common/fAddNewUser.Designer.cs index e177d6e..a4c196c 100644 --- a/Project/_Common/fAddNewUser.Designer.cs +++ b/Project/_Common/fAddNewUser.Designer.cs @@ -43,6 +43,7 @@ System.Windows.Forms.Label label3; System.Windows.Forms.Label label4; System.Windows.Forms.Label label5; + System.Windows.Forms.Label label6; this.tbId = new System.Windows.Forms.TextBox(); this.tbNameK = new System.Windows.Forms.TextBox(); this.tbDept = new System.Windows.Forms.TextBox(); @@ -60,6 +61,9 @@ this.tbProcess = new System.Windows.Forms.TextBox(); this.textBox1 = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); + this.tbState = new System.Windows.Forms.TextBox(); + this.chkJobReport = new System.Windows.Forms.CheckBox(); + this.chkUserSt = new System.Windows.Forms.CheckBox(); idLabel = new System.Windows.Forms.Label(); passwordLabel = new System.Windows.Forms.Label(); nameLabel = new System.Windows.Forms.Label(); @@ -75,6 +79,7 @@ label3 = new System.Windows.Forms.Label(); label4 = new System.Windows.Forms.Label(); label5 = new System.Windows.Forms.Label(); + label6 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // idLabel @@ -197,7 +202,7 @@ // label4 // label4.AutoSize = true; - label4.Location = new System.Drawing.Point(106, 330); + label4.Location = new System.Drawing.Point(106, 361); label4.Name = "label4"; label4.Size = new System.Drawing.Size(96, 21); label4.TabIndex = 27; @@ -212,6 +217,15 @@ label5.TabIndex = 29; label5.Text = "공정"; // + // label6 + // + label6.AutoSize = true; + label6.Location = new System.Drawing.Point(58, 264); + label6.Name = "label6"; + label6.Size = new System.Drawing.Size(42, 21); + label6.TabIndex = 33; + label6.Text = "상태"; + // // tbId // this.tbId.Location = new System.Drawing.Point(105, 11); @@ -278,7 +292,7 @@ // // button2 // - this.button2.Location = new System.Drawing.Point(105, 264); + this.button2.Location = new System.Drawing.Point(105, 295); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(491, 54); this.button2.TabIndex = 26; @@ -309,7 +323,7 @@ // // tbKJPath // - this.tbKJPath.Location = new System.Drawing.Point(184, 327); + this.tbKJPath.Location = new System.Drawing.Point(184, 358); this.tbKJPath.Name = "tbKJPath"; this.tbKJPath.ReadOnly = true; this.tbKJPath.Size = new System.Drawing.Size(177, 29); @@ -343,10 +357,42 @@ this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // + // tbState + // + this.tbState.Location = new System.Drawing.Point(105, 260); + this.tbState.Name = "tbState"; + this.tbState.Size = new System.Drawing.Size(200, 29); + this.tbState.TabIndex = 34; + // + // chkJobReport + // + this.chkJobReport.AutoSize = true; + this.chkJobReport.Location = new System.Drawing.Point(503, 262); + this.chkJobReport.Name = "chkJobReport"; + this.chkJobReport.Size = new System.Drawing.Size(93, 25); + this.chkJobReport.TabIndex = 35; + this.chkJobReport.Text = "업무일지"; + this.chkJobReport.UseVisualStyleBackColor = true; + // + // chkUserSt + // + this.chkUserSt.AutoSize = true; + this.chkUserSt.Location = new System.Drawing.Point(407, 262); + this.chkUserSt.Name = "chkUserSt"; + this.chkUserSt.Size = new System.Drawing.Size(93, 25); + this.chkUserSt.TabIndex = 36; + this.chkUserSt.Text = "포함인원"; + this.chkUserSt.UseVisualStyleBackColor = true; + this.chkUserSt.CheckedChanged += new System.EventHandler(this.chkUserSt_CheckedChanged); + // // fAddNewUser // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; - this.ClientSize = new System.Drawing.Size(601, 326); + this.ClientSize = new System.Drawing.Size(601, 355); + this.Controls.Add(this.chkUserSt); + this.Controls.Add(this.chkJobReport); + this.Controls.Add(label6); + this.Controls.Add(this.tbState); this.Controls.Add(this.button1); this.Controls.Add(this.textBox1); this.Controls.Add(label5); @@ -408,5 +454,8 @@ private System.Windows.Forms.TextBox tbProcess; private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.Button button1; + private System.Windows.Forms.TextBox tbState; + private System.Windows.Forms.CheckBox chkJobReport; + private System.Windows.Forms.CheckBox chkUserSt; } } \ No newline at end of file diff --git a/Project/_Common/fAddNewUser.cs b/Project/_Common/fAddNewUser.cs index 0218ee6..07bc1b9 100644 --- a/Project/_Common/fAddNewUser.cs +++ b/Project/_Common/fAddNewUser.cs @@ -11,12 +11,55 @@ namespace Project._Common { public partial class fAddNewUser : Form // FCOMMON.fBase { - public fAddNewUser(string dept) + string p_dept = string.Empty; + string p_id = string.Empty; + + public fAddNewUser(string dept, string id) { InitializeComponent(); + p_dept = dept; + p_id = id; + this.tbDept.Text = dept; + this.StartPosition = FormStartPosition.CenterScreen; + + //자료를 불러와서 먼저 불러온다 + if (id.isEmpty() == false) + { + tbId.Enabled = false; + button1.Enabled = false; + textBox1.Enabled = false; + + + var db = new EEEntitiesMain(); + var db_user = db.Users.Where(t => t.id == id).FirstOrDefault(); + var db_guser = db.EETGW_GroupUser.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.uid == id).FirstOrDefault(); + if (db_user != null) + { + tbNameK.Text = db_user.name; + tbNameE.Text = db_user.nameE; + tbDept.Text = db_user.dept; + tbEmail.Text = db_user.email; + tbTel.Text = db_user.tel; + tbHp.Text = db_user.hp; + tbDateIn.Text = db_user.indate; + tbDateO.Text = db_user.outdate; + tbGrade.Text = db_user.grade; + tbMemo.Text = db_user.memo; + } + if (db_guser != null) + { + tbProcess.Text = db_guser.Process; + tbState.Text = db_guser.state; + this.chkJobReport.Checked = (db_guser.useJobReport == null ? false : (bool)db_guser.useJobReport); + this.chkUserSt.Checked = (db_guser.useUserState == null ? false : (bool)db_guser.useUserState); + } + this.Text = "사용자 정보 변경"; + } + else this.Text = "사용자 정보 추가"; + } - dsMSSQL.UsersRow dr = null; + private void fUserInfo_Load(object sender, EventArgs e) { @@ -53,7 +96,6 @@ namespace Project._Common tbDateO.Text = dr_user.outdate; tbGrade.Text = dr_user.grade; tbMemo.Text = dr_user.memo; - tbProcess.Text = string.Empty; //부서가잇다면 해당 부서에서 해당 사용자의 공정을 찾는다 @@ -83,28 +125,42 @@ namespace Project._Common //해당 그룹에 해당 사용자가 존재하는지 확이한다. var gcode = drDept.gcode; - var drGuser = db.EETGW_GroupUser.Where(t => t.gcode == gcode && t.uid == this.tbId.Text.Trim()).FirstOrDefault(); + var uid = (p_id.isEmpty() ? tbId.Text.Trim() : p_id); + var drGuser = db.EETGW_GroupUser.Where(t => t.gcode == gcode && t.uid == uid).FirstOrDefault(); if (drGuser != null) { drGuser.Process = this.tbProcess.Text.Trim(); + drGuser.state = this.tbState.Text.Trim(); + drGuser.useUserState = chkUserSt.Checked; + drGuser.useJobReport = chkJobReport.Checked; } else { + //불러온경우 + if (tbId.Enabled == false) + { + FCOMMON.Util.MsgE("사용자 ID정보가 없어 진행할 수 없습니다"); + return; + } + drGuser = new EETGW_GroupUser(); drGuser.wuid = FCOMMON.info.Login.no; drGuser.wdate = DateTime.Now; drGuser.gcode = gcode; drGuser.level = 1; drGuser.uid = this.tbId.Text.Trim(); - - drGuser.Process = this.tbProcess.Text.Trim(); - //db.EETGW_GroupUser.InsertOnSubmit(drGuser); + drGuser.state = this.tbState.Text.Trim(); + drGuser.Process = this.tbProcess.Text.Trim(); + drGuser.useJobReport = this.chkJobReport.Checked; + drGuser.useUserState = this.chkUserSt.Checked; db.EETGW_GroupUser.Add(drGuser); } + + //사용자 목록에 없다면 추가한다 - var drUser = db.Users.SingleOrDefault(t => t.id == tbId.Text.Trim()); - if(drUser == null) + var drUser = db.Users.SingleOrDefault(t => t.id == uid); + if (drUser == null) { drUser = new Users(); drUser.wuid = FCOMMON.info.Login.no; @@ -137,11 +193,21 @@ namespace Project._Common drUser.indate = tbDateIn.Text; drUser.outdate = tbDateO.Text; drUser.memo = tbMemo.Text; - drUser.processs = tbProcess.Text; + drUser.processs = tbProcess.Text; } - db.SaveChanges(); - this.DialogResult = DialogResult.OK; + + + + db.SaveChanges(); + this.DialogResult = DialogResult.OK; + + } + + private void chkUserSt_CheckedChanged(object sender, EventArgs e) + { + if (chkUserSt.Checked == false && chkJobReport.Checked) + chkJobReport.Checked = false; } } } diff --git a/Project/_Common/fAddNewUser.resx b/Project/_Common/fAddNewUser.resx index 2b12c89..bb056ad 100644 --- a/Project/_Common/fAddNewUser.resx +++ b/Project/_Common/fAddNewUser.resx @@ -162,4 +162,7 @@ False + + False + \ No newline at end of file diff --git a/Project/_Common/fUserInfo.Designer.cs b/Project/_Common/fUserInfo.Designer.cs index 624a387..21950ae 100644 --- a/Project/_Common/fUserInfo.Designer.cs +++ b/Project/_Common/fUserInfo.Designer.cs @@ -330,6 +330,7 @@ // tam // this.tam.BackupDataSetBeforeUpdate = false; + this.tam.EETGW_GroupUserTableAdapter = null; this.tam.InventoryTableAdapter = null; this.tam.ItemsTableAdapter = null; this.tam.LineCodeTableAdapter = null; @@ -419,6 +420,7 @@ this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "fUserInfo"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "사용자 정보"; this.Load += new System.EventHandler(this.fUserInfo_Load); ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); diff --git a/Project/_Common/fUserInfo.cs b/Project/_Common/fUserInfo.cs index ec9afdf..230e8b0 100644 --- a/Project/_Common/fUserInfo.cs +++ b/Project/_Common/fUserInfo.cs @@ -28,6 +28,13 @@ namespace Project._Common if (FCOMMON.info.Login.level > 4) tbKJPath.Enabled = true; else tbKJPath.Enabled = false; //this.bs.Filter = "id='" + FCOMMON.info.Login.no + "'"; + + //공정은 usergroup에서 찾는다. + var db = new EEEntitiesMain(); + var drGroupUser = db.EETGW_GroupUser.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.uid == FCOMMON.info.Login.no).FirstOrDefault(); + if (drGroupUser != null) + this.tbProcess.Text = drGroupUser.Process; + else this.tbProcess.Text = string.Empty; } private void button1_Click(object sender, EventArgs e) @@ -85,6 +92,16 @@ namespace Project._Common this.bs.EndEdit(); + + + var db2 = new EEEntitiesMain(); + var drUserGr = db2.EETGW_GroupUser.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.uid == FCOMMON.info.Login.no).FirstOrDefault(); + if(dr != null) + { + drUserGr.Process = this.tbProcess.Text; + db2.SaveChanges(); + } + // dr.processs = tbProcess.Text; diff --git a/Project/_Common/fUserInfo.resx b/Project/_Common/fUserInfo.resx index 03cc7c8..9237edb 100644 --- a/Project/_Common/fUserInfo.resx +++ b/Project/_Common/fUserInfo.resx @@ -168,9 +168,6 @@ 17, 17 - - 17, 17 - 186, 17 diff --git a/Project/_Common/fUserList.Designer.cs b/Project/_Common/fUserList.Designer.cs index 1776548..1af378f 100644 --- a/Project/_Common/fUserList.Designer.cs +++ b/Project/_Common/fUserList.Designer.cs @@ -30,16 +30,26 @@ { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fUserList)); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); - this.dsMSSQL = new Project.dsMSSQL(); - this.bs = new System.Windows.Forms.BindingSource(this.components); - this.ta = new Project.dsMSSQLTableAdapters.UsersTableAdapter(); - this.tam = new Project.dsMSSQLTableAdapters.TableAdapterManager(); + FarPoint.Win.Spread.DefaultFocusIndicatorRenderer defaultFocusIndicatorRenderer1 = new FarPoint.Win.Spread.DefaultFocusIndicatorRenderer(); + FarPoint.Win.Spread.DefaultScrollBarRenderer defaultScrollBarRenderer1 = new FarPoint.Win.Spread.DefaultScrollBarRenderer(); + FarPoint.Win.Spread.DefaultScrollBarRenderer defaultScrollBarRenderer2 = new FarPoint.Win.Spread.DefaultScrollBarRenderer(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = 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.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); 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 Project.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(); @@ -48,25 +58,11 @@ this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.usersBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.btDevel = new System.Windows.Forms.ToolStripDropDownButton(); this.한글이름분리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.dv1 = new System.Windows.Forms.DataGridView(); - this.dvc_id = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.processs = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dvc_level = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.nameEDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.deptDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.gradeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.emailDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.indateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.outdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.telDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.hpDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.placeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.memoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.autoResizeColumnToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); @@ -81,42 +77,20 @@ this.tbProcess = new System.Windows.Forms.ToolStripTextBox(); this.btRef = new System.Windows.Forms.ToolStripButton(); this.textBox1 = new System.Windows.Forms.TextBox(); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); + this.ta = new Project.dsMSSQLTableAdapters.vGroupUserTableAdapter(); + this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); + this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); this.bn.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); this.cm1.SuspendLayout(); this.toolStrip1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); this.SuspendLayout(); // - // dsMSSQL - // - this.dsMSSQL.DataSetName = "dsMSSQL"; - this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // - // bs - // - this.bs.DataMember = "Users"; - this.bs.DataSource = this.dsMSSQL; - // - // ta - // - this.ta.ClearBeforeFill = true; - // - // tam - // - this.tam.BackupDataSetBeforeUpdate = false; - this.tam.EETGW_GroupUserTableAdapter = null; - this.tam.InventoryTableAdapter = null; - this.tam.ItemsTableAdapter = null; - this.tam.LineCodeTableAdapter = null; - this.tam.ProjectsTableAdapter = null; - this.tam.SPMasterTableAdapter = null; - this.tam.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; - this.tam.UserGroupTableAdapter = null; - this.tam.UsersTableAdapter = this.ta; - // // bn // this.bn.AddNewItem = null; @@ -135,29 +109,30 @@ this.bindingNavigatorMoveLastItem, this.bindingNavigatorSeparator2, this.bindingNavigatorAddNewItem, - this.bindingNavigatorDeleteItem, - this.usersBindingNavigatorSaveItem, + this.toolStripButton2, + this.toolStripButton1, this.toolStripSeparator1, this.btDevel}); - this.bn.Location = new System.Drawing.Point(0, 540); + this.bn.Location = new System.Drawing.Point(0, 628); 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(908, 25); + this.bn.Size = new System.Drawing.Size(1176, 25); this.bn.TabIndex = 0; this.bn.Text = "bindingNavigator1"; // - // bindingNavigatorAddNewItem + // bs // - 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(65, 22); - this.bindingNavigatorAddNewItem.Text = "Add(&A)"; - this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click); + this.bs.DataMember = "vGroupUser"; + this.bs.DataSource = this.dsMSSQL; + // + // dsMSSQL + // + this.dsMSSQL.DataSetName = "dsMSSQL"; + this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // bindingNavigatorCountItem // @@ -166,15 +141,6 @@ 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(78, 22); - this.bindingNavigatorDeleteItem.Text = "Delete(&D)"; - this.bindingNavigatorDeleteItem.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click); - // // bindingNavigatorMoveFirstItem // this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; @@ -202,6 +168,7 @@ // this.bindingNavigatorPositionItem.AccessibleName = "위치"; this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); this.bindingNavigatorPositionItem.Text = "0"; @@ -235,13 +202,23 @@ this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); // - // usersBindingNavigatorSaveItem + // bindingNavigatorAddNewItem // - this.usersBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("usersBindingNavigatorSaveItem.Image"))); - this.usersBindingNavigatorSaveItem.Name = "usersBindingNavigatorSaveItem"; - this.usersBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22); - this.usersBindingNavigatorSaveItem.Text = "Save(&S)"; - this.usersBindingNavigatorSaveItem.Click += new System.EventHandler(this.usersBindingNavigatorSaveItem_Click); + 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(67, 22); + this.bindingNavigatorAddNewItem.Text = "추가(&A)"; + this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click); + // + // toolStripButton2 + // + this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); + this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton2.Name = "toolStripButton2"; + this.toolStripButton2.Size = new System.Drawing.Size(65, 22); + this.toolStripButton2.Text = "편집(&E)"; + this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click); // // toolStripSeparator1 // @@ -266,141 +243,6 @@ this.한글이름분리ToolStripMenuItem.Text = "한글이름분리"; this.한글이름분리ToolStripMenuItem.Click += new System.EventHandler(this.한글이름분리ToolStripMenuItem_Click); // - // dv1 - // - this.dv1.AllowUserToAddRows = false; - this.dv1.AutoGenerateColumns = false; - this.dv1.ColumnHeadersHeight = 30; - this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; - this.dv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.dvc_id, - this.processs, - this.dvc_level, - this.nameDataGridViewTextBoxColumn, - this.nameEDataGridViewTextBoxColumn, - this.deptDataGridViewTextBoxColumn, - this.gradeDataGridViewTextBoxColumn, - this.emailDataGridViewTextBoxColumn, - this.indateDataGridViewTextBoxColumn, - this.outdateDataGridViewTextBoxColumn, - this.telDataGridViewTextBoxColumn, - this.hpDataGridViewTextBoxColumn, - this.placeDataGridViewTextBoxColumn, - this.memoDataGridViewTextBoxColumn}); - this.dv1.ContextMenuStrip = this.cm1; - this.dv1.DataSource = this.bs; - this.dv1.Dock = System.Windows.Forms.DockStyle.Fill; - this.dv1.Location = new System.Drawing.Point(0, 25); - this.dv1.Name = "dv1"; - this.dv1.RowTemplate.Height = 23; - this.dv1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; - this.dv1.Size = new System.Drawing.Size(908, 494); - this.dv1.TabIndex = 1; - // - // dvc_id - // - this.dvc_id.DataPropertyName = "id"; - dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.dvc_id.DefaultCellStyle = dataGridViewCellStyle3; - this.dvc_id.HeaderText = "ID"; - this.dvc_id.Name = "dvc_id"; - this.dvc_id.Width = 40; - // - // processs - // - this.processs.DataPropertyName = "processs"; - this.processs.HeaderText = "공정"; - this.processs.Name = "processs"; - // - // dvc_level - // - this.dvc_level.DataPropertyName = "level"; - dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); - this.dvc_level.DefaultCellStyle = dataGridViewCellStyle4; - this.dvc_level.HeaderText = "레벨"; - this.dvc_level.Name = "dvc_level"; - this.dvc_level.Width = 56; - // - // nameDataGridViewTextBoxColumn - // - this.nameDataGridViewTextBoxColumn.DataPropertyName = "name"; - this.nameDataGridViewTextBoxColumn.HeaderText = "성명"; - this.nameDataGridViewTextBoxColumn.Name = "nameDataGridViewTextBoxColumn"; - this.nameDataGridViewTextBoxColumn.Width = 62; - // - // nameEDataGridViewTextBoxColumn - // - this.nameEDataGridViewTextBoxColumn.DataPropertyName = "nameE"; - this.nameEDataGridViewTextBoxColumn.HeaderText = "성명(영문)"; - this.nameEDataGridViewTextBoxColumn.Name = "nameEDataGridViewTextBoxColumn"; - this.nameEDataGridViewTextBoxColumn.Width = 70; - // - // deptDataGridViewTextBoxColumn - // - this.deptDataGridViewTextBoxColumn.DataPropertyName = "dept"; - this.deptDataGridViewTextBoxColumn.HeaderText = "부서"; - this.deptDataGridViewTextBoxColumn.Name = "deptDataGridViewTextBoxColumn"; - this.deptDataGridViewTextBoxColumn.Visible = false; - this.deptDataGridViewTextBoxColumn.Width = 54; - // - // gradeDataGridViewTextBoxColumn - // - this.gradeDataGridViewTextBoxColumn.DataPropertyName = "grade"; - this.gradeDataGridViewTextBoxColumn.HeaderText = "직책"; - this.gradeDataGridViewTextBoxColumn.Name = "gradeDataGridViewTextBoxColumn"; - this.gradeDataGridViewTextBoxColumn.Width = 62; - // - // emailDataGridViewTextBoxColumn - // - this.emailDataGridViewTextBoxColumn.DataPropertyName = "email"; - this.emailDataGridViewTextBoxColumn.HeaderText = "email"; - this.emailDataGridViewTextBoxColumn.Name = "emailDataGridViewTextBoxColumn"; - this.emailDataGridViewTextBoxColumn.Width = 61; - // - // indateDataGridViewTextBoxColumn - // - this.indateDataGridViewTextBoxColumn.DataPropertyName = "indate"; - this.indateDataGridViewTextBoxColumn.HeaderText = "입사일"; - this.indateDataGridViewTextBoxColumn.Name = "indateDataGridViewTextBoxColumn"; - this.indateDataGridViewTextBoxColumn.Width = 64; - // - // outdateDataGridViewTextBoxColumn - // - this.outdateDataGridViewTextBoxColumn.DataPropertyName = "outdate"; - this.outdateDataGridViewTextBoxColumn.HeaderText = "퇴사일"; - this.outdateDataGridViewTextBoxColumn.Name = "outdateDataGridViewTextBoxColumn"; - this.outdateDataGridViewTextBoxColumn.Width = 71; - // - // telDataGridViewTextBoxColumn - // - this.telDataGridViewTextBoxColumn.DataPropertyName = "tel"; - this.telDataGridViewTextBoxColumn.HeaderText = "내선"; - this.telDataGridViewTextBoxColumn.Name = "telDataGridViewTextBoxColumn"; - this.telDataGridViewTextBoxColumn.Width = 43; - // - // hpDataGridViewTextBoxColumn - // - this.hpDataGridViewTextBoxColumn.DataPropertyName = "hp"; - this.hpDataGridViewTextBoxColumn.HeaderText = "전화"; - this.hpDataGridViewTextBoxColumn.Name = "hpDataGridViewTextBoxColumn"; - this.hpDataGridViewTextBoxColumn.Width = 44; - // - // placeDataGridViewTextBoxColumn - // - this.placeDataGridViewTextBoxColumn.DataPropertyName = "place"; - this.placeDataGridViewTextBoxColumn.HeaderText = "place"; - this.placeDataGridViewTextBoxColumn.Name = "placeDataGridViewTextBoxColumn"; - this.placeDataGridViewTextBoxColumn.Width = 61; - // - // memoDataGridViewTextBoxColumn - // - this.memoDataGridViewTextBoxColumn.DataPropertyName = "memo"; - this.memoDataGridViewTextBoxColumn.HeaderText = "비고"; - this.memoDataGridViewTextBoxColumn.Name = "memoDataGridViewTextBoxColumn"; - this.memoDataGridViewTextBoxColumn.Width = 66; - // // cm1 // this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { @@ -461,7 +303,7 @@ this.btRef}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; - this.toolStrip1.Size = new System.Drawing.Size(908, 25); + this.toolStrip1.Size = new System.Drawing.Size(1176, 25); this.toolStrip1.TabIndex = 2; this.toolStrip1.Text = "toolStrip1"; // @@ -473,6 +315,7 @@ // // cmbdept // + this.cmbdept.Enabled = false; this.cmbdept.Name = "cmbdept"; this.cmbdept.Size = new System.Drawing.Size(400, 25); // @@ -484,6 +327,8 @@ // // tbProcess // + this.tbProcess.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tbProcess.Font = new System.Drawing.Font("맑은 고딕", 9F); this.tbProcess.Name = "tbProcess"; this.tbProcess.Size = new System.Drawing.Size(100, 25); this.tbProcess.Text = "%"; @@ -494,40 +339,206 @@ this.btRef.Image = ((System.Drawing.Image)(resources.GetObject("btRef.Image"))); this.btRef.ImageTransparentColor = System.Drawing.Color.Magenta; this.btRef.Name = "btRef"; - this.btRef.Size = new System.Drawing.Size(66, 22); - this.btRef.Text = "Refresh"; + this.btRef.Size = new System.Drawing.Size(90, 22); + this.btRef.Text = "새로고침(&R)"; this.btRef.Click += new System.EventHandler(this.btRef_Click); // // textBox1 // this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ads_title", true)); this.textBox1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.textBox1.Location = new System.Drawing.Point(0, 519); + this.textBox1.Location = new System.Drawing.Point(0, 607); this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(908, 21); + this.textBox1.Size = new System.Drawing.Size(1176, 21); this.textBox1.TabIndex = 3; // + // fpSpread1 + // + this.fpSpread1.AccessibleDescription = ""; + this.fpSpread1.AutoClipboard = false; + this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; + this.fpSpread1.EditModeReplace = true; + this.fpSpread1.EnableCrossSheetReference = false; + this.fpSpread1.FocusRenderer = defaultFocusIndicatorRenderer1; + this.fpSpread1.HorizontalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton"); + this.fpSpread1.HorizontalScrollBar.Name = ""; + this.fpSpread1.HorizontalScrollBar.Renderer = defaultScrollBarRenderer1; + this.fpSpread1.Location = new System.Drawing.Point(0, 25); + this.fpSpread1.Name = "fpSpread1"; + this.fpSpread1.SelectionBlockOptions = ((FarPoint.Win.Spread.SelectionBlockOptions)((FarPoint.Win.Spread.SelectionBlockOptions.Rows | FarPoint.Win.Spread.SelectionBlockOptions.Sheet))); + this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { + this.fpSpread1_Sheet1}); + this.fpSpread1.Size = new System.Drawing.Size(1176, 582); + this.fpSpread1.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Classic; + this.fpSpread1.TabIndex = 5; + this.fpSpread1.VerticalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton"); + this.fpSpread1.VerticalScrollBar.Name = ""; + this.fpSpread1.VerticalScrollBar.Renderer = defaultScrollBarRenderer2; + this.fpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // toolStripButton1 + // + this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); + this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton1.Name = "toolStripButton1"; + this.toolStripButton1.Size = new System.Drawing.Size(66, 22); + this.toolStripButton1.Text = "저장(&S)"; + this.toolStripButton1.Visible = false; + this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_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 = 13; + this.fpSpread1_Sheet1.ActiveColumnIndex = -1; + this.fpSpread1_Sheet1.ActiveRowIndex = -1; + this.fpSpread1_Sheet1.AlternatingRows.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.fpSpread1_Sheet1.AutoGenerateColumns = false; + this.fpSpread1_Sheet1.ColumnFooter.DefaultStyle.BackColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.ColumnFooter.DefaultStyle.ForeColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.ColumnFooter.DefaultStyle.Parent = "HeaderDefault"; + this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.BackColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.ForeColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.Parent = "RowHeaderDefault"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "인원\r\n포함"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "업무\r\n일지"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "ID"; + 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 = "성명"; + 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, 12).Value = "비고"; + this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent = "HeaderDefault"; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 33F; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType1; + this.fpSpread1_Sheet1.Columns.Get(0).DataField = "useUserState"; + this.fpSpread1_Sheet1.Columns.Get(0).Label = "인원\r\n포함"; + this.fpSpread1_Sheet1.Columns.Get(0).Width = 45F; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType2; + this.fpSpread1_Sheet1.Columns.Get(1).DataField = "useJobReport"; + this.fpSpread1_Sheet1.Columns.Get(1).Label = "업무\r\n일지"; + this.fpSpread1_Sheet1.Columns.Get(1).Width = 41F; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1; + this.fpSpread1_Sheet1.Columns.Get(2).DataField = "id"; + this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(2).Label = "ID"; + this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(2).Width = 95F; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2; + this.fpSpread1_Sheet1.Columns.Get(3).DataField = "state"; + 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 = 56F; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(4).DataField = "processs"; + 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 = 151F; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4; + this.fpSpread1_Sheet1.Columns.Get(5).DataField = "name"; + this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(5).Label = "성명"; + this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(5).Width = 105F; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5; + this.fpSpread1_Sheet1.Columns.Get(6).DataField = "nameE"; + this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + 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 = 91F; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6; + this.fpSpread1_Sheet1.Columns.Get(7).DataField = "grade"; + this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(7).Label = "직책"; + this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(7).Width = 115F; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7; + this.fpSpread1_Sheet1.Columns.Get(8).DataField = "email"; + this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(8).Label = "이메일"; + this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(8).Width = 151F; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType8; + this.fpSpread1_Sheet1.Columns.Get(9).DataField = "hp"; + 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 = 111F; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType9; + this.fpSpread1_Sheet1.Columns.Get(10).DataField = "indate"; + 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 = 79F; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType10; + this.fpSpread1_Sheet1.Columns.Get(11).DataField = "outdate"; + this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(11).Label = "퇴사일"; + this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(11).Width = 65F; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType11; + this.fpSpread1_Sheet1.Columns.Get(12).DataField = "memo"; + this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(12).Label = "비고"; + this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(12).Width = 151F; + this.fpSpread1_Sheet1.DataAutoSizeColumns = false; + this.fpSpread1_Sheet1.DataSource = this.bs; + this.fpSpread1_Sheet1.FilterBar.DefaultStyle.BackColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.FilterBar.DefaultStyle.ForeColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.FilterBar.DefaultStyle.Parent = "FilterBarDefault"; + this.fpSpread1_Sheet1.FilterBarHeaderStyle.BackColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.FilterBarHeaderStyle.ForeColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.FilterBarHeaderStyle.Parent = "RowHeaderDefault"; + this.fpSpread1_Sheet1.Protect = false; + this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; + this.fpSpread1_Sheet1.RowHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.RowHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.RowHeader.DefaultStyle.Parent = "RowHeaderDefault"; + this.fpSpread1_Sheet1.SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Row; + this.fpSpread1_Sheet1.SheetCornerStyle.BackColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.SheetCornerStyle.ForeColor = System.Drawing.Color.Empty; + this.fpSpread1_Sheet1.SheetCornerStyle.Parent = "RowHeaderDefault"; + this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; + // // fUserList // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(908, 565); - this.Controls.Add(this.dv1); + this.ClientSize = new System.Drawing.Size(1176, 653); + this.Controls.Add(this.fpSpread1); this.Controls.Add(this.textBox1); this.Controls.Add(this.toolStrip1); this.Controls.Add(this.bn); this.Name = "fUserList"; - this.Text = "fUserList"; + this.Text = "그룹내 사용자 목록"; this.Load += new System.EventHandler(this.@__Load); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); this.bn.ResumeLayout(false); this.bn.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit(); + ((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(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -537,12 +548,9 @@ private dsMSSQL dsMSSQL; private System.Windows.Forms.BindingSource bs; - private dsMSSQLTableAdapters.UsersTableAdapter ta; - private dsMSSQLTableAdapters.TableAdapterManager tam; private System.Windows.Forms.BindingNavigator bn; private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; - private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; @@ -551,8 +559,6 @@ private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; - private System.Windows.Forms.ToolStripButton usersBindingNavigatorSaveItem; - private System.Windows.Forms.DataGridView dv1; private System.Windows.Forms.ContextMenuStrip cm1; private System.Windows.Forms.ToolStripMenuItem iDChangeToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem passwordChangeToolStripMenuItem; @@ -570,19 +576,10 @@ private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2; private System.Windows.Forms.ToolStripLabel toolStripLabel2; private System.Windows.Forms.ToolStripTextBox tbProcess; - private System.Windows.Forms.DataGridViewTextBoxColumn dvc_id; - private System.Windows.Forms.DataGridViewTextBoxColumn processs; - private System.Windows.Forms.DataGridViewTextBoxColumn dvc_level; - private System.Windows.Forms.DataGridViewTextBoxColumn nameDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn nameEDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn deptDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn gradeDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn emailDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn indateDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn outdateDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn telDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn hpDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn placeDataGridViewTextBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn memoDataGridViewTextBoxColumn; + private FarPoint.Win.Spread.FpSpread fpSpread1; + private dsMSSQLTableAdapters.vGroupUserTableAdapter ta; + private System.Windows.Forms.ToolStripButton toolStripButton2; + private System.Windows.Forms.ToolStripButton toolStripButton1; + private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; } } \ No newline at end of file diff --git a/Project/_Common/fUserList.cs b/Project/_Common/fUserList.cs index ee9f69a..ad8b08f 100644 --- a/Project/_Common/fUserList.cs +++ b/Project/_Common/fUserList.cs @@ -16,6 +16,7 @@ namespace Project._Common InitializeComponent(); this.dsMSSQL.Users.TableNewRow += Users_TableNewRow; this.FormClosed += __Closed; + } void __Closed(object sender, FormClosedEventArgs e) @@ -40,27 +41,27 @@ namespace Project._Common this.Show(); Application.DoEvents(); - cmbdept.Enabled = FCOMMON.info.Login.level > 9; + this.cmbdept.Text = FCOMMON.info.Login.dept; - if (FCOMMON.info.Login.level > 4) - { - this.dvc_id.Visible = true; - this.btDevel.Visible = true; - this.dv1.EditMode = DataGridViewEditMode.EditOnKeystrokeOrF2; - } - else - { - this.dv1.EditMode = DataGridViewEditMode.EditProgrammatically; - this.dv1.SelectionMode = DataGridViewSelectionMode.FullRowSelect; - this.btDevel.Visible = true; - this.textBox1.Enabled = false; - this.dvc_id.Visible = true; - this.dvc_level.Visible = false; - this.usersBindingNavigatorSaveItem.Enabled = false; - this.bindingNavigatorAddNewItem.Enabled = false; - this.bindingNavigatorDeleteItem.Enabled = false; + //if (FCOMMON.info.Login.level > 4) + //{ + // this.dvc_id.Visible = true; + // this.btDevel.Visible = true; + // this.dv1.EditMode = DataGridViewEditMode.EditOnKeystrokeOrF2; + //} + //else + //{ + // this.dv1.EditMode = DataGridViewEditMode.EditProgrammatically; + // this.dv1.SelectionMode = DataGridViewSelectionMode.FullRowSelect; + // this.btDevel.Visible = true; + // this.textBox1.Enabled = false; + // this.dvc_id.Visible = true; + // this.dvc_level.Visible = false; + // this.usersBindingNavigatorSaveItem.Enabled = false; + // this.bindingNavigatorAddNewItem.Enabled = false; + // this.bindingNavigatorDeleteItem.Enabled = false; - } + //} //부서목록 업데이트 var db = new EEEntitiesMain(); @@ -78,15 +79,12 @@ namespace Project._Common this.cmbdept.Text = FCOMMON.info.Login.dept; btRef.PerformClick(); - } - private void usersBindingNavigatorSaveItem_Click(object sender, EventArgs e) - { - this.Validate(); - this.bs.EndEdit(); - this.tam.UpdateAll(this.dsMSSQL); + fpSpread1.EditMode = false; + } + private void iDChangeToolStripMenuItem_Click(object sender, EventArgs e) { var drv = this.bs.Current as DataRowView; @@ -187,16 +185,14 @@ namespace Project._Common //this.bs.DataSource = userlist; - - - this.ta.Fill(this.dsMSSQL.Users, this.cmbdept.Text, tbProcess.Text.Trim()); + this.ta.Fill(this.dsMSSQL.vGroupUser, FCOMMON.info.Login.gcode, tbProcess.Text.Trim()); this.dsMSSQL.Users.AcceptChanges(); - this.dv1.AutoResizeColumns(); + this.bs.Sort = "useuserstate desc,usejobreport desc"; } private void autoResizeColumnToolStripMenuItem_Click(object sender, EventArgs e) { - this.dv1.AutoResizeColumns(); + } private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e) @@ -207,7 +203,46 @@ namespace Project._Common private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) { //추가 - var f = new fAddNewUser(this.cmbdept.Text.Trim()); + var f = new fAddNewUser(this.cmbdept.Text.Trim(),string.Empty); + if (f.ShowDialog() == DialogResult.OK) + { + RefreshList(); + } + } + + private void toolStripButton1_Click(object sender, EventArgs e) + { + try + { + this.Validate(); + this.bs.EndEdit(); + var cnt = this.ta.Update(this.dsMSSQL.vGroupUser); + if (cnt < 1) + { + FCOMMON.Util.MsgE("저장된 자료가 없습니다"); + } + else + { + FCOMMON.Util.MsgI($"{cnt} 건의 자료가 추가/변경/삭제 되었습니다"); + } + + } + catch (Exception ex) + { + MessageBox.Show(ex.Message); + } + + } + + private void toolStripButton2_Click(object sender, EventArgs e) + { + //추가 + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsMSSQL.vGroupUserRow; + + + var f = new fAddNewUser(this.cmbdept.Text.Trim(),dr.id); if (f.ShowDialog() == DialogResult.OK) { RefreshList(); diff --git a/Project/_Common/fUserList.resx b/Project/_Common/fUserList.resx index df9221f..c9c67b0 100644 --- a/Project/_Common/fUserList.resx +++ b/Project/_Common/fUserList.resx @@ -117,20 +117,14 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 17, 17 + + 186, 17 122, 17 - - 186, 17 - - - 248, 17 - - - 321, 17 + + 17, 17 @@ -185,23 +179,34 @@ rkJggg== - + - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC - DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC - rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV - i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG - 86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG - QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX - bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== - + - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo - dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== @@ -219,14 +224,11 @@ TgDQASA1MVpwzwAAAABJRU5ErkJggg== - - True - - 387, 17 + 252, 17 - 462, 17 + 327, 17 @@ -240,4 +242,10 @@ BRhVTtsAAAAASUVORK5CYII= + + 495, 17 + + + 433, 17 + \ No newline at end of file diff --git a/Project/dsMSSQL.Designer.cs b/Project/dsMSSQL.Designer.cs index 9fc1b71..bebdbf6 100644 --- a/Project/dsMSSQL.Designer.cs +++ b/Project/dsMSSQL.Designer.cs @@ -40,6 +40,8 @@ namespace Project { private EETGW_GroupUserDataTable tableEETGW_GroupUser; + private vGroupUserDataTable tablevGroupUser; + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -92,6 +94,9 @@ namespace Project { if ((ds.Tables["EETGW_GroupUser"] != null)) { base.Tables.Add(new EETGW_GroupUserDataTable(ds.Tables["EETGW_GroupUser"])); } + if ((ds.Tables["vGroupUser"] != null)) { + base.Tables.Add(new vGroupUserDataTable(ds.Tables["vGroupUser"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -190,6 +195,16 @@ namespace Project { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public vGroupUserDataTable vGroupUser { + get { + return this.tablevGroupUser; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -281,6 +296,9 @@ namespace Project { if ((ds.Tables["EETGW_GroupUser"] != null)) { base.Tables.Add(new EETGW_GroupUserDataTable(ds.Tables["EETGW_GroupUser"])); } + if ((ds.Tables["vGroupUser"] != null)) { + base.Tables.Add(new vGroupUserDataTable(ds.Tables["vGroupUser"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -362,6 +380,12 @@ namespace Project { this.tableEETGW_GroupUser.InitVars(); } } + this.tablevGroupUser = ((vGroupUserDataTable)(base.Tables["vGroupUser"])); + if ((initTable == true)) { + if ((this.tablevGroupUser != null)) { + this.tablevGroupUser.InitVars(); + } + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -388,6 +412,8 @@ namespace Project { base.Tables.Add(this.tableSPMaster); this.tableEETGW_GroupUser = new EETGW_GroupUserDataTable(); base.Tables.Add(this.tableEETGW_GroupUser); + this.tablevGroupUser = new vGroupUserDataTable(); + base.Tables.Add(this.tablevGroupUser); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -438,6 +464,12 @@ namespace Project { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializevGroupUser() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { @@ -517,6 +549,9 @@ namespace Project { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public delegate void EETGW_GroupUserRowChangeEventHandler(object sender, EETGW_GroupUserRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public delegate void vGroupUserRowChangeEventHandler(object sender, vGroupUserRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -3652,6 +3687,12 @@ namespace Project { private global::System.Data.DataColumn columnwdate; + private global::System.Data.DataColumn columnuseJobReport; + + private global::System.Data.DataColumn columnuseUserState; + + private global::System.Data.DataColumn columnstate; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public EETGW_GroupUserDataTable() { @@ -3733,6 +3774,30 @@ namespace Project { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn useJobReportColumn { + get { + return this.columnuseJobReport; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn useUserStateColumn { + get { + return this.columnuseUserState; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn stateColumn { + get { + return this.columnstate; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -3770,7 +3835,7 @@ namespace Project { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public EETGW_GroupUserRow AddEETGW_GroupUserRow(string gcode, string uid, short level, string wuid, System.DateTime wdate) { + public EETGW_GroupUserRow AddEETGW_GroupUserRow(string gcode, string uid, short level, string wuid, System.DateTime wdate, bool useJobReport, bool useUserState, string state) { EETGW_GroupUserRow rowEETGW_GroupUserRow = ((EETGW_GroupUserRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -3778,7 +3843,10 @@ namespace Project { uid, level, wuid, - wdate}; + wdate, + useJobReport, + useUserState, + state}; rowEETGW_GroupUserRow.ItemArray = columnValuesArray; this.Rows.Add(rowEETGW_GroupUserRow); return rowEETGW_GroupUserRow; @@ -3814,6 +3882,9 @@ namespace Project { this.columnlevel = base.Columns["level"]; this.columnwuid = base.Columns["wuid"]; this.columnwdate = base.Columns["wdate"]; + this.columnuseJobReport = base.Columns["useJobReport"]; + this.columnuseUserState = base.Columns["useUserState"]; + this.columnstate = base.Columns["state"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -3831,6 +3902,12 @@ namespace Project { base.Columns.Add(this.columnwuid); this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnwdate); + this.columnuseJobReport = new global::System.Data.DataColumn("useJobReport", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnuseJobReport); + this.columnuseUserState = new global::System.Data.DataColumn("useUserState", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnuseUserState); + this.columnstate = new global::System.Data.DataColumn("state", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnstate); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnidx}, true)); this.columnidx.AutoIncrement = true; @@ -3846,6 +3923,7 @@ namespace Project { this.columnwuid.AllowDBNull = false; this.columnwuid.MaxLength = 20; this.columnwdate.AllowDBNull = false; + this.columnstate.MaxLength = 20; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -3972,6 +4050,586 @@ namespace Project { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class vGroupUserDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columngcode; + + private global::System.Data.DataColumn columndept; + + private global::System.Data.DataColumn columnlevel; + + private global::System.Data.DataColumn columnname; + + private global::System.Data.DataColumn columnnameE; + + private global::System.Data.DataColumn columngrade; + + private global::System.Data.DataColumn columnemail; + + private global::System.Data.DataColumn columntel; + + private global::System.Data.DataColumn columnindate; + + private global::System.Data.DataColumn columnoutdate; + + private global::System.Data.DataColumn columnhp; + + private global::System.Data.DataColumn columnplace; + + private global::System.Data.DataColumn columnads_employNo; + + private global::System.Data.DataColumn columnads_title; + + private global::System.Data.DataColumn columnads_created; + + private global::System.Data.DataColumn columnmemo; + + private global::System.Data.DataColumn columnprocesss; + + private global::System.Data.DataColumn columnid; + + private global::System.Data.DataColumn columnstate; + + private global::System.Data.DataColumn columnuseJobReport; + + private global::System.Data.DataColumn columnuseUserState; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public vGroupUserDataTable() { + this.TableName = "vGroupUser"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal vGroupUserDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected vGroupUserDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn gcodeColumn { + get { + return this.columngcode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn deptColumn { + get { + return this.columndept; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn levelColumn { + get { + return this.columnlevel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn nameColumn { + get { + return this.columnname; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn nameEColumn { + get { + return this.columnnameE; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn gradeColumn { + get { + return this.columngrade; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn emailColumn { + get { + return this.columnemail; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn telColumn { + get { + return this.columntel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn indateColumn { + get { + return this.columnindate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn outdateColumn { + get { + return this.columnoutdate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn hpColumn { + get { + return this.columnhp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn placeColumn { + get { + return this.columnplace; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ads_employNoColumn { + get { + return this.columnads_employNo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ads_titleColumn { + get { + return this.columnads_title; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ads_createdColumn { + get { + return this.columnads_created; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn memoColumn { + get { + return this.columnmemo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn processsColumn { + get { + return this.columnprocesss; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn idColumn { + get { + return this.columnid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn stateColumn { + get { + return this.columnstate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn useJobReportColumn { + get { + return this.columnuseJobReport; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn useUserStateColumn { + get { + return this.columnuseUserState; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public vGroupUserRow this[int index] { + get { + return ((vGroupUserRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event vGroupUserRowChangeEventHandler vGroupUserRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event vGroupUserRowChangeEventHandler vGroupUserRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event vGroupUserRowChangeEventHandler vGroupUserRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event vGroupUserRowChangeEventHandler vGroupUserRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void AddvGroupUserRow(vGroupUserRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public vGroupUserRow AddvGroupUserRow( + string gcode, + string dept, + short level, + string name, + string nameE, + string grade, + string email, + string tel, + string indate, + string outdate, + string hp, + string place, + string ads_employNo, + string ads_title, + string ads_created, + string memo, + string processs, + string id, + string state, + bool useJobReport, + bool useUserState) { + vGroupUserRow rowvGroupUserRow = ((vGroupUserRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + gcode, + dept, + level, + name, + nameE, + grade, + email, + tel, + indate, + outdate, + hp, + place, + ads_employNo, + ads_title, + ads_created, + memo, + processs, + id, + state, + useJobReport, + useUserState}; + rowvGroupUserRow.ItemArray = columnValuesArray; + this.Rows.Add(rowvGroupUserRow); + return rowvGroupUserRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public vGroupUserRow FindBygcodeid(string gcode, string id) { + return ((vGroupUserRow)(this.Rows.Find(new object[] { + gcode, + id}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + vGroupUserDataTable cln = ((vGroupUserDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new vGroupUserDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.columngcode = base.Columns["gcode"]; + this.columndept = base.Columns["dept"]; + this.columnlevel = base.Columns["level"]; + this.columnname = base.Columns["name"]; + this.columnnameE = base.Columns["nameE"]; + this.columngrade = base.Columns["grade"]; + this.columnemail = base.Columns["email"]; + this.columntel = base.Columns["tel"]; + this.columnindate = base.Columns["indate"]; + this.columnoutdate = base.Columns["outdate"]; + this.columnhp = base.Columns["hp"]; + this.columnplace = base.Columns["place"]; + this.columnads_employNo = base.Columns["ads_employNo"]; + this.columnads_title = base.Columns["ads_title"]; + this.columnads_created = base.Columns["ads_created"]; + this.columnmemo = base.Columns["memo"]; + this.columnprocesss = base.Columns["processs"]; + this.columnid = base.Columns["id"]; + this.columnstate = base.Columns["state"]; + this.columnuseJobReport = base.Columns["useJobReport"]; + this.columnuseUserState = base.Columns["useUserState"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columngcode); + this.columndept = new global::System.Data.DataColumn("dept", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndept); + this.columnlevel = new global::System.Data.DataColumn("level", typeof(short), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlevel); + this.columnname = new global::System.Data.DataColumn("name", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnname); + this.columnnameE = new global::System.Data.DataColumn("nameE", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnameE); + this.columngrade = new global::System.Data.DataColumn("grade", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columngrade); + this.columnemail = new global::System.Data.DataColumn("email", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnemail); + this.columntel = new global::System.Data.DataColumn("tel", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columntel); + this.columnindate = new global::System.Data.DataColumn("indate", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnindate); + this.columnoutdate = new global::System.Data.DataColumn("outdate", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnoutdate); + this.columnhp = new global::System.Data.DataColumn("hp", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnhp); + this.columnplace = new global::System.Data.DataColumn("place", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnplace); + this.columnads_employNo = new global::System.Data.DataColumn("ads_employNo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnads_employNo); + this.columnads_title = new global::System.Data.DataColumn("ads_title", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnads_title); + this.columnads_created = new global::System.Data.DataColumn("ads_created", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnads_created); + this.columnmemo = new global::System.Data.DataColumn("memo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnmemo); + this.columnprocesss = new global::System.Data.DataColumn("processs", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnprocesss); + this.columnid = new global::System.Data.DataColumn("id", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnid); + this.columnstate = new global::System.Data.DataColumn("state", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnstate); + this.columnuseJobReport = new global::System.Data.DataColumn("useJobReport", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnuseJobReport); + this.columnuseUserState = new global::System.Data.DataColumn("useUserState", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnuseUserState); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columngcode, + this.columnid}, true)); + this.columngcode.AllowDBNull = false; + this.columngcode.MaxLength = 10; + this.columndept.MaxLength = 100; + this.columnname.MaxLength = 100; + this.columnnameE.MaxLength = 100; + this.columngrade.MaxLength = 10; + this.columnemail.MaxLength = 100; + this.columntel.MaxLength = 20; + this.columnindate.MaxLength = 20; + this.columnoutdate.MaxLength = 20; + this.columnhp.MaxLength = 20; + this.columnplace.MaxLength = 100; + this.columnads_employNo.MaxLength = 50; + this.columnads_title.MaxLength = 100; + this.columnads_created.MaxLength = 50; + this.columnmemo.MaxLength = 255; + this.columnprocesss.ReadOnly = true; + this.columnprocesss.MaxLength = 50; + this.columnid.AllowDBNull = false; + this.columnid.MaxLength = 20; + this.columnstate.MaxLength = 20; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public vGroupUserRow NewvGroupUserRow() { + return ((vGroupUserRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new vGroupUserRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(vGroupUserRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.vGroupUserRowChanged != null)) { + this.vGroupUserRowChanged(this, new vGroupUserRowChangeEvent(((vGroupUserRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.vGroupUserRowChanging != null)) { + this.vGroupUserRowChanging(this, new vGroupUserRowChangeEvent(((vGroupUserRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.vGroupUserRowDeleted != null)) { + this.vGroupUserRowDeleted(this, new vGroupUserRowChangeEvent(((vGroupUserRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.vGroupUserRowDeleting != null)) { + this.vGroupUserRowDeleting(this, new vGroupUserRowChangeEvent(((vGroupUserRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void RemovevGroupUserRow(vGroupUserRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + dsMSSQL ds = new dsMSSQL(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "vGroupUserDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + /// ///Represents strongly named DataRow class. /// @@ -6404,6 +7062,54 @@ namespace Project { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool useJobReport { + get { + if (this.IsuseJobReportNull()) { + return false; + } + else { + return ((bool)(this[this.tableEETGW_GroupUser.useJobReportColumn])); + } + } + set { + this[this.tableEETGW_GroupUser.useJobReportColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool useUserState { + get { + if (this.IsuseUserStateNull()) { + return false; + } + else { + return ((bool)(this[this.tableEETGW_GroupUser.useUserStateColumn])); + } + } + set { + this[this.tableEETGW_GroupUser.useUserStateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string state { + get { + if (this.IsstateNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_GroupUser.stateColumn])); + } + } + set { + this[this.tableEETGW_GroupUser.stateColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool IslevelNull() { @@ -6415,6 +7121,611 @@ namespace Project { public void SetlevelNull() { this[this.tableEETGW_GroupUser.levelColumn] = global::System.Convert.DBNull; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsuseJobReportNull() { + return this.IsNull(this.tableEETGW_GroupUser.useJobReportColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetuseJobReportNull() { + this[this.tableEETGW_GroupUser.useJobReportColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsuseUserStateNull() { + return this.IsNull(this.tableEETGW_GroupUser.useUserStateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetuseUserStateNull() { + this[this.tableEETGW_GroupUser.useUserStateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsstateNull() { + return this.IsNull(this.tableEETGW_GroupUser.stateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetstateNull() { + this[this.tableEETGW_GroupUser.stateColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class vGroupUserRow : global::System.Data.DataRow { + + private vGroupUserDataTable tablevGroupUser; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal vGroupUserRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablevGroupUser = ((vGroupUserDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string gcode { + get { + return ((string)(this[this.tablevGroupUser.gcodeColumn])); + } + set { + this[this.tablevGroupUser.gcodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string dept { + get { + try { + return ((string)(this[this.tablevGroupUser.deptColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'dept\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.deptColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public short level { + get { + try { + return ((short)(this[this.tablevGroupUser.levelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'level\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.levelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string name { + get { + try { + return ((string)(this[this.tablevGroupUser.nameColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'name\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.nameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string nameE { + get { + try { + return ((string)(this[this.tablevGroupUser.nameEColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'nameE\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.nameEColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string grade { + get { + try { + return ((string)(this[this.tablevGroupUser.gradeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'grade\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.gradeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string email { + get { + try { + return ((string)(this[this.tablevGroupUser.emailColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'email\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.emailColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string tel { + get { + try { + return ((string)(this[this.tablevGroupUser.telColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'tel\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.telColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string indate { + get { + try { + return ((string)(this[this.tablevGroupUser.indateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'indate\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.indateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string outdate { + get { + try { + return ((string)(this[this.tablevGroupUser.outdateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'outdate\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.outdateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string hp { + get { + try { + return ((string)(this[this.tablevGroupUser.hpColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'hp\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.hpColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string place { + get { + try { + return ((string)(this[this.tablevGroupUser.placeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'place\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.placeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ads_employNo { + get { + try { + return ((string)(this[this.tablevGroupUser.ads_employNoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'ads_employNo\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.ads_employNoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ads_title { + get { + try { + return ((string)(this[this.tablevGroupUser.ads_titleColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'ads_title\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.ads_titleColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ads_created { + get { + try { + return ((string)(this[this.tablevGroupUser.ads_createdColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'ads_created\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.ads_createdColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string memo { + get { + try { + return ((string)(this[this.tablevGroupUser.memoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'memo\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.memoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string processs { + get { + try { + return ((string)(this[this.tablevGroupUser.processsColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'processs\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.processsColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string id { + get { + return ((string)(this[this.tablevGroupUser.idColumn])); + } + set { + this[this.tablevGroupUser.idColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string state { + get { + try { + return ((string)(this[this.tablevGroupUser.stateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'state\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.stateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool useJobReport { + get { + try { + return ((bool)(this[this.tablevGroupUser.useJobReportColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'useJobReport\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.useJobReportColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool useUserState { + get { + try { + return ((bool)(this[this.tablevGroupUser.useUserStateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'vGroupUser\' 테이블의 \'useUserState\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tablevGroupUser.useUserStateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsdeptNull() { + return this.IsNull(this.tablevGroupUser.deptColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetdeptNull() { + this[this.tablevGroupUser.deptColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IslevelNull() { + return this.IsNull(this.tablevGroupUser.levelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetlevelNull() { + this[this.tablevGroupUser.levelColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsnameNull() { + return this.IsNull(this.tablevGroupUser.nameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetnameNull() { + this[this.tablevGroupUser.nameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsnameENull() { + return this.IsNull(this.tablevGroupUser.nameEColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetnameENull() { + this[this.tablevGroupUser.nameEColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsgradeNull() { + return this.IsNull(this.tablevGroupUser.gradeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetgradeNull() { + this[this.tablevGroupUser.gradeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsemailNull() { + return this.IsNull(this.tablevGroupUser.emailColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetemailNull() { + this[this.tablevGroupUser.emailColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IstelNull() { + return this.IsNull(this.tablevGroupUser.telColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SettelNull() { + this[this.tablevGroupUser.telColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsindateNull() { + return this.IsNull(this.tablevGroupUser.indateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetindateNull() { + this[this.tablevGroupUser.indateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsoutdateNull() { + return this.IsNull(this.tablevGroupUser.outdateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetoutdateNull() { + this[this.tablevGroupUser.outdateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IshpNull() { + return this.IsNull(this.tablevGroupUser.hpColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SethpNull() { + this[this.tablevGroupUser.hpColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsplaceNull() { + return this.IsNull(this.tablevGroupUser.placeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetplaceNull() { + this[this.tablevGroupUser.placeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Isads_employNoNull() { + return this.IsNull(this.tablevGroupUser.ads_employNoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Setads_employNoNull() { + this[this.tablevGroupUser.ads_employNoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Isads_titleNull() { + return this.IsNull(this.tablevGroupUser.ads_titleColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Setads_titleNull() { + this[this.tablevGroupUser.ads_titleColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Isads_createdNull() { + return this.IsNull(this.tablevGroupUser.ads_createdColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Setads_createdNull() { + this[this.tablevGroupUser.ads_createdColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsmemoNull() { + return this.IsNull(this.tablevGroupUser.memoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetmemoNull() { + this[this.tablevGroupUser.memoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsprocesssNull() { + return this.IsNull(this.tablevGroupUser.processsColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetprocesssNull() { + this[this.tablevGroupUser.processsColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsstateNull() { + return this.IsNull(this.tablevGroupUser.stateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetstateNull() { + this[this.tablevGroupUser.stateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsuseJobReportNull() { + return this.IsNull(this.tablevGroupUser.useJobReportColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetuseJobReportNull() { + this[this.tablevGroupUser.useJobReportColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsuseUserStateNull() { + return this.IsNull(this.tablevGroupUser.useUserStateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetuseUserStateNull() { + this[this.tablevGroupUser.useUserStateColumn] = global::System.Convert.DBNull; + } } /// @@ -6688,6 +7999,40 @@ namespace Project { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class vGroupUserRowChangeEvent : global::System.EventArgs { + + private vGroupUserRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public vGroupUserRowChangeEvent(vGroupUserRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public vGroupUserRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace Project.dsMSSQLTableAdapters { @@ -12171,10 +13516,13 @@ SELECT ID, CtrlNo, SIDNo, Storage, Location, UseEqmt, PartName, PartNo, Process, tableMapping.ColumnMappings.Add("level", "level"); tableMapping.ColumnMappings.Add("wuid", "wuid"); tableMapping.ColumnMappings.Add("wdate", "wdate"); + tableMapping.ColumnMappings.Add("useJobReport", "useJobReport"); + tableMapping.ColumnMappings.Add("useUserState", "useUserState"); + tableMapping.ColumnMappings.Add("state", "state"); 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 [EETGW_GroupUser] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ([uid] = @Original_uid) AND ((@IsNull_level = 1 AND [level] IS NULL) OR ([level] = @Original_level)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))"; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [EETGW_GroupUser] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ([uid] = @Original_uid) AND ((@IsNull_level = 1 AND [level] IS NULL) OR ([level] = @Original_level)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_useJobReport = 1 AND [useJobReport] IS NULL) OR ([useJobReport] = @Original_useJobReport)) AND ((@IsNull_useUserState = 1 AND [useUserState] IS NULL) OR ([useUserState] = @Original_useUserState)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)))"; 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, 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("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); @@ -12183,27 +13531,38 @@ SELECT ID, CtrlNo, SIDNo, Storage, Location, UseEqmt, PartName, PartNo, Process, this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_level", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "level", 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_useJobReport", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "useJobReport", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_useJobReport", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "useJobReport", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_useUserState", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "useUserState", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_useUserState", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "useUserState", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_state", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_state", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", 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 [EETGW_GroupUser] ([gcode], [uid], [level], [wuid], [wdate]) VALUES (" + - "@gcode, @uid, @level, @wuid, @wdate);\r\nSELECT idx, gcode, uid, level, wuid, wdat" + - "e FROM EETGW_GroupUser WHERE (idx = SCOPE_IDENTITY())"; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_GroupUser] ([gcode], [uid], [level], [wuid], [wdate], [useJobReport], [useUserState], [state]) VALUES (@gcode, @uid, @level, @wuid, @wdate, @useJobReport, @useUserState, @state); +SELECT idx, gcode, uid, level, wuid, wdate, useJobReport, useUserState, state FROM EETGW_GroupUser WHERE (idx = SCOPE_IDENTITY())"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; 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("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@level", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "level", 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("@useJobReport", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "useJobReport", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@useUserState", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "useUserState", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@state", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", 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 [EETGW_GroupUser] SET [gcode] = @gcode, [uid] = @uid, [level] = @level, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ([uid] = @Original_uid) AND ((@IsNull_level = 1 AND [level] IS NULL) OR ([level] = @Original_level)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); -SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @idx)"; + this._adapter.UpdateCommand.CommandText = @"UPDATE [EETGW_GroupUser] SET [gcode] = @gcode, [uid] = @uid, [level] = @level, [wuid] = @wuid, [wdate] = @wdate, [useJobReport] = @useJobReport, [useUserState] = @useUserState, [state] = @state WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ([uid] = @Original_uid) AND ((@IsNull_level = 1 AND [level] IS NULL) OR ([level] = @Original_level)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_useJobReport = 1 AND [useJobReport] IS NULL) OR ([useJobReport] = @Original_useJobReport)) AND ((@IsNull_useUserState = 1 AND [useUserState] IS NULL) OR ([useUserState] = @Original_useUserState)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state))); +SELECT idx, gcode, uid, level, wuid, wdate, useJobReport, useUserState, state FROM EETGW_GroupUser WHERE (idx = @idx)"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; 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("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@level", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "level", 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("@useJobReport", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "useJobReport", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@useUserState", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "useUserState", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@state", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@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("@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("@Original_uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); @@ -12211,6 +13570,12 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_level", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "level", 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_useJobReport", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "useJobReport", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_useJobReport", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "useJobReport", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_useUserState", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "useUserState", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_useUserState", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "useUserState", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_state", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_state", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", 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, "", "", "")); } @@ -12227,8 +13592,8 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT idx, gcode, uid, level, wuid, wdate\r\nFROM EETGW_GroupUser\r\nWHERE (gc" + - "ode = @gcode)"; + this._commandCollection[0].CommandText = "SELECT idx, gcode, uid, level, wuid, wdate, useJobReport, useUserState, state\r\nF" + + "ROM EETGW_GroupUser\r\nWHERE (gcode = @gcode)"; 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(); @@ -12308,7 +13673,7 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id [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, string Original_gcode, string Original_uid, global::System.Nullable Original_level, string Original_wuid, System.DateTime Original_wdate) { + public virtual int Delete(int Original_idx, string Original_gcode, string Original_uid, global::System.Nullable Original_level, string Original_wuid, System.DateTime Original_wdate, global::System.Nullable Original_useJobReport, global::System.Nullable Original_useUserState, string Original_state) { this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); if ((Original_gcode == null)) { throw new global::System.ArgumentNullException("Original_gcode"); @@ -12337,6 +13702,30 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_wuid)); } this.Adapter.DeleteCommand.Parameters[6].Value = ((System.DateTime)(Original_wdate)); + if ((Original_useJobReport.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((bool)(Original_useJobReport.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((Original_useUserState.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((bool)(Original_useUserState.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; + } + if ((Original_state == null)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_state)); + } 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)) { @@ -12357,7 +13746,7 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id [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.Insert, true)] - public virtual int Insert(string gcode, string uid, global::System.Nullable level, string wuid, System.DateTime wdate) { + public virtual int Insert(string gcode, string uid, global::System.Nullable level, string wuid, System.DateTime wdate, global::System.Nullable useJobReport, global::System.Nullable useUserState, string state) { if ((gcode == null)) { throw new global::System.ArgumentNullException("gcode"); } @@ -12383,6 +13772,24 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id this.Adapter.InsertCommand.Parameters[3].Value = ((string)(wuid)); } this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(wdate)); + if ((useJobReport.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[5].Value = ((bool)(useJobReport.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((useUserState.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[6].Value = ((bool)(useUserState.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((state == null)) { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(state)); + } 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)) { @@ -12403,7 +13810,25 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id [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 gcode, string uid, global::System.Nullable level, string wuid, System.DateTime wdate, int Original_idx, string Original_gcode, string Original_uid, global::System.Nullable Original_level, string Original_wuid, System.DateTime Original_wdate, int idx) { + public virtual int Update( + string gcode, + string uid, + global::System.Nullable level, + string wuid, + System.DateTime wdate, + global::System.Nullable useJobReport, + global::System.Nullable useUserState, + string state, + int Original_idx, + string Original_gcode, + string Original_uid, + global::System.Nullable Original_level, + string Original_wuid, + System.DateTime Original_wdate, + global::System.Nullable Original_useJobReport, + global::System.Nullable Original_useUserState, + string Original_state, + int idx) { if ((gcode == null)) { throw new global::System.ArgumentNullException("gcode"); } @@ -12429,35 +13854,77 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(wuid)); } this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(wdate)); - this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Original_idx)); + if ((useJobReport.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((bool)(useJobReport.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((useUserState.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((bool)(useUserState.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((state == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(state)); + } + this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_idx)); if ((Original_gcode == null)) { throw new global::System.ArgumentNullException("Original_gcode"); } else { - this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_gcode)); + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_gcode)); } if ((Original_uid == null)) { throw new global::System.ArgumentNullException("Original_uid"); } else { - this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_uid)); + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_uid)); } if ((Original_level.HasValue == true)) { - this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[9].Value = ((short)(Original_level.Value)); + this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[12].Value = ((short)(Original_level.Value)); } else { - this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; } if ((Original_wuid == null)) { throw new global::System.ArgumentNullException("Original_wuid"); } else { - this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_wuid)); + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_wuid)); } - this.Adapter.UpdateCommand.Parameters[11].Value = ((System.DateTime)(Original_wdate)); - this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(idx)); + this.Adapter.UpdateCommand.Parameters[14].Value = ((System.DateTime)(Original_wdate)); + if ((Original_useJobReport.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[16].Value = ((bool)(Original_useJobReport.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; + } + if ((Original_useUserState.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[18].Value = ((bool)(Original_useUserState.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; + } + if ((Original_state == null)) { + this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_state)); + } + this.Adapter.UpdateCommand.Parameters[21].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)) { @@ -12478,8 +13945,25 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id [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 gcode, string uid, global::System.Nullable level, string wuid, System.DateTime wdate, int Original_idx, string Original_gcode, string Original_uid, global::System.Nullable Original_level, string Original_wuid, System.DateTime Original_wdate) { - return this.Update(gcode, uid, level, wuid, wdate, Original_idx, Original_gcode, Original_uid, Original_level, Original_wuid, Original_wdate, Original_idx); + public virtual int Update( + string gcode, + string uid, + global::System.Nullable level, + string wuid, + System.DateTime wdate, + global::System.Nullable useJobReport, + global::System.Nullable useUserState, + string state, + int Original_idx, + string Original_gcode, + string Original_uid, + global::System.Nullable Original_level, + string Original_wuid, + System.DateTime Original_wdate, + global::System.Nullable Original_useJobReport, + global::System.Nullable Original_useUserState, + string Original_state) { + return this.Update(gcode, uid, level, wuid, wdate, useJobReport, useUserState, state, Original_idx, Original_gcode, Original_uid, Original_level, Original_wuid, Original_wdate, Original_useJobReport, Original_useUserState, Original_state, Original_idx); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -12523,6 +14007,264 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id } } + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class vGroupUserTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public vGroupUserTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "vGroupUser"; + tableMapping.ColumnMappings.Add("gcode", "gcode"); + tableMapping.ColumnMappings.Add("dept", "dept"); + tableMapping.ColumnMappings.Add("level", "level"); + tableMapping.ColumnMappings.Add("name", "name"); + tableMapping.ColumnMappings.Add("nameE", "nameE"); + tableMapping.ColumnMappings.Add("grade", "grade"); + tableMapping.ColumnMappings.Add("email", "email"); + tableMapping.ColumnMappings.Add("tel", "tel"); + tableMapping.ColumnMappings.Add("indate", "indate"); + tableMapping.ColumnMappings.Add("outdate", "outdate"); + tableMapping.ColumnMappings.Add("hp", "hp"); + tableMapping.ColumnMappings.Add("place", "place"); + tableMapping.ColumnMappings.Add("ads_employNo", "ads_employNo"); + tableMapping.ColumnMappings.Add("ads_title", "ads_title"); + tableMapping.ColumnMappings.Add("ads_created", "ads_created"); + tableMapping.ColumnMappings.Add("memo", "memo"); + tableMapping.ColumnMappings.Add("processs", "processs"); + tableMapping.ColumnMappings.Add("id", "id"); + tableMapping.ColumnMappings.Add("state", "state"); + tableMapping.ColumnMappings.Add("useJobReport", "useJobReport"); + tableMapping.ColumnMappings.Add("useUserState", "useUserState"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = ""; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = "UPDATE EETGW_GroupUser\r\nSET Process = @Process, state = @state\r\nWHERE (gc" + + "ode = @gcode) AND (uid = @id)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Process", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "processs", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@state", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, 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("@id", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "id", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::Project.Properties.Settings.Default.gwcs; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = @"SELECT gcode, dept, level, name, nameE, grade, email, tel, indate, outdate, hp, place, ads_employNo, ads_title, ads_created, memo, processs, id, state, useJobReport, useUserState +FROM vGroupUser +WHERE (gcode = @gcode) AND (ISNULL(processs, '') LIKE @processs) +ORDER BY name"; + 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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@processs", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [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.Fill, true)] + public virtual int Fill(dsMSSQL.vGroupUserDataTable dataTable, string gcode, string processs) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((processs == null)) { + throw new global::System.ArgumentNullException("processs"); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(processs)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [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.Select, true)] + public virtual dsMSSQL.vGroupUserDataTable GetData(string gcode, string processs) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((processs == null)) { + throw new global::System.ArgumentNullException("processs"); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(processs)); + } + dsMSSQL.vGroupUserDataTable dataTable = new dsMSSQL.vGroupUserDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [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")] + public virtual int Update(dsMSSQL.vGroupUserDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [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")] + public virtual int Update(dsMSSQL dataSet) { + return this.Adapter.Update(dataSet, "vGroupUser"); + } + + [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")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [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")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + } + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -12650,6 +14392,8 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id private EETGW_GroupUserTableAdapter _eETGW_GroupUserTableAdapter; + private vGroupUserTableAdapter _vGroupUserTableAdapter; + private bool _backupDataSetBeforeUpdate; private global::System.Data.IDbConnection _connection; @@ -12777,6 +14521,20 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public vGroupUserTableAdapter vGroupUserTableAdapter { + get { + return this._vGroupUserTableAdapter; + } + set { + this._vGroupUserTableAdapter = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool BackupDataSetBeforeUpdate { @@ -12828,6 +14586,10 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id && (this._eETGW_GroupUserTableAdapter.Connection != null))) { return this._eETGW_GroupUserTableAdapter.Connection; } + if (((this._vGroupUserTableAdapter != null) + && (this._vGroupUserTableAdapter.Connection != null))) { + return this._vGroupUserTableAdapter.Connection; + } return null; } set { @@ -12865,6 +14627,9 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id if ((this._eETGW_GroupUserTableAdapter != null)) { count = (count + 1); } + if ((this._vGroupUserTableAdapter != null)) { + count = (count + 1); + } return count; } } @@ -12948,6 +14713,15 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id allChangedRows.AddRange(updatedRows); } } + if ((this._vGroupUserTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.vGroupUser.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._vGroupUserTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } return result; } @@ -13022,6 +14796,14 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id allAddedRows.AddRange(addedRows); } } + if ((this._vGroupUserTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.vGroupUser.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._vGroupUserTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } return result; } @@ -13032,6 +14814,14 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private int UpdateDeletedRows(dsMSSQL dataSet, global::System.Collections.Generic.List allChangedRows) { int result = 0; + if ((this._vGroupUserTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.vGroupUser.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._vGroupUserTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._eETGW_GroupUserTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.EETGW_GroupUser.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -13167,6 +14957,10 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id && (this.MatchTableAdapterConnection(this._eETGW_GroupUserTableAdapter.Connection) == false))) { throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); } + if (((this._vGroupUserTableAdapter != null) + && (this.MatchTableAdapterConnection(this._vGroupUserTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); + } global::System.Data.IDbConnection workConnection = this.Connection; if ((workConnection == null)) { throw new global::System.ApplicationException("TableAdapterManager에 연결 정보가 없습니다. 각 TableAdapterManager TableAdapter 속성을 올바른 Tabl" + @@ -13270,6 +15064,15 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id adaptersWithAcceptChangesDuringUpdate.Add(this._eETGW_GroupUserTableAdapter.Adapter); } } + if ((this._vGroupUserTableAdapter != null)) { + revertConnections.Add(this._vGroupUserTableAdapter, this._vGroupUserTableAdapter.Connection); + this._vGroupUserTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._vGroupUserTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._vGroupUserTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._vGroupUserTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._vGroupUserTableAdapter.Adapter); + } + } // //---- Perform updates ----------- // @@ -13360,6 +15163,10 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id this._eETGW_GroupUserTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eETGW_GroupUserTableAdapter])); this._eETGW_GroupUserTableAdapter.Transaction = null; } + if ((this._vGroupUserTableAdapter != null)) { + this._vGroupUserTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._vGroupUserTableAdapter])); + this._vGroupUserTableAdapter.Transaction = null; + } if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); diff --git a/Project/dsMSSQL.xsd b/Project/dsMSSQL.xsd index 649c3cb..1502fd6 100644 --- a/Project/dsMSSQL.xsd +++ b/Project/dsMSSQL.xsd @@ -938,7 +938,7 @@ SELECT ID, CtrlNo, SIDNo, Storage, Location, UseEqmt, PartName, PartNo, Process, - DELETE FROM [EETGW_GroupUser] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ([uid] = @Original_uid) AND ((@IsNull_level = 1 AND [level] IS NULL) OR ([level] = @Original_level)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)) + DELETE FROM [EETGW_GroupUser] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ([uid] = @Original_uid) AND ((@IsNull_level = 1 AND [level] IS NULL) OR ([level] = @Original_level)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_useJobReport = 1 AND [useJobReport] IS NULL) OR ([useJobReport] = @Original_useJobReport)) AND ((@IsNull_useUserState = 1 AND [useUserState] IS NULL) OR ([useUserState] = @Original_useUserState)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state))) @@ -947,25 +947,34 @@ SELECT ID, CtrlNo, SIDNo, Storage, Location, UseEqmt, PartName, PartNo, Process, + + + + + + - INSERT INTO [EETGW_GroupUser] ([gcode], [uid], [level], [wuid], [wdate]) VALUES (@gcode, @uid, @level, @wuid, @wdate); -SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = SCOPE_IDENTITY()) + INSERT INTO [EETGW_GroupUser] ([gcode], [uid], [level], [wuid], [wdate], [useJobReport], [useUserState], [state]) VALUES (@gcode, @uid, @level, @wuid, @wdate, @useJobReport, @useUserState, @state); +SELECT idx, gcode, uid, level, wuid, wdate, useJobReport, useUserState, state FROM EETGW_GroupUser WHERE (idx = SCOPE_IDENTITY()) + + + - - SELECT idx, gcode, uid, level, wuid, wdate + + SELECT idx, gcode, uid, level, wuid, wdate, useJobReport, useUserState, state FROM EETGW_GroupUser WHERE (gcode = @gcode) @@ -975,14 +984,17 @@ WHERE (gcode = @gcode) - UPDATE [EETGW_GroupUser] SET [gcode] = @gcode, [uid] = @uid, [level] = @level, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ([uid] = @Original_uid) AND ((@IsNull_level = 1 AND [level] IS NULL) OR ([level] = @Original_level)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); -SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @idx) + UPDATE [EETGW_GroupUser] SET [gcode] = @gcode, [uid] = @uid, [level] = @level, [wuid] = @wuid, [wdate] = @wdate, [useJobReport] = @useJobReport, [useUserState] = @useUserState, [state] = @state WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ([uid] = @Original_uid) AND ((@IsNull_level = 1 AND [level] IS NULL) OR ([level] = @Original_level)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_useJobReport = 1 AND [useJobReport] IS NULL) OR ([useJobReport] = @Original_useJobReport)) AND ((@IsNull_useUserState = 1 AND [useUserState] IS NULL) OR ([useUserState] = @Original_useUserState)) AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state))); +SELECT idx, gcode, uid, level, wuid, wdate, useJobReport, useUserState, state FROM EETGW_GroupUser WHERE (idx = @idx) + + + @@ -990,6 +1002,12 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id + + + + + + @@ -1003,6 +1021,9 @@ SELECT idx, gcode, uid, level, wuid, wdate FROM EETGW_GroupUser WHERE (idx = @id + + + @@ -1020,6 +1041,67 @@ and uid = @uid + + + + + + + + + + + + SELECT gcode, dept, level, name, nameE, grade, email, tel, indate, outdate, hp, place, ads_employNo, ads_title, ads_created, memo, processs, id, state, useJobReport, useUserState +FROM vGroupUser +WHERE (gcode = @gcode) AND (ISNULL(processs, '') LIKE @processs) +ORDER BY name + + + + + + + + + UPDATE EETGW_GroupUser +SET Process = @Process, state = @state +WHERE (gcode = @gcode) AND (uid = @id) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1053,7 +1135,7 @@ WHERE (idx = @idx) - + @@ -1194,7 +1276,7 @@ WHERE (idx = @idx) - + @@ -1265,7 +1347,7 @@ WHERE (idx = @idx) - + @@ -1323,7 +1405,7 @@ WHERE (idx = @idx) - + @@ -1393,7 +1475,7 @@ WHERE (idx = @idx) - + @@ -1437,7 +1519,7 @@ WHERE (idx = @idx) - + @@ -1466,7 +1548,7 @@ WHERE (idx = @idx) - + @@ -1582,7 +1664,7 @@ WHERE (idx = @idx) - + @@ -1609,6 +1691,150 @@ WHERE (idx = @idx) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1646,5 +1872,10 @@ WHERE (idx = @idx) + + + + + \ No newline at end of file diff --git a/Project/dsMSSQL.xss b/Project/dsMSSQL.xss index d8d1f0b..0a76ac8 100644 --- a/Project/dsMSSQL.xss +++ b/Project/dsMSSQL.xss @@ -6,15 +6,16 @@ --> - - - - - - - - - + + + + + + + + + + \ No newline at end of file diff --git a/Project/fMain.Designer.cs b/Project/fMain.Designer.cs index 64e7e9a..3341e65 100644 --- a/Project/fMain.Designer.cs +++ b/Project/fMain.Designer.cs @@ -57,7 +57,11 @@ this.mn_purchase = new System.Windows.Forms.ToolStripMenuItem(); this.mn_project = new System.Windows.Forms.ToolStripMenuItem(); this.목록ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.구매진행현황ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.mn_dailyhistory = new System.Windows.Forms.ToolStripMenuItem(); + this.목록ToolStripMenuItem1 = 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.mn_jago = new System.Windows.Forms.ToolStripMenuItem(); this.관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -110,7 +114,8 @@ this.toolStripMenuItem7 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); - this.구매진행현황ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); this.cmTab.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout(); @@ -162,7 +167,7 @@ this.sbLogin}); this.statusStrip1.Location = new System.Drawing.Point(1, 622); this.statusStrip1.Name = "statusStrip1"; - this.statusStrip1.Size = new System.Drawing.Size(1034, 22); + this.statusStrip1.Size = new System.Drawing.Size(1094, 22); this.statusStrip1.TabIndex = 30; this.statusStrip1.Text = "statusStrip1"; // @@ -191,7 +196,7 @@ this.btDev}); this.menuStrip1.Location = new System.Drawing.Point(1, 1); this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(1034, 27); + this.menuStrip1.Size = new System.Drawing.Size(1094, 27); this.menuStrip1.TabIndex = 29; this.menuStrip1.Text = "menuStrip1"; // @@ -300,6 +305,7 @@ this.mn_purchase, this.mn_project, this.mn_dailyhistory, + this.업무현황전자실ToolStripMenuItem, this.비용절감ToolStripMenuItem, this.mn_jago, this.mn_eq, @@ -315,7 +321,7 @@ // this.mn_purchase.Image = ((System.Drawing.Image)(resources.GetObject("mn_purchase.Image"))); this.mn_purchase.Name = "mn_purchase"; - this.mn_purchase.Size = new System.Drawing.Size(208, 24); + this.mn_purchase.Size = new System.Drawing.Size(232, 24); this.mn_purchase.Text = "구매신청"; this.mn_purchase.Click += new System.EventHandler(this.nRPurchaseToolStripMenuItem_Click); // @@ -326,7 +332,7 @@ this.구매진행현황ToolStripMenuItem}); this.mn_project.Image = ((System.Drawing.Image)(resources.GetObject("mn_project.Image"))); this.mn_project.Name = "mn_project"; - this.mn_project.Size = new System.Drawing.Size(208, 24); + this.mn_project.Size = new System.Drawing.Size(232, 24); this.mn_project.Text = "프로젝트"; this.mn_project.Click += new System.EventHandler(this.프로젝트ToolStripMenuItem_Click); // @@ -337,20 +343,51 @@ this.목록ToolStripMenuItem.Text = "목록"; this.목록ToolStripMenuItem.Click += new System.EventHandler(this.목록ToolStripMenuItem_Click); // + // 구매진행현황ToolStripMenuItem + // + this.구매진행현황ToolStripMenuItem.Name = "구매진행현황ToolStripMenuItem"; + this.구매진행현황ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); + this.구매진행현황ToolStripMenuItem.Text = "구매진행현황"; + this.구매진행현황ToolStripMenuItem.Click += new System.EventHandler(this.구매진행현황ToolStripMenuItem_Click); + // // mn_dailyhistory // + this.mn_dailyhistory.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.목록ToolStripMenuItem1, + this.자동입력ToolStripMenuItem}); this.mn_dailyhistory.Image = ((System.Drawing.Image)(resources.GetObject("mn_dailyhistory.Image"))); this.mn_dailyhistory.Name = "mn_dailyhistory"; - this.mn_dailyhistory.Size = new System.Drawing.Size(208, 24); + this.mn_dailyhistory.Size = new System.Drawing.Size(232, 24); this.mn_dailyhistory.Text = "업무일지"; this.mn_dailyhistory.Click += new System.EventHandler(this.업무일지ToolStripMenuItem1_Click); // + // 목록ToolStripMenuItem1 + // + this.목록ToolStripMenuItem1.Name = "목록ToolStripMenuItem1"; + this.목록ToolStripMenuItem1.Size = new System.Drawing.Size(134, 24); + this.목록ToolStripMenuItem1.Text = "목록"; + this.목록ToolStripMenuItem1.Click += new System.EventHandler(this.목록ToolStripMenuItem1_Click); + // + // 자동입력ToolStripMenuItem + // + this.자동입력ToolStripMenuItem.Name = "자동입력ToolStripMenuItem"; + this.자동입력ToolStripMenuItem.Size = new System.Drawing.Size(134, 24); + this.자동입력ToolStripMenuItem.Text = "자동입력"; + this.자동입력ToolStripMenuItem.Click += new System.EventHandler(this.자동입력ToolStripMenuItem_Click); + // + // 업무현황전자실ToolStripMenuItem + // + this.업무현황전자실ToolStripMenuItem.Name = "업무현황전자실ToolStripMenuItem"; + this.업무현황전자실ToolStripMenuItem.Size = new System.Drawing.Size(232, 24); + this.업무현황전자실ToolStripMenuItem.Text = "업무현황(전자실)-준비중"; + this.업무현황전자실ToolStripMenuItem.Click += new System.EventHandler(this.업무현황전자실ToolStripMenuItem_Click); + // // 비용절감ToolStripMenuItem // this.비용절감ToolStripMenuItem.ForeColor = System.Drawing.Color.Black; this.비용절감ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("비용절감ToolStripMenuItem.Image"))); this.비용절감ToolStripMenuItem.Name = "비용절감ToolStripMenuItem"; - this.비용절감ToolStripMenuItem.Size = new System.Drawing.Size(208, 24); + this.비용절감ToolStripMenuItem.Size = new System.Drawing.Size(232, 24); this.비용절감ToolStripMenuItem.Text = "비용절감"; this.비용절감ToolStripMenuItem.Click += new System.EventHandler(this.비용절감ToolStripMenuItem_Click); // @@ -362,7 +399,7 @@ this.pMP현황ToolStripMenuItem}); this.mn_jago.Image = ((System.Drawing.Image)(resources.GetObject("mn_jago.Image"))); this.mn_jago.Name = "mn_jago"; - this.mn_jago.Size = new System.Drawing.Size(208, 24); + this.mn_jago.Size = new System.Drawing.Size(232, 24); this.mn_jago.Text = "품목재고"; this.mn_jago.Click += new System.EventHandler(this.재고관리ToolStripMenuItem_Click); // @@ -397,7 +434,7 @@ this.라인코드관리ToolStripMenuItem}); this.mn_eq.Image = ((System.Drawing.Image)(resources.GetObject("mn_eq.Image"))); this.mn_eq.Name = "mn_eq"; - this.mn_eq.Size = new System.Drawing.Size(208, 24); + this.mn_eq.Size = new System.Drawing.Size(232, 24); this.mn_eq.Text = "장비 목록"; // // dataFOLToolStripMenuItem @@ -441,7 +478,7 @@ this.휴가관리ToolStripMenuItem.ForeColor = System.Drawing.Color.Tomato; this.휴가관리ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("휴가관리ToolStripMenuItem.Image"))); this.휴가관리ToolStripMenuItem.Name = "휴가관리ToolStripMenuItem"; - this.휴가관리ToolStripMenuItem.Size = new System.Drawing.Size(208, 24); + this.휴가관리ToolStripMenuItem.Size = new System.Drawing.Size(232, 24); this.휴가관리ToolStripMenuItem.Text = "근태관리(테스트)"; this.휴가관리ToolStripMenuItem.Click += new System.EventHandler(this.휴가관리ToolStripMenuItem_Click); // @@ -464,7 +501,7 @@ this.personalInventoryToolStripMenuItem.ForeColor = System.Drawing.Color.Tomato; this.personalInventoryToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("personalInventoryToolStripMenuItem.Image"))); this.personalInventoryToolStripMenuItem.Name = "personalInventoryToolStripMenuItem"; - this.personalInventoryToolStripMenuItem.Size = new System.Drawing.Size(208, 24); + this.personalInventoryToolStripMenuItem.Size = new System.Drawing.Size(232, 24); this.personalInventoryToolStripMenuItem.Text = "개인별 물품(테스트"; this.personalInventoryToolStripMenuItem.Visible = false; this.personalInventoryToolStripMenuItem.Click += new System.EventHandler(this.personalInventoryToolStripMenuItem_Click); @@ -474,7 +511,7 @@ this.메일전송ToolStripMenuItem1.ForeColor = System.Drawing.Color.Tomato; this.메일전송ToolStripMenuItem1.Image = ((System.Drawing.Image)(resources.GetObject("메일전송ToolStripMenuItem1.Image"))); this.메일전송ToolStripMenuItem1.Name = "메일전송ToolStripMenuItem1"; - this.메일전송ToolStripMenuItem1.Size = new System.Drawing.Size(208, 24); + this.메일전송ToolStripMenuItem1.Size = new System.Drawing.Size(232, 24); this.메일전송ToolStripMenuItem1.Text = "메일자동발신(테스트"; this.메일전송ToolStripMenuItem1.Click += new System.EventHandler(this.메일전송ToolStripMenuItem1_Click); // @@ -736,7 +773,7 @@ this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.ShowToolTips = true; - this.tabControl1.Size = new System.Drawing.Size(1005, 594); + this.tabControl1.Size = new System.Drawing.Size(1065, 594); this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; this.tabControl1.TabIndex = 34; this.tabControl1.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.tabControl1_DrawItem); @@ -749,8 +786,10 @@ this.toolStripMenuItem8, this.toolStripMenuItem7, this.toolStripMenuItem6, - this.toolStripButton4}); - this.toolStrip1.Location = new System.Drawing.Point(1006, 28); + this.toolStripButton4, + this.toolStripButton1, + this.toolStripButton2}); + this.toolStrip1.Location = new System.Drawing.Point(1066, 28); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(29, 594); this.toolStrip1.TabIndex = 35; @@ -797,18 +836,32 @@ this.toolStripButton4.ToolTipText = "PMP 자료 보기(베타)"; this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click_1); // - // 구매진행현황ToolStripMenuItem + // toolStripButton1 // - this.구매진행현황ToolStripMenuItem.Name = "구매진행현황ToolStripMenuItem"; - this.구매진행현황ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); - this.구매진행현황ToolStripMenuItem.Text = "구매진행현황"; - this.구매진행현황ToolStripMenuItem.Click += new System.EventHandler(this.구매진행현황ToolStripMenuItem_Click); + this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); + this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton1.Name = "toolStripButton1"; + this.toolStripButton1.Size = new System.Drawing.Size(26, 20); + this.toolStripButton1.Text = "구매진행상황"; + this.toolStripButton1.ToolTipText = "구매진행상황"; + this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click_2); + // + // toolStripButton2 + // + this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + 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(26, 20); + this.toolStripButton2.Text = "품목정보"; + this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1); // // fMain // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); - this.ClientSize = new System.Drawing.Size(1036, 647); + this.ClientSize = new System.Drawing.Size(1096, 647); this.Controls.Add(this.tabControl1); this.Controls.Add(this.toolStrip1); this.Controls.Add(this.menuStrip1); @@ -917,6 +970,11 @@ private System.Windows.Forms.ToolStripMenuItem 비용절감ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 목록ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 구매진행현황ToolStripMenuItem; + private System.Windows.Forms.ToolStripButton toolStripButton1; + private System.Windows.Forms.ToolStripButton toolStripButton2; + private System.Windows.Forms.ToolStripMenuItem 목록ToolStripMenuItem1; + private System.Windows.Forms.ToolStripMenuItem 자동입력ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 업무현황전자실ToolStripMenuItem; } } diff --git a/Project/fMain.cs b/Project/fMain.cs index 0570c7d..e7cd70e 100644 --- a/Project/fMain.cs +++ b/Project/fMain.cs @@ -317,11 +317,24 @@ namespace Project { menu_projecT_list(); } + void menu_work_eboard() + { + string formkey = "WORKEBOARD"; + if (!ShowForm(formkey)) + AddForm(formkey, new FPJ0000.fEboardList()); + } + void menu_work_reportautoinput() + { + string formkey = "WORKBOOKAI"; + if (!ShowForm(formkey)) + AddForm(formkey, new FPJ0000.fJobReportAI()); + } void menu_work_report() { string formkey = "WORKBOOK"; if (!ShowForm(formkey)) AddForm(formkey, new FPJ0000.fJobReport()); + } void menu_save_cost() { @@ -350,13 +363,17 @@ namespace Project } private void itemsToolStripMenuItem_Click(object sender, EventArgs e) + { + menu_pumname(); + } + + void menu_pumname() { string formkey = "ITEMS"; if (!ShowForm(formkey)) AddForm(formkey, new FCM0000.fItems()); } - private void staffGridToolStripMenuItem_Click(object sender, EventArgs e) { @@ -639,7 +656,7 @@ namespace Project private void 프로젝트ToolStripMenuItem_Click(object sender, EventArgs e) { - + } private void 업무일지ToolStripMenuItem_Click(object sender, EventArgs e) @@ -699,7 +716,7 @@ namespace Project private void 업무일지ToolStripMenuItem1_Click(object sender, EventArgs e) { - menu_work_report(); + } private void 패치내역ToolStripMenuItem1_Click(object sender, EventArgs e) @@ -1070,5 +1087,32 @@ namespace Project { menu_projectPartStatus_list(); } + + private void toolStripButton1_Click_2(object sender, EventArgs e) + { + menu_projectPartStatus_list(); + } + + private void toolStripButton2_Click_1(object sender, EventArgs e) + { + menu_pumname(); + } + + private void 목록ToolStripMenuItem1_Click(object sender, EventArgs e) + { + menu_work_report(); + } + + private void 자동입력ToolStripMenuItem_Click(object sender, EventArgs e) + { + //업무일지 자동 입력 + menu_work_reportautoinput(); + } + + private void 업무현황전자실ToolStripMenuItem_Click(object sender, EventArgs e) + { + //업무현황 전자실 + menu_work_eboard(); + } } } diff --git a/Project/fMain.resx b/Project/fMain.resx index 43b1a86..345292a 100644 --- a/Project/fMain.resx +++ b/Project/fMain.resx @@ -153,6 +153,26 @@ Mi4wAwEBAAAh+QQBAAAXACwAAAAAEAAQAAAIggAvCBwo0IJBCwQTFqwAAQEDhAoXTpgoYQDEhBYqTKDA kYKEBRclciRAoMEDCREuZtw40oKCCihVauxIIYEBmCkJruxYoWfMggYPsOyJU+WAABMqCJDgM+eFg0iV Aigg4WfBo0kFADAYwWnBABSkQjSIcYDYiAMtBHCwFW3ag24HBgQAOw== + + + + + R0lGODlhEAAQAIQAAHan1azQ4ldvj9vp9HSQruTr80lVa+vx9pu811SRuXifuj13uYyz2VFhe4Gt2UNL + XPL1+Orv+ufu9YOqxYyzzNHW3SkxQz5FVWag2T6CuZe3y5G0t+Do7+r0/77a9f///yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQAAAAAACwAAAAAEAAQAAAIrwA/CBxIsKDAAQESIkBAYYICBQQICCAgMMAACQMyaswo + oUKDih0SZMiwoKTJBQcEVDyAoEMHDy5hdnAg4eMHBBIQeNjJcyeDAjYRRNAQs+hMoAIpRNjQs6eDAgYE + TshpVCYAqAIV5GzKU0GBB1klMKjqEgMHsB8IiOW60+wFgQQgIGDgoC4AABgwADjw9oOAChAkSChAmIPh + AxUswBXAuEEDAwYePLhwwYJNg5gFBgQAOw== + + + + + R0lGODlhEAAQAIQfAHWSrbTY+6nU/I+74/r8/drj7FlxkUlVa9Xp/eLs9cvT2oWpxG+bwqPQ+57N++v1 + /lJgeabK7JnB5kNLXJG0z5nA1oyw0SkxQz5FVb7e/aC91tHl8qXB2n2gu////////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIpAA/CBxIsKDBgwQ9KFzIsKHCDRUqUFhAsQOAiwAMQFBY + gYDHjyAJKNjogQIBChoQZAgQAEGCiQUOKFxAIEMEDhsQPEDAQEKDBzI9dKiZIYOFowwENPg5QeHQlRIi + SJAwYIADBwWaegCQIMAACQEEKK2KFYNCrgMihBXbwEHVBGY9GFCQIEGBu3jvKrhw1oBfCBAOHJgwAQOG + CyQdKlaIsLHjggEBADs= @@ -305,26 +325,6 @@ JDzo4OEBBAgUMGiwkGBFBAcODAAAYMEAjh4ZIBgwQAAAAgZOdkTIQEGCAQRICoAZACVNBQACkHxpQEDP jg5qLhgKQIDTowIrJoA5NGKDABIbNpjqlEGBAguyag3QEiLYsDOjPgwQYEFYsQUdRpSY1qDCugzzBgQA Ow== - - - - - R0lGODlhEAAQAIQAAHan1azQ4ldvj9vp9HSQruTr80lVa+vx9pu811SRuXifuj13uYyz2VFhe4Gt2UNL - XPL1+Orv+ufu9YOqxYyzzNHW3SkxQz5FVWag2T6CuZe3y5G0t+Do7+r0/77a9f///yH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQAAAAAACwAAAAAEAAQAAAIrwA/CBxIsKDAAQESIkBAYYICBQQICCAgMMAACQMyaswo - oUKDih0SZMiwoKTJBQcEVDyAoEMHDy5hdnAg4eMHBBIQeNjJcyeDAjYRRNAQs+hMoAIpRNjQs6eDAgYE - TshpVCYAqAIV5GzKU0GBB1klMKjqEgMHsB8IiOW60+wFgQQgIGDgoC4AABgwADjw9oOAChAkSChAmIPh - AxUswBXAuEEDAwYePLhwwYJNg5gFBgQAOw== - - - - - R0lGODlhEAAQAIQfAHWSrbTY+6nU/I+74/r8/drj7FlxkUlVa9Xp/eLs9cvT2oWpxG+bwqPQ+57N++v1 - /lJgeabK7JnB5kNLXJG0z5nA1oyw0SkxQz5FVb7e/aC91tHl8qXB2n2gu////////yH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIpAA/CBxIsKDBgwQ9KFzIsKHCDRUqUFhAsQOAiwAMQFBY - gYDHjyAJKNjogQIBChoQZAgQAEGCiQUOKFxAIEMEDhsQPEDAQEKDBzI9dKiZIYOFowwENPg5QeHQlRIi - SJAwYIADBwWaegCQIMAACQEEKK2KFYNCrgMihBXbwEHVBGY9GFCQIEGBu3jvKrhw1oBfCBAOHJgwAQOG - CyQdKlaIsLHjggEBADs= @@ -374,17 +374,53 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJFSURBVDhPjVPtS1NxGP1B3r+gj/0PfUhXQgQJYWUqRFFC - QwoXhVCNrK1o6oJoA+mDkJrIvjRlkJQUgXUZSEjvRRFrRvu2INjUEdu8210vp+f87pUlKvTAw/1w73nO - 85xzrvrfyhjK99VQ8/LMS9vPDfVb+o/7evOSj8fShsoRkOs5hsXgWSwNnMdy2A95B/ez9SVs3oUGlc02 - b8di4AwKN/wojgRQDO3BSqQZP2f7UQluMiCzRcVShrJyp7tQiPThx9VWWFEP7JFdqI05/Ss5APvaBgMy - DWpaVqst9Z9D8XYA5fAO1FygPbUX1acdqLw6Djs7itLbxrUDyEzw8uAFlCaCqN7yOMBECyrPjsBKdcP6 - ckq3/X0cpfee+gDezLXJTLA9vFODq4/bYH30atC3lBf3X3YilGzB6IdBbIv9cwIF481ce5W5anbCSp/E - ioCnX3TAN7sbbY+asP9hI6LvQtg64Q6gVfS0cPMiyteb6swCzn/uxtDcPrS7wBPxAHrHE4ibn3Do8owz - gD7TqnLsihaMN3NtMhN8QICH7x1F750EJs00pswF3H2SdgYIu48hoc+0iuxaMHdtMhMcjic1MDr5Bj0R - U8Dx6sG+mdcUb54JY0joM62i2hSMN3NtMhPsH57TwPZLD1r16izZIM94MmH6dvGZ7FSbgvFmrk1mgl1Y - vWSAzWwznnp9CQkH0CrNLoKRnWuvYV4t3s8fg9nW8ZSEMST0mVZRbUewDdhZtE+20D8Gs814MmEMCX2m - 0mwt2LpS6i8UOPSq1BpxwAAAAABJRU5ErkJggg== + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJFSURBVDhPjVPtS1NxGP1B3r+gj/0PfUhXQgQJYWUqRFFB + QwoXhVCNrK1o6oRog+iDkJrIvjRlkJQUgXUZjBB6jyLWjPZtQbCpI7Z5t7teTs/53StLVOiByz7ce55z + nnPO1P9O1lC+r4aal9+CPHbKUL+Thvrjvt585OPxjKHyBOR7j2ExeA5LgxewHPZD3sH9bP0Im3ehSeVy + rduxGDiL4g0/SqMBlEJ7sBJpxc+5AVSDmyzIblGxtKGs/JkTKEb68eNaO6yoB/boLtTHnedXchD29Q0W + ZJvUjEirLw2cR+lOAJXwDtRdoD29F7VnXai+Og47N4by2+a1C8hM8PLQRZQng6jd9jjARBuqz4/ASvfA + +nJaP/b3CZTfexoLeDNlk5lge2SnBteedMD66NWgb2kvHrzsRijZhrEPQ9gW++cEGsabKXuVuWZ2w8qc + woqAZ150wTe3Gx2PW7D/UTOi70LYOukuYFTMtHjzEirDLQ1mARc+9+BWah86XeDJeAB9EwnEzU84dGXW + WcCcGVUldlUbxpspm8wEHxDg4ftH0Xc3gSkzg2lzAfeeZpwFwu5jSZgzoyK7NsyVTWaCw/GkBkan3qA3 + Ygo4XjvYP/ua5s2zYSwJc2ZUdJuG8WbKJjPB/pGUBnZeftiupXNEQYH1ZMP07ZIz2ek2DePNlE1mgl1Y + Y2SBzW6znlq+lIQLGJVmF8PITtlrmFeH9/OPwW7rekrDWBLmzKjotmPYBuwcxicq9B+D3WY92TCWhDnT + aT7asHWj1F+kjfR38zSvzwAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKUSURBVDhPlVJRSFNRGL5PEVE91Us99ZTWU0W3iHrJsB6C + 6CGEigaDreGUNp2iuDkXbs3p2J1ubjmdXOaV2symg1DZg5vO6bQQHSgTTNG3noRByFZf5xxvolRUHxwu + fOd+//99/3+4P+GFdAva0DU8CZTivu/cN5n+d2j6Lxein7rxNiPgjvvs/xd4Ll7Bu48eSLNOlLlOQ6a5 + UCiEYDCInp4eeL3ep1wqlQI9U1NTmJychF66jUrxJozvH+HNvIBgyo5n/Tdw1XYSF1tOsH8LhQK2t7ch + CEKWm56eRrFYxO7uLjuq/kuwxB4jPO+GEDfA+qES3YkWKMQyXDCfKu7s7GB1dRXt7e2f29raKrlkMsmI + ra0tpNNpbG5uosJfAkPkAcS0A77kSyhD5cRVBYaGhpDNZhGJREDEZXIqjovH45iZmUEsFuMTiQSGh4f5 + u8IZaKRyqKV7KDUdS1FxZ2cnL0kSy2+1WktkOceNjY1haWmJzWB9fR0TExPIreXAvzqKh97r+50HBgaw + uLhIu8NsNh+X5XuIRqPI5/MYHx8H6cKPjo4iEAjw1K7T6eSp2G638729vWhubt7fyj7C4bAxk8kgl8uB + ildWVkA4LC8vg66OdiYFsbCwgIaGhu+y7DBEUURfXx/8fj+6urrgcrngcDhoXlgsFmobIyMjMBgMvy/w + N5ACR2pra1FVVfVFpvZAcp1/TeDz+eikaWaaF62traxrU1MT6uvrUVNTw7JrNJo8E/4EWYuRft1ut66j + o2ODiHXs4gD0er2uurp6Q6vV6tRq9VeZ3oPH4zGSZ8nWNTc3h8HBQTbpxsZG1NXVgYhBDLJnTN4/FArF + miw9DJvNxoZlMpl+cUBs61QqFZRK5YEVctwPs9HCWdkWj1AAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAMRSURBVDhPfVNrSJNhGP3+BtEPw5aXXbr8MK1ASrCoHxWp + lFrWNG9bft7m5qXLzGkzc+XmNt3UTZ26JVlzps5GmbnKMtEISqFCW7KyFmbNMPwniHWabwom0YHz5+E5 + 5z3P874v1ZDGwWoaUjmoo9nQp7BQw2ehiseEJskf6gQ/KOP9II/zxRWuD0pPbAQx+P5M+28OVmJ6oALu + J2p8e6jE1H0FvnRfxaRNhs+dJSiJYRCDScftfLgH5HC1x/1hWyw+mU9i4noMPhij4aw7ivHqCDjUhzFW + dgDvNFx8NEtRfISx4DFgJ/YowsmJ9qIQ9BTuhiTSG9ZzwWjLC0aLaCeaMneQmpYfCGVCAF4bC2AtCMPF + 6A311CIMNGd4pCUTox0X0JW7lTTfEGyGKW0T6k9zUJ3MJrUyLgs3ZckYUqd4xF7T58LWeRGDWpq5r00S + iqlH5bAV7SHNjamboOexUZnAhiKORWql3M14WXce14ShKIhcn0jEy6jhM1ufaGLx3ChCf0MuenUi3K0W + wqYVorMiC7dUAvRosnGnKBKSKO+nS7I/qBUFrq2nWTY1j7lQGev/c/VVLW67+BhjcWYURnn/kp3w0S5J + KcqY5u/VQHN+WIsPYsAg+Iv99QL01QnwQJ+J+zUZ6K7KQJeaRm3OXpTGMK4Sg4bTbGdXyWEMNmXDmh+C + 9rztaMsNgjknCNdFQTAJAmFI3wYdHQANPwBN4nC0KmhUZYV6EjFslJ7vNztqlcAq3oXWrC1kWf9j8TEm + tKJD6KjIJiMRg8/9SrjuFWGi6yzet+fAaRFgvCUdb018jBoS8UYXh1ea4xhRRmG4LAIvZJ4HZZIs7gOU + jucxeFzuESXB0XwczXoFdDodYZ/qFIZkYbh8SQqxWAyhUIhpZxLhmFFCElHVPN/ZTw/kmOxTwWUvh8VY + BZfLBYfDAbPZDJVKBbvdjrm5OWSkpeJNYwERrzDwmV354zR5Eejt7YXb7cb8/DzhzMwMLBYLBNz9JPbK + nZCbWA25XH5GKpU6l2PTNP01Pj6+kcvlrllqWQJF/QYS/DWK5uCzXgAAAABJRU5ErkJggg== diff --git a/Project/vGroupUser.cs b/Project/vGroupUser.cs index b66656d..54b8c71 100644 --- a/Project/vGroupUser.cs +++ b/Project/vGroupUser.cs @@ -32,5 +32,8 @@ namespace Project public string memo { get; set; } public string processs { get; set; } public string id { get; set; } + public string state { get; set; } + public Nullable useJobReport { get; set; } + public Nullable useUserState { get; set; } } } diff --git a/SubProject/FCOMMON/fBase.cs b/SubProject/FCOMMON/fBase.cs index 2203518..c7cad87 100644 --- a/SubProject/FCOMMON/fBase.cs +++ b/SubProject/FCOMMON/fBase.cs @@ -23,7 +23,7 @@ namespace FCOMMON void fBase_KeyDown(object sender, KeyEventArgs e) { - if (e.KeyCode == Keys.Escape) this.Close(); + //if (e.KeyCode == Keys.Escape) this.Close(); } void fBase_FormClosed(object sender, FormClosedEventArgs e) diff --git a/SubProject/FEQ0000/Purchase/fPurchase.Designer.cs b/SubProject/FEQ0000/Purchase/fPurchase.Designer.cs index ecf5e99..e7ccb52 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase.Designer.cs +++ b/SubProject/FEQ0000/Purchase/fPurchase.Designer.cs @@ -129,8 +129,8 @@ this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); this.btViewDel = new System.Windows.Forms.ToolStripButton(); this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); - this.label1 = new System.Windows.Forms.Label(); this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); + this.label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); @@ -195,14 +195,14 @@ this.toolStripButton3, this.toolStripButton4, this.toolStripButton5}); - this.bn.Location = new System.Drawing.Point(0, 639); + this.bn.Location = new System.Drawing.Point(0, 622); 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(1184, 26); + this.bn.Size = new System.Drawing.Size(1213, 26); this.bn.TabIndex = 0; this.bn.Text = "bindingNavigator1"; // @@ -576,7 +576,7 @@ this.btViewDel}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; - this.toolStrip1.Size = new System.Drawing.Size(1184, 37); + this.toolStrip1.Size = new System.Drawing.Size(1213, 37); this.toolStrip1.TabIndex = 3; this.toolStrip1.Text = "toolStrip1"; // @@ -750,22 +750,10 @@ this.fpSpread1.Name = "fpSpread1"; this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.fpSpread1_Sheet1}); - this.fpSpread1.Size = new System.Drawing.Size(1184, 579); + this.fpSpread1.Size = new System.Drawing.Size(1213, 562); this.fpSpread1.StatusBarVisible = true; this.fpSpread1.TabIndex = 4; // - // label1 - // - this.label1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.label1.Location = new System.Drawing.Point(0, 616); - this.label1.Name = "label1"; - this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); - this.label1.Size = new System.Drawing.Size(1184, 23); - this.label1.TabIndex = 6; - this.label1.Text = "--"; - this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // // fpSpread1_Sheet1 // this.fpSpread1_Sheet1.Reset(); @@ -1027,11 +1015,23 @@ this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; // + // label1 + // + this.label1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label1.Location = new System.Drawing.Point(0, 599); + this.label1.Name = "label1"; + this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); + this.label1.Size = new System.Drawing.Size(1213, 23); + this.label1.TabIndex = 6; + this.label1.Text = "--"; + this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // // fPurchase // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1184, 665); + this.ClientSize = new System.Drawing.Size(1213, 648); this.Controls.Add(this.fpSpread1); this.Controls.Add(this.label1); this.Controls.Add(this.toolStrip1); diff --git a/SubProject/FEQ0000/Purchase/fPurchase.resx b/SubProject/FEQ0000/Purchase/fPurchase.resx index 011cbaf..f0609cc 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase.resx +++ b/SubProject/FEQ0000/Purchase/fPurchase.resx @@ -234,57 +234,57 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANJSURBVDhPtZBdTFN3GIdJdrdw4Yw1OCFmuoSE5FzIXCBS - 6ZCPTEAZWSkYisVOCxIq0GIQEQ7VogXSDkpXWscQqNSKIwjaWcFg1IRRrK0eGYGqXUHth12leuoHCfEn - qV102W733L7v8/zzfyM+RjVNRp601jaQv4smam6ULVdc/WG5xFg4UTSYV583MPCJYOTJp+HVfyOn6llN - lhrH5QeXMOq8CuP8Fdx6aoXeegbf6zLVFf3zB0q7Hzj2au2ssPKBFtuRXMMfPRhzjqLHfhaV1nqIb5MY - nLuAnb2Z/vwezabS7vv+7hs+iPsegt1iyw2rKy9Pk6uPmavp8flxNE+rwJ86iGLzQXTOdEN9vQMZ6pQD - +7ocasUlN4z3aGjGvMhsNNMZVROrQwFyUiw12i/i1GwfeFNCFEwIcMjSCJ1VhwzlNluxZiZ+j2J6eeTu - C8iv+DBgDqCyaxbbysekocCh6yU205+jEFqOYPeKLJgUQWc3QGgoRZIsgVmonLmpMLrwqyWAKv0TSIe9 - kA09Qjx/2BYKlJmKl4adv6HCUodmSolzc4NoNTVj6/Gvfylsn+XkSO++Oje5CLHehZKfFyDQLODHi27E - cc8HQoGiIU5g0jOF83NDUF1TgiXb6k+UbGkYEZFrVNWno7JIM9Vx2Y0avRtFbU5wFQ7IBl3YtOs0HQpw - +nfaOq61YXsH62lyS4LIJMqPecPj1b3+juOnd+QQKdU3qdYLjyHsegR200OUqBcg7LRjY3bn+y9kadLE - qe1Mga1qz/ql/fvlQS6XphuOIliwG3RyKpFUbqIkhnnsUzqRXTsHqcGNzMpxrE9ve39EHD782ZvyMm2Q - z18KNkmxaNDB39+D59k5oOMTiS38Eaq214HCZgfIlTtwT95BdHorHcVsYoQCb4VCRpDHo19of8KzgX64 - JHXwnerE4jdp8McSRFz+WapSex/kGRfyG29hc54eUUwZOyT/zctcNpvm8/GMrIdPq4K3XY6/EpLgiY4l - vsztpfiKGaQKTPg8Re5gME98G9b+SSApOf15fKLDxymAW1gOL/EVPGujiQ1Zaiomrc28LqVFwmCRkeH1 - /8YbFxfp+yJW4l230exhxMCzai0RHv1fRES8Az9w4VvBSIESAAAAAElFTkSuQmCC + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANISURBVDhPtZBdTJNXHIdJvDNcbMYaVMgyNCEheS+GGohU + OuQjGx8jZKVgKBY7LEioQItBZPBSLQI1ZVBqaRURrNQKEgStVjAYNUGKtZ3vkEDVruDsh7VSfdmUhPiT + 1Jpt2W59bs//ec45/5B/opwmQ5ssNfXkPdFE9Z3SlfKbP60UG/InCgZz6nL6+9cIRp6vDY7+FzlVx2o0 + V9uvP7mKUcdNGOZv4P4LC3SW8/hRm6Yq75s/UNL9xL5PY2MFlb+RWY9k6x/1YMwxih7bBVRY6iB+QGJw + 7jIye9N8uT3qLSXdj33dd7wQn3sKtsyaHVRXb54m1x01VdHj8+NomVaCP3UQhaaD6Jzphup2B1JViQeK + uuyq1qsuGH6joR7zIK3BRKdWTqwLBMhJsdRgu4JTs+fAmxIib0KAQ+YGaC1apCp2WQvVMzF75dMrIw/f + QH7Di36THxVds9hVNiYNBA7dLrYafx+F0HwEe1ZlwaQIWpseQn0J4ptjmfmKmbutBicumf2o1D2HdNiD + 5qFniOEPWwOBUmPh8rDjGsrNtWihFLg4N4gTxhbsPLbjTH77LOeHYw//uji5CLHOieLTCxCoF/DLFRei + uQP+QKBgiOOfdE9hYG4IylsKsJp2+uIk2+tHROR6ZdXZsHTSRHVcd6Fa50JBmwPcVjuaB52IzDxLBwKc + vkxrx6027O5gvUiQxYqMotyIdzxe7dssjo/+PotIrLpLnbj8B4Rdz8BufIpi1QKEnTZEZnR+/EK6Olmc + 1M4UWCv3bl7ev1++xOXSdP3PWMrbAzohiYgvM1IS/TyKFA5k1MxBqnchrWIcm1PaPi4Rhw9/+a6sVEPz + +ctLjVIs6rXw9fXgdUYW6Jg4Yjt/hKrptSO/xQ5ydQ/cpl8RniKjw5iNjEDgvVDIWOLx6Deak3jV3wen + pBbeU51Y/DYZviiCiM69QFVoHoM870Ruw318k6NDGLOZHZA/8Wc2m736Arwi6+DVKOFpl+NlbDzc4VHE + 1uxeit86gySBEZsS5XYG8/h3Qe3f+OMTUl7HxNm9nDy4hGXwENvg3hBOfJWuoiKS20wbE2USBosMDY7/ + P57o6FDv11ESz8ZIk5sRAfcXG4jg0eciJOQDLKnhUoxjMFkAAAAASUVORK5CYII= iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKPSURBVDhPzZHbS5NhHMdf6K5/opvoIlsHRCuCIIiiqwg8 - dFF0IUGFYBgUgTAM1IU6EefS7CSI1mYup0RGB6SpO6qvvuqcm+6Qokvd9p599+799mwOtBuv+/F8eZ4H - fp/v9/fwUP93WSylh5q6bY4XAz/RYnWh3eZDh/UHOvWFh/MtB1fTO5vD+iuEwBqPlU0ZrhALuyuGxtd2 - R77l4GofcGMuxsIdFjG+LGCMaGZVgskyhnwLRc0PF05HRkqV6NfyfSpTlj6fCzV/cCIYlzEe4uEI8vju - 5+CLymj76N0zoC3FsqZlAGhkZbV7TktxmPpdYGIcRgO7cFbemIzGHseeAWMrSmqqBPm3EcJyK4TwW4iR - fmjpBCxfxvHNF4U3LGAiLMFD0odoDi2dfTBWFN3JGQR6z7AZJUVgE/hgG9i5Wmy5HyDuqUTI2YBheweZ - ZAJm8gPN750wdlrhGTRjWF/C1tw4cpMKWIuUtLiOBGPC9qQBG6OPIG64oKksEZffk7mJtPQ26NFPGHhW - pjGDTeiquiiQCc4qufdnZCIRUIUcqIp+yGsmSLE6iCuPISzdA++/BZVfgF1/VOl6ckU0V10CFego3tFU - ESrrRDoxAmWzHzvrrwjYCDFcAzFYCWHxNvj56+BmL0PlpkGbT0m592eLflksZxQWytYQdjZ6SGo7pChJ - Xc6m3gW/UA6OuQaWvoDU5GmkWS/olv0G5KIpCQJ3Q15thRSpJXA1hEAFgUtI6lWw0+eR8p1E0nOMGLj/ - NVh8rlsTk0zyD9OX4ZfegAuYwfmN4BbqwTJ6sLNPkZqpRmq6Eqmp+0hERjTGWJjM4xTlry946Dec6GUa - jsenDDrpQDXoJNqgS/nrCtp2aYr6C6aBQrzs5yeYAAAAAElFTkSuQmCC + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKQSURBVDhPzZHdS5NRHMcf6K5/oougi2y9IFoRBEEUXUWg + 1kXRhQQVgmFQBMLwQl2oE3Gbmr0Jormpyymh0AvS1G1u+kwfdc5N55aiQ932vPvs2fPtbA60G6/7cb6c + c+D3+X5/h0P932W1lp5o7LI72wZ/odnmhtnuQ7vtJzr0hSfzLcdX42e70/Y7jOAmj7UdGe4wC4c7hoYP + Dme+5fgyD3qwEGPhiYiYXBUwQTS3IcFknUC+haIWRwrp9dESJTpWdkSlysq3K+GmPhdCcRmTYR7OEI8f + AQ6+qIzWAe+hAd1XLGtaBoBGVlYH57QUh6nfDSbGYTx4AGfljclo6HYeGjD2oqSmSpD/GCGstkCIfIK4 + 3g8tnYB1dBLffVF4IwKmIhKmSfqwn0NzRy+M5UWPcwbBnktsRkkR2AQ+1Ap2oQa7nueIT1cg7KrHiKOd + TDIFC/mBpi8uGDtsmB6yYERfwlbfO/WACtqKlLS4hQRjwt6MAdvjLyFuu6GpLBGX35O5ibT0HvzjXzFQ + U6YxQ43orLwukAkuK7n3Z2QiEVCFHKiKAcibJkixWohrryCsPAUfeAiVX4JDf1rpfH1LtFTeABVsK97X + VBEq60I6MQZlpx/7W+8J2AAxUg0xVAFh+RH4xbvg5m9C5WjQ5gtS7v3Zot8VyxmFhbI7jP3tbpJqhhQl + qavZ1Cfgl+6DY+6A9V9DauYi0qwXdPNRA3LRlASBuyBvtEBaryFwFYRgOYFLSOptsPRVpHznkZw+Qww8 + /xosv9VtikkmGZ/vzfArH8EFLeACRnBLdWAZPdj5N0jNVSFFVyA1+wx7kVGNMRYm8zhFBeoKXgQM53qY + +rPxWYNOOlb1Oslv0KUCtQWtBzRF/QV5PEKhrKI0awAAAABJRU5ErkJggg== iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL6SURBVDhPhZLbT9NgGMZ3pX+CQS+8NBqF4IwavVAmh4HG - MwpBZMAYBARdYB4SFTOmqIiCBJaoMRKNF2qMhzHUATLGZIvDeJyKiMjJgM6NdW23tvPxa7cwTEh8k1++ - i6/PL32fViZOynGrakudw7LtguN3Rq2DIScrUS+eTnZbXR+bcc7+fr3O1rgs8848KTR70k/32qb87K9J - LyV4AkF4qBi//CIsPk74ceLRCFSXPtHKcvP8aDQym8/apzzTtNA3zMH5nYdzhIdjmIf9WwjWL0E8cQcQ - 5AHTJwYnHnxH4WU3848kzWBlpukQ+kcFvBrlycnjpSQJoWcwiGdumgjC6J8Q4BznYDCPQHGs67YUzqpP - GtpTm/lH07ILhc270fy0FTX366GojkcSQWlYhxT9ajSYGqRVKJbHpJdGyrEeXhLsrVPc63rXhraBa2h2 - VEmSvKYMVN3KRUVrNtTG7SgwFsD0ZhJt7yk8fjsNH+kpVd/LSgJlo3L+1jMHBcfnbtx8p8d5a7kkUbVs - JuEdKLlSDNtgQFqlc4CBhfTgDXBIrXkREYiTfraH1V7Ph2vQDqPzMGo7KpFVvwmqpky4hmm4SLFiwbav - kU48RJCinyXYcLKaW3N0MXIblej/2gdDdyn0Zi2yLyaj1foQr8d4uEixfd84vCBM+TkoTkUFK3VxGrlu - ESpu5GBfSzpyGtIkidacC939YvImyRDv+0cEvBQ/McFPilx3xB4RyHULxuS6heShOMir4rDzfDLKrubD - 5rbAYDmK0rv5ULfshYsInOTfcBABy4WxWmuNrbDxSC874WPxZkyQ6Pk8jkPXS1BEghpjNipvHJi5E6FD - AhIPPosJ1lRa2VFPTPA/AmSFhGJzTLBW+5wemPD9mevhuaCYYHhFnomKxkmRJR1D49O0f+CHPzz0k8HQ - FIPBKD8pTkJsnmIFeCk2HAyFfEv2t3+IxmWyVSVPyxLUTzoSNRZPgqaNnaEoQnyRKYLaxC5Vt3uXF7R3 - xuebC2UymewvcCKiNqMNhYIAAAAASUVORK5CYII= + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL7SURBVDhPhZJZTxNRGIZ7pT/BoBdeaoyCWncvVARsXYIb + IlFkK6URN5QSTFRMqSuWgAZI1BiJxgs1RKUUsKCUUtrGYlQQRRERClGktEw7PaUz9fXMtKGYkPglT87F + mffJfO+MRJjEc6bMnWU2Y/IN24T8ss1PTyKiE047SS6zku3XLD0b1ebKJSmP54ihmSO/1GEeY8j4zwmG + d/kCcHmjjDMCBJ9GGZx/MYSM8s+s7LhhbiQanh1XLWPjHh9vHQzC/oODfYiDbZCD5fsUTF8DaOr1IcAB + +s9+nH/2Azk3P/r/kSSVtvkn2Sl0DfN4O8zRk8MbUTKF9v4AXvayVBBC1ygP+0gQWsMQ4s++eiSGD+q2 + DBy4nPJHWb0POVX7UdVci9I6HeJLYrGFItNuQKJmDSr0FeIqXsLhl5tFYnE7JwpSy+KfvupuQMOXu6iy + FYqSjFvbUfgwHSdq06Co2Y3smmzo3/9CQ48X9R8m4aE9JWk6iCiQVcrm7rp0krf1teFBtwbXTcdFSWb1 + DhreA9XtPJj7feIqrV/8MNIe3L4gkko7wwJh5FfbScG9LDj6LaixF+FKyxkc1G1F5q0UOAZZOGixQsHm + b+FOXFSQqJkh2HShJLi2eCHSK2Xo+maFtu0oNIYCpJUnoNb0HO+cHBy0WOv3IDopY0wQ8RcjgpXqGKVU + vQAn7h/C4Wo5DlVsEyUFhnSo6/LomyRAuO8a4vFG+MQUhha5vsgSFkjV85xS9Xz6UAykhTHYez0B+Xey + YO41QmssxtEnWVBUp8JBBXb6b9iogARDWH3KFF1hc1EHGfUQvHfyIu19Izh1T4VcGlTWpOHM/WPTdwLs + FI/lJ5ujgjWnTWTYFRX8Dx9dIS6vISpYV/Ca7Rtx/5nt4dlgWBJalqH3RuK0SFXLgHOSZfpGJ0MDv/0Y + GPOjP8Jvb1BEaN5LeEww/hAJBDyLjjR+jMQlklWq5vw4RVPLCqXRFafUk2lyw8Tm1odR1JPFikb30uzG + 1tgsQ45EIpH8BR60ogFju+NwAAAAAElFTkSuQmCC diff --git a/SubProject/FEQ0000/Purchase/fPurchase_AddS.cs b/SubProject/FEQ0000/Purchase/fPurchase_AddS.cs index f20d458..9c6e945 100644 --- a/SubProject/FEQ0000/Purchase/fPurchase_AddS.cs +++ b/SubProject/FEQ0000/Purchase/fPurchase_AddS.cs @@ -317,6 +317,11 @@ namespace FEQ0000 tbSID.Text = sidTrim(tbSID.Text); + + //SID값이 신규일때 업데이트되면 해당 값도 같이 업데이트를 해준다. + //210114 + + //if (cbProcess.Text.Trim() == "") //{ // FCOMMON.Util.MsgE("추가정보내의 [공정]을 선택하세요."); @@ -324,8 +329,6 @@ namespace FEQ0000 // return false; //} - - if (tbPumName.Text.isEmpty()) { FCOMMON.Util.MsgE("품명이 없습니다."); diff --git a/SubProject/FPJ0000/EBoard/fEboardData.Designer.cs b/SubProject/FPJ0000/EBoard/fEboardData.Designer.cs new file mode 100644 index 0000000..e0e5859 --- /dev/null +++ b/SubProject/FPJ0000/EBoard/fEboardData.Designer.cs @@ -0,0 +1,1265 @@ +namespace FPJ0000 +{ + partial class fEboardData + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.Label nameLabel; + System.Windows.Forms.Label reqstaffLabel; + System.Windows.Forms.Label userManagerLabel; + System.Windows.Forms.Label costoLabel; + System.Windows.Forms.Label costnLabel; + System.Windows.Forms.Label costeLabel; + System.Windows.Forms.Label cntLabel; + System.Windows.Forms.Label assetLabel; + System.Windows.Forms.Label label1; + System.Windows.Forms.Label label2; + System.Windows.Forms.Label label3; + System.Windows.Forms.Label label4; + System.Windows.Forms.Label label6; + System.Windows.Forms.Label label9; + System.Windows.Forms.Label label5; + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fEboardData)); + this.tbIdx = new System.Windows.Forms.TextBox(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.dsPRJ = new FPJ0000.dsPRJ(); + this.nameTextBox = new System.Windows.Forms.TextBox(); + this.reqstaffTextBox = new System.Windows.Forms.TextBox(); + this.sdateTextBox = new System.Windows.Forms.TextBox(); + this.edateTextBox = new System.Windows.Forms.TextBox(); + this.userManagerTextBox = new System.Windows.Forms.TextBox(); + this.costoTextBox = new System.Windows.Forms.TextBox(); + this.costnTextBox = new System.Windows.Forms.TextBox(); + this.costeTextBox = new System.Windows.Forms.TextBox(); + this.cntTextBox = new System.Windows.Forms.TextBox(); + this.remark_reqTextBox = new System.Windows.Forms.TextBox(); + this.assetTextBox = new System.Windows.Forms.TextBox(); + this.bn = new System.Windows.Forms.BindingNavigator(this.components); + 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.btSave = new System.Windows.Forms.ToolStripButton(); + this.bsHistWeek = new System.Windows.Forms.BindingSource(this.components); + this.cmbProcess = new System.Windows.Forms.ComboBox(); + this.cmbState = new System.Windows.Forms.ComboBox(); + this.panel7 = new System.Windows.Forms.Panel(); + this.cmbPart = new System.Windows.Forms.ComboBox(); + this.arLabel1 = new arCtl.arLabel(); + this.panel1 = new System.Windows.Forms.Panel(); + this.cmbCate = new System.Windows.Forms.ComboBox(); + this.textBox4 = new System.Windows.Forms.TextBox(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.arLabel2 = new arCtl.arLabel(); + this.panel5 = new System.Windows.Forms.Panel(); + this.arLabel3 = new arCtl.arLabel(); + this.panel2 = new System.Windows.Forms.Panel(); + this.linkLabel4 = new System.Windows.Forms.LinkLabel(); + this.linkLabel2 = new System.Windows.Forms.LinkLabel(); + this.arLabel4 = new arCtl.arLabel(); + this.panel3 = new System.Windows.Forms.Panel(); + this.arLabel5 = new arCtl.arLabel(); + this.arLabel6 = new arCtl.arLabel(); + this.arPanel1 = new arCtl.arPanel(); + this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); + this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager(); + this.bsSchedule = new System.Windows.Forms.BindingSource(this.components); + this.taHist = new FPJ0000.dsPRJTableAdapters.ProjectsHistoryTableAdapter(); + this.taSchedule = new FPJ0000.dsPRJTableAdapters.ProjectsScheduleTableAdapter(); + this.tabControl1 = new System.Windows.Forms.TabControl(); + this.tabPage1 = new System.Windows.Forms.TabPage(); + this.arPanel2 = new arCtl.arPanel(); + this.textBox6 = new System.Windows.Forms.TextBox(); + this.arLabel7 = new arCtl.arLabel(); + this.bsTodo = new System.Windows.Forms.BindingSource(this.components); + this.bsHistDay = new System.Windows.Forms.BindingSource(this.components); + this.taHistD = new FPJ0000.dsPRJTableAdapters.EETGW_ProjecthistoryDTableAdapter(); + this.taToDo = new FPJ0000.dsPRJTableAdapters.EETGW_ProjectToDoTableAdapter(); + nameLabel = new System.Windows.Forms.Label(); + reqstaffLabel = new System.Windows.Forms.Label(); + userManagerLabel = new System.Windows.Forms.Label(); + costoLabel = new System.Windows.Forms.Label(); + costnLabel = new System.Windows.Forms.Label(); + costeLabel = new System.Windows.Forms.Label(); + cntLabel = new System.Windows.Forms.Label(); + assetLabel = new System.Windows.Forms.Label(); + label1 = new System.Windows.Forms.Label(); + label2 = new System.Windows.Forms.Label(); + label3 = new System.Windows.Forms.Label(); + label4 = new System.Windows.Forms.Label(); + label6 = new System.Windows.Forms.Label(); + label9 = new System.Windows.Forms.Label(); + label5 = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); + this.bn.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bsHistWeek)).BeginInit(); + this.panel7.SuspendLayout(); + this.panel1.SuspendLayout(); + this.panel5.SuspendLayout(); + this.panel2.SuspendLayout(); + this.panel3.SuspendLayout(); + this.arPanel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bsSchedule)).BeginInit(); + this.tabControl1.SuspendLayout(); + this.tabPage1.SuspendLayout(); + this.arPanel2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bsTodo)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bsHistDay)).BeginInit(); + this.SuspendLayout(); + // + // nameLabel + // + nameLabel.AutoSize = true; + nameLabel.Location = new System.Drawing.Point(32, 34); + nameLabel.Name = "nameLabel"; + nameLabel.Size = new System.Drawing.Size(53, 12); + nameLabel.TabIndex = 0; + nameLabel.Text = "프로젝트"; + // + // reqstaffLabel + // + reqstaffLabel.AutoSize = true; + reqstaffLabel.Location = new System.Drawing.Point(378, 36); + reqstaffLabel.Name = "reqstaffLabel"; + reqstaffLabel.Size = new System.Drawing.Size(29, 12); + reqstaffLabel.TabIndex = 8; + reqstaffLabel.Text = "담당"; + // + // userManagerLabel + // + userManagerLabel.AutoSize = true; + userManagerLabel.Font = new System.Drawing.Font("맑은 고딕", 12F); + userManagerLabel.Location = new System.Drawing.Point(9, 33); + userManagerLabel.Name = "userManagerLabel"; + userManagerLabel.Size = new System.Drawing.Size(84, 21); + userManagerLabel.TabIndex = 32; + userManagerLabel.Text = "Champion"; + // + // costoLabel + // + costoLabel.AutoSize = true; + costoLabel.Location = new System.Drawing.Point(189, 36); + costoLabel.Name = "costoLabel"; + costoLabel.Size = new System.Drawing.Size(66, 12); + costoLabel.TabIndex = 40; + costoLabel.Text = "- Input($K)"; + // + // costnLabel + // + costnLabel.AutoSize = true; + costnLabel.Location = new System.Drawing.Point(23, 36); + costnLabel.Name = "costnLabel"; + costnLabel.Size = new System.Drawing.Size(62, 12); + costnLabel.TabIndex = 42; + costnLabel.Text = "Origin($K)"; + // + // costeLabel + // + costeLabel.AutoSize = true; + costeLabel.Location = new System.Drawing.Point(355, 36); + costeLabel.Name = "costeLabel"; + costeLabel.Size = new System.Drawing.Size(70, 12); + costeLabel.TabIndex = 44; + costeLabel.Text = "= Effect($K)"; + // + // cntLabel + // + cntLabel.AutoSize = true; + cntLabel.Location = new System.Drawing.Point(56, 64); + cntLabel.Name = "cntLabel"; + cntLabel.Size = new System.Drawing.Size(29, 12); + cntLabel.TabIndex = 46; + cntLabel.Text = "수량"; + // + // assetLabel + // + assetLabel.AutoSize = true; + assetLabel.Location = new System.Drawing.Point(24, 61); + assetLabel.Name = "assetLabel"; + assetLabel.Size = new System.Drawing.Size(61, 12); + assetLabel.TabIndex = 2; + assetLabel.Text = "Asset No."; + // + // label1 + // + label1.AutoSize = true; + label1.Location = new System.Drawing.Point(205, 36); + label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(29, 12); + label1.TabIndex = 67; + label1.Text = "공정"; + // + // label2 + // + label2.AutoSize = true; + label2.Location = new System.Drawing.Point(377, 61); + label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label2.Name = "label2"; + label2.Size = new System.Drawing.Size(29, 12); + label2.TabIndex = 4; + label2.Text = "상태"; + // + // label3 + // + label3.AutoSize = true; + label3.Location = new System.Drawing.Point(382, 89); + label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label3.Name = "label3"; + label3.Size = new System.Drawing.Size(24, 12); + label3.TabIndex = 8; + label3.Text = "IDX"; + // + // label4 + // + label4.AutoSize = true; + label4.Location = new System.Drawing.Point(56, 89); + label4.Name = "label4"; + label4.Size = new System.Drawing.Size(29, 12); + label4.TabIndex = 6; + label4.Text = "비고"; + // + // label6 + // + label6.AutoSize = true; + label6.Location = new System.Drawing.Point(56, 36); + label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label6.Name = "label6"; + label6.Size = new System.Drawing.Size(29, 12); + label6.TabIndex = 87; + label6.Text = "파트"; + // + // label9 + // + label9.AutoSize = true; + label9.Location = new System.Drawing.Point(356, 118); + label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label9.Name = "label9"; + label9.Size = new System.Drawing.Size(50, 12); + label9.TabIndex = 12; + label9.Text = "CR/CF#"; + // + // label5 + // + label5.AutoSize = true; + label5.Location = new System.Drawing.Point(212, 89); + label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label5.Name = "label5"; + label5.Size = new System.Drawing.Size(29, 12); + label5.TabIndex = 88; + label5.Text = "분류"; + // + // tbIdx + // + this.tbIdx.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "idx", true)); + this.tbIdx.Location = new System.Drawing.Point(413, 85); + this.tbIdx.Name = "tbIdx"; + this.tbIdx.ReadOnly = true; + this.tbIdx.Size = new System.Drawing.Size(127, 21); + this.tbIdx.TabIndex = 9; + this.tbIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // bs + // + this.bs.DataMember = "Projects"; + this.bs.DataSource = this.dsPRJ; + this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); + // + // dsPRJ + // + this.dsPRJ.DataSetName = "dsPRJ"; + this.dsPRJ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // nameTextBox + // + this.nameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "name", true)); + this.nameTextBox.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.nameTextBox.Location = new System.Drawing.Point(93, 30); + this.nameTextBox.Name = "nameTextBox"; + this.nameTextBox.Size = new System.Drawing.Size(447, 21); + this.nameTextBox.TabIndex = 1; + // + // reqstaffTextBox + // + this.reqstaffTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "reqstaff", true)); + this.reqstaffTextBox.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.reqstaffTextBox.Location = new System.Drawing.Point(425, 32); + this.reqstaffTextBox.Name = "reqstaffTextBox"; + this.reqstaffTextBox.Size = new System.Drawing.Size(113, 21); + this.reqstaffTextBox.TabIndex = 9; + // + // sdateTextBox + // + this.sdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "sdate", true)); + this.sdateTextBox.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.sdateTextBox.Location = new System.Drawing.Point(67, 31); + this.sdateTextBox.Name = "sdateTextBox"; + this.sdateTextBox.Size = new System.Drawing.Size(190, 21); + this.sdateTextBox.TabIndex = 11; + // + // edateTextBox + // + this.edateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "edate", true)); + this.edateTextBox.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.edateTextBox.Location = new System.Drawing.Point(334, 31); + this.edateTextBox.Name = "edateTextBox"; + this.edateTextBox.Size = new System.Drawing.Size(190, 21); + this.edateTextBox.TabIndex = 13; + // + // userManagerTextBox + // + this.userManagerTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "userManager", true)); + this.userManagerTextBox.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.userManagerTextBox.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.userManagerTextBox.Location = new System.Drawing.Point(98, 30); + this.userManagerTextBox.Name = "userManagerTextBox"; + this.userManagerTextBox.Size = new System.Drawing.Size(440, 29); + this.userManagerTextBox.TabIndex = 33; + // + // costoTextBox + // + this.costoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "costn", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N2")); + this.costoTextBox.Location = new System.Drawing.Point(261, 32); + this.costoTextBox.Name = "costoTextBox"; + this.costoTextBox.Size = new System.Drawing.Size(88, 21); + this.costoTextBox.TabIndex = 41; + this.costoTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // costnTextBox + // + this.costnTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "costo", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N2")); + this.costnTextBox.Location = new System.Drawing.Point(93, 32); + this.costnTextBox.Name = "costnTextBox"; + this.costnTextBox.Size = new System.Drawing.Size(88, 21); + this.costnTextBox.TabIndex = 43; + this.costnTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // costeTextBox + // + this.costeTextBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); + this.costeTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "coste", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N2")); + this.costeTextBox.Location = new System.Drawing.Point(434, 32); + this.costeTextBox.Name = "costeTextBox"; + this.costeTextBox.Size = new System.Drawing.Size(88, 21); + this.costeTextBox.TabIndex = 45; + this.costeTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // cntTextBox + // + this.cntTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cnt", true)); + this.cntTextBox.Location = new System.Drawing.Point(93, 59); + this.cntTextBox.Name = "cntTextBox"; + this.cntTextBox.Size = new System.Drawing.Size(88, 21); + this.cntTextBox.TabIndex = 47; + this.cntTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // remark_reqTextBox + // + this.remark_reqTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.remark_reqTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "remark_req", true)); + this.remark_reqTextBox.Dock = System.Windows.Forms.DockStyle.Fill; + this.remark_reqTextBox.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.remark_reqTextBox.Location = new System.Drawing.Point(1, 24); + this.remark_reqTextBox.Multiline = true; + this.remark_reqTextBox.Name = "remark_reqTextBox"; + this.remark_reqTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both; + this.remark_reqTextBox.Size = new System.Drawing.Size(453, 215); + this.remark_reqTextBox.TabIndex = 49; + // + // assetTextBox + // + this.assetTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "asset", true)); + this.assetTextBox.Location = new System.Drawing.Point(93, 57); + this.assetTextBox.Name = "assetTextBox"; + this.assetTextBox.Size = new System.Drawing.Size(256, 21); + this.assetTextBox.TabIndex = 3; + // + // bn + // + this.bn.AddNewItem = null; + this.bn.BindingSource = this.bs; + this.bn.CountItem = this.bindingNavigatorCountItem; + this.bn.DeleteItem = null; + this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bindingNavigatorMoveFirstItem, + this.bindingNavigatorMovePreviousItem, + this.bindingNavigatorSeparator, + this.bindingNavigatorPositionItem, + this.bindingNavigatorCountItem, + this.bindingNavigatorSeparator1, + this.bindingNavigatorMoveNextItem, + this.bindingNavigatorMoveLastItem, + this.bindingNavigatorSeparator2, + this.btSave}); + this.bn.Location = new System.Drawing.Point(0, 523); + 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(1026, 25); + this.bn.TabIndex = 65; + this.bn.Text = "bindingNavigator1"; + // + // bindingNavigatorCountItem + // + this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; + this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); + 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(23, 22); + this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; + // + // bindingNavigatorMovePreviousItem + // + this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); + this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; + this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorPositionItem + // + this.bindingNavigatorPositionItem.AccessibleName = "위치"; + this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.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, 25); + // + // bindingNavigatorMoveNextItem + // + this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); + this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; + this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; + // + // bindingNavigatorMoveLastItem + // + this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); + this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; + this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); + // + // btSave + // + this.btSave.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.btSave.Image = ((System.Drawing.Image)(resources.GetObject("btSave.Image"))); + this.btSave.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btSave.Name = "btSave"; + this.btSave.Size = new System.Drawing.Size(66, 22); + this.btSave.Text = "확인(&S)"; + this.btSave.Click += new System.EventHandler(this.btSave_Click); + // + // bsHistWeek + // + this.bsHistWeek.DataMember = "ProjectsHistory"; + this.bsHistWeek.DataSource = this.dsPRJ; + // + // cmbProcess + // + this.cmbProcess.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cmbProcess.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cmbProcess.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.cmbProcess.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbProcess.FormattingEnabled = true; + this.cmbProcess.Location = new System.Drawing.Point(242, 32); + this.cmbProcess.Margin = new System.Windows.Forms.Padding(4); + this.cmbProcess.Name = "cmbProcess"; + this.cmbProcess.Size = new System.Drawing.Size(128, 20); + this.cmbProcess.TabIndex = 68; + // + // cmbState + // + this.cmbState.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cmbState.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cmbState.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.cmbState.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbState.FormattingEnabled = true; + this.cmbState.Location = new System.Drawing.Point(413, 57); + this.cmbState.Margin = new System.Windows.Forms.Padding(4); + this.cmbState.Name = "cmbState"; + this.cmbState.Size = new System.Drawing.Size(127, 20); + this.cmbState.TabIndex = 5; + // + // panel7 + // + this.panel7.BackColor = System.Drawing.Color.Gainsboro; + this.panel7.Controls.Add(this.cmbPart); + this.panel7.Controls.Add(label6); + this.panel7.Controls.Add(this.arLabel1); + this.panel7.Controls.Add(this.reqstaffTextBox); + this.panel7.Controls.Add(reqstaffLabel); + this.panel7.Controls.Add(this.cmbProcess); + this.panel7.Controls.Add(label1); + this.panel7.Location = new System.Drawing.Point(6, 182); + this.panel7.Name = "panel7"; + this.panel7.Size = new System.Drawing.Size(547, 64); + this.panel7.TabIndex = 85; + // + // cmbPart + // + this.cmbPart.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cmbPart.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cmbPart.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.cmbPart.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbPart.FormattingEnabled = true; + this.cmbPart.Location = new System.Drawing.Point(93, 32); + this.cmbPart.Margin = new System.Windows.Forms.Padding(4); + this.cmbPart.Name = "cmbPart"; + this.cmbPart.Size = new System.Drawing.Size(102, 20); + this.cmbPart.TabIndex = 88; + // + // arLabel1 + // + this.arLabel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(229)))), ((int)(((byte)(231))))); + this.arLabel1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(207)))), ((int)(((byte)(209))))); + this.arLabel1.BackgroundImagePadding = new System.Windows.Forms.Padding(0); + this.arLabel1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194))))); + this.arLabel1.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194))))); + this.arLabel1.BorderSize = new System.Windows.Forms.Padding(1); + this.arLabel1.ColorTheme = arCtl.arLabel.eColorTheme.Custom; + this.arLabel1.Cursor = System.Windows.Forms.Cursors.Arrow; + this.arLabel1.Dock = System.Windows.Forms.DockStyle.Top; + this.arLabel1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.arLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85))))); + this.arLabel1.GradientEnable = true; + this.arLabel1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + this.arLabel1.GradientRepeatBG = false; + this.arLabel1.isButton = false; + this.arLabel1.Location = new System.Drawing.Point(0, 0); + this.arLabel1.MouseDownColor = System.Drawing.Color.Yellow; + this.arLabel1.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.arLabel1.msg = null; + this.arLabel1.Name = "arLabel1"; + this.arLabel1.ProgressBorderColor = System.Drawing.Color.Black; + this.arLabel1.ProgressColor1 = System.Drawing.Color.LightSkyBlue; + this.arLabel1.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; + this.arLabel1.ProgressEnable = false; + this.arLabel1.ProgressFont = new System.Drawing.Font("Consolas", 10F); + this.arLabel1.ProgressForeColor = System.Drawing.Color.Black; + this.arLabel1.ProgressMax = 100F; + this.arLabel1.ProgressMin = 0F; + this.arLabel1.ProgressPadding = new System.Windows.Forms.Padding(0); + this.arLabel1.ProgressValue = 0F; + this.arLabel1.ShadowColor = System.Drawing.Color.WhiteSmoke; + this.arLabel1.Sign = ""; + this.arLabel1.SignAlign = System.Drawing.ContentAlignment.BottomRight; + this.arLabel1.SignColor = System.Drawing.Color.Yellow; + this.arLabel1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); + this.arLabel1.Size = new System.Drawing.Size(547, 23); + this.arLabel1.TabIndex = 86; + this.arLabel1.Text = "요청자"; + this.arLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.arLabel1.TextShadow = true; + this.arLabel1.TextVisible = true; + // + // panel1 + // + this.panel1.BackColor = System.Drawing.Color.Gainsboro; + this.panel1.Controls.Add(this.cmbCate); + this.panel1.Controls.Add(label5); + this.panel1.Controls.Add(label9); + this.panel1.Controls.Add(this.textBox4); + this.panel1.Controls.Add(this.textBox2); + this.panel1.Controls.Add(label4); + this.panel1.Controls.Add(this.cmbState); + this.panel1.Controls.Add(this.assetTextBox); + this.panel1.Controls.Add(this.arLabel2); + this.panel1.Controls.Add(assetLabel); + this.panel1.Controls.Add(label3); + this.panel1.Controls.Add(this.nameTextBox); + this.panel1.Controls.Add(label2); + this.panel1.Controls.Add(nameLabel); + this.panel1.Controls.Add(this.tbIdx); + this.panel1.Location = new System.Drawing.Point(6, 6); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(547, 169); + this.panel1.TabIndex = 86; + // + // cmbCate + // + this.cmbCate.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cmbCate.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cmbCate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.cmbCate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbCate.FormattingEnabled = true; + this.cmbCate.Location = new System.Drawing.Point(246, 85); + this.cmbCate.Margin = new System.Windows.Forms.Padding(4); + this.cmbCate.Name = "cmbCate"; + this.cmbCate.Size = new System.Drawing.Size(103, 20); + this.cmbCate.TabIndex = 89; + // + // textBox4 + // + this.textBox4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "orderno", true)); + this.textBox4.Location = new System.Drawing.Point(413, 114); + this.textBox4.Name = "textBox4"; + this.textBox4.Size = new System.Drawing.Size(127, 21); + this.textBox4.TabIndex = 13; + this.textBox4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // textBox2 + // + this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true)); + this.textBox2.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.textBox2.Location = new System.Drawing.Point(93, 85); + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(113, 21); + this.textBox2.TabIndex = 7; + // + // arLabel2 + // + this.arLabel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(229)))), ((int)(((byte)(231))))); + this.arLabel2.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(207)))), ((int)(((byte)(209))))); + this.arLabel2.BackgroundImagePadding = new System.Windows.Forms.Padding(0); + this.arLabel2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194))))); + this.arLabel2.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194))))); + this.arLabel2.BorderSize = new System.Windows.Forms.Padding(1); + this.arLabel2.ColorTheme = arCtl.arLabel.eColorTheme.Custom; + this.arLabel2.Cursor = System.Windows.Forms.Cursors.Arrow; + this.arLabel2.Dock = System.Windows.Forms.DockStyle.Top; + this.arLabel2.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.arLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85))))); + this.arLabel2.GradientEnable = true; + this.arLabel2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + this.arLabel2.GradientRepeatBG = false; + this.arLabel2.isButton = false; + this.arLabel2.Location = new System.Drawing.Point(0, 0); + this.arLabel2.MouseDownColor = System.Drawing.Color.Yellow; + this.arLabel2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.arLabel2.msg = null; + this.arLabel2.Name = "arLabel2"; + this.arLabel2.ProgressBorderColor = System.Drawing.Color.Black; + this.arLabel2.ProgressColor1 = System.Drawing.Color.LightSkyBlue; + this.arLabel2.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; + this.arLabel2.ProgressEnable = false; + this.arLabel2.ProgressFont = new System.Drawing.Font("Consolas", 10F); + this.arLabel2.ProgressForeColor = System.Drawing.Color.Black; + this.arLabel2.ProgressMax = 100F; + this.arLabel2.ProgressMin = 0F; + this.arLabel2.ProgressPadding = new System.Windows.Forms.Padding(0); + this.arLabel2.ProgressValue = 0F; + this.arLabel2.ShadowColor = System.Drawing.Color.WhiteSmoke; + this.arLabel2.Sign = ""; + this.arLabel2.SignAlign = System.Drawing.ContentAlignment.BottomRight; + this.arLabel2.SignColor = System.Drawing.Color.Yellow; + this.arLabel2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); + this.arLabel2.Size = new System.Drawing.Size(547, 23); + this.arLabel2.TabIndex = 86; + this.arLabel2.Text = "프로젝트"; + this.arLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.arLabel2.TextShadow = true; + this.arLabel2.TextVisible = true; + // + // panel5 + // + this.panel5.BackColor = System.Drawing.Color.Gainsboro; + this.panel5.Controls.Add(this.arLabel3); + this.panel5.Controls.Add(userManagerLabel); + this.panel5.Controls.Add(this.userManagerTextBox); + this.panel5.Location = new System.Drawing.Point(6, 252); + this.panel5.Name = "panel5"; + this.panel5.Size = new System.Drawing.Size(547, 72); + this.panel5.TabIndex = 85; + // + // arLabel3 + // + this.arLabel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(229)))), ((int)(((byte)(231))))); + this.arLabel3.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(207)))), ((int)(((byte)(209))))); + this.arLabel3.BackgroundImagePadding = new System.Windows.Forms.Padding(0); + this.arLabel3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194))))); + this.arLabel3.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194))))); + this.arLabel3.BorderSize = new System.Windows.Forms.Padding(1); + this.arLabel3.ColorTheme = arCtl.arLabel.eColorTheme.Custom; + this.arLabel3.Cursor = System.Windows.Forms.Cursors.Arrow; + this.arLabel3.Dock = System.Windows.Forms.DockStyle.Top; + this.arLabel3.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.arLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85))))); + this.arLabel3.GradientEnable = true; + this.arLabel3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + this.arLabel3.GradientRepeatBG = false; + this.arLabel3.isButton = false; + this.arLabel3.Location = new System.Drawing.Point(0, 0); + this.arLabel3.MouseDownColor = System.Drawing.Color.Yellow; + this.arLabel3.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.arLabel3.msg = null; + this.arLabel3.Name = "arLabel3"; + this.arLabel3.ProgressBorderColor = System.Drawing.Color.Black; + this.arLabel3.ProgressColor1 = System.Drawing.Color.LightSkyBlue; + this.arLabel3.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; + this.arLabel3.ProgressEnable = false; + this.arLabel3.ProgressFont = new System.Drawing.Font("Consolas", 10F); + this.arLabel3.ProgressForeColor = System.Drawing.Color.Black; + this.arLabel3.ProgressMax = 100F; + this.arLabel3.ProgressMin = 0F; + this.arLabel3.ProgressPadding = new System.Windows.Forms.Padding(0); + this.arLabel3.ProgressValue = 0F; + this.arLabel3.ShadowColor = System.Drawing.Color.WhiteSmoke; + this.arLabel3.Sign = ""; + this.arLabel3.SignAlign = System.Drawing.ContentAlignment.BottomRight; + this.arLabel3.SignColor = System.Drawing.Color.Yellow; + this.arLabel3.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); + this.arLabel3.Size = new System.Drawing.Size(547, 23); + this.arLabel3.TabIndex = 86; + this.arLabel3.Text = "담당자"; + this.arLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.arLabel3.TextShadow = true; + this.arLabel3.TextVisible = true; + // + // panel2 + // + this.panel2.BackColor = System.Drawing.Color.Gainsboro; + this.panel2.Controls.Add(this.linkLabel4); + this.panel2.Controls.Add(this.linkLabel2); + this.panel2.Controls.Add(this.arLabel4); + this.panel2.Controls.Add(this.sdateTextBox); + this.panel2.Controls.Add(this.edateTextBox); + this.panel2.Location = new System.Drawing.Point(6, 330); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(547, 62); + this.panel2.TabIndex = 86; + // + // linkLabel4 + // + this.linkLabel4.AutoSize = true; + this.linkLabel4.Location = new System.Drawing.Point(285, 35); + this.linkLabel4.Name = "linkLabel4"; + this.linkLabel4.Size = new System.Drawing.Size(41, 12); + this.linkLabel4.TabIndex = 89; + this.linkLabel4.TabStop = true; + this.linkLabel4.Text = "완료일"; + this.linkLabel4.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel4_LinkClicked); + // + // linkLabel2 + // + this.linkLabel2.AutoSize = true; + this.linkLabel2.Location = new System.Drawing.Point(21, 35); + this.linkLabel2.Name = "linkLabel2"; + this.linkLabel2.Size = new System.Drawing.Size(41, 12); + this.linkLabel2.TabIndex = 87; + this.linkLabel2.TabStop = true; + this.linkLabel2.Text = "시작일"; + this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked); + // + // arLabel4 + // + this.arLabel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(229)))), ((int)(((byte)(231))))); + this.arLabel4.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(207)))), ((int)(((byte)(209))))); + this.arLabel4.BackgroundImagePadding = new System.Windows.Forms.Padding(0); + this.arLabel4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194))))); + this.arLabel4.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194))))); + this.arLabel4.BorderSize = new System.Windows.Forms.Padding(1); + this.arLabel4.ColorTheme = arCtl.arLabel.eColorTheme.Custom; + this.arLabel4.Cursor = System.Windows.Forms.Cursors.Arrow; + this.arLabel4.Dock = System.Windows.Forms.DockStyle.Top; + this.arLabel4.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.arLabel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85))))); + this.arLabel4.GradientEnable = true; + this.arLabel4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + this.arLabel4.GradientRepeatBG = false; + this.arLabel4.isButton = false; + this.arLabel4.Location = new System.Drawing.Point(0, 0); + this.arLabel4.MouseDownColor = System.Drawing.Color.Yellow; + this.arLabel4.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.arLabel4.msg = null; + this.arLabel4.Name = "arLabel4"; + this.arLabel4.ProgressBorderColor = System.Drawing.Color.Black; + this.arLabel4.ProgressColor1 = System.Drawing.Color.LightSkyBlue; + this.arLabel4.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; + this.arLabel4.ProgressEnable = false; + this.arLabel4.ProgressFont = new System.Drawing.Font("Consolas", 10F); + this.arLabel4.ProgressForeColor = System.Drawing.Color.Black; + this.arLabel4.ProgressMax = 100F; + this.arLabel4.ProgressMin = 0F; + this.arLabel4.ProgressPadding = new System.Windows.Forms.Padding(0); + this.arLabel4.ProgressValue = 0F; + this.arLabel4.ShadowColor = System.Drawing.Color.WhiteSmoke; + this.arLabel4.Sign = ""; + this.arLabel4.SignAlign = System.Drawing.ContentAlignment.BottomRight; + this.arLabel4.SignColor = System.Drawing.Color.Yellow; + this.arLabel4.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); + this.arLabel4.Size = new System.Drawing.Size(547, 23); + this.arLabel4.TabIndex = 86; + this.arLabel4.Text = "일정"; + this.arLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.arLabel4.TextShadow = true; + this.arLabel4.TextVisible = true; + // + // panel3 + // + this.panel3.BackColor = System.Drawing.Color.Gainsboro; + this.panel3.Controls.Add(this.arLabel5); + this.panel3.Controls.Add(this.costeTextBox); + this.panel3.Controls.Add(this.cntTextBox); + this.panel3.Controls.Add(cntLabel); + this.panel3.Controls.Add(costeLabel); + this.panel3.Controls.Add(this.costnTextBox); + this.panel3.Controls.Add(costnLabel); + this.panel3.Controls.Add(this.costoTextBox); + this.panel3.Controls.Add(costoLabel); + this.panel3.Location = new System.Drawing.Point(6, 398); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(546, 93); + this.panel3.TabIndex = 86; + // + // arLabel5 + // + this.arLabel5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(229)))), ((int)(((byte)(231))))); + this.arLabel5.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(207)))), ((int)(((byte)(209))))); + this.arLabel5.BackgroundImagePadding = new System.Windows.Forms.Padding(0); + this.arLabel5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194))))); + this.arLabel5.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194))))); + this.arLabel5.BorderSize = new System.Windows.Forms.Padding(1); + this.arLabel5.ColorTheme = arCtl.arLabel.eColorTheme.Custom; + this.arLabel5.Cursor = System.Windows.Forms.Cursors.Arrow; + this.arLabel5.Dock = System.Windows.Forms.DockStyle.Top; + this.arLabel5.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.arLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85))))); + this.arLabel5.GradientEnable = true; + this.arLabel5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + this.arLabel5.GradientRepeatBG = false; + this.arLabel5.isButton = false; + this.arLabel5.Location = new System.Drawing.Point(0, 0); + this.arLabel5.MouseDownColor = System.Drawing.Color.Yellow; + this.arLabel5.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.arLabel5.msg = null; + this.arLabel5.Name = "arLabel5"; + this.arLabel5.ProgressBorderColor = System.Drawing.Color.Black; + this.arLabel5.ProgressColor1 = System.Drawing.Color.LightSkyBlue; + this.arLabel5.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; + this.arLabel5.ProgressEnable = false; + this.arLabel5.ProgressFont = new System.Drawing.Font("Consolas", 10F); + this.arLabel5.ProgressForeColor = System.Drawing.Color.Black; + this.arLabel5.ProgressMax = 100F; + this.arLabel5.ProgressMin = 0F; + this.arLabel5.ProgressPadding = new System.Windows.Forms.Padding(0); + this.arLabel5.ProgressValue = 0F; + this.arLabel5.ShadowColor = System.Drawing.Color.WhiteSmoke; + this.arLabel5.Sign = ""; + this.arLabel5.SignAlign = System.Drawing.ContentAlignment.BottomRight; + this.arLabel5.SignColor = System.Drawing.Color.Yellow; + this.arLabel5.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); + this.arLabel5.Size = new System.Drawing.Size(546, 23); + this.arLabel5.TabIndex = 86; + this.arLabel5.Text = "비용"; + this.arLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.arLabel5.TextShadow = true; + this.arLabel5.TextVisible = true; + // + // arLabel6 + // + this.arLabel6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(229)))), ((int)(((byte)(231))))); + this.arLabel6.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(207)))), ((int)(((byte)(209))))); + this.arLabel6.BackgroundImagePadding = new System.Windows.Forms.Padding(0); + this.arLabel6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194))))); + this.arLabel6.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194))))); + this.arLabel6.BorderSize = new System.Windows.Forms.Padding(0, 0, 0, 1); + this.arLabel6.ColorTheme = arCtl.arLabel.eColorTheme.Custom; + this.arLabel6.Cursor = System.Windows.Forms.Cursors.Arrow; + this.arLabel6.Dock = System.Windows.Forms.DockStyle.Top; + this.arLabel6.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.arLabel6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85))))); + this.arLabel6.GradientEnable = true; + this.arLabel6.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + this.arLabel6.GradientRepeatBG = false; + this.arLabel6.isButton = false; + this.arLabel6.Location = new System.Drawing.Point(1, 1); + this.arLabel6.MouseDownColor = System.Drawing.Color.Yellow; + this.arLabel6.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.arLabel6.msg = null; + this.arLabel6.Name = "arLabel6"; + this.arLabel6.ProgressBorderColor = System.Drawing.Color.Black; + this.arLabel6.ProgressColor1 = System.Drawing.Color.LightSkyBlue; + this.arLabel6.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; + this.arLabel6.ProgressEnable = false; + this.arLabel6.ProgressFont = new System.Drawing.Font("Consolas", 10F); + this.arLabel6.ProgressForeColor = System.Drawing.Color.Black; + this.arLabel6.ProgressMax = 100F; + this.arLabel6.ProgressMin = 0F; + this.arLabel6.ProgressPadding = new System.Windows.Forms.Padding(0); + this.arLabel6.ProgressValue = 0F; + this.arLabel6.ShadowColor = System.Drawing.Color.WhiteSmoke; + this.arLabel6.Sign = ""; + this.arLabel6.SignAlign = System.Drawing.ContentAlignment.BottomRight; + this.arLabel6.SignColor = System.Drawing.Color.Yellow; + this.arLabel6.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); + this.arLabel6.Size = new System.Drawing.Size(453, 23); + this.arLabel6.TabIndex = 86; + this.arLabel6.Text = "원인 / 증상 / 요청"; + this.arLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.arLabel6.TextShadow = true; + this.arLabel6.TextVisible = true; + // + // arPanel1 + // + this.arPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.arPanel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); + this.arPanel1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); + this.arPanel1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200))))); + this.arPanel1.BorderSize = new System.Windows.Forms.Padding(1); + this.arPanel1.Controls.Add(this.remark_reqTextBox); + this.arPanel1.Controls.Add(this.arLabel6); + this.arPanel1.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.arPanel1.ForeColor = System.Drawing.Color.Khaki; + this.arPanel1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + this.arPanel1.GradientRepeatBG = true; + this.arPanel1.Location = new System.Drawing.Point(559, 6); + this.arPanel1.Name = "arPanel1"; + this.arPanel1.Padding = new System.Windows.Forms.Padding(1); + this.arPanel1.ProgressColor1 = System.Drawing.Color.LightSkyBlue; + this.arPanel1.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; + this.arPanel1.ProgressMax = 100F; + this.arPanel1.ProgressMin = 0F; + this.arPanel1.ProgressPadding = new System.Windows.Forms.Padding(0); + this.arPanel1.ProgressValue = 0F; + this.arPanel1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); + this.arPanel1.ShowBorder = true; + this.arPanel1.Size = new System.Drawing.Size(455, 240); + this.arPanel1.TabIndex = 88; + this.arPanel1.Text = "arPanel1"; + this.arPanel1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.arPanel1.TextShadow = false; + this.arPanel1.UseProgressBar = false; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // tam + // + this.tam.BackupDataSetBeforeUpdate = false; + this.tam.EETGW_JobReport_AutoInputTableAdapter = null; + this.tam.EETGW_JobReport_EBoardTableAdapter = null; + this.tam.EETGW_NoteTableAdapter = null; + this.tam.EETGW_ProjecthistoryDTableAdapter = null; + this.tam.EETGW_ProjectToDoTableAdapter = null; + this.tam.EETGW_SaveCostTableAdapter = null; + this.tam.JobReportTableAdapter = null; + this.tam.ProjectPartStatusTableAdapter = null; + this.tam.ProjectsHistoryTableAdapter = null; + this.tam.ProjectsIOMapTableAdapter = null; + this.tam.ProjectsMailListTableAdapter = null; + this.tam.ProjectsPartTableAdapter = null; + this.tam.ProjectsScheduleTableAdapter = null; + this.tam.ProjectsTableAdapter = this.ta; + this.tam.SPMasterTableAdapter = null; + this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + // + // bsSchedule + // + this.bsSchedule.DataMember = "ProjectsSchedule"; + this.bsSchedule.DataSource = this.dsPRJ; + // + // taHist + // + this.taHist.ClearBeforeFill = true; + // + // taSchedule + // + this.taSchedule.ClearBeforeFill = true; + // + // tabControl1 + // + this.tabControl1.Controls.Add(this.tabPage1); + this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControl1.Location = new System.Drawing.Point(0, 0); + this.tabControl1.Name = "tabControl1"; + this.tabControl1.SelectedIndex = 0; + this.tabControl1.Size = new System.Drawing.Size(1026, 523); + this.tabControl1.TabIndex = 93; + // + // tabPage1 + // + this.tabPage1.Controls.Add(this.arPanel2); + this.tabPage1.Controls.Add(this.panel1); + this.tabPage1.Controls.Add(this.panel7); + this.tabPage1.Controls.Add(this.arPanel1); + this.tabPage1.Controls.Add(this.panel5); + this.tabPage1.Controls.Add(this.panel3); + this.tabPage1.Controls.Add(this.panel2); + this.tabPage1.Location = new System.Drawing.Point(4, 22); + this.tabPage1.Name = "tabPage1"; + this.tabPage1.Padding = new System.Windows.Forms.Padding(3); + this.tabPage1.Size = new System.Drawing.Size(1018, 497); + this.tabPage1.TabIndex = 0; + this.tabPage1.Text = "일반사항"; + this.tabPage1.UseVisualStyleBackColor = true; + // + // arPanel2 + // + this.arPanel2.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.arPanel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); + this.arPanel2.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); + this.arPanel2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200))))); + this.arPanel2.BorderSize = new System.Windows.Forms.Padding(1); + this.arPanel2.Controls.Add(this.textBox6); + this.arPanel2.Controls.Add(this.arLabel7); + this.arPanel2.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.arPanel2.ForeColor = System.Drawing.Color.Khaki; + this.arPanel2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + this.arPanel2.GradientRepeatBG = true; + this.arPanel2.Location = new System.Drawing.Point(559, 252); + this.arPanel2.Name = "arPanel2"; + this.arPanel2.Padding = new System.Windows.Forms.Padding(1); + this.arPanel2.ProgressColor1 = System.Drawing.Color.LightSkyBlue; + this.arPanel2.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; + this.arPanel2.ProgressMax = 100F; + this.arPanel2.ProgressMin = 0F; + this.arPanel2.ProgressPadding = new System.Windows.Forms.Padding(0); + this.arPanel2.ProgressValue = 0F; + this.arPanel2.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); + this.arPanel2.ShowBorder = true; + this.arPanel2.Size = new System.Drawing.Size(455, 239); + this.arPanel2.TabIndex = 89; + this.arPanel2.Text = "arPanel2"; + this.arPanel2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.arPanel2.TextShadow = false; + this.arPanel2.UseProgressBar = false; + // + // textBox6 + // + this.textBox6.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox6.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "remark_ans", true)); + this.textBox6.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBox6.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.textBox6.Location = new System.Drawing.Point(1, 24); + this.textBox6.Multiline = true; + this.textBox6.Name = "textBox6"; + this.textBox6.ScrollBars = System.Windows.Forms.ScrollBars.Both; + this.textBox6.Size = new System.Drawing.Size(453, 214); + this.textBox6.TabIndex = 49; + // + // arLabel7 + // + this.arLabel7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(229)))), ((int)(((byte)(231))))); + this.arLabel7.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(207)))), ((int)(((byte)(209))))); + this.arLabel7.BackgroundImagePadding = new System.Windows.Forms.Padding(0); + this.arLabel7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194))))); + this.arLabel7.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194))))); + this.arLabel7.BorderSize = new System.Windows.Forms.Padding(0, 0, 0, 1); + this.arLabel7.ColorTheme = arCtl.arLabel.eColorTheme.Custom; + this.arLabel7.Cursor = System.Windows.Forms.Cursors.Arrow; + this.arLabel7.Dock = System.Windows.Forms.DockStyle.Top; + this.arLabel7.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.arLabel7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85))))); + this.arLabel7.GradientEnable = true; + this.arLabel7.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + this.arLabel7.GradientRepeatBG = false; + this.arLabel7.isButton = false; + this.arLabel7.Location = new System.Drawing.Point(1, 1); + this.arLabel7.MouseDownColor = System.Drawing.Color.Yellow; + this.arLabel7.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.arLabel7.msg = null; + this.arLabel7.Name = "arLabel7"; + this.arLabel7.ProgressBorderColor = System.Drawing.Color.Black; + this.arLabel7.ProgressColor1 = System.Drawing.Color.LightSkyBlue; + this.arLabel7.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; + this.arLabel7.ProgressEnable = false; + this.arLabel7.ProgressFont = new System.Drawing.Font("Consolas", 10F); + this.arLabel7.ProgressForeColor = System.Drawing.Color.Black; + this.arLabel7.ProgressMax = 100F; + this.arLabel7.ProgressMin = 0F; + this.arLabel7.ProgressPadding = new System.Windows.Forms.Padding(0); + this.arLabel7.ProgressValue = 0F; + this.arLabel7.ShadowColor = System.Drawing.Color.WhiteSmoke; + this.arLabel7.Sign = ""; + this.arLabel7.SignAlign = System.Drawing.ContentAlignment.BottomRight; + this.arLabel7.SignColor = System.Drawing.Color.Yellow; + this.arLabel7.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); + this.arLabel7.Size = new System.Drawing.Size(453, 23); + this.arLabel7.TabIndex = 86; + this.arLabel7.Text = "조치 내역"; + this.arLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.arLabel7.TextShadow = true; + this.arLabel7.TextVisible = true; + // + // bsTodo + // + this.bsTodo.DataMember = "EETGW_ProjectToDo"; + this.bsTodo.DataSource = this.dsPRJ; + this.bsTodo.Sort = "sort"; + // + // bsHistDay + // + this.bsHistDay.DataMember = "EETGW_ProjecthistoryD"; + this.bsHistDay.DataSource = this.dsPRJ; + // + // taHistD + // + this.taHistD.ClearBeforeFill = true; + // + // taToDo + // + this.taToDo.ClearBeforeFill = true; + // + // fEboardData + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1026, 548); + this.Controls.Add(this.tabControl1); + this.Controls.Add(this.bn); + this.MinimizeBox = false; + this.Name = "fEboardData"; + this.Text = "전자실 업무 내역 편집"; + this.Load += new System.EventHandler(this.fProjectData_Load); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); + this.bn.ResumeLayout(false); + this.bn.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bsHistWeek)).EndInit(); + this.panel7.ResumeLayout(false); + this.panel7.PerformLayout(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.panel5.ResumeLayout(false); + this.panel5.PerformLayout(); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.panel3.ResumeLayout(false); + this.panel3.PerformLayout(); + this.arPanel1.ResumeLayout(false); + this.arPanel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bsSchedule)).EndInit(); + this.tabControl1.ResumeLayout(false); + this.tabPage1.ResumeLayout(false); + this.arPanel2.ResumeLayout(false); + this.arPanel2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bsTodo)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bsHistDay)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private dsPRJ dsPRJ; + private System.Windows.Forms.BindingSource bs; + private dsPRJTableAdapters.ProjectsTableAdapter ta; + private dsPRJTableAdapters.TableAdapterManager tam; + private System.Windows.Forms.TextBox tbIdx; + private System.Windows.Forms.TextBox nameTextBox; + private System.Windows.Forms.TextBox reqstaffTextBox; + private System.Windows.Forms.TextBox sdateTextBox; + private System.Windows.Forms.TextBox edateTextBox; + private System.Windows.Forms.TextBox userManagerTextBox; + private System.Windows.Forms.TextBox costoTextBox; + private System.Windows.Forms.TextBox costnTextBox; + private System.Windows.Forms.TextBox costeTextBox; + private System.Windows.Forms.TextBox cntTextBox; + private System.Windows.Forms.TextBox remark_reqTextBox; + private System.Windows.Forms.TextBox assetTextBox; + private System.Windows.Forms.BindingNavigator bn; + private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; + private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; + private System.Windows.Forms.ToolStripButton btSave; + private dsPRJTableAdapters.ProjectsHistoryTableAdapter taHist; + private System.Windows.Forms.BindingSource bsSchedule; + private dsPRJTableAdapters.ProjectsScheduleTableAdapter taSchedule; + private System.Windows.Forms.BindingSource bsHistWeek; + private System.Windows.Forms.ComboBox cmbProcess; + private System.Windows.Forms.ComboBox cmbState; + private System.Windows.Forms.Panel panel7; + private arCtl.arLabel arLabel1; + private System.Windows.Forms.Panel panel1; + private arCtl.arLabel arLabel2; + private System.Windows.Forms.Panel panel5; + private arCtl.arLabel arLabel3; + private System.Windows.Forms.Panel panel2; + private arCtl.arLabel arLabel4; + private System.Windows.Forms.Panel panel3; + private arCtl.arLabel arLabel5; + private arCtl.arLabel arLabel6; + private arCtl.arPanel arPanel1; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.ComboBox cmbPart; + private System.Windows.Forms.TextBox textBox4; + private System.Windows.Forms.ComboBox cmbCate; + private System.Windows.Forms.LinkLabel linkLabel2; + private System.Windows.Forms.LinkLabel linkLabel4; + private System.Windows.Forms.TabControl tabControl1; + private System.Windows.Forms.TabPage tabPage1; + private System.Windows.Forms.BindingSource bsHistDay; + private dsPRJTableAdapters.EETGW_ProjecthistoryDTableAdapter taHistD; + private System.Windows.Forms.BindingSource bsTodo; + private dsPRJTableAdapters.EETGW_ProjectToDoTableAdapter taToDo; + private arCtl.arPanel arPanel2; + private System.Windows.Forms.TextBox textBox6; + private arCtl.arLabel arLabel7; + } +} \ No newline at end of file diff --git a/SubProject/FPJ0000/EBoard/fEboardData.cs b/SubProject/FPJ0000/EBoard/fEboardData.cs new file mode 100644 index 0000000..be5b931 --- /dev/null +++ b/SubProject/FPJ0000/EBoard/fEboardData.cs @@ -0,0 +1,175 @@ +using System; +using System.Collections.Generic; +using System.Data; +using System.Linq; +using System.Windows.Forms; + +namespace FPJ0000 +{ + public partial class fEboardData : FCOMMON.fBase + { + dsPRJ.ProjectsRow dr = null; + public fEboardData(dsPRJ.ProjectsRow pidx_) + { + InitializeComponent(); + this.UseFormSetting = false; + this.dr = pidx_; + this.dsPRJ.ProjectsHistory.TableNewRow += ProjectsHistory_TableNewRow; + } + + void ProjectsHistory_TableNewRow(object sender, DataTableNewRowEventArgs e) + { + e.Row["wuid"] = FCOMMON.info.Login.no; + e.Row["wdate"] = DateTime.Now; + e.Row["pidx"] = this.dr.idx; + e.Row["div"] = ""; + e.Row["remark"] = string.Empty; + e.Row["pdate"] = DateTime.Now.ToShortDateString(); + } + private void fProjectData_Load(object sender, EventArgs e) + { + //상태 + var dt_eetproc = FCOMMON.DBM.getCodeTable("10"); + this.cmbProcess.DisplayMember = "Value"; + this.cmbProcess.ValueMember = "Value"; + this.cmbProcess.DataSource = dt_eetproc; + + //분류 - 190903 + var dt_cate = FCOMMON.DBM.getCodeTable("20", "code"); + this.cmbCate.DisplayMember = "Value"; + this.cmbCate.ValueMember = "Value"; + this.cmbCate.DataSource = dt_cate; + + //공정 + var dt_status = FCOMMON.DBM.getCodeTable("01"); + this.cmbState.DisplayMember = "Value"; + this.cmbState.ValueMember = "Value"; + this.cmbState.DataSource = dt_status; + + //파트 + var dt_part = FCOMMON.DBM.getCodeTable("11"); + this.cmbPart.DisplayMember = "Value"; + this.cmbPart.ValueMember = "Value"; + this.cmbPart.DataSource = dt_part; + + this.bs.DataSource = dr; + + + //주간일지내역을 업데이트 + refresh_History(); + + //일업무현황 업데이트 + this.taHistD.Fill(this.dsPRJ.EETGW_ProjecthistoryD, this.dr.idx); + //todo 업데이트 + refreshTodo(); + try + { + if (dr.idx >= 0) + this.taSchedule.Fill(this.dsPRJ.ProjectsSchedule, this.dr.idx); + + + + } + catch (System.Exception ex) + { + + + System.Windows.Forms.MessageBox.Show(ex.Message); + } + this.cmbProcess.Text = dr.process; + this.cmbState.Text = dr.status; + this.cmbPart.Text = dr.part; + this.cmbCate.Text = dr.category; + + } + + + private void btSave_Click(object sender, EventArgs e) + { + this.dr.process = cmbProcess.Text; + this.dr.status = cmbState.Text; + this.dr.part = cmbPart.Text; + this.dr.category = cmbCate.Text; + + + this.Validate(); + this.bs.EndEdit(); + this.bsHistWeek.EndEdit(); + this.bsHistDay.EndEdit(); + this.bsTodo.EndEdit(); + this.taToDo.Update(this.dsPRJ.EETGW_ProjectToDo); + this.taHist.Update(this.dsPRJ.ProjectsHistory); + this.taHistD.Update(this.dsPRJ.EETGW_ProjecthistoryD); + this.DialogResult = System.Windows.Forms.DialogResult.OK; + //this.tableAdapterManager.UpdateAll(this.dsPRJ); + } + + + + void refresh_History() + { + try + { + if (dr.idx >= 0) + this.taHist.Fill(this.dsPRJ.ProjectsHistory, this.dr.idx); + } + catch (System.Exception ex) + { + System.Windows.Forms.MessageBox.Show(ex.Message); + } + } + + + void SelectDate(TextBox ctl) + { + DateTime dt; + var dateStr = ctl.Text.Trim(); + if (dateStr == "") dateStr = DateTime.Now.ToShortDateString(); + else + { + if (DateTime.TryParse(dateStr, out dt)) dateStr = dt.ToShortDateString(); + else + { + FCOMMON.Util.MsgE("날짜 형식으로 변환할 수 없는 문자열 입니다.\n" + + "기준일자가 금일로 변경 됩니다"); + dateStr = DateTime.Now.ToShortDateString(); + } + } + dt = DateTime.Parse(dateStr); + var f = new FCOMMON.fSelectDay(dt); + if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + ctl.Text = f.dtPick.SelectionStart.ToShortDateString(); + } + } + private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + SelectDate(sdateTextBox); + } + + + + private void linkLabel4_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + SelectDate(edateTextBox); + } + + + + private void bs_CurrentChanged(object sender, EventArgs e) + { + + } + + + + void refreshTodo() + { + taToDo.Fill(this.dsPRJ.EETGW_ProjectToDo, this.dr.idx); + } + + + + + } +} diff --git a/SubProject/FPJ0000/EBoard/fEboardData.resx b/SubProject/FPJ0000/EBoard/fEboardData.resx new file mode 100644 index 0000000..b3d33d2 --- /dev/null +++ b/SubProject/FPJ0000/EBoard/fEboardData.resx @@ -0,0 +1,266 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + 100, 17 + + + 100, 17 + + + 17, 17 + + + 17, 17 + + + 299, 17 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 + wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 + v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg + UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA + Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu + lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w + 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f + Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ + 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI + N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f + oAc0QjgAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// + h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B + twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA + kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG + WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 + 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + + 449, 17 + + + 164, 17 + + + 226, 17 + + + 545, 17 + + + 365, 17 + + + 660, 17 + + + 173, 56 + + + 929, 17 + + + 1068, 17 + + + 266, 56 + + \ No newline at end of file diff --git a/SubProject/FPJ0000/EBoard/fEboardList.Designer.cs b/SubProject/FPJ0000/EBoard/fEboardList.Designer.cs new file mode 100644 index 0000000..ca52f91 --- /dev/null +++ b/SubProject/FPJ0000/EBoard/fEboardList.Designer.cs @@ -0,0 +1,1227 @@ +namespace FPJ0000 +{ + partial class fEboardList + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fEboardList)); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType31 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType61 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType62 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType63 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType64 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType65 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType66 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType67 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType68 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType69 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType32 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType33 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType34 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType35 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType70 = new FarPoint.Win.Spread.CellType.TextCellType(); + this.bn = new System.Windows.Forms.BindingNavigator(this.components); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.dsMSSQL = new FPJ0000.dsPRJ(); + 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.btAdd = new System.Windows.Forms.ToolStripButton(); + this.btCopy = new System.Windows.Forms.ToolStripButton(); + this.btEdit = new System.Windows.Forms.ToolStripButton(); + this.btDel = new System.Windows.Forms.ToolStripButton(); + this.btSave = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); + this.tbFind = new System.Windows.Forms.ToolStripTextBox(); + this.btFind = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.sbCount = new System.Windows.Forms.ToolStripLabel(); + this.cm = new System.Windows.Forms.ContextMenuStrip(this.components); + this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.autoToolStripMenuItem = 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.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); + this.편집ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.partListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.iOMapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.공유폴더ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.scheduleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); + this.메일발송주소관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.makeRepeatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.삭제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.편집ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); + this.엑셀파일로저장ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); + this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager(); + this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.cmbDateType = new System.Windows.Forms.ToolStripComboBox(); + this.cmbYearS = new System.Windows.Forms.ToolStripComboBox(); + this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); + this.cmbYearE = new System.Windows.Forms.ToolStripComboBox(); + this.toolStripLabel6 = new System.Windows.Forms.ToolStripLabel(); + this.cmbCate = new System.Windows.Forms.ToolStripComboBox(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel7 = new System.Windows.Forms.ToolStripLabel(); + this.cmbProcess = new System.Windows.Forms.ToolStripComboBox(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel(); + this.tbRequest = new System.Windows.Forms.ToolStripTextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.bsHist = new System.Windows.Forms.BindingSource(this.components); + this.label2 = new System.Windows.Forms.Label(); + this.richTextBox1 = new System.Windows.Forms.RichTextBox(); + this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); + this.label13 = new System.Windows.Forms.Label(); + this.label14 = new System.Windows.Forms.Label(); + this.label15 = new System.Windows.Forms.Label(); + this.label16 = new System.Windows.Forms.Label(); + this.sbSumO = new System.Windows.Forms.Label(); + this.sbSumI = new System.Windows.Forms.Label(); + this.sbSumE = new System.Windows.Forms.Label(); + this.taHist = new FPJ0000.dsPRJTableAdapters.ProjectsHistoryTableAdapter(); + this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); + this.panel3 = new System.Windows.Forms.Panel(); + this.panel1 = new System.Windows.Forms.Panel(); + this.btSearch = new System.Windows.Forms.Button(); + this.button1 = new System.Windows.Forms.Button(); + this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel(); + this.cmbStat = new System.Windows.Forms.ToolStripComboBox(); + this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); + this.label4 = new System.Windows.Forms.Label(); + this.label11 = new System.Windows.Forms.Label(); + this.panel4 = new System.Windows.Forms.Panel(); + this.richTextBox2 = new System.Windows.Forms.RichTextBox(); + ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); + this.bn.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); + this.cm.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); + this.toolStrip1.SuspendLayout(); + this.tableLayoutPanel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bsHist)).BeginInit(); + this.tableLayoutPanel2.SuspendLayout(); + this.panel3.SuspendLayout(); + this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); + this.panel4.SuspendLayout(); + this.SuspendLayout(); + // + // bn + // + this.bn.AddNewItem = null; + this.bn.BindingSource = this.bs; + this.bn.CountItem = this.bindingNavigatorCountItem; + this.bn.DeleteItem = null; + this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bindingNavigatorMoveFirstItem, + this.bindingNavigatorMovePreviousItem, + this.bindingNavigatorSeparator, + this.bindingNavigatorPositionItem, + this.bindingNavigatorCountItem, + this.bindingNavigatorSeparator1, + this.bindingNavigatorMoveNextItem, + this.bindingNavigatorMoveLastItem, + this.bindingNavigatorSeparator2, + this.btAdd, + this.btCopy, + this.btEdit, + this.btDel, + this.btSave, + this.toolStripSeparator1, + this.toolStripLabel1, + this.tbFind, + this.btFind, + this.toolStripSeparator6, + this.sbCount}); + this.bn.Location = new System.Drawing.Point(0, 657); + 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(1165, 25); + this.bn.TabIndex = 0; + this.bn.Text = "bindingNavigator1"; + // + // bs + // + this.bs.DataMember = "Projects"; + 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, 22); + 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(23, 22); + this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; + // + // bindingNavigatorMovePreviousItem + // + this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); + this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; + this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorPositionItem + // + this.bindingNavigatorPositionItem.AccessibleName = "위치"; + this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); + this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; + this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(30, 23); + this.bindingNavigatorPositionItem.Text = "0"; + this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; + // + // bindingNavigatorSeparator1 + // + this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; + this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorMoveNextItem + // + this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); + this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; + this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; + // + // bindingNavigatorMoveLastItem + // + this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); + this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; + this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); + // + // btAdd + // + this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image"))); + this.btAdd.Name = "btAdd"; + this.btAdd.RightToLeftAutoMirrorImage = true; + this.btAdd.Size = new System.Drawing.Size(67, 22); + this.btAdd.Text = "추가(&A)"; + this.btAdd.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click); + // + // btCopy + // + this.btCopy.Image = global::FPJ0000.Properties.Resources.copy; + this.btCopy.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btCopy.Name = "btCopy"; + this.btCopy.Size = new System.Drawing.Size(67, 22); + this.btCopy.Text = "복사(&C)"; + this.btCopy.Click += new System.EventHandler(this.btCopy_Click); + // + // btEdit + // + this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image"))); + this.btEdit.Name = "btEdit"; + this.btEdit.Size = new System.Drawing.Size(65, 22); + this.btEdit.Text = "편집(&E)"; + this.btEdit.Click += new System.EventHandler(this.btEdit_Click); + // + // btDel + // + this.btDel.Image = ((System.Drawing.Image)(resources.GetObject("btDel.Image"))); + this.btDel.Name = "btDel"; + this.btDel.RightToLeftAutoMirrorImage = true; + this.btDel.Size = new System.Drawing.Size(68, 22); + this.btDel.Text = "삭제(&D)"; + this.btDel.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click); + // + // btSave + // + this.btSave.Image = ((System.Drawing.Image)(resources.GetObject("btSave.Image"))); + this.btSave.Name = "btSave"; + this.btSave.Size = new System.Drawing.Size(66, 22); + this.btSave.Text = "저장(&S)"; + this.btSave.Click += new System.EventHandler(this.projectsBindingNavigatorSaveItem_Click); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); + // + // toolStripLabel1 + // + this.toolStripLabel1.Name = "toolStripLabel1"; + this.toolStripLabel1.Size = new System.Drawing.Size(31, 22); + this.toolStripLabel1.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, 25); + this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown); + // + // btFind + // + this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.btFind.Image = global::FPJ0000.Properties.Resources.find; + this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btFind.Name = "btFind"; + this.btFind.Size = new System.Drawing.Size(23, 22); + this.btFind.Text = "toolStripButton1"; + this.btFind.Click += new System.EventHandler(this.btFind_Click); + // + // toolStripSeparator6 + // + this.toolStripSeparator6.Name = "toolStripSeparator6"; + this.toolStripSeparator6.Size = new System.Drawing.Size(6, 25); + // + // sbCount + // + this.sbCount.Name = "sbCount"; + this.sbCount.Size = new System.Drawing.Size(83, 22); + this.sbCount.Text = "프로젝트 수량"; + // + // cm + // + this.cm.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.columnSizeToolStripMenuItem, + this.toolStripMenuItem2, + this.편집ToolStripMenuItem, + this.partListToolStripMenuItem, + this.iOMapToolStripMenuItem, + this.공유폴더ToolStripMenuItem, + this.scheduleToolStripMenuItem, + this.toolStripMenuItem3, + this.메일발송주소관리ToolStripMenuItem, + this.makeRepeatToolStripMenuItem, + this.삭제ToolStripMenuItem, + this.편집ToolStripMenuItem1, + this.toolStripMenuItem1, + this.엑셀파일로저장ToolStripMenuItem}); + this.cm.Name = "contextMenuStrip1"; + this.cm.Size = new System.Drawing.Size(305, 418); + // + // columnSizeToolStripMenuItem + // + this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.autoToolStripMenuItem, + this.resetToolStripMenuItem, + this.saveToolStripMenuItem, + this.loadToolStripMenuItem}); + this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem"; + this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(304, 36); + this.columnSizeToolStripMenuItem.Text = "열 너비"; + // + // autoToolStripMenuItem + // + this.autoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("autoToolStripMenuItem.Image"))); + this.autoToolStripMenuItem.Name = "autoToolStripMenuItem"; + this.autoToolStripMenuItem.Size = new System.Drawing.Size(149, 36); + this.autoToolStripMenuItem.Text = "Auto"; + this.autoToolStripMenuItem.Click += new System.EventHandler(this.autoToolStripMenuItem_Click); + // + // resetToolStripMenuItem + // + this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image"))); + this.resetToolStripMenuItem.Name = "resetToolStripMenuItem"; + this.resetToolStripMenuItem.Size = new System.Drawing.Size(149, 36); + 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(149, 36); + 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(149, 36); + this.loadToolStripMenuItem.Text = "Load"; + this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click); + // + // toolStripMenuItem2 + // + this.toolStripMenuItem2.Name = "toolStripMenuItem2"; + this.toolStripMenuItem2.Size = new System.Drawing.Size(301, 6); + // + // 편집ToolStripMenuItem + // + this.편집ToolStripMenuItem.Name = "편집ToolStripMenuItem"; + this.편집ToolStripMenuItem.Size = new System.Drawing.Size(304, 36); + this.편집ToolStripMenuItem.Text = "편집"; + this.편집ToolStripMenuItem.Click += new System.EventHandler(this.편집ToolStripMenuItem_Click); + // + // partListToolStripMenuItem + // + this.partListToolStripMenuItem.Name = "partListToolStripMenuItem"; + this.partListToolStripMenuItem.Size = new System.Drawing.Size(304, 36); + this.partListToolStripMenuItem.Text = "파트리스트"; + this.partListToolStripMenuItem.Click += new System.EventHandler(this.partListToolStripMenuItem_Click); + // + // iOMapToolStripMenuItem + // + this.iOMapToolStripMenuItem.Name = "iOMapToolStripMenuItem"; + this.iOMapToolStripMenuItem.Size = new System.Drawing.Size(304, 36); + this.iOMapToolStripMenuItem.Text = "I/O 맵"; + this.iOMapToolStripMenuItem.Click += new System.EventHandler(this.iOMapToolStripMenuItem_Click); + // + // 공유폴더ToolStripMenuItem + // + this.공유폴더ToolStripMenuItem.Name = "공유폴더ToolStripMenuItem"; + this.공유폴더ToolStripMenuItem.Size = new System.Drawing.Size(304, 36); + this.공유폴더ToolStripMenuItem.Text = "공유 폴더"; + this.공유폴더ToolStripMenuItem.Click += new System.EventHandler(this.공유폴더ToolStripMenuItem_Click); + // + // scheduleToolStripMenuItem + // + this.scheduleToolStripMenuItem.ForeColor = System.Drawing.Color.Silver; + this.scheduleToolStripMenuItem.Name = "scheduleToolStripMenuItem"; + this.scheduleToolStripMenuItem.Size = new System.Drawing.Size(304, 36); + this.scheduleToolStripMenuItem.Text = "스케쥴 관리(개발중)"; + this.scheduleToolStripMenuItem.Click += new System.EventHandler(this.scheduleToolStripMenuItem_Click); + // + // toolStripMenuItem3 + // + this.toolStripMenuItem3.Name = "toolStripMenuItem3"; + this.toolStripMenuItem3.Size = new System.Drawing.Size(301, 6); + // + // 메일발송주소관리ToolStripMenuItem + // + this.메일발송주소관리ToolStripMenuItem.Name = "메일발송주소관리ToolStripMenuItem"; + this.메일발송주소관리ToolStripMenuItem.Size = new System.Drawing.Size(304, 36); + this.메일발송주소관리ToolStripMenuItem.Text = "메일발송 주소 관리"; + this.메일발송주소관리ToolStripMenuItem.Click += new System.EventHandler(this.메일발송주소관리ToolStripMenuItem_Click); + // + // makeRepeatToolStripMenuItem + // + this.makeRepeatToolStripMenuItem.Name = "makeRepeatToolStripMenuItem"; + this.makeRepeatToolStripMenuItem.Size = new System.Drawing.Size(304, 36); + this.makeRepeatToolStripMenuItem.Text = "복사"; + this.makeRepeatToolStripMenuItem.Click += new System.EventHandler(this.makeRepeatToolStripMenuItem_Click); + // + // 삭제ToolStripMenuItem + // + this.삭제ToolStripMenuItem.Name = "삭제ToolStripMenuItem"; + this.삭제ToolStripMenuItem.Size = new System.Drawing.Size(304, 36); + this.삭제ToolStripMenuItem.Text = "삭제"; + this.삭제ToolStripMenuItem.Click += new System.EventHandler(this.삭제ToolStripMenuItem_Click); + // + // 편집ToolStripMenuItem1 + // + this.편집ToolStripMenuItem1.Name = "편집ToolStripMenuItem1"; + this.편집ToolStripMenuItem1.Size = new System.Drawing.Size(304, 36); + this.편집ToolStripMenuItem1.Text = "편집"; + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(301, 6); + // + // 엑셀파일로저장ToolStripMenuItem + // + this.엑셀파일로저장ToolStripMenuItem.Name = "엑셀파일로저장ToolStripMenuItem"; + this.엑셀파일로저장ToolStripMenuItem.Size = new System.Drawing.Size(304, 36); + this.엑셀파일로저장ToolStripMenuItem.Text = "목록 내보내기"; + this.엑셀파일로저장ToolStripMenuItem.Click += new System.EventHandler(this.엑셀파일로저장ToolStripMenuItem_Click); + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // tam + // + this.tam.BackupDataSetBeforeUpdate = false; + this.tam.EETGW_JobReport_AutoInputTableAdapter = null; + this.tam.EETGW_JobReport_EBoardTableAdapter = null; + this.tam.EETGW_NoteTableAdapter = null; + this.tam.EETGW_ProjecthistoryDTableAdapter = null; + this.tam.EETGW_ProjectToDoTableAdapter = null; + this.tam.EETGW_SaveCostTableAdapter = null; + this.tam.JobReportTableAdapter = null; + this.tam.ProjectPartStatusTableAdapter = null; + this.tam.ProjectsHistoryTableAdapter = null; + this.tam.ProjectsIOMapTableAdapter = null; + this.tam.ProjectsMailListTableAdapter = null; + this.tam.ProjectsPartTableAdapter = null; + this.tam.ProjectsScheduleTableAdapter = null; + this.tam.ProjectsTableAdapter = this.ta; + this.tam.SPMasterTableAdapter = null; + this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + // + // fpSpread1 + // + this.fpSpread1.AccessibleDescription = ""; + this.fpSpread1.AutoFitColumnOptions = FarPoint.Win.Spread.PreferredSizeColumnOptions.IncludeAll; + this.fpSpread1.AutoFitRowOptions = FarPoint.Win.Spread.PreferredSizeRowOptions.IncludeAll; + this.fpSpread1.ContextMenuStrip = this.cm; + this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; + this.fpSpread1.EditModeReplace = true; + this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F); + this.fpSpread1.Location = new System.Drawing.Point(0, 54); + this.fpSpread1.Name = "fpSpread1"; + this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { + this.fpSpread1_Sheet1}); + this.fpSpread1.Size = new System.Drawing.Size(1165, 362); + this.fpSpread1.StatusBarVisible = true; + this.fpSpread1.TabIndex = 2; + // + // toolStrip1 + // + this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; + this.toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.cmbDateType, + this.cmbYearS, + this.toolStripLabel4, + this.cmbYearE, + this.toolStripLabel6, + this.cmbCate, + this.toolStripSeparator2, + this.toolStripLabel7, + this.cmbProcess, + this.toolStripSeparator4, + this.toolStripLabel3, + this.tbRequest, + this.toolStripLabel5, + this.cmbStat}); + this.toolStrip1.Location = new System.Drawing.Point(5, 5); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(935, 25); + this.toolStrip1.TabIndex = 4; + this.toolStrip1.Text = "toolStrip1"; + // + // cmbDateType + // + this.cmbDateType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbDateType.Items.AddRange(new object[] { + "시작일기준", + "완료일기준", + "출고일기준"}); + this.cmbDateType.Name = "cmbDateType"; + this.cmbDateType.Size = new System.Drawing.Size(121, 25); + // + // cmbYearS + // + this.cmbYearS.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbYearS.DropDownWidth = 70; + this.cmbYearS.Name = "cmbYearS"; + this.cmbYearS.Size = new System.Drawing.Size(100, 25); + // + // toolStripLabel4 + // + this.toolStripLabel4.Name = "toolStripLabel4"; + this.toolStripLabel4.Size = new System.Drawing.Size(15, 22); + this.toolStripLabel4.Text = "~"; + // + // cmbYearE + // + this.cmbYearE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbYearE.DropDownWidth = 70; + this.cmbYearE.Name = "cmbYearE"; + this.cmbYearE.Size = new System.Drawing.Size(100, 25); + // + // toolStripLabel6 + // + this.toolStripLabel6.Name = "toolStripLabel6"; + this.toolStripLabel6.Size = new System.Drawing.Size(31, 22); + this.toolStripLabel6.Text = "분류"; + // + // cmbCate + // + this.cmbCate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbCate.Items.AddRange(new object[] { + "---", + "Origin Cost", + "Input Cost", + "Effect Cost", + "Asset No", + "Project", + "Champion", + "Requestor", + "Process"}); + this.cmbCate.Name = "cmbCate"; + this.cmbCate.Size = new System.Drawing.Size(100, 25); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); + // + // toolStripLabel7 + // + this.toolStripLabel7.Name = "toolStripLabel7"; + this.toolStripLabel7.Size = new System.Drawing.Size(31, 22); + this.toolStripLabel7.Text = "공정"; + // + // cmbProcess + // + this.cmbProcess.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbProcess.Items.AddRange(new object[] { + "---", + "Origin Cost", + "Input Cost", + "Effect Cost", + "Asset No", + "Project", + "Champion", + "Requestor", + "Process"}); + this.cmbProcess.Name = "cmbProcess"; + this.cmbProcess.Size = new System.Drawing.Size(100, 25); + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25); + // + // toolStripLabel3 + // + this.toolStripLabel3.Name = "toolStripLabel3"; + this.toolStripLabel3.Size = new System.Drawing.Size(43, 22); + this.toolStripLabel3.Text = "담당자"; + this.toolStripLabel3.Click += new System.EventHandler(this.toolStripLabel3_Click); + // + // tbRequest + // + this.tbRequest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tbRequest.Font = new System.Drawing.Font("맑은 고딕", 9F); + this.tbRequest.Name = "tbRequest"; + this.tbRequest.Size = new System.Drawing.Size(120, 25); + this.tbRequest.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.tbRequest.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbRequest_KeyDown); + // + // label1 + // + this.label1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label1.Location = new System.Drawing.Point(0, 416); + this.label1.Name = "label1"; + this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); + this.label1.Size = new System.Drawing.Size(1165, 23); + this.label1.TabIndex = 5; + this.label1.Text = "--"; + this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.ColumnCount = 2; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.Controls.Add(this.panel4, 1, 0); + this.tableLayoutPanel1.Controls.Add(this.label2, 0, 0); + this.tableLayoutPanel1.Controls.Add(this.richTextBox1, 0, 1); + this.tableLayoutPanel1.Controls.Add(this.richTextBox2, 1, 1); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 32); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 2; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(1165, 186); + this.tableLayoutPanel1.TabIndex = 11; + // + // bsHist + // + this.bsHist.DataMember = "ProjectsHistory"; + this.bsHist.DataSource = this.dsMSSQL; + this.bsHist.Sort = "pdate desc"; + // + // label2 + // + this.label2.Dock = System.Windows.Forms.DockStyle.Fill; + this.label2.Font = new System.Drawing.Font("굴림", 9F); + this.label2.Location = new System.Drawing.Point(0, 0); + this.label2.Margin = new System.Windows.Forms.Padding(0); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(582, 25); + this.label2.TabIndex = 0; + this.label2.Text = "증상 및 요구사항"; + this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // richTextBox1 + // + this.richTextBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.richTextBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "remark_req", true)); + this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill; + this.richTextBox1.Location = new System.Drawing.Point(3, 28); + this.richTextBox1.Name = "richTextBox1"; + this.richTextBox1.ReadOnly = true; + this.richTextBox1.Size = new System.Drawing.Size(576, 155); + this.richTextBox1.TabIndex = 1; + this.richTextBox1.Text = ""; + // + // tableLayoutPanel2 + // + this.tableLayoutPanel2.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single; + this.tableLayoutPanel2.ColumnCount = 8; + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.06266F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.06266F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.06266F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 24.81203F)); + this.tableLayoutPanel2.Controls.Add(this.label13, 0, 0); + this.tableLayoutPanel2.Controls.Add(this.label14, 2, 0); + this.tableLayoutPanel2.Controls.Add(this.label15, 4, 0); + this.tableLayoutPanel2.Controls.Add(this.label16, 6, 0); + this.tableLayoutPanel2.Controls.Add(this.sbSumO, 3, 0); + this.tableLayoutPanel2.Controls.Add(this.sbSumI, 5, 0); + this.tableLayoutPanel2.Controls.Add(this.sbSumE, 7, 0); + this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Top; + this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0); + this.tableLayoutPanel2.Name = "tableLayoutPanel2"; + this.tableLayoutPanel2.RowCount = 1; + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel2.Size = new System.Drawing.Size(1165, 32); + this.tableLayoutPanel2.TabIndex = 12; + // + // label13 + // + this.label13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.tableLayoutPanel2.SetColumnSpan(this.label13, 2); + this.label13.Dock = System.Windows.Forms.DockStyle.Fill; + this.label13.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label13.Location = new System.Drawing.Point(1, 1); + this.label13.Margin = new System.Windows.Forms.Padding(0); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(290, 30); + this.label13.TabIndex = 0; + this.label13.Text = "Cost Summary"; + this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label14 + // + this.label14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.label14.Dock = System.Windows.Forms.DockStyle.Fill; + this.label14.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label14.Location = new System.Drawing.Point(292, 1); + this.label14.Margin = new System.Windows.Forms.Padding(0); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(80, 30); + this.label14.TabIndex = 0; + this.label14.Text = "Origin"; + this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label15 + // + this.label15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.label15.Dock = System.Windows.Forms.DockStyle.Fill; + this.label15.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label15.Location = new System.Drawing.Point(583, 1); + this.label15.Margin = new System.Windows.Forms.Padding(0); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(80, 30); + this.label15.TabIndex = 0; + this.label15.Text = "Input"; + this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label16 + // + this.label16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.label16.Dock = System.Windows.Forms.DockStyle.Fill; + this.label16.Font = new System.Drawing.Font("Cambria", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label16.Location = new System.Drawing.Point(874, 1); + this.label16.Margin = new System.Windows.Forms.Padding(0); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(80, 30); + this.label16.TabIndex = 0; + this.label16.Text = "Effect"; + this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // sbSumO + // + this.sbSumO.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.sbSumO.Dock = System.Windows.Forms.DockStyle.Fill; + this.sbSumO.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold); + this.sbSumO.Location = new System.Drawing.Point(373, 1); + this.sbSumO.Margin = new System.Windows.Forms.Padding(0); + this.sbSumO.Name = "sbSumO"; + this.sbSumO.Size = new System.Drawing.Size(209, 30); + this.sbSumO.TabIndex = 1; + this.sbSumO.Text = "--"; + this.sbSumO.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // sbSumI + // + this.sbSumI.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.sbSumI.Dock = System.Windows.Forms.DockStyle.Fill; + this.sbSumI.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold); + this.sbSumI.Location = new System.Drawing.Point(664, 1); + this.sbSumI.Margin = new System.Windows.Forms.Padding(0); + this.sbSumI.Name = "sbSumI"; + this.sbSumI.Size = new System.Drawing.Size(209, 30); + this.sbSumI.TabIndex = 1; + this.sbSumI.Text = "--"; + this.sbSumI.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // sbSumE + // + this.sbSumE.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.sbSumE.Dock = System.Windows.Forms.DockStyle.Fill; + this.sbSumE.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.sbSumE.Location = new System.Drawing.Point(955, 1); + this.sbSumE.Margin = new System.Windows.Forms.Padding(0); + this.sbSumE.Name = "sbSumE"; + this.sbSumE.Size = new System.Drawing.Size(209, 30); + this.sbSumE.TabIndex = 1; + this.sbSumE.Text = "--"; + this.sbSumE.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // taHist + // + this.taHist.ClearBeforeFill = true; + // + // panel3 + // + this.panel3.Controls.Add(this.tableLayoutPanel1); + this.panel3.Controls.Add(this.tableLayoutPanel2); + this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel3.Location = new System.Drawing.Point(0, 439); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(1165, 218); + this.panel3.TabIndex = 7; + // + // panel1 + // + this.panel1.Controls.Add(this.toolStrip1); + this.panel1.Controls.Add(this.btSearch); + this.panel1.Controls.Add(this.button1); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Padding = new System.Windows.Forms.Padding(5); + this.panel1.Size = new System.Drawing.Size(1165, 54); + this.panel1.TabIndex = 9; + // + // btSearch + // + this.btSearch.Dock = System.Windows.Forms.DockStyle.Right; + this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image"))); + this.btSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btSearch.Location = new System.Drawing.Point(940, 5); + this.btSearch.Name = "btSearch"; + this.btSearch.Padding = new System.Windows.Forms.Padding(5, 0, 3, 0); + this.btSearch.Size = new System.Drawing.Size(122, 44); + this.btSearch.TabIndex = 9; + this.btSearch.Text = "새로고침(&R)"; + this.btSearch.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.btSearch.UseVisualStyleBackColor = true; + this.btSearch.Click += new System.EventHandler(this.button2_Click); + // + // button1 + // + this.button1.Dock = System.Windows.Forms.DockStyle.Right; + this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image"))); + this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.button1.Location = new System.Drawing.Point(1062, 5); + this.button1.Name = "button1"; + this.button1.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.button1.Size = new System.Drawing.Size(98, 44); + this.button1.TabIndex = 0; + this.button1.Text = "닫기"; + this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click_1); + // + // toolStripLabel5 + // + this.toolStripLabel5.Name = "toolStripLabel5"; + this.toolStripLabel5.Size = new System.Drawing.Size(31, 22); + this.toolStripLabel5.Text = "상태"; + // + // cmbStat + // + this.cmbStat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbStat.Items.AddRange(new object[] { + "---", + "Origin Cost", + "Input Cost", + "Effect Cost", + "Asset No", + "Project", + "Champion", + "Requestor", + "Process"}); + this.cmbStat.Name = "cmbStat"; + this.cmbStat.Size = new System.Drawing.Size(75, 25); + // + // fpSpread1_Sheet1 + // + this.fpSpread1_Sheet1.Reset(); + this.fpSpread1_Sheet1.SheetName = "Sheet1"; + // Formulas and custom names must be loaded with R1C1 reference style + this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; + this.fpSpread1_Sheet1.ColumnCount = 16; + this.fpSpread1_Sheet1.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 = "파트"; + 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 = "S/N"; + 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 = "New Price"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "Original\r\n($K)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).StyleName = " "; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "Input\r\n($K)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "Effect\r\n($K)"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "비고"; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F; + this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + numberCellType31.DecimalPlaces = 0; + numberCellType31.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType31.MaximumValue = 2147483647D; + numberCellType31.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType31; + this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx"; + this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(0).Label = "IDX"; + this.fpSpread1_Sheet1.Columns.Get(0).Locked = true; + this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType61; + this.fpSpread1_Sheet1.Columns.Get(1).DataField = "status"; + this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(1).Label = "상태"; + this.fpSpread1_Sheet1.Columns.Get(1).Tag = "state"; + this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(1).Width = 78F; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType62; + this.fpSpread1_Sheet1.Columns.Get(2).DataField = "edate"; + this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(2).Label = "완료일"; + this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType63; + this.fpSpread1_Sheet1.Columns.Get(3).DataField = "category"; + 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(4).CellType = textCellType64; + this.fpSpread1_Sheet1.Columns.Get(4).DataField = "part"; + this.fpSpread1_Sheet1.Columns.Get(4).Label = "파트"; + this.fpSpread1_Sheet1.Columns.Get(5).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType65; + this.fpSpread1_Sheet1.Columns.Get(5).DataField = "process"; + 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 = 78F; + this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType66; + this.fpSpread1_Sheet1.Columns.Get(6).DataField = "reqstaff"; + this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + 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 = 78F; + this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType67; + this.fpSpread1_Sheet1.Columns.Get(7).DataField = "userManager"; + this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(7).Label = "담당"; + this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(7).Width = 78F; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType68; + this.fpSpread1_Sheet1.Columns.Get(8).DataField = "asset"; + this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(8).Label = "S/N"; + this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(8).Width = 78F; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType69; + this.fpSpread1_Sheet1.Columns.Get(9).DataField = "name"; + 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 = 78F; + numberCellType32.DecimalPlaces = 0; + numberCellType32.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType32.MaximumValue = 2147483647D; + numberCellType32.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType32; + this.fpSpread1_Sheet1.Columns.Get(10).DataField = "cnt"; + 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 = 59F; + numberCellType33.MaximumValue = 999999999999999D; + numberCellType33.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType33; + this.fpSpread1_Sheet1.Columns.Get(12).DataField = "costo"; + this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(12).Label = "Original\r\n($K)"; + this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + numberCellType34.MaximumValue = 999999999999999D; + numberCellType34.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType34; + this.fpSpread1_Sheet1.Columns.Get(13).DataField = "costn"; + this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(13).Label = "Input\r\n($K)"; + this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(14).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + numberCellType35.MaximumValue = 999999999999999D; + numberCellType35.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType35; + this.fpSpread1_Sheet1.Columns.Get(14).DataField = "coste"; + this.fpSpread1_Sheet1.Columns.Get(14).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(14).Label = "Effect\r\n($K)"; + this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType70; + this.fpSpread1_Sheet1.Columns.Get(15).DataField = "memo"; + this.fpSpread1_Sheet1.Columns.Get(15).Label = "비고"; + 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; + // + // label4 + // + this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.label4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHist, "pdate", true)); + this.label4.Dock = System.Windows.Forms.DockStyle.Right; + this.label4.Font = new System.Drawing.Font("Cambria", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label4.Location = new System.Drawing.Point(483, 0); + this.label4.Margin = new System.Windows.Forms.Padding(0); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(100, 25); + this.label4.TabIndex = 12; + this.label4.Text = "--"; + this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label11 + // + this.label11.Dock = System.Windows.Forms.DockStyle.Fill; + this.label11.Location = new System.Drawing.Point(0, 0); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(483, 25); + this.label11.TabIndex = 14; + this.label11.Text = "조치 내용"; + this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // panel4 + // + this.panel4.Controls.Add(this.label11); + this.panel4.Controls.Add(this.label4); + this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel4.Location = new System.Drawing.Point(582, 0); + this.panel4.Margin = new System.Windows.Forms.Padding(0); + this.panel4.Name = "panel4"; + this.panel4.Size = new System.Drawing.Size(583, 25); + this.panel4.TabIndex = 0; + // + // richTextBox2 + // + this.richTextBox2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.richTextBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "remark_ans", true)); + this.richTextBox2.Dock = System.Windows.Forms.DockStyle.Fill; + this.richTextBox2.Location = new System.Drawing.Point(585, 28); + this.richTextBox2.Name = "richTextBox2"; + this.richTextBox2.ReadOnly = true; + this.richTextBox2.Size = new System.Drawing.Size(577, 155); + this.richTextBox2.TabIndex = 1; + this.richTextBox2.Text = ""; + // + // fEboardList + // + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; + this.ClientSize = new System.Drawing.Size(1165, 682); + this.Controls.Add(this.fpSpread1); + this.Controls.Add(this.panel1); + this.Controls.Add(this.label1); + this.Controls.Add(this.panel3); + this.Controls.Add(this.bn); + this.Name = "fEboardList"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "전자실 업무 현황"; + this.Load += new System.EventHandler(this.@__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.cm.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); + this.toolStrip1.ResumeLayout(false); + this.toolStrip1.PerformLayout(); + this.tableLayoutPanel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.bsHist)).EndInit(); + this.tableLayoutPanel2.ResumeLayout(false); + this.panel3.ResumeLayout(false); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); + this.panel4.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private dsPRJ dsMSSQL; + private System.Windows.Forms.BindingSource bs; + private dsPRJTableAdapters.ProjectsTableAdapter ta; + private dsPRJTableAdapters.TableAdapterManager tam; + private System.Windows.Forms.BindingNavigator bn; + private System.Windows.Forms.ToolStripButton btAdd; + private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; + private System.Windows.Forms.ToolStripButton btDel; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; + private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; + private System.Windows.Forms.ToolStripButton btSave; + private System.Windows.Forms.ContextMenuStrip cm; + private System.Windows.Forms.ToolStripMenuItem partListToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private FarPoint.Win.Spread.FpSpread fpSpread1; + private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem autoToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem resetToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2; + private System.Windows.Forms.ToolStrip toolStrip1; + private System.Windows.Forms.ToolStripLabel toolStripLabel3; + private System.Windows.Forms.ToolStripTextBox tbRequest; + private System.Windows.Forms.ToolStripMenuItem scheduleToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem makeRepeatToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem iOMapToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripMenuItem3; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.ToolStripLabel toolStripLabel1; + private System.Windows.Forms.ToolStripTextBox tbFind; + private System.Windows.Forms.ToolStripButton btFind; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; + private System.Windows.Forms.ToolStripComboBox cmbYearS; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripMenuItem 엑셀파일로저장ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 메일발송주소관리ToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; + private System.Windows.Forms.BindingSource bsHist; + private dsPRJTableAdapters.ProjectsHistoryTableAdapter taHist; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; + private System.Windows.Forms.ToolStripButton btEdit; + private System.Windows.Forms.ToolTip toolTip1; + private System.Windows.Forms.ToolStripMenuItem 편집ToolStripMenuItem; + private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.Label label13; + private System.Windows.Forms.Label label14; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.Label label16; + private System.Windows.Forms.Label sbSumO; + private System.Windows.Forms.Label sbSumI; + private System.Windows.Forms.Label sbSumE; + private System.Windows.Forms.ToolStripLabel toolStripLabel4; + private System.Windows.Forms.ToolStripComboBox cmbYearE; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; + private System.Windows.Forms.ToolStripButton btCopy; + private System.Windows.Forms.ToolStripMenuItem 편집ToolStripMenuItem1; + private System.Windows.Forms.ToolStripMenuItem 삭제ToolStripMenuItem; + private System.Windows.Forms.ToolStripLabel toolStripLabel6; + private System.Windows.Forms.ToolStripComboBox cmbCate; + private System.Windows.Forms.ToolStripLabel toolStripLabel7; + private System.Windows.Forms.ToolStripComboBox cmbProcess; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; + private System.Windows.Forms.ToolStripLabel sbCount; + private System.Windows.Forms.RichTextBox richTextBox1; + private System.Windows.Forms.ToolStripMenuItem 공유폴더ToolStripMenuItem; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Button btSearch; + private System.Windows.Forms.ToolStripComboBox cmbDateType; + private System.Windows.Forms.ToolStripLabel toolStripLabel5; + private System.Windows.Forms.ToolStripComboBox cmbStat; + private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; + private System.Windows.Forms.Panel panel4; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.RichTextBox richTextBox2; + } +} \ No newline at end of file diff --git a/SubProject/FPJ0000/EBoard/fEboardList.cs b/SubProject/FPJ0000/EBoard/fEboardList.cs new file mode 100644 index 0000000..8cb8352 --- /dev/null +++ b/SubProject/FPJ0000/EBoard/fEboardList.cs @@ -0,0 +1,607 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; +using util = FCOMMON.Util; + +namespace FPJ0000 +{ + public partial class fEboardList : FCOMMON.fBase + { + string fn_fpcolsize = ""; + public fEboardList() + { + InitializeComponent(); + fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); + this.dsMSSQL.Projects.TableNewRow += Projects_TableNewRow; + this.FormClosed += __Closed; + + } + + void __Closed(object sender, FormClosedEventArgs e) + { + + } + + private void __Load(object sender, EventArgs e) + { + //프로젝트 목록을 처리함 + //this.tbRequest.Text = FCOMMON.info.Login.nameK; + cmbDateType.SelectedIndex = 0; //기본시작일 기준으로 한다 + + //분류 - 190905 + var dt_cate = FCOMMON.DBM.getCodeTable("20"); + cmbCate.Items.Clear(); + cmbCate.Items.Add("--전체--"); + foreach (DataRow dr in dt_cate.Rows) + cmbCate.Items.Add(dr["Value"].ToString()); + cmbCate.SelectedIndex = 0; + + + this.cmbProcess.Items.Clear(); + this.cmbProcess.Items.Add("전체"); + var procesList = FCOMMON.DBM.getProcessList(); + foreach (DataRow dr in procesList.Rows) + cmbProcess.Items.Add(dr["Value"].ToString()); + cmbProcess.Text = FCOMMON.info.Login.process; + if (cmbProcess.SelectedIndex < 0) cmbProcess.SelectedIndex = 0; + + //this.cmbSort.SelectedIndex = 0; + this.cmbYearS.Items.Clear(); + this.cmbYearE.Items.Clear(); + for (int i = 2010; i <= DateTime.Now.Year; i++) + { + cmbYearS.Items.Add(i.ToString("0000")); + cmbYearE.Items.Add(i.ToString("0000")); + } + this.cmbYearS.Text = DateTime.Now.AddYears(-2).Year.ToString("0000"); + this.cmbYearE.Text = DateTime.Now.Year.ToString("0000"); + refreshData(); + + //일반사용자의경우에는 상태를 변경하지 못한다. + int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.project)); + if (curLevel >= 5) + { + btSave.Visible = true; + } + else + { + btSave.Visible = false; //목록에서 저장버튼은 제거한다. + //btViewDel.Visible = false; + fpSpread1.EditMode = false; + fpSpread1.Sheets[0].SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Row; + fpSpread1.EditModePermanent = false; + fpSpread1.EditModeReplace = false; + + foreach (FarPoint.Win.Spread.Column col in fpSpread1.ActiveSheet.Columns) + col.Locked = true; + } + + + } + + void refreshData() + { + + string state = "[status] = '" + cmbStat.Text + "'"; //아무것도 선택안하면 진행을 선택해준다. + + string State_Select = " SELECT *, dbo.getLastHistory(idx) AS lasthistory FROM Projects"; + string State_where = " WHERE gcode=@gcode and "; + + State_where += " isnull(isdel,0)=0 and "; //삭제보기 햇을 경우 + + var dateField = "pdate"; + if (cmbDateType.SelectedIndex == 1) dateField = "edate"; + else if (cmbDateType.SelectedIndex == 2) dateField = "odate"; + + State_where += " " + dateField + " between '" + cmbYearS.Text + "-01-01' and '" + cmbYearE.Text + "-12-31' AND (ISNULL(userManager, '') LIKE @username OR " + + "ISNULL(usermain, '') LIKE @username OR " + + "ISNULL(reqstaff, '') LIKE @username OR " + + "ISNULL(usersub, '') LIKE @username) "; + + if (state != "") State_where += " AND " + state; + if (cmbCate.SelectedIndex > 0) State_where += " AND isnull(category,'') = '" + cmbCate.Text + "'"; + if (cmbProcess.SelectedIndex > 0) State_where += " and isnull(userprocess,'') = '" + cmbProcess.Text.Trim() + "'"; + string State_order = " ORDER BY (CASE " + + " WHEN ([status] = '진행') THEN '0' " + + " WHEN ([status] = '검토') THEN '1' " + + " WHEN ([status] = '대기') THEN '2' " + + " WHEN ([status] = '완료') THEN '3' " + + " WHEN ([status] = '완료(보고)') THEN '4' " + + " WHEN ([status] = '보류') THEN '5' " + + " WHEN ([status] = '취소') THEN '9' " + + " ELSE '5' END),userManager,sdate"; + + string request = "%"; + if (tbRequest.Text.Trim() != "") request = "%" + this.tbRequest.Text.Trim() + "%"; + + System.Data.SqlClient.SqlCommand selCmd = new System.Data.SqlClient.SqlCommand(); + selCmd.Connection = ta.Connection; + selCmd.CommandText = State_Select + State_where + State_order; + selCmd.Parameters.Add("gcode", SqlDbType.VarChar).Value = FCOMMON.info.Login.gcode; + selCmd.Parameters.Add("username", SqlDbType.VarChar); + selCmd.Parameters["username"].Value = request; + + System.Data.SqlClient.SqlDataAdapter sda = new System.Data.SqlClient.SqlDataAdapter(); + sda.SelectCommand = selCmd; + + this.dsMSSQL.Projects.Clear(); + sda.Fill(this.dsMSSQL.Projects); + + //this.ta.Adapter.SelectCommand = selCmd; + //this.ta.Fill(this.dsMSSQL.Projects, state,request); + // this.ta.Adapter.SelectCommand.CommandText = orgQuery; + this.dsMSSQL.Projects.AcceptChanges(); + + sbSumE.Text = this.dsMSSQL.Projects.Sum(t => t.coste).ToString("N2"); + sbSumO.Text = this.dsMSSQL.Projects.Sum(t => t.costo).ToString("N2"); + sbSumI.Text = this.dsMSSQL.Projects.Sum(t => t.costn).ToString("N2"); + + FormattingData(); + FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); + } + + void FormattingData() + { + + //삭제컬럼인덱스 + this.fpSpread1.SuspendLayout(); + var statindex = this.fpSpread1.ActiveSheet.Columns["state"].Index; + for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) + { + var state = this.fpSpread1.ActiveSheet.GetValue(i, statindex); + string stateStr = string.Empty; + if (state != null) stateStr = state.ToString(); + + this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.White; + switch (stateStr.ToLower()) + { + case "검토": + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Blue; + break; + case "취소": + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Red; + break; + case "진행": + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Green; + break; + case "보류": + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Tomato; + break; + case "완료(보고)": + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Gray; + break; + case "완료": + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Magenta; + break; + default: + this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Black; + break; + } + + } + FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); + this.fpSpread1.ResumeLayout(); + } + + void funcSave(Boolean pmt) + { + this.Validate(); + this.bs.EndEdit(); + + if (pmt) + { + var dlg = FCOMMON.Util.MsgQ("변경 사항을 저장하시겠습니까?"); + if (dlg != System.Windows.Forms.DialogResult.Yes) return; + } + + try + { + this.tam.UpdateAll(this.dsMSSQL); + dsMSSQL.AcceptChanges(); + FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); + } + catch (Exception ex) + { + FCOMMON.Util.MsgE(ex.Message); + } + } + + private void projectsBindingNavigatorSaveItem_Click(object sender, EventArgs e) + { + funcSave(true); + + } + void Projects_TableNewRow(object sender, DataTableNewRowEventArgs e) + { + e.Row["gcode"] = FCOMMON.info.Login.gcode; + e.Row["wuid"] = FCOMMON.info.Login.no; + e.Row["wdate"] = DateTime.Now; + } + + private void refreshToolStripMenuItem_Click(object sender, EventArgs e) + { + refreshData(); + } + + void menu_partlist() + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.ProjectsRow; + var f = new fPartList(dr.idx); + f.StartPosition = FormStartPosition.CenterScreen; + f.Show(); + } + private void partListToolStripMenuItem_Click(object sender, EventArgs e) + { + menu_partlist(); + } + + + private void autoToolStripMenuItem_Click(object sender, EventArgs e) + { + this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true; + + for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) + this.fpSpread1.ActiveSheet.SetRowHeight(i, 25); + //dv1.AutoResizeColumns(); + } + + private void resetToolStripMenuItem_Click(object sender, EventArgs e) + { + foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns) + { + col.ResetVisible(); + col.Width = 100; + } + } + + private void saveToolStripMenuItem_Click(object sender, EventArgs e) + { + FPUtil.ColsizeSave(this.fpSpread1, fn_fpcolsize); + } + + private void loadToolStripMenuItem_Click(object sender, EventArgs e) + { + FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); + } + + private void btSearch_Click(object sender, EventArgs e) + { + + } + + private void toolStripLabel3_Click(object sender, EventArgs e) + { + //사용자목록처리 + if (tbRequest.Text != "") + { + tbRequest.Text = string.Empty; + } + else tbRequest.Text = FCOMMON.info.Login.nameK; + + refreshData(); + } + + private void scheduleToolStripMenuItem_Click(object sender, EventArgs e) + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.ProjectsRow; + var f = new fProjectSchedule(dr.idx); + f.MdiParent = this.MdiParent; + f.Show(); + } + + private void makeRepeatToolStripMenuItem_Click(object sender, EventArgs e) + { + funcCopy(); + } + void funcCopy() + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.ProjectsRow; + var dlg = FCOMMON.Util.MsgQ("선택된 프로젝트를 복사하시겠습니까?\n\n생성된 자료는 [검토] 상태로 전환 됩니다."); + if (dlg == System.Windows.Forms.DialogResult.Yes) + { + var ta = new dsPRJTableAdapters.QueriesTableAdapter(); + int? newidx = -1; + var retval = ta.CopyProjectData(dr.idx, FCOMMON.info.Login.no, ref newidx); + refreshData(); + if (newidx != null) + { + var newdr = this.dsMSSQL.Projects.Where(t => t.idx == newidx).FirstOrDefault(); + newdr.userprocess = FCOMMON.info.Login.process; + var f = new fProjectData(newdr); + if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.project)); + if (curLevel < 5) + { + funcSave(false); //자동저장 + } + } + } + } + } + + void menu_iomap() + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.ProjectsRow; + var f = new fProjectIOMap(dr.idx); + f.Show(); + } + + private void iOMapToolStripMenuItem_Click(object sender, EventArgs e) + { + menu_iomap(); + } + + private void tbFind_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) + btFind.PerformClick(); + } + + private void btFind_Click(object sender, EventArgs e) + { + + string search = tbFind.Text.Trim(); + if (search == "") + { + + bs.Filter = ""; + tbFind.BackColor = SystemColors.Control; + FormattingData(); + } + else + { + try + { + var cols = new string[] { + "name","process","reqstaff","usermain", + "orderno","usersub","userManager", + "remark_req"}; + bs.Filter = FCOMMON.Util.MakeFilterString(cols, search); + tbFind.BackColor = Color.Lime; + tbFind.SelectAll(); + tbFind.Focus(); + FormattingData(); + } + catch (Exception ex) + { + bs.Filter = ""; + FCOMMON.Util.MsgE(ex.Message); + tbFind.BackColor = Color.Red; + FormattingData(); + } + } + } + + private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e) + { + funcDelete(); + } + void funcDelete() + { + var dlg = FCOMMON.Util.MsgQ("현재 선택된 자료를 삭제하시겠습니까?"); + if (dlg == System.Windows.Forms.DialogResult.Yes) + { + bs.RemoveCurrent(); + + //일반사용자는 바로 저장되도록 함 + int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.project)); + if (curLevel < 5) + { + funcSave(false); //자동저장 + } + } + } + private void 엑셀파일로저장ToolStripMenuItem_Click(object sender, EventArgs e) + { + SaveFileDialog sd = new SaveFileDialog(); + sd.Filter = ("excel|*.xls"); + var dlg = sd.ShowDialog(); + if (dlg == System.Windows.Forms.DialogResult.OK) + { + this.fpSpread1.SaveExcel(sd.FileName, + FarPoint.Excel.ExcelSaveFlags.SaveAsViewed + | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered + | FarPoint.Excel.ExcelSaveFlags.NoFormulas + | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); + + FCOMMON.Util.MsgI("파일생성 완료\n\n" + sd.FileName); + } + } + + private void 메일발송주소관리ToolStripMenuItem_Click(object sender, EventArgs e) + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.ProjectsRow; + var f = new fMailList(dr.idx); + f.ShowDialog(); + } + + private void bs_CurrentChanged(object sender, EventArgs e) + { + //히스토리 데이터를 업데이트하고 첫번재 자료를 표시한다. + var drv = this.bs.Current as DataRowView; + if (drv == null) + { + this.label1.Text = "프로젝트가 선택되지 않았습니다"; + return; + } + var dr = drv.Row as dsPRJ.ProjectsRow; + this.label1.Text = string.Format("[{0}] {1}", dr.name, dr.memo); + + var sql = "select (sum((case bbuy when 1 then( case qtybuy when qtyin then 1 else 0 end) else 0 end)) *100 / count(*)) from ProjectsPart where project = " + dr.idx.ToString(); + var stR_result = FCOMMON.DBM.ExecuteScalar(sql); + + try + { + taHist.Fill(this.dsMSSQL.ProjectsHistory, dr.idx); + } + catch + { + + } + } + + private void button1_Click(object sender, EventArgs e) + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.ProjectsRow; + var f = new fProejctHistory(dr.idx); + f.StartPosition = FormStartPosition.CenterScreen; + var dlg = f.ShowDialog(); + bs_CurrentChanged(sender, e); + } + + private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) + { + var newdr = this.dsMSSQL.Projects.NewProjectsRow(); + newdr.wuid = FCOMMON.info.Login.no; + newdr.wdate = DateTime.Now; + newdr.pdate = DateTime.Now.ToString("yyyy-MM-dd"); + newdr.sdate = DateTime.Now.ToString("yyyy-MM-dd"); + newdr.userManager = FCOMMON.info.Login.nameK; + newdr.progress = 0; + newdr.userprocess = FCOMMON.info.Login.process; + newdr.costn = 0; + newdr.costo = 0; + newdr.cnt = 1; + newdr.name = "Project Title"; + var f = new fEboardData(newdr); + f.StartPosition = FormStartPosition.CenterScreen; + var dlg = f.ShowDialog(); + if (dlg == System.Windows.Forms.DialogResult.OK) + { + this.dsMSSQL.Projects.AddProjectsRow(newdr); + try + { + + ta.Update(newdr); + } + catch (Exception ex) + { + FCOMMON.Util.MsgE("Save Error\n" + ex.Message); + } + + } + else newdr.Delete(); + } + + private void btEdit_Click(object sender, EventArgs e) + { + funcEdit(); + } + void funcEdit() + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.ProjectsRow; + var f = new fEboardData(dr); + if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.project)); + if (curLevel < 5) + { + funcSave(false); //자동저장 + } + } + } + + private void 편집ToolStripMenuItem_Click(object sender, EventArgs e) + { + funcEdit(); + } + + private void tbRequest_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) + btSearch.PerformClick(); + } + + + private void btCopy_Click(object sender, EventArgs e) + { + funcCopy(); + } + + private void 삭제ToolStripMenuItem_Click(object sender, EventArgs e) + { + funcDelete(); + } + + private void 공유폴더ToolStripMenuItem_Click(object sender, EventArgs e) + { + showfolder(); + } + void showfolder() + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.ProjectsRow; + + var tbPath = dr.path; + + if (tbPath == "") tbPath = "/" + dr.idx.ToString(); + + if (tbPath.StartsWith("\\") == false) + { + if (tbPath.StartsWith("/")) tbPath = tbPath.Replace("/", "\\"); + else tbPath = "\\" + tbPath; + } + + var serverpath = @"\\10.131.32.29\Data\Project"; + if (System.IO.Directory.Exists(serverpath) == false) + { + FCOMMON.Util.MsgE("프로젝트 기본경로가 존재하지 않아 진행할 수 없습니다\n\n" + + serverpath); + return; + } + + var path = serverpath + tbPath; + if (System.IO.Directory.Exists(path) == false) + { + try + { + System.IO.Directory.CreateDirectory(path); + + string[] subdir = new string[] { "Source", "Document", "Draw", "Estimate" }; + foreach (var dir in subdir) + System.IO.Directory.CreateDirectory(path + "\\" + dir); + + } + catch (Exception eX) + { + FCOMMON.Util.MsgE("프로젝트 저장소 생성실패\n" + eX.Message); + return; + } + } + + FCOMMON.Util.RunExplorer(path); + } + + + private void button1_Click_1(object sender, EventArgs e) + { + this.Close(); + } + + private void button2_Click(object sender, EventArgs e) + { + refreshData(); + } + } +} \ No newline at end of file diff --git a/SubProject/FPJ0000/EBoard/fEboardList.resx b/SubProject/FPJ0000/EBoard/fEboardList.resx new file mode 100644 index 0000000..8cbd644 --- /dev/null +++ b/SubProject/FPJ0000/EBoard/fEboardList.resx @@ -0,0 +1,324 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 321, 17 + + + 122, 17 + + + 17, 17 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 + wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 + v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg + UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA + Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu + lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w + 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f + Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ + 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI + N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f + oAc0QjgAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// + h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B + twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA + kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG + WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 + 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC + pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ + Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ + /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA + zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ + IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E + rkJggg== + + + + + R0lGODlhEAAQAIQAAGB3lYivyMDf/XiZt+Ts9ajT/Mbh/UlVa/P2+bLY/FRlfu3x9ZzN++Xy/rTR4ENL + XN7v/tTk8Jm/1enx96jL3uDo7ykxQz5FVb2JAP+8Bv/RV6HQ/FSr9qfR+jhllf///yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQAAAAAACwAAAAAEAAQAAAIugA/CBxIsKDACA4cUJAgIUCAARA9eJAg0EEEAhMyTiDA + 0UMHDh4qTjBAkqSABh5BKhBIAUFJASdTekCw8oMElwZgovzoAQJNgTdzxuQJocDPDwEQ6MRAtIDRAwKT + nsSgIUPPAh02EID6YcCCBlQzYCiaVesDgV4jVB2LdcMGBhXOdl2QQIFdBQAGMNhb4QJaBAkSYC0wAIBh + AAv8fgAQAcFGjgQqSF7gwAJavHcPHHjw4MIFCzUNihYYEAA7 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC + DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC + rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV + i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG + 86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG + QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX + bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo + dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= + + + + 17, 17 + + + 387, 17 + + + + R0lGODlhEAAQAIQfAJXG2JXa+ZLO5ChrlkCy4TZ1kiVvpCN0trvo9SN5xTd4lrfh7iR9zo3S+EGz7JDJ + 4TaCromrvC9ymyV+0Dd3mTl1koe72YvN7LTj+9ne6N3g6v7+/0Cw2Stoh////////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAInwA/CBzooaAHgQUHKvRQoUABCgUlHFT4IYMCBAsQIIBg + wcBEgh0WCBDAgcAFDAc+fvDQIUKHDgMeEHDQIIFKlgoMGgjQoAGDmwUOehhg4EACBhM+GlzKVOkEBgkO + GBggNOhCBhgCBPBYUEGHmwkCOCDwYMCAll8XHghwgQCHkQDSLjRgAcKDBwAAKNCwgaIHiR4oOKygkuDE + pRQTK6YYEAA7 + + + + + R0lGODlhEAAQAIQfALnik2aXQv7+/dPut73llbfala3LmW6gSWqdQ2eYRGqaSLfck568iYrUQN7yzF6R + PLTXlYjUP8XwmYfQQLbYl4jRQGiaQsPumNbyu7nglNPzsLXYlf7+/lCHK////////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIlgA/CBzooaAHgQUHEvSgIEAABQUfHFTIwQECDAMwYDhg + oENCgRw8dBgAAECFBgsweJxYsAODDjApTIhAwCMHkCItGOxwgUCGlQQTeAgJsyhQg0iTGvzQ0qhND0IX + dtBwQcJKDxZsIhQpIcIECkVffmwpYUGDCiUheBQg1cCBAgU2QFDg4KZCDxIZOoQ48S7LpQoDCx4cEAA7 + + + + + R0lGODlhEAAQAIQAAJXD9Iasxm6MqnSn2lZtjVaRyEpXbYu767TX/2KZztvr/4Gy5KrT/3ut32+gzlFh + e+r0/0RNX9/u/9Ln+8Xg//n8/4e36CkxQz9GVkSCvKjL35/N/Je91K7T5bDS4////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQAAAAAACwAAAAAEAAQAAAIuQA/CBxIsKDACRwScggQwIGAhwIICBDYQcEEgwg+bNjw + QKCHCQgkQBgpQcKBCg0AEBCoAaRIkhIsVBigUiAHCgwkKNjJU8GAAx0/3NwIAMABCwsaDHCwIGgAChuK + HjiQdMDSAQYEPpWKtKqDBA6yfgiAwGhXpUsTJIgg0AGCo0nRfi1QgO0HAQyQNpCrtkAGDAIFbKi69GsC + un8FEohqdEFavxkyXAhMoPKDBwYMRIiAAcOFoAZDCwwIADs= + + + + + R0lGODlhEAAQAIQfAJfL/OTs9HWVsW6aUqnT+6bnZldwkYiux7TZ/O3z+UlVa/P2+ZfTW36wWJDLV4m7 + 69nn78bi/qjL3qDP+VJhe4rAVa7S40NLXJ3bYJrA1ikxQz5FVdDU22OPRf///////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIwQA9CBxIcOCHgx4gWLAgIUOGAwcESBTgAaEFCAEGaBwQ + IGOABwYqerCQsYBJBho7JHgAUqCEDjAxYGBQgYHKBAsoCMzQIUIEmA6CdkCAIOfOBT5/MnBQYSgBozCj + SoVJ4KkCDx1MFhhKFEFVAhMCXM1aAANMoh2qTgh7AWvZmQ6igp0AIEDbDg0aLA06YC4AABA2eBjgYcHG + vmv/Akgg2IMBDgsSdJwcAEICDhoECjDAmQIFBQouXNiwQYPOgqgLBgQAOw== + + + + 186, 17 + + + 248, 17 + + + 828, 17 + + + 455, 17 + + + 561, 17 + + + 647, 17 + + + 731, 17 + + + + iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABGdBTUEAALGPC/xhBQAABEpJREFUSEut + V+tPW2UYb7xE/wQvMZmZbs7v6hK/+M24EKfMpoiWy+hYUTZxso3aoWepwfXCoKYNqw500hVQ0Mgc98Kq + bSllA3YxM2SUgq7MGwV0fpv1/R19Tt8eXuua8uHXnvPcfue9PM/7vJpnawpyglb72Z3PH/rqgV31g08V + 1g89vdM8+NAz0thdIttsEArV0EkjW8obI/bqlov+N9uuLtR555elnsRfR3sSqUOfXvuz2DK6Q+SXDUIh + oUga21ThnOwwnY79ZutLpuz9K+vw3pc/pV6xjBSI/LNBKARKbeHa2lOzP9r7xYQENXGZPeSvOfldXI0S + W3DxpXcGdpJdBhmANdztiHik7sRNngAjNncsrO7zXA5XuWY6Kp3nP9rjnGitdEZ7tZL/SfKvPnFpkPcD + TL74Db0jpOd5lAcCSBt6f7lFTra+ldTh9mvXdx+PenQNI1vU9mqsJ06myhzjvWq7jBdMLz9S69nl1F7X + hYDeHniYt8sG0Yjf7b5+s9Qa2s/bKQ/YSP+saZrU0Bz94rl9fffwDv8HIjZ3xpPHvl5WyGs/mV3kB6A4 + MJJO2kiYXqN76lyupACI5TW1BiuMrukwESOmoXmynezkn1cto1uRMmSENc1lennoraFzenuoCM8vWgLb + EIvimryxG8WWoUehk43L7WE75Sn+K5omTlCgXPFCXf8m/p3NZFs6JZMpFCLIZSUqEn2V2Te/tuvfr9oI + IBNYzFWK/3rLzBDkct6iDJJiv+dySO2cL6o9VyIUH1yo7ZoC85kHTb7YCimq3FOdIud8YPxguovim3zz + KzhkNIXS8PajPUtKwTA0TXpEzvnA4Jz0UHwcLoXm4e0aHG/sJU3MjETO+WBPc/RDhbg7cauwvv8Jear5 + xd/rvrDxU+2e/pzi13ljyzsOnr1PU1l5/u7MzXUlInLOB9WeS8rmOtD2/Tw2tKx4reXiCCnMvvjqRqbT + y9LYY+auhTWKz7iGIZeV7ERy8EmOpOed1UUhFxiOT5zki1OpI2SFXFZqj4xurWuf+5m+CmVO2/DN49Ch + /KEMUqBcgJbpcPvckhLXG/tV+/7AI9ApRhXN0Q4UcjJi+RwqPhYoYZshgcJPdrcLViTurXJNhdIx2Uw2 + Rb2kVwx1Nv/mg6dmfyBiHGlsvZN4zpUYpKze9+JopXhvfTy7WMQ6UrLJcCizBo1Sz9LvZEzIhRjTa3RN + BXlSlrt/lDi+fYO3y3ACyhvHz6Q32u0T6yzD29goW7Gm/JKhjSprDK877TJeSmwBnck7l+BJAZ4YjR0a + PDR6BtbwGd0zXUwfOdIZX6PdS8BIQYq85XkA5QGtJ1pQUWuKlpXs0MqipeUJ1iOZqmVrqrcHa8hPDaEw + G7IRY8RIGZYhp/mNJIJQmA24ruDagusLThrU3gOtV+OofuWOcavO4t8s8lNDKMwGHOK4qOHCJl/c3h64 + X5KkO0S2/40Czd+YEQefvqIj4QAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAN + 1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAMZSURBVEhLzVdd + TxNBFF3/hi8+GH0xJmriq5HdzralCMKDGl/LxwMphCe+QqKBmCBB3oDAzyD8A4F+AfJATFRMoAhtUVrY + CqXajvcss2Ep07KlEDzJSSY7d+7p3Llz51b57zHvcj0M6vpgxOuNhD2eGI2NIGMGxmF8Y+ztHGMPhHl1 + 4IpyI6hpr0K6vhn1+fbX2tpyPwcGeHpoiGeGh01ijG/fW1uPyMYIu92xBZfrBdYKN5UhpGl3aVeflxoa + jGRfHz8cG3PEBNliTdDtXp1T1dvCnTOEVFWlXRqxjo68zLkTrgcCefig3T8VbsuDQltDCw4q2WUpYvfw + RTt/ItzLEa6puRdiLIMzkzm6COGLwr5PiXhHyJwGkoEydHWzq+vC4S3FWGfn34jHsyJNOLour1eamgzZ + wsvgp8ZGY0HXXwq5Y+CXhOgaJPv7pYvA3MwMz05MSOfA7OSkaSObA3HedNXWheQx5jTtcbSubl+2AMzN + znJeKPBCMmkKFM/jW2Fnx7SBbfG8RWgsqOojIUvXR9ffozjIjMHs+DjPx+McKOzu8uzU1MkcjfENgM0h + 2drX2rnW0nJESfZOyFI2e73L5cJsUiJeiSiIKxqprY0KWRJ2u7dR+mTGp2gXT6dNAk5EwdTgIKebsyVk + KdSMZTMjI1LjM4Q4nbUFnLsTURAa0BKylQlnp6d5IZUSsiRMY/uZl+MZYQr1lpNQ20XziYRJoDjhSjFF + GqT1Q8gqCr2xyzvnJNcp0e3t4/Ai7DQGTHGyka21eCa58MB/bW4+khmDUlFr3i6OsJcR/+b3H9LVfSNk + qYBQ54BHXGYMXlYBod1mqDTfF7K2klnmKbySkgnMa9rzpfp64+DDB+nCagifiz5fhsrlMyF3AutZXK+i + 6yjFjfb20s8iQJ3CLaql6XhPj9TBRRjv7uZ0jL8+MnZTyMhxLa2PBbPZY2xvIxAoecXOIzV7eIn2HDd7 + Fq6lvbWAZLAaetxBKjK5RG+vWfp+j46axIuDnPji9+dgQ1emuoa+GLa/MIt4RoMu1x8Q46jXG73UvzBX + B0X5B56Fg+LhPgWxAAAAAElFTkSuQmCC + + + + 561, 17 + + \ No newline at end of file diff --git a/SubProject/FPJ0000/FPJ0000.csproj b/SubProject/FPJ0000/FPJ0000.csproj index 1c2b8f7..aad089d 100644 --- a/SubProject/FPJ0000/FPJ0000.csproj +++ b/SubProject/FPJ0000/FPJ0000.csproj @@ -117,6 +117,9 @@ True dsMail.xsd + + dsPRJ.xsd + True True @@ -137,6 +140,18 @@ True dsReport.xsd + + Form + + + fEboardData.cs + + + Form + + + fEboardList.cs + Model1.tt @@ -173,6 +188,18 @@ fJobChartMenu.cs + + Form + + + fJobReportAI.cs + + + Form + + + fJobReport_AddAI.cs + Form @@ -384,6 +411,12 @@ Model1.tt + + fEboardData.cs + + + fEboardList.cs + fHistAddDay.cs @@ -399,6 +432,12 @@ fJobChartMenu.cs + + fJobReportAI.cs + + + fJobReport_AddAI.cs + rJobChart.cs diff --git a/SubProject/FPJ0000/JobReport/fJobReportAI.Designer.cs b/SubProject/FPJ0000/JobReport/fJobReportAI.Designer.cs new file mode 100644 index 0000000..5fd2430 --- /dev/null +++ b/SubProject/FPJ0000/JobReport/fJobReportAI.Designer.cs @@ -0,0 +1,666 @@ +namespace FPJ0000 +{ + partial class fJobReportAI + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fJobReportAI)); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType23 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType24 = new FarPoint.Win.Spread.CellType.TextCellType(); + this.bn = new System.Windows.Forms.BindingNavigator(this.components); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.dsMSSQL = new FPJ0000.dsPRJ(); + 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.btAdd = new System.Windows.Forms.ToolStripButton(); + this.btCopy = new System.Windows.Forms.ToolStripButton(); + this.btEdit = new System.Windows.Forms.ToolStripButton(); + this.btDel = new System.Windows.Forms.ToolStripButton(); + this.btSave = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); + this.tbFind = new System.Windows.Forms.ToolStripTextBox(); + this.btFind = new System.Windows.Forms.ToolStripButton(); + this.cm = new System.Windows.Forms.ContextMenuStrip(this.components); + this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.autoToolStripMenuItem = 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.exportListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); + this.refreshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); + this.partListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem3 = 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.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); + this.cmbProcess = new System.Windows.Forms.ToolStripComboBox(); + this.btSearch = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); + this.ta = new FPJ0000.dsPRJTableAdapters.EETGW_JobReport_AutoInputTableAdapter(); + 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.cm.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); + this.toolStrip1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); + this.SuspendLayout(); + // + // bn + // + this.bn.AddNewItem = null; + this.bn.BindingSource = this.bs; + this.bn.CountItem = this.bindingNavigatorCountItem; + this.bn.DeleteItem = null; + this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bindingNavigatorMoveFirstItem, + this.bindingNavigatorMovePreviousItem, + this.bindingNavigatorSeparator, + this.bindingNavigatorPositionItem, + this.bindingNavigatorCountItem, + this.bindingNavigatorSeparator1, + this.bindingNavigatorMoveNextItem, + this.bindingNavigatorMoveLastItem, + this.bindingNavigatorSeparator2, + this.btAdd, + this.btCopy, + this.btEdit, + this.btDel, + this.btSave, + this.toolStripSeparator1, + this.toolStripLabel2, + this.tbFind, + this.btFind}); + this.bn.Location = new System.Drawing.Point(0, 326); + 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(1291, 25); + this.bn.TabIndex = 0; + this.bn.Text = "bindingNavigator1"; + // + // bs + // + this.bs.DataMember = "EETGW_JobReport_AutoInput"; + this.bs.DataSource = this.dsMSSQL; + this.bs.Sort = "enable,pdate desc"; + // + // 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, 22); + 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(23, 22); + this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; + // + // bindingNavigatorMovePreviousItem + // + this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); + this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; + this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorPositionItem + // + this.bindingNavigatorPositionItem.AccessibleName = "위치"; + this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.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, 25); + // + // bindingNavigatorMoveNextItem + // + this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); + this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; + this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; + // + // bindingNavigatorMoveLastItem + // + this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); + this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; + this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); + // + // btAdd + // + this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image"))); + this.btAdd.Name = "btAdd"; + this.btAdd.RightToLeftAutoMirrorImage = true; + this.btAdd.Size = new System.Drawing.Size(67, 22); + this.btAdd.Text = "추가(&A)"; + this.btAdd.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click); + // + // btCopy + // + this.btCopy.Image = global::FPJ0000.Properties.Resources.copy; + this.btCopy.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btCopy.Name = "btCopy"; + this.btCopy.Size = new System.Drawing.Size(67, 22); + this.btCopy.Text = "복사(&C)"; + this.btCopy.Click += new System.EventHandler(this.btCopy_Click); + // + // btEdit + // + this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image"))); + this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btEdit.Name = "btEdit"; + this.btEdit.Size = new System.Drawing.Size(65, 22); + this.btEdit.Text = "편집(&E)"; + this.btEdit.Click += new System.EventHandler(this.btEdit_Click); + // + // btDel + // + this.btDel.Image = ((System.Drawing.Image)(resources.GetObject("btDel.Image"))); + this.btDel.Name = "btDel"; + this.btDel.RightToLeftAutoMirrorImage = true; + this.btDel.Size = new System.Drawing.Size(68, 22); + this.btDel.Text = "삭제(&D)"; + this.btDel.Click += new System.EventHandler(this.btDel_Click); + // + // btSave + // + this.btSave.Image = global::FPJ0000.Properties.Resources.action_save; + this.btSave.Name = "btSave"; + this.btSave.Size = new System.Drawing.Size(66, 22); + this.btSave.Text = "저장(&S)"; + this.btSave.Click += new System.EventHandler(this.projectsBindingNavigatorSaveItem_Click); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); + // + // toolStripLabel2 + // + this.toolStripLabel2.Name = "toolStripLabel2"; + this.toolStripLabel2.Size = new System.Drawing.Size(31, 22); + this.toolStripLabel2.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, 25); + this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_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(23, 22); + this.btFind.Text = "toolStripButton2"; + this.btFind.Click += new System.EventHandler(this.btFind_Click); + // + // cm + // + this.cm.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.columnSizeToolStripMenuItem, + this.exportListToolStripMenuItem, + this.toolStripMenuItem2, + this.refreshToolStripMenuItem, + this.toolStripMenuItem1, + this.partListToolStripMenuItem, + this.toolStripMenuItem3, + this.복사ToolStripMenuItem, + this.편집ToolStripMenuItem, + this.삭제ToolStripMenuItem}); + this.cm.Name = "contextMenuStrip1"; + this.cm.Size = new System.Drawing.Size(226, 274); + // + // columnSizeToolStripMenuItem + // + this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.autoToolStripMenuItem, + this.resetToolStripMenuItem, + this.saveToolStripMenuItem, + this.loadToolStripMenuItem}); + this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem"; + this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(225, 36); + this.columnSizeToolStripMenuItem.Text = "Column Size"; + // + // autoToolStripMenuItem + // + this.autoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("autoToolStripMenuItem.Image"))); + this.autoToolStripMenuItem.Name = "autoToolStripMenuItem"; + this.autoToolStripMenuItem.Size = new System.Drawing.Size(149, 36); + this.autoToolStripMenuItem.Text = "Auto"; + this.autoToolStripMenuItem.Click += new System.EventHandler(this.autoToolStripMenuItem_Click); + // + // resetToolStripMenuItem + // + this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image"))); + this.resetToolStripMenuItem.Name = "resetToolStripMenuItem"; + this.resetToolStripMenuItem.Size = new System.Drawing.Size(149, 36); + 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(149, 36); + 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(149, 36); + this.loadToolStripMenuItem.Text = "Load"; + this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click); + // + // exportListToolStripMenuItem + // + this.exportListToolStripMenuItem.Name = "exportListToolStripMenuItem"; + this.exportListToolStripMenuItem.Size = new System.Drawing.Size(225, 36); + this.exportListToolStripMenuItem.Text = "Export List"; + this.exportListToolStripMenuItem.Click += new System.EventHandler(this.exportListToolStripMenuItem_Click); + // + // toolStripMenuItem2 + // + this.toolStripMenuItem2.Name = "toolStripMenuItem2"; + this.toolStripMenuItem2.Size = new System.Drawing.Size(222, 6); + // + // refreshToolStripMenuItem + // + this.refreshToolStripMenuItem.Name = "refreshToolStripMenuItem"; + this.refreshToolStripMenuItem.Size = new System.Drawing.Size(225, 36); + this.refreshToolStripMenuItem.Text = "Refresh"; + this.refreshToolStripMenuItem.Click += new System.EventHandler(this.refreshToolStripMenuItem_Click); + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(222, 6); + // + // partListToolStripMenuItem + // + this.partListToolStripMenuItem.Name = "partListToolStripMenuItem"; + this.partListToolStripMenuItem.Size = new System.Drawing.Size(225, 36); + this.partListToolStripMenuItem.Text = "PartList"; + this.partListToolStripMenuItem.Click += new System.EventHandler(this.partListToolStripMenuItem_Click); + // + // toolStripMenuItem3 + // + this.toolStripMenuItem3.Name = "toolStripMenuItem3"; + this.toolStripMenuItem3.Size = new System.Drawing.Size(222, 6); + // + // 복사ToolStripMenuItem + // + this.복사ToolStripMenuItem.Name = "복사ToolStripMenuItem"; + this.복사ToolStripMenuItem.Size = new System.Drawing.Size(225, 36); + this.복사ToolStripMenuItem.Text = "복사"; + this.복사ToolStripMenuItem.Click += new System.EventHandler(this.복사ToolStripMenuItem_Click); + // + // 편집ToolStripMenuItem + // + this.편집ToolStripMenuItem.Name = "편집ToolStripMenuItem"; + this.편집ToolStripMenuItem.Size = new System.Drawing.Size(225, 36); + this.편집ToolStripMenuItem.Text = "편집"; + this.편집ToolStripMenuItem.Click += new System.EventHandler(this.편집ToolStripMenuItem_Click); + // + // 삭제ToolStripMenuItem + // + this.삭제ToolStripMenuItem.Name = "삭제ToolStripMenuItem"; + this.삭제ToolStripMenuItem.Size = new System.Drawing.Size(225, 36); + this.삭제ToolStripMenuItem.Text = "삭제"; + this.삭제ToolStripMenuItem.Click += new System.EventHandler(this.삭제ToolStripMenuItem_Click); + // + // fpSpread1 + // + this.fpSpread1.AccessibleDescription = ""; + this.fpSpread1.AutoFitColumnOptions = FarPoint.Win.Spread.PreferredSizeColumnOptions.Off; + this.fpSpread1.ContextMenuStrip = this.cm; + this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; + this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F); + 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(1291, 289); + this.fpSpread1.StatusBarVisible = true; + this.fpSpread1.TabIndex = 2; + // + // toolStrip1 + // + this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30); + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripLabel1, + this.cmbProcess, + this.btSearch, + this.toolStripButton2}); + this.toolStrip1.Location = new System.Drawing.Point(0, 0); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(1291, 37); + this.toolStrip1.TabIndex = 4; + this.toolStrip1.Text = "toolStrip1"; + // + // toolStripLabel1 + // + this.toolStripLabel1.Name = "toolStripLabel1"; + this.toolStripLabel1.Size = new System.Drawing.Size(31, 34); + this.toolStripLabel1.Text = "공정"; + // + // cmbProcess + // + this.cmbProcess.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbProcess.Name = "cmbProcess"; + this.cmbProcess.Size = new System.Drawing.Size(150, 37); + this.cmbProcess.SelectedIndexChanged += new System.EventHandler(this.cmbProcess_SelectedIndexChanged); + this.cmbProcess.Click += new System.EventHandler(this.cmbProcess_Click); + // + // btSearch + // + this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image"))); + this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btSearch.Name = "btSearch"; + this.btSearch.Size = new System.Drawing.Size(80, 34); + this.btSearch.Text = "조회(&R)"; + this.btSearch.Click += new System.EventHandler(this.btSearch_Click); + // + // toolStripButton2 + // + this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + 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(65, 34); + this.toolStripButton2.Text = "닫기"; + this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click); + // + // ta + // + this.ta.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 = 16; + this.fpSpread1_Sheet1.ActiveColumnIndex = -1; + this.fpSpread1_Sheet1.ActiveRowIndex = -1; + this.fpSpread1_Sheet1.AutoGenerateColumns = false; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "사용"; + 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 = "WW"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "담당"; + 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, 11).Value = "*"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "시간"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "초과"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "비고"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "#"; + this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 28F; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType2; + this.fpSpread1_Sheet1.Columns.Get(0).DataField = "enable"; + this.fpSpread1_Sheet1.Columns.Get(0).Label = "사용"; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType13; + this.fpSpread1_Sheet1.Columns.Get(1).DataField = "autoinput"; + this.fpSpread1_Sheet1.Columns.Get(1).Label = "방식"; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType14; + this.fpSpread1_Sheet1.Columns.Get(2).DataField = "pdate"; + this.fpSpread1_Sheet1.Columns.Get(2).Label = "시작일"; + this.fpSpread1_Sheet1.Columns.Get(2).Width = 58F; + this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType15; + this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ww"; + this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(3).Label = "WW"; + this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType16; + this.fpSpread1_Sheet1.Columns.Get(4).DataField = "username"; + 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(5).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType17; + this.fpSpread1_Sheet1.Columns.Get(5).DataField = "requestpart"; + this.fpSpread1_Sheet1.Columns.Get(5).Label = "요청부서"; + this.fpSpread1_Sheet1.Columns.Get(5).Width = 78F; + this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType18; + this.fpSpread1_Sheet1.Columns.Get(6).DataField = "package"; + this.fpSpread1_Sheet1.Columns.Get(6).Label = "패키지"; + this.fpSpread1_Sheet1.Columns.Get(6).Width = 86F; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType19; + this.fpSpread1_Sheet1.Columns.Get(7).DataField = "status"; + this.fpSpread1_Sheet1.Columns.Get(7).Label = "상태"; + this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType20; + this.fpSpread1_Sheet1.Columns.Get(8).DataField = "type"; + this.fpSpread1_Sheet1.Columns.Get(8).Label = "업무형태"; + this.fpSpread1_Sheet1.Columns.Get(8).Width = 84F; + this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType21; + this.fpSpread1_Sheet1.Columns.Get(9).DataField = "process"; + 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 = 80F; + this.fpSpread1_Sheet1.Columns.Get(10).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType22; + this.fpSpread1_Sheet1.Columns.Get(10).DataField = "projectName"; + this.fpSpread1_Sheet1.Columns.Get(10).Label = "프로젝트(아이템)"; + this.fpSpread1_Sheet1.Columns.Get(10).Width = 158F; + this.fpSpread1_Sheet1.Columns.Get(11).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + numberCellType4.DecimalPlaces = 0; + numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType4.MaximumValue = 2147483647D; + numberCellType4.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType4; + this.fpSpread1_Sheet1.Columns.Get(11).DataField = "pidx"; + this.fpSpread1_Sheet1.Columns.Get(11).Label = "*"; + this.fpSpread1_Sheet1.Columns.Get(11).Tag = "pidx"; + this.fpSpread1_Sheet1.Columns.Get(11).Width = 39F; + numberCellType5.MaximumValue = 999999999999999D; + numberCellType5.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType5; + this.fpSpread1_Sheet1.Columns.Get(12).DataField = "hrs"; + this.fpSpread1_Sheet1.Columns.Get(12).Label = "시간"; + this.fpSpread1_Sheet1.Columns.Get(12).Width = 52F; + numberCellType6.MaximumValue = 999999999999999D; + numberCellType6.MinimumValue = -999999999999999D; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType6; + this.fpSpread1_Sheet1.Columns.Get(13).DataField = "ot"; + this.fpSpread1_Sheet1.Columns.Get(13).ForeColor = System.Drawing.Color.Red; + this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(13).Label = "초과"; + this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType23; + this.fpSpread1_Sheet1.Columns.Get(14).DataField = "description"; + this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(14).Label = "비고"; + this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(14).Width = 113F; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType24; + this.fpSpread1_Sheet1.Columns.Get(15).DataField = "tag"; + this.fpSpread1_Sheet1.Columns.Get(15).Label = "#"; + this.fpSpread1_Sheet1.Columns.Get(15).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; + // + // fJobReportAI + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1291, 351); + this.Controls.Add(this.fpSpread1); + this.Controls.Add(this.toolStrip1); + this.Controls.Add(this.bn); + this.Name = "fJobReportAI"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "업무일지 - 자동입력 양식"; + this.Load += new System.EventHandler(this.@__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.cm.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); + this.toolStrip1.ResumeLayout(false); + this.toolStrip1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private dsPRJ dsMSSQL; + private System.Windows.Forms.BindingSource bs; + private System.Windows.Forms.BindingNavigator bn; + private System.Windows.Forms.ToolStripButton btAdd; + private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; + private System.Windows.Forms.ToolStripButton btDel; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; + private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; + private System.Windows.Forms.ToolStripButton btSave; + private System.Windows.Forms.ContextMenuStrip cm; + private System.Windows.Forms.ToolStripMenuItem refreshToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; + private System.Windows.Forms.ToolStripMenuItem partListToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private FarPoint.Win.Spread.FpSpread fpSpread1; + private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem autoToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem resetToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2; + private System.Windows.Forms.ToolStrip toolStrip1; + private System.Windows.Forms.ToolStripButton btCopy; + private System.Windows.Forms.ToolStripButton btEdit; + private System.Windows.Forms.ToolStripLabel toolStripLabel2; + private System.Windows.Forms.ToolStripTextBox tbFind; + private System.Windows.Forms.ToolStripButton btFind; + private System.Windows.Forms.ToolStripMenuItem exportListToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripMenuItem3; + private System.Windows.Forms.ToolStripMenuItem 복사ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 편집ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 삭제ToolStripMenuItem; + private System.Windows.Forms.ToolStripButton toolStripButton2; + private System.Windows.Forms.ToolStripLabel toolStripLabel1; + private System.Windows.Forms.ToolStripComboBox cmbProcess; + private dsPRJTableAdapters.EETGW_JobReport_AutoInputTableAdapter ta; + private System.Windows.Forms.ToolStripButton btSearch; + private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; + } +} \ No newline at end of file diff --git a/SubProject/FPJ0000/JobReport/fJobReportAI.cs b/SubProject/FPJ0000/JobReport/fJobReportAI.cs new file mode 100644 index 0000000..47af977 --- /dev/null +++ b/SubProject/FPJ0000/JobReport/fJobReportAI.cs @@ -0,0 +1,365 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; +using util = FCOMMON.Util; + +namespace FPJ0000 +{ + public partial class fJobReportAI : FCOMMON.fBase + { + string fn_fpcolsize = ""; + public fJobReportAI() + { + InitializeComponent(); + fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); + this.dsMSSQL.JobReport.TableNewRow += Projects_TableNewRow; + this.FormClosed += __Closed; + } + + void __Closed(object sender, FormClosedEventArgs e) + { + + } + + Boolean binit = false; + + private void __Load(object sender, EventArgs e) + { + + + //공정목록 + var taProc = new dsReportTableAdapters.ProcessListTableAdapter(); + var dtProcList = taProc.GetData(FCOMMON.info.Login.gcode); + cmbProcess.Items.Clear(); + cmbProcess.Items.Add("--전체--"); + foreach (dsReport.ProcessListRow dr in dtProcList) + { + cmbProcess.Items.Add(dr.processs); + } + cmbProcess.Text = FCOMMON.info.Login.process; + if (cmbProcess.SelectedIndex < 0) cmbProcess.SelectedIndex = 0; //공정이 없는 사람은 전체보기로 함 + + btSave.Visible = true; + + refreshData(); + binit = true; + + } + + private void cmbProcess_SelectedIndexChanged(object sender, EventArgs e) + { + if (binit == false) return; + } + private void cmbProcess_Click(object sender, EventArgs e) + { + + } + + + + void refreshData(bool tagonly = false) + { + this.ta.Fill(this.dsMSSQL.EETGW_JobReport_AutoInput, FCOMMON.info.Login.gcode); + + FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); + FormattingData(); + } + void FormattingData() + { + //삭제컬럼인덱스 + this.fpSpread1.SuspendLayout(); + var delindex = this.fpSpread1.ActiveSheet.Columns["pidx"].Index; + for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) + { + var state = this.fpSpread1.ActiveSheet.GetValue(i, delindex); + string stateStr = string.Empty; + if (state != null) stateStr = state.ToString(); + + switch (stateStr.ToLower()) + { + case "-1": + this.fpSpread1.ActiveSheet.Rows[i].BackColor = Color.WhiteSmoke; + break; + default: + this.fpSpread1.ActiveSheet.Rows[i].BackColor = SystemColors.Window; + break; + } + } + this.fpSpread1.ResumeLayout(); + } + void funcSave() + { + this.Validate(); + this.bs.EndEdit(); + try + { + this.ta.Update(this.dsMSSQL); + FormattingData(); + } + catch (Exception ex) + { + FCOMMON.Util.MsgE("저장 실패\n" + ex.Message); + } + } + + private void projectsBindingNavigatorSaveItem_Click(object sender, EventArgs e) + { + funcSave(); + + } + void Projects_TableNewRow(object sender, DataTableNewRowEventArgs e) + { + e.Row["gcode"] = FCOMMON.info.Login.gcode; + e.Row["pdate"] = DateTime.Now.ToShortDateString(); + e.Row["wuid"] = FCOMMON.info.Login.no; + e.Row["wdate"] = DateTime.Now; + e.Row["status"] = "진행 완료";//other + e.Row["uid"] = FCOMMON.info.Login.no; //이름을 직접 기록 + e.Row["hrs"] = 8.0; + e.Row["ot"] = 0.0; + } + + private void refreshToolStripMenuItem_Click(object sender, EventArgs e) + { + refreshData(); + } + + private void partListToolStripMenuItem_Click(object sender, EventArgs e) + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.ProjectsRow; + var f = new fPartList(dr.idx); + f.MdiParent = this.MdiParent; + f.Show(); + } + + + private void autoToolStripMenuItem_Click(object sender, EventArgs e) + { + this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true; + + for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) + this.fpSpread1.ActiveSheet.SetRowHeight(i, 25); + //dv1.AutoResizeColumns(); + } + + private void resetToolStripMenuItem_Click(object sender, EventArgs e) + { + foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns) + { + col.Width = 100; + } + } + + private void saveToolStripMenuItem_Click(object sender, EventArgs e) + { + FPUtil.ColsizeSave(this.fpSpread1, fn_fpcolsize); + } + + private void loadToolStripMenuItem_Click(object sender, EventArgs e) + { + FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize); + } + + private void btSearch_Click(object sender, EventArgs e) + { + refreshData(); + } + + private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) + { + var newdr = this.dsMSSQL.EETGW_JobReport_AutoInput.NewEETGW_JobReport_AutoInputRow(); + newdr.pdate = DateTime.Now.ToShortDateString(); + newdr.uid = FCOMMON.info.Login.no; + newdr.gcode = FCOMMON.info.Login.gcode; + newdr.wdate = DateTime.Now; + newdr.wuid = FCOMMON.info.Login.no; + + var f = new JobReport.fJobReport_AddAI(newdr); + if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + this.dsMSSQL.EETGW_JobReport_AutoInput.AddEETGW_JobReport_AutoInputRow(newdr); + int cnt = this.ta.Update(newdr); + newdr.AcceptChanges(); + FormattingData(); + if (cnt != 1) + FCOMMON.Util.MsgE("자료가 추가되지 않았습니다.\n\n잠시 후 다시 시도하세요"); + } + else newdr.Delete(); + } + + private void btFind_Click(object sender, EventArgs e) + { + var search = tbFind.Text.Trim(); + search = search.Replace("*", "x"); + if (tbFind.Text != search) tbFind.Text = search; + try + { + if (search.Trim() == "") + { + this.bs.Filter = ""; + tbFind.BackColor = Color.White; + } + else + { + search = search.Replace("'", "''"); + var collist = new string[] { "requestpart", "package", "projectname", "process", "[type]", "description", "tag" }; + string filter = ""; // "itemna like ? or package like ? or projectname like ? or process like ? or [type] like ? or description like ?"; + foreach (var col in collist) + { + if (filter != "") filter += " or "; + filter += col + " like ?"; + } + filter = filter.Replace("?", "'%" + search + "%'"); + this.bs.Filter = filter; + tbFind.BackColor = Color.Lime; + } + tbFind.SelectAll(); + tbFind.Focus(); + } + catch (Exception ex) + { + this.tbFind.BackColor = Color.Tomato; + FCOMMON.Util.MsgE(ex.Message); + } + } + + private void tbFind_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) btFind.PerformClick(); + } + + private void btEdit_Click(object sender, EventArgs e) + { + funcEdit(); + } + + void funcEdit() + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.EETGW_JobReport_AutoInputRow; + if (dr.uid != FCOMMON.info.Login.no && FCOMMON.info.Login.level < 5) + { + FCOMMON.Util.MsgE("타인의 자료는 추가/변경/삭제 할 수 없습니다."); + return; + } + + var f = new JobReport.fJobReport_AddAI(dr); + if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + if (dr.RowState != DataRowState.Unchanged) + { + int cnt = this.ta.Update(dr); + dr.AcceptChanges(); + FormattingData(); + } + } + else dr.RejectChanges(); + } + + private void exportListToolStripMenuItem_Click(object sender, EventArgs e) + { + SaveFileDialog sd = new SaveFileDialog(); + sd.Filter = "excel|*.xls"; + sd.FileName = "jobreport.xls"; + if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + fpSpread1.SaveExcel(sd.FileName, + FarPoint.Excel.ExcelSaveFlags.SaveAsViewed + | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered + | FarPoint.Excel.ExcelSaveFlags.NoFormulas + | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); + FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + sd.FileName); + } + } + + private void btCopy_Click(object sender, EventArgs e) + { + funcCopy(); //190509 + } + void funcCopy() + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.EETGW_JobReport_AutoInputRow; + + //현재 데이터를 입력하여 신규 추가를 한다. + var newdr = this.dsMSSQL.EETGW_JobReport_AutoInput.NewEETGW_JobReport_AutoInputRow(); + FCOMMON.Util.CopyData((System.Data.DataRow)dr, (System.Data.DataRow)newdr); + newdr.wdate = DateTime.Now; + newdr.wuid = FCOMMON.info.Login.no; + newdr.uid = FCOMMON.info.Login.no; + //newdr.description = ""; + newdr.pdate = DateTime.Now.ToShortDateString(); //190509 + newdr.idx = -1; + newdr.hrs = 8.0; + newdr.ot = 0.0; + newdr.EndEdit(); + + //var newdr = this.dsMSSQL.JobReport.NewJobReportRow(); + var f = new JobReport.fJobReport_AddAI(newdr); + if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + this.dsMSSQL.EETGW_JobReport_AutoInput.AddEETGW_JobReport_AutoInputRow(newdr); + this.ta.Update(newdr); + newdr.AcceptChanges(); + } + else newdr.Delete(); + } + + private void btDel_Click(object sender, EventArgs e) + { + funcDelete(); + } + void funcDelete() + { + var drv = this.bs.Current as DataRowView; + if (drv == null) return; + var dr = drv.Row as dsPRJ.EETGW_JobReport_AutoInputRow; + + var dlg = FCOMMON.Util.MsgQ("현재 선택된 자료를 삭제하시겠습니까?"); + if (dlg != System.Windows.Forms.DialogResult.Yes) return; + + dr.Delete(); + try + { + this.ta.Update(dr); + } + catch (Exception ex) + { + FCOMMON.Util.MsgE("삭제실패\n\n" + ex.Message); + } + } + + + private void 복사ToolStripMenuItem_Click(object sender, EventArgs e) + { + funcCopy(); + } + + private void 편집ToolStripMenuItem_Click(object sender, EventArgs e) + { + funcEdit(); + } + + private void 삭제ToolStripMenuItem_Click(object sender, EventArgs e) + { + funcDelete(); + } + + + private void toolStripButton2_Click(object sender, EventArgs e) + { + this.Close(); + } + + + } +} diff --git a/SubProject/FPJ0000/JobReport/fJobReportAI.resx b/SubProject/FPJ0000/JobReport/fJobReportAI.resx new file mode 100644 index 0000000..f9bcf05 --- /dev/null +++ b/SubProject/FPJ0000/JobReport/fJobReportAI.resx @@ -0,0 +1,291 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 186, 17 + + + 122, 17 + + + 17, 17 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 + wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 + v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg + UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA + Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu + lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w + 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f + Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ + 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI + N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f + oAc0QjgAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// + h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B + twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA + kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG + WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 + 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC + pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ + Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ + /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA + zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ + IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E + rkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEvSURBVDhPpZI/S0JRGIed+i6Nbk0t0iCuSkuDi1MfIKfm + +gAOQktTQkMggYtRkwgidKmgyQwMCgqz0CivvvK8cK7neG4KdeHhHs45v+c9/xLyz08Ft713OQ+6SqXV + kfLlnXJw1lSK5VrERqGkMB4JCCLpvQ7lZfDlQJ+B4EnwI9nTkbYdAZMbjxOPq4eJPH1MvXC2sD8XsOzP + 0bcX/C3MXEfAfmzBsnCnP10uWBWu3IS+gJOm0w5fHCZiw0aQzu3GC0xYgm2R+poTRnh8HeqNOALu920w + 9MK0F8NGkMrs+ALewqrwUXss3ed+vKB6H+rh2OT3SjpO0IBgcyvnCjgDBGCq8mcMiQ3FHAGdLB/J4vMF + KhoI83LXk6m5gCpmufbyOWlgv0BVIMx4JPj7JzIDGHRUPz2nxiQAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC + DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC + rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV + i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG + 86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG + QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX + bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE3SURBVDhPnZIxS8NQFEb7W/wLjh0Fl9a1SxBHBekkWFd1 + qYg4Ci5dndSCg2AHl4LQSaRSKDqoFUE7VAjUmvTKueWmL2mw2gunL7zmO+/mJhmZoTJusdF868vpXUfO + b5/lpPEox9f3SvnsRtk8uojxHQ7HEgSEkXS6vrz3xqtdu+xdfUiheEBsJOGCk/mz/hROUHsIIrp+qIKY + hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1 + 9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon + GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg== + + + + 17, 17 + + + 252, 17 + + + + R0lGODlhEAAQAIQfAJXG2JXa+ZLO5ChrlkCy4TZ1kiVvpCN0trvo9SN5xTd4lrfh7iR9zo3S+EGz7JDJ + 4TaCromrvC9ymyV+0Dd3mTl1koe72YvN7LTj+9ne6N3g6v7+/0Cw2Stoh////////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAInwA/CBzooaAHgQUHKvRQoUABCgUlHFT4IYMCBAsQIIBg + wcBEgh0WCBDAgcAFDAc+fvDQIUKHDgMeEHDQIIFKlgoMGgjQoAGDmwUOehhg4EACBhM+GlzKVOkEBgkO + GBggNOhCBhgCBPBYUEGHmwkCOCDwYMCAll8XHghwgQCHkQDSLjRgAcKDBwAAKNCwgaIHiR4oOKygkuDE + pRQTK6YYEAA7 + + + + + R0lGODlhEAAQAIQfALnik2aXQv7+/dPut73llbfala3LmW6gSWqdQ2eYRGqaSLfck568iYrUQN7yzF6R + PLTXlYjUP8XwmYfQQLbYl4jRQGiaQsPumNbyu7nglNPzsLXYlf7+/lCHK////////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIlgA/CBzooaAHgQUHEvSgIEAABQUfHFTIwQECDAMwYDhg + oENCgRw8dBgAAECFBgsweJxYsAODDjApTIhAwCMHkCItGOxwgUCGlQQTeAgJsyhQg0iTGvzQ0qhND0IX + dtBwQcJKDxZsIhQpIcIECkVffmwpYUGDCiUheBQg1cCBAgU2QFDg4KZCDxIZOoQ48S7LpQoDCx4cEAA7 + + + + + R0lGODlhEAAQAIQAAJXD9Iasxm6MqnSn2lZtjVaRyEpXbYu767TX/2KZztvr/4Gy5KrT/3ut32+gzlFh + e+r0/0RNX9/u/9Ln+8Xg//n8/4e36CkxQz9GVkSCvKjL35/N/Je91K7T5bDS4////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQAAAAAACwAAAAAEAAQAAAIuQA/CBxIsKDACRwScggQwIGAhwIICBDYQcEEgwg+bNjw + QKCHCQgkQBgpQcKBCg0AEBCoAaRIkhIsVBigUiAHCgwkKNjJU8GAAx0/3NwIAMABCwsaDHCwIGgAChuK + HjiQdMDSAQYEPpWKtKqDBA6yfgiAwGhXpUsTJIgg0AGCo0nRfi1QgO0HAQyQNpCrtkAGDAIFbKi69GsC + un8FEohqdEFavxkyXAhMoPKDBwYMRIiAAcOFoAZDCwwIADs= + + + + + R0lGODlhEAAQAIQfAJfL/OTs9HWVsW6aUqnT+6bnZldwkYiux7TZ/O3z+UlVa/P2+ZfTW36wWJDLV4m7 + 69nn78bi/qjL3qDP+VJhe4rAVa7S40NLXJ3bYJrA1ikxQz5FVdDU22OPRf///////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIwQA9CBxIcOCHgx4gWLAgIUOGAwcESBTgAaEFCAEGaBwQ + IGOABwYqerCQsYBJBho7JHgAUqCEDjAxYGBQgYHKBAsoCMzQIUIEmA6CdkCAIOfOBT5/MnBQYSgBozCj + SoVJ4KkCDx1MFhhKFEFVAhMCXM1aAANMoh2qTgh7AWvZmQ6igp0AIEDbDg0aLA06YC4AABA2eBjgYcHG + vmv/Akgg2IMBDgsSdJwcAEICDhoECjDAmQIFBQouXNiwQYPOgqgLBgQAOw== + + + + 488, 17 + + + 320, 17 + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE4SURBVDhPtZPPasJAEMbzPn0FwWA92JtP4NGKB1/DP7ei + QSsovkChh7ZBrCfpyR4sikopUgq9StFzM/UbZ5asSS4FfzAkO7vft5udiZMEnSBpk5dhFJmncjdHxXaG + A+9K4SbFT1luEwQBbXavVO5d0nI3ovnW5yeiMriiu+kt5asXbABEdgRigAUQDr+aHLU3lxoLl/yPJhvF + GsiYJ/vPdX5qPK3bVJ25VFukafztGQNsKHJ791I3w+8KcpNth8XDz5YxACI/gsR1J8sTYcO4UIzwv1gG + cTshgJ5IT8hChTMHsHi+v+fvffmxywVwN2FDkdsGEOK2ceu4feQ0tDqKyKMGqDfqjvprLzyswuX7Tf4E + dBo6zn/3OB7XHovRyuhQ6+hhYKA9DpL+A1keRebNAhkaJH0OHOcP031C4EjYr6wAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADlSURBVEhL7dQxCsIwFMbxnMrZWatzUXRUCo5ewSs4ewZR + DyDeQfEETsUbRL7YYNSXNC/UOiQP/kvzyE9KUcQ7y/VJtlHFvQYPjzf50xKsJsFmq81WHq538swMO9il + zhALxkWd7kAOJwsnjjPsYNeGs2B14fR5YTYq5O5c1u7sL987iAUjF+6LIjaMKJyDoiAYmVAvn8lsXHij + KBhGwDWof4APihqHqQ+OKhg2X3U/n7+9ah88CKY+pM9ndTgbplDbmQtnwS7UtmPDWfDf/jIRLnKhOuzY + UMSGmyrBauKE26jiohshHicE2B3dbRrmAAAAAElFTkSuQmCC + + + + 426, 17 + + \ No newline at end of file diff --git a/SubProject/FPJ0000/JobReport/fJobReport_Add.Designer.cs b/SubProject/FPJ0000/JobReport/fJobReport_Add.Designer.cs index ff96a20..1c18b8d 100644 --- a/SubProject/FPJ0000/JobReport/fJobReport_Add.Designer.cs +++ b/SubProject/FPJ0000/JobReport/fJobReport_Add.Designer.cs @@ -349,8 +349,13 @@ // tam // this.tam.BackupDataSetBeforeUpdate = false; + this.tam.EETGW_JobReport_EBoardTableAdapter = null; this.tam.EETGW_NoteTableAdapter = null; + this.tam.EETGW_ProjecthistoryDTableAdapter = null; + this.tam.EETGW_ProjectToDoTableAdapter = null; + this.tam.EETGW_SaveCostTableAdapter = null; this.tam.JobReportTableAdapter = this.ta; + this.tam.ProjectPartStatusTableAdapter = null; this.tam.ProjectsHistoryTableAdapter = null; this.tam.ProjectsIOMapTableAdapter = null; this.tam.ProjectsMailListTableAdapter = null; @@ -457,6 +462,7 @@ this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "fJobReport_Add"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "업무일지 등록/변경"; this.Load += new System.EventHandler(this.fJobReport_Add_Load); ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); diff --git a/SubProject/FPJ0000/JobReport/fJobReport_AddAI.Designer.cs b/SubProject/FPJ0000/JobReport/fJobReport_AddAI.Designer.cs new file mode 100644 index 0000000..25d9d26 --- /dev/null +++ b/SubProject/FPJ0000/JobReport/fJobReport_AddAI.Designer.cs @@ -0,0 +1,523 @@ +namespace FPJ0000.JobReport +{ + partial class fJobReport_AddAI + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.Label hrsLabel; + System.Windows.Forms.Label typeLabel; + System.Windows.Forms.Label label1; + System.Windows.Forms.Label projectLabel; + System.Windows.Forms.Label label4; + System.Windows.Forms.Label stateLabel; + System.Windows.Forms.Label label5; + System.Windows.Forms.Label label3; + System.Windows.Forms.Label label6; + System.Windows.Forms.Label label2; + this.tbHrs = new System.Windows.Forms.TextBox(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.dsPRJ = new FPJ0000.dsPRJ(); + this.statusStrip1 = new System.Windows.Forms.StatusStrip(); + this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); + this.lbIndex = new System.Windows.Forms.ToolStripStatusLabel(); + this.cmbType = new System.Windows.Forms.ComboBox(); + this.btSave = new System.Windows.Forms.Button(); + this.dtPdate = new System.Windows.Forms.DateTimePicker(); + this.cmbUser = new System.Windows.Forms.ComboBox(); + this.tbProjectIndex = new System.Windows.Forms.TextBox(); + this.tbOt = new System.Windows.Forms.TextBox(); + this.tbWW = new System.Windows.Forms.TextBox(); + this.cmbProcess = new System.Windows.Forms.ComboBox(); + this.cmbState = new System.Windows.Forms.ComboBox(); + this.cmbPackage = new System.Windows.Forms.ComboBox(); + this.cmbRequest = new System.Windows.Forms.ComboBox(); + this.ta = new FPJ0000.dsPRJTableAdapters.JobReportTableAdapter(); + this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager(); + this.tbProject = new System.Windows.Forms.ComboBox(); + this.richTextBoxEx1 = new RichTextBoxEx.RichTextBoxEx(); + this.panel1 = new System.Windows.Forms.Panel(); + this.radAuto = new System.Windows.Forms.RadioButton(); + this.radLogin = new System.Windows.Forms.RadioButton(); + this.tbTag = new System.Windows.Forms.TextBox(); + this.chkEnable = new System.Windows.Forms.CheckBox(); + hrsLabel = new System.Windows.Forms.Label(); + typeLabel = new System.Windows.Forms.Label(); + label1 = new System.Windows.Forms.Label(); + projectLabel = new System.Windows.Forms.Label(); + label4 = new System.Windows.Forms.Label(); + stateLabel = new System.Windows.Forms.Label(); + label5 = new System.Windows.Forms.Label(); + label3 = new System.Windows.Forms.Label(); + label6 = new System.Windows.Forms.Label(); + label2 = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit(); + this.statusStrip1.SuspendLayout(); + this.panel1.SuspendLayout(); + this.SuspendLayout(); + // + // hrsLabel + // + hrsLabel.AutoSize = true; + hrsLabel.Location = new System.Drawing.Point(15, 98); + hrsLabel.Name = "hrsLabel"; + hrsLabel.Size = new System.Drawing.Size(53, 12); + hrsLabel.TabIndex = 16; + hrsLabel.Text = "근무시간"; + // + // typeLabel + // + typeLabel.AutoSize = true; + typeLabel.Location = new System.Drawing.Point(374, 65); + typeLabel.Name = "typeLabel"; + typeLabel.Size = new System.Drawing.Size(53, 12); + typeLabel.TabIndex = 13; + typeLabel.Text = "업무형태"; + // + // label1 + // + label1.AutoSize = true; + label1.Location = new System.Drawing.Point(15, 65); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(53, 12); + label1.TabIndex = 10; + label1.Text = "요청부서"; + // + // projectLabel + // + projectLabel.AutoSize = true; + projectLabel.Location = new System.Drawing.Point(15, 39); + projectLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + projectLabel.Name = "projectLabel"; + projectLabel.Size = new System.Drawing.Size(53, 12); + projectLabel.TabIndex = 7; + projectLabel.Text = "프로젝트"; + // + // label4 + // + label4.AutoSize = true; + label4.Location = new System.Drawing.Point(531, 12); + label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label4.Name = "label4"; + label4.Size = new System.Drawing.Size(41, 12); + label4.TabIndex = 5; + label4.Text = "담당자"; + // + // stateLabel + // + stateLabel.AutoSize = true; + stateLabel.Location = new System.Drawing.Point(320, 12); + stateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + stateLabel.Name = "stateLabel"; + stateLabel.Size = new System.Drawing.Size(29, 12); + stateLabel.TabIndex = 3; + stateLabel.Text = "상태"; + // + // label5 + // + label5.AutoSize = true; + label5.Location = new System.Drawing.Point(27, 12); + label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label5.Name = "label5"; + label5.Size = new System.Drawing.Size(41, 12); + label5.TabIndex = 0; + label5.Text = "시작일"; + // + // label3 + // + label3.AutoSize = true; + label3.Location = new System.Drawing.Point(188, 65); + label3.Name = "label3"; + label3.Size = new System.Drawing.Size(41, 12); + label3.TabIndex = 10; + label3.Text = "패키지"; + // + // label6 + // + label6.AutoSize = true; + label6.Location = new System.Drawing.Point(582, 65); + label6.Name = "label6"; + label6.Size = new System.Drawing.Size(53, 12); + label6.TabIndex = 13; + label6.Text = "업무분류"; + // + // label2 + // + label2.AutoSize = true; + label2.Location = new System.Drawing.Point(177, 98); + label2.Name = "label2"; + label2.Size = new System.Drawing.Size(53, 12); + label2.TabIndex = 16; + label2.Text = "초과시간"; + // + // tbHrs + // + this.tbHrs.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "hrs", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N2")); + this.tbHrs.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.tbHrs.Location = new System.Drawing.Point(72, 88); + this.tbHrs.Name = "tbHrs"; + this.tbHrs.Size = new System.Drawing.Size(77, 33); + this.tbHrs.TabIndex = 17; + this.tbHrs.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // bs + // + this.bs.DataMember = "JobReport"; + this.bs.DataSource = this.dsPRJ; + // + // dsPRJ + // + this.dsPRJ.DataSetName = "dsPRJ"; + this.dsPRJ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // statusStrip1 + // + this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripStatusLabel1, + this.lbIndex}); + this.statusStrip1.Location = new System.Drawing.Point(0, 659); + this.statusStrip1.Name = "statusStrip1"; + this.statusStrip1.Size = new System.Drawing.Size(969, 22); + this.statusStrip1.TabIndex = 28; + this.statusStrip1.Text = "statusStrip1"; + // + // toolStripStatusLabel1 + // + this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; + this.toolStripStatusLabel1.Size = new System.Drawing.Size(36, 17); + this.toolStripStatusLabel1.Text = "Index"; + // + // lbIndex + // + this.lbIndex.Name = "lbIndex"; + this.lbIndex.Size = new System.Drawing.Size(17, 17); + this.lbIndex.Text = "--"; + // + // cmbType + // + this.cmbType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbType.FormattingEnabled = true; + this.cmbType.Location = new System.Drawing.Point(431, 61); + this.cmbType.Name = "cmbType"; + this.cmbType.Size = new System.Drawing.Size(142, 20); + this.cmbType.TabIndex = 14; + this.cmbType.SelectedIndexChanged += new System.EventHandler(this.cmbType_SelectedIndexChanged); + // + // btSave + // + this.btSave.BackColor = System.Drawing.Color.SkyBlue; + this.btSave.Location = new System.Drawing.Point(829, 6); + this.btSave.Name = "btSave"; + this.btSave.Size = new System.Drawing.Size(133, 115); + this.btSave.TabIndex = 20; + this.btSave.Text = "확인"; + this.btSave.UseVisualStyleBackColor = false; + this.btSave.Click += new System.EventHandler(this.button1_Click); + // + // dtPdate + // + this.dtPdate.Location = new System.Drawing.Point(73, 8); + this.dtPdate.Margin = new System.Windows.Forms.Padding(4); + this.dtPdate.Name = "dtPdate"; + this.dtPdate.Size = new System.Drawing.Size(178, 21); + this.dtPdate.TabIndex = 1; + this.dtPdate.ValueChanged += new System.EventHandler(this.dtPdate_ValueChanged); + // + // cmbUser + // + this.cmbUser.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.cmbUser.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.cmbUser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbUser.FormattingEnabled = true; + this.cmbUser.ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.cmbUser.Location = new System.Drawing.Point(588, 8); + this.cmbUser.Margin = new System.Windows.Forms.Padding(4); + this.cmbUser.Name = "cmbUser"; + this.cmbUser.Size = new System.Drawing.Size(234, 20); + this.cmbUser.TabIndex = 6; + this.cmbUser.SelectedIndexChanged += new System.EventHandler(this.cmbUser_SelectedIndexChanged); + // + // tbProjectIndex + // + this.tbProjectIndex.Location = new System.Drawing.Point(758, 35); + 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, 21); + this.tbProjectIndex.TabIndex = 9; + this.tbProjectIndex.TabStop = false; + this.tbProjectIndex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbOt + // + this.tbOt.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ot", true)); + this.tbOt.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.tbOt.ForeColor = System.Drawing.Color.Red; + this.tbOt.Location = new System.Drawing.Point(235, 88); + this.tbOt.Name = "tbOt"; + this.tbOt.Size = new System.Drawing.Size(77, 33); + this.tbOt.TabIndex = 17; + this.tbOt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbWW + // + this.tbWW.Location = new System.Drawing.Point(253, 8); + this.tbWW.Margin = new System.Windows.Forms.Padding(4); + this.tbWW.Name = "tbWW"; + this.tbWW.ReadOnly = true; + this.tbWW.Size = new System.Drawing.Size(63, 21); + this.tbWW.TabIndex = 2; + this.tbWW.TabStop = false; + this.tbWW.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // cmbProcess + // + this.cmbProcess.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbProcess.FormattingEnabled = true; + this.cmbProcess.Location = new System.Drawing.Point(641, 61); + this.cmbProcess.Name = "cmbProcess"; + this.cmbProcess.Size = new System.Drawing.Size(181, 20); + this.cmbProcess.TabIndex = 15; + // + // 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(353, 8); + this.cmbState.Margin = new System.Windows.Forms.Padding(4); + this.cmbState.Name = "cmbState"; + this.cmbState.Size = new System.Drawing.Size(160, 20); + this.cmbState.TabIndex = 4; + // + // cmbPackage + // + this.cmbPackage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbPackage.FormattingEnabled = true; + this.cmbPackage.Location = new System.Drawing.Point(235, 61); + this.cmbPackage.Name = "cmbPackage"; + this.cmbPackage.Size = new System.Drawing.Size(131, 20); + this.cmbPackage.TabIndex = 12; + // + // cmbRequest + // + this.cmbRequest.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbRequest.FormattingEnabled = true; + this.cmbRequest.Location = new System.Drawing.Point(73, 61); + this.cmbRequest.Name = "cmbRequest"; + this.cmbRequest.Size = new System.Drawing.Size(108, 20); + this.cmbRequest.TabIndex = 11; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // tam + // + this.tam.BackupDataSetBeforeUpdate = false; + this.tam.EETGW_JobReport_AutoInputTableAdapter = null; + this.tam.EETGW_JobReport_EBoardTableAdapter = null; + this.tam.EETGW_NoteTableAdapter = null; + this.tam.EETGW_ProjecthistoryDTableAdapter = null; + this.tam.EETGW_ProjectToDoTableAdapter = null; + this.tam.EETGW_SaveCostTableAdapter = null; + this.tam.JobReportTableAdapter = this.ta; + this.tam.ProjectPartStatusTableAdapter = null; + this.tam.ProjectsHistoryTableAdapter = null; + this.tam.ProjectsIOMapTableAdapter = null; + this.tam.ProjectsMailListTableAdapter = null; + this.tam.ProjectsPartTableAdapter = null; + this.tam.ProjectsScheduleTableAdapter = null; + this.tam.ProjectsTableAdapter = null; + this.tam.SPMasterTableAdapter = null; + this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; + // + // tbProject + // + this.tbProject.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; + this.tbProject.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.tbProject.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.tbProject.FormattingEnabled = true; + this.tbProject.Location = new System.Drawing.Point(72, 35); + this.tbProject.Name = "tbProject"; + this.tbProject.Size = new System.Drawing.Size(679, 20); + this.tbProject.TabIndex = 55; + // + // richTextBoxEx1 + // + this.richTextBoxEx1.AllowBullets = true; + this.richTextBoxEx1.AllowDefaultInsertText = true; + this.richTextBoxEx1.AllowDefaultSmartText = true; + this.richTextBoxEx1.AllowHyphenation = true; + this.richTextBoxEx1.AllowPictures = true; + this.richTextBoxEx1.AllowSpellCheck = true; + this.richTextBoxEx1.AutoValidate = System.Windows.Forms.AutoValidate.EnablePreventFocusChange; + this.richTextBoxEx1.Dock = System.Windows.Forms.DockStyle.Fill; + this.richTextBoxEx1.FilePath = ""; + this.richTextBoxEx1.Location = new System.Drawing.Point(0, 129); + this.richTextBoxEx1.Name = "richTextBoxEx1"; + this.richTextBoxEx1.Rtf = "{\\rtf1\\ansi\\ansicpg1252\\deff0\\nouicompat{\\fonttbl{\\f0\\fnil\\fcharset0 Arial;}}\r\n{\\" + + "*\\generator Riched20 10.0.18362}\\viewkind4\\uc1 \r\n\\pard\\fs20\\lang1042 richTextBox" + + "Ex1\\par\r\n}\r\n"; + this.richTextBoxEx1.SetColorWithFont = true; + this.richTextBoxEx1.ShowToolStrip = true; + this.richTextBoxEx1.Size = new System.Drawing.Size(969, 509); + this.richTextBoxEx1.TabIndex = 58; + // + // panel1 + // + this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); + this.panel1.Controls.Add(this.chkEnable); + this.panel1.Controls.Add(this.radAuto); + this.panel1.Controls.Add(this.radLogin); + this.panel1.Controls.Add(this.dtPdate); + this.panel1.Controls.Add(this.tbHrs); + this.panel1.Controls.Add(this.tbProject); + this.panel1.Controls.Add(label2); + this.panel1.Controls.Add(hrsLabel); + this.panel1.Controls.Add(this.cmbType); + this.panel1.Controls.Add(label5); + this.panel1.Controls.Add(typeLabel); + this.panel1.Controls.Add(label6); + this.panel1.Controls.Add(this.cmbPackage); + this.panel1.Controls.Add(this.btSave); + this.panel1.Controls.Add(this.cmbRequest); + this.panel1.Controls.Add(label1); + this.panel1.Controls.Add(this.cmbState); + this.panel1.Controls.Add(label3); + this.panel1.Controls.Add(stateLabel); + this.panel1.Controls.Add(this.cmbUser); + this.panel1.Controls.Add(this.cmbProcess); + this.panel1.Controls.Add(this.tbProjectIndex); + this.panel1.Controls.Add(this.tbWW); + this.panel1.Controls.Add(projectLabel); + this.panel1.Controls.Add(label4); + this.panel1.Controls.Add(this.tbOt); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(969, 129); + this.panel1.TabIndex = 59; + // + // radAuto + // + this.radAuto.AutoSize = true; + this.radAuto.Location = new System.Drawing.Point(744, 99); + this.radAuto.Name = "radAuto"; + this.radAuto.Size = new System.Drawing.Size(75, 16); + this.radAuto.TabIndex = 56; + this.radAuto.TabStop = true; + this.radAuto.Text = "자동 생성"; + this.radAuto.UseVisualStyleBackColor = true; + // + // radLogin + // + this.radLogin.AutoSize = true; + this.radLogin.Checked = true; + this.radLogin.Location = new System.Drawing.Point(627, 99); + this.radLogin.Name = "radLogin"; + this.radLogin.Size = new System.Drawing.Size(99, 16); + this.radLogin.TabIndex = 56; + this.radLogin.TabStop = true; + this.radLogin.Text = "로그인시 생성"; + this.radLogin.UseVisualStyleBackColor = true; + // + // tbTag + // + this.tbTag.Dock = System.Windows.Forms.DockStyle.Bottom; + this.tbTag.Location = new System.Drawing.Point(0, 638); + this.tbTag.Name = "tbTag"; + this.tbTag.Size = new System.Drawing.Size(969, 21); + this.tbTag.TabIndex = 60; + this.tbTag.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // chkEnable + // + this.chkEnable.AutoSize = true; + this.chkEnable.Location = new System.Drawing.Point(564, 100); + this.chkEnable.Name = "chkEnable"; + this.chkEnable.Size = new System.Drawing.Size(48, 16); + this.chkEnable.TabIndex = 57; + this.chkEnable.Text = "사용"; + this.chkEnable.UseVisualStyleBackColor = true; + // + // fJobReport_AddAI + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(969, 681); + this.Controls.Add(this.richTextBoxEx1); + this.Controls.Add(this.tbTag); + this.Controls.Add(this.panel1); + this.Controls.Add(this.statusStrip1); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "fJobReport_AddAI"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "업무일지 자동 입력 양식"; + this.Load += new System.EventHandler(this.fJobReport_Add_Load); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit(); + this.statusStrip1.ResumeLayout(false); + this.statusStrip1.PerformLayout(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private dsPRJ dsPRJ; + private System.Windows.Forms.BindingSource bs; + private dsPRJTableAdapters.JobReportTableAdapter ta; + private dsPRJTableAdapters.TableAdapterManager tam; + private System.Windows.Forms.TextBox tbHrs; + private System.Windows.Forms.StatusStrip statusStrip1; + private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1; + private System.Windows.Forms.ToolStripStatusLabel lbIndex; + private System.Windows.Forms.ComboBox cmbType; + private System.Windows.Forms.Button btSave; + private System.Windows.Forms.DateTimePicker dtPdate; + private System.Windows.Forms.ComboBox cmbUser; + private System.Windows.Forms.TextBox tbProjectIndex; + private System.Windows.Forms.TextBox tbOt; + private System.Windows.Forms.TextBox tbWW; + private System.Windows.Forms.ComboBox cmbProcess; + private System.Windows.Forms.ComboBox cmbState; + private System.Windows.Forms.ComboBox cmbPackage; + private System.Windows.Forms.ComboBox cmbRequest; + private System.Windows.Forms.ComboBox tbProject; + private RichTextBoxEx.RichTextBoxEx richTextBoxEx1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.TextBox tbTag; + private System.Windows.Forms.RadioButton radLogin; + private System.Windows.Forms.RadioButton radAuto; + private System.Windows.Forms.CheckBox chkEnable; + } +} \ No newline at end of file diff --git a/SubProject/FPJ0000/JobReport/fJobReport_AddAI.cs b/SubProject/FPJ0000/JobReport/fJobReport_AddAI.cs new file mode 100644 index 0000000..a1976d9 --- /dev/null +++ b/SubProject/FPJ0000/JobReport/fJobReport_AddAI.cs @@ -0,0 +1,422 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace FPJ0000.JobReport +{ + public partial class fJobReport_AddAI : Form + { + dsPRJ.EETGW_JobReport_AutoInputRow dr; + Boolean copyMOde = false; + Boolean bInit = false; + public fJobReport_AddAI(dsPRJ.EETGW_JobReport_AutoInputRow dr_, Boolean copy = false) + { + InitializeComponent(); + dr = dr_; + this.KeyPreview = true; + this.StartPosition = FormStartPosition.CenterScreen; + this.KeyDown += (s1, e1) => + { + if (e1.KeyCode == Keys.Escape) this.Close(); + }; + + foreach (Control ctl in this.panel1.Controls) + { + if (ctl.GetType() == typeof(TextBox) || ctl.GetType() == typeof(ComboBox)) + { + ctl.KeyDown += ctl_KeyDown; + } + } + copyMOde = copy; + this.tbProject.SelectedIndexChanged += tbProject_SelectedIndexChanged; + } + + void tbProject_SelectedIndexChanged(object sender, EventArgs e) + { + if (bInit == false || this.tbProject.SelectedIndex < 0) return; + var data = this.tbProject.SelectedValue; + if (data == null) return; + if (data.GetType() == typeof(DataRowView)) + { + var drv = data as DataRowView; + var idx = int.Parse(drv["Code"].ToString()); + tbProjectIndex.Text = idx.ToString(); + tbProject.Tag = tbProject.Text; + Console.WriteLine(string.Format("Project Select #1 {0}:{1}", idx, tbProject.Text)); + } + else + { + var idx = int.Parse(data.ToString()); + tbProjectIndex.Text = idx.ToString(); + tbProject.Tag = tbProject.Text; + Console.WriteLine(string.Format("Project Select #2 {0}:{1}", idx, tbProject.Text)); + } + + } + + private void fJobReport_Add_Load(object sender, EventArgs e) + { + //사용자목록 + this.bs.DataSource = dr; + + //해당 사용자에 걸린 프로젝트 목록 가져오기 + var userProject = FCOMMON.DBM.getUserProjectList(FCOMMON.info.Login.nameK); + this.tbProject.DataSource = userProject; + this.tbProject.ValueMember = "Code"; + this.tbProject.DisplayMember = "Value"; + + //상태 + var stateList = FCOMMON.DBM.getCodeTable("12"); + this.cmbState.DisplayMember = "Value"; + this.cmbState.ValueMember = "Value"; + this.cmbState.DataSource = stateList; + this.cmbState.Text = dr.status; + + //요청부서 + var dt_request = FCOMMON.DBM.getCodeTable("13"); + this.cmbRequest.DisplayMember = "Value"; + this.cmbRequest.ValueMember = "Value"; + this.cmbRequest.DataSource = dt_request; + + //패키지 + var dt_package = FCOMMON.DBM.getCodeTable("14"); + this.cmbPackage.DisplayMember = "Value"; + this.cmbPackage.ValueMember = "Value"; + this.cmbPackage.DataSource = dt_package; + + //타입 + var dt_type = FCOMMON.DBM.getCodeTable("15"); + this.cmbType.DisplayMember = "Value"; + this.cmbType.ValueMember = "Value"; + this.cmbType.DataSource = dt_type; + + //공정 + var dt_process = FCOMMON.DBM.getCodeTable("16"); + this.cmbProcess.DisplayMember = "Value"; + this.cmbProcess.ValueMember = "Value"; + this.cmbProcess.DataSource = dt_process; + + if (dr.autoinput == "L") radLogin.Checked = true; + else radAuto.Checked = true; + + //사용여부 + chkEnable.Checked = dr.enable; + + //담당자목록 + + var dt_users = FCOMMON.DBM.getUserTable();// getGroupList("name + '(' + id + ')'", "Users", "[level] > 0 and [level] < 10", false, false); + this.cmbUser.DisplayMember = "dispName"; + this.cmbUser.ValueMember = "id"; + this.cmbUser.DataSource = dt_users; + + // tbWW.Text = dr.ww; + dtPdate.Value = DateTime.Parse(dr.pdate); //일자선택 + cmbUser.SelectedValue = dr.uid; + tbProject.Text = dr.projectName; + cmbRequest.SelectedValue = dr.requestpart; + cmbPackage.SelectedValue = dr.package; + cmbType.SelectedValue = dr.type; + cmbProcess.SelectedValue = dr.process; + tbTag.Text = dr.tag; + + //if (cmbRequest.Text == "") cmbRequest.Text = "EE1"; + if (cmbPackage.Text == "") cmbPackage.Text = "Common"; + + //프로젝트 번호 확인(프로젝트번호가 바뀌면 데이터를 업데이트 해준다) + if (dr.IspidxNull()) + { + tbProjectIndex.Tag = -1; + tbProjectIndex.Text = "-1"; + } + else + { + tbProjectIndex.Tag = dr.pidx; + tbProjectIndex.Text = dr.pidx.ToString(); + } + + + if (string.IsNullOrEmpty(dr.description2)) + { + this.richTextBoxEx1.Text = dr.description; + } + else + { + try + { + this.richTextBoxEx1.Rtf = dr.description2; + } + catch (Exception ex) + { + this.richTextBoxEx1.Text = dr.description; + } + } + + this.Show(); + Application.DoEvents(); + + if (this.richTextBoxEx1.Text.Trim() != "") + { + this.richTextBoxEx1.Focus(); + } + else + { + tbProject.Focus(); + tbProject.SelectAll(); + } + tbProject.Tag = tbProject.Text; + + // if (string.IsNullOrEmpty(richTextBox1.Text)) richTextBox1.Text = dr.description; + + //editor + // ed = new editform.editor(); + //ed.AllowDiscAccess = true; + //ed.WindowTitle = "Quick Edit"; + //ed.StartingFont = new Font("Courier New", 12.0f, FontStyle.Regular); + + //ed.DisplayEditForm(this.panel1); + //ed.AllowRtf = true; + + + + bInit = true; + } + // editform.editor ed; + void ctl_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) + { + Control ctl = sender as Control; + string nm = ctl.Name.ToLower(); + string search = ctl.Text.Trim(); + + Console.WriteLine("inner keydown " + nm + ":" + search); + + switch (nm) + { + //case "cmbrequest": + + // //요청자가 마지막으로 입력한 자료의 process 를 찾아서 기입해준다. + // var lastprocess = FCOMMON.DBM.getFirstValue("process", "purchase", "request like '%" + this.cmbUser.Text + "%'", "pdate desc"); + // if (lastprocess != "") cbProcess.Text = lastprocess; + // tbSID.Focus(); + // break; + case "tbdescription": + if (e.Control) + { + btSave.Focus(); + } + break; + case "tbproject": + if (search != "") + { + var f = new fLovProject("%" + search + "%"); + if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + this.tbProject.Text = f.Title; + this.tbProject.Tag = f.Title; + this.tbProjectIndex.Text = f.Index.ToString(); + tbHrs.Focus(); + tbHrs.SelectAll(); + + if (tbProjectIndex.Tag.ToString() != f.Index.ToString() || f.Index == -1) + { + //마지막 데이터를 찾아서 공정등의 정보를 업데이트한다. + var uid = cmbUser.SelectedValue.ToString(); + DataTable lastDt = null; + + if (f.Index != -1) lastDt = FCOMMON.DBM.getLastJobReportData(uid, f.Index); + else lastDt = FCOMMON.DBM.getLastJobReportDatabyProjectName(uid, f.Title); + + if (lastDt != null && lastDt.Rows.Count > 0) + { + var predr = lastDt.Rows[0]; + + if (predr["requestpart"] != DBNull.Value) + this.cmbRequest.Text = predr["requestpart"].ToString(); //190506 + + if (predr["package"] != DBNull.Value) + this.cmbPackage.Text = predr["package"].ToString(); //190506 + + if (predr["type"] != DBNull.Value) + this.cmbType.Text = predr["type"].ToString(); //190506 + + if (predr["process"] != DBNull.Value) + cmbProcess.Text = predr["process"].ToString(); //190506 + } + } + } + else + { + //이름만 사용한다. + tbProjectIndex.Text = "-1"; + cmbRequest.Focus(); + } + } + else + { + FCOMMON.Util.MsgE("프로젝트 혹은 아이템이름은 반드시 입력되어야 합니다."); + var tb = sender as ComboBox; + tb.SelectAll(); + tb.Focus(); + } + break; + + default: + SendKeys.Send("{TAB}"); + break; + } + } + } + private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + FCM0000.fSelectDate f = new FCM0000.fSelectDate(this.dtPdate.Value.ToShortDateString()); + if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) return; + dtPdate.Value = f.dtSelect; + } + + private void button1_Click(object sender, EventArgs e) + { + this.Invalidate(); + if (tbProject.Text.Trim() == "") + { + FCOMMON.Util.MsgE("프로젝트(아이템) 명칭이 없습니다."); + tbProject.Focus(); + return; + } + if (cmbType.Text != "휴가" && string.IsNullOrEmpty( this.richTextBoxEx1.Text )==true) + { + FCOMMON.Util.MsgE("진행 내용이 없습니다."); + this.richTextBoxEx1.Focus(); + return; + } + float hour = Single.Parse(tbHrs.Text) + Single.Parse(tbOt.Text); + if (hour == 0) + { + FCOMMON.Util.MsgE("근무시간/초과시간이 입력되지 않았습니다."); + if (tbHrs.Enabled) tbHrs.Focus(); + else tbOt.Focus(); + return; + } + + if (cmbType.Text.Trim() == "") + { + FCOMMON.Util.MsgE("업무형태를 선택하세요"); + cmbType.Focus(); + return; + } + if (cmbProcess.Text.Trim() == "") + { + FCOMMON.Util.MsgE("공정을 선택하세요"); + cmbProcess.Focus(); + return; + } + if (cmbUser.SelectedIndex < 0) + { + FCOMMON.Util.MsgE("담당자가 선택되지 않았습니다."); + cmbUser.Focus(); + return; + } + + if (tbProject.Tag.ToString() != tbProject.Text && tbProjectIndex.Text != "" && tbProjectIndex.Text != "-1") + { + FCOMMON.Util.MsgE("프로젝트가 선택되었으나 이름이 임의 수정되어 프로젝트 연결을 해제 합니다\n\n" + + "잘못된 프로젝트명은 프로젝트 관리화면에서 변경하시기 바랍니다.\n\n" + + "원본 : " + tbProject.Tag.ToString() + "\n" + + "현재 : " + tbProject.Text); + tbProjectIndex.Text = "-1"; + } + + + + double hrs2 = 0.0; + if(double.TryParse(tbHrs.Text,out hrs2) ==false) + { + FCOMMON.Util.MsgE("근무시간을 숫자로 입력하세요"); + tbHrs.Focus(); + tbHrs.SelectAll(); + return; + } + + //if(hrs2 > 8) + //{ + // FCOMMON.Util.MsgE("1일 최대근무시간은 8시간을 초과할 수 없습니다\n초과시간을 사용하세요"); + // tbHrs.SelectAll(); + // tbHrs.Focus(); + // return; + //} + if (radAuto.Checked) dr.autoinput = "A"; //항상자동 + else dr.autoinput = "L"; //로그인자동 + + dr.enable = chkEnable.Checked; + + this.dr.uid = this.cmbUser.SelectedValue.ToString(); + this.dr.pdate = dtPdate.Value.ToShortDateString(); + this.dr.status = cmbState.Text; + this.dr.projectName = tbProject.Text; + if (tbProjectIndex.Text != "") dr.pidx = int.Parse(tbProjectIndex.Text); + else dr.SetpidxNull(); + this.dr.requestpart = cmbRequest.Text; + this.dr.package = cmbPackage.Text; + this.dr.type = cmbType.Text; + this.dr.process = cmbProcess.Text; + this.dr.tag = tbTag.Text.Trim(); + if (tbHrs.Text != "") this.dr.hrs = double.Parse(tbHrs.Text); + else this.dr.hrs = 0; + if (tbOt.Text != "") this.dr.ot = double.Parse(tbOt.Text); + else this.dr.ot = 0; + //this.dr.description = richTextBox1.Text.Trim(); + + //MessageBox.Show(richTextBox1.Text); + this.dr.description = richTextBoxEx1.Text; + this.dr.description2 = richTextBoxEx1.Rtf; // ef.DocumentText;// richTextBox1.Rtf; + this.bs.EndEdit(); + DialogResult = System.Windows.Forms.DialogResult.OK; + } + + private void cmbType_SelectedIndexChanged(object sender, EventArgs e) + { + if (cmbType.Text.Trim() != "" && + cmbType.SelectedIndex >= 0 && + cmbProcess.SelectedIndex < 0 && + cmbUser.SelectedValue != null) + { + //공정을 자동선택해준다. + //마지막 데이터를 찾아서 공정등의 정보를 업데이트한다. + var uid = cmbUser.SelectedValue.ToString(); + var lastDt = FCOMMON.DBM.getLastJobReportData(uid, cmbType.Text.Trim()); + if (lastDt != null && lastDt.Rows.Count > 0) + { + var predr = lastDt.Rows[0];// as dsPRJ.JobReportRow; + if (predr["process"] != DBNull.Value) + cmbProcess.Text = predr["process"].ToString(); //190506 + } + } + } + + private void dtPdate_ValueChanged(object sender, EventArgs e) + { + var myCI = new System.Globalization.CultureInfo("ko-KR"); + var myCal = myCI.Calendar; + var myCWR = myCI.DateTimeFormat.CalendarWeekRule; + DayOfWeek myFirstDOW = myCI.DateTimeFormat.FirstDayOfWeek; + var dat = myCal.GetWeekOfYear(dtPdate.Value, myCWR, myFirstDOW); + tbWW.Text = "ww" + dat.ToString(); + + //공휴일이면 시간을 초기화한다. + if (tbHrs.Text == "") tbHrs.Text = "0"; + if (tbOt.Text == "") tbOt.Text = "0"; + float hrs = float.Parse(tbHrs.Text); + } + + private void cmbUser_SelectedIndexChanged(object sender, EventArgs e) + { + + } + + } +} diff --git a/SubProject/FPJ0000/JobReport/fJobReport_AddAI.resx b/SubProject/FPJ0000/JobReport/fJobReport_AddAI.resx new file mode 100644 index 0000000..92cb76b --- /dev/null +++ b/SubProject/FPJ0000/JobReport/fJobReport_AddAI.resx @@ -0,0 +1,165 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + 100, 17 + + + 17, 17 + + + 299, 17 + + + 164, 17 + + + 226, 17 + + \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fPartBuyStatus.Designer.cs b/SubProject/FPJ0000/Project/fPartBuyStatus.Designer.cs index 7dcff2e..c1d778b 100644 --- a/SubProject/FPJ0000/Project/fPartBuyStatus.Designer.cs +++ b/SubProject/FPJ0000/Project/fPartBuyStatus.Designer.cs @@ -30,28 +30,30 @@ { this.components = new System.ComponentModel.Container(); System.Windows.Forms.Label pdateLabel; - System.Windows.Forms.Label label2; System.Windows.Forms.Label label3; System.Windows.Forms.Label label4; + System.Windows.Forms.Label label5; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPartBuyStatus)); FarPoint.Win.Spread.FlatFocusIndicatorRenderer flatFocusIndicatorRenderer1 = new FarPoint.Win.Spread.FlatFocusIndicatorRenderer(); FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer1 = new FarPoint.Win.Spread.FlatScrollBarRenderer(); FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer2 = new FarPoint.Win.Spread.FlatScrollBarRenderer(); - FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType23 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType24 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType25 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType26 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType3 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType27 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType28 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType29 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType30 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo3 = new FarPoint.Win.Spread.NoPrinterPrintInfo(); - System.Windows.Forms.Label label5; + FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo1 = new FarPoint.Win.Spread.NoPrinterPrintInfo(); this.panel1 = new System.Windows.Forms.Panel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.prb2 = new arCtl.arLabel(); @@ -101,15 +103,14 @@ this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.taPart = new FPJ0000.dsPRJTableAdapters.ProjectPartStatusTableAdapter(); this.panel3 = new System.Windows.Forms.Panel(); - this.textBox4 = new System.Windows.Forms.TextBox(); - this.textBox3 = new System.Windows.Forms.TextBox(); - this.textBox2 = new System.Windows.Forms.TextBox(); - this.textBox1 = new System.Windows.Forms.TextBox(); - this.label1 = new System.Windows.Forms.Label(); - this.pdateTextBox = new System.Windows.Forms.TextBox(); this.panel4 = new System.Windows.Forms.Panel(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.textBox5 = new System.Windows.Forms.TextBox(); + this.textBox3 = new System.Windows.Forms.TextBox(); + this.pdateTextBox = new System.Windows.Forms.TextBox(); + this.textBox4 = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); pdateLabel = new System.Windows.Forms.Label(); - label2 = new System.Windows.Forms.Label(); label3 = new System.Windows.Forms.Label(); label4 = new System.Windows.Forms.Label(); label5 = new System.Windows.Forms.Label(); @@ -129,27 +130,17 @@ // pdateLabel // pdateLabel.Dock = System.Windows.Forms.DockStyle.Left; - pdateLabel.Location = new System.Drawing.Point(5, 5); + pdateLabel.Location = new System.Drawing.Point(149, 5); pdateLabel.Name = "pdateLabel"; pdateLabel.Size = new System.Drawing.Size(44, 21); pdateLabel.TabIndex = 0; pdateLabel.Text = "등록일"; pdateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // - // label2 - // - label2.Dock = System.Windows.Forms.DockStyle.Left; - label2.Location = new System.Drawing.Point(149, 5); - label2.Name = "label2"; - label2.Size = new System.Drawing.Size(44, 21); - label2.TabIndex = 4; - label2.Text = "담당"; - label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // // label3 // - label3.Dock = System.Windows.Forms.DockStyle.Right; - label3.Location = new System.Drawing.Point(1052, 5); + label3.Dock = System.Windows.Forms.DockStyle.Left; + label3.Location = new System.Drawing.Point(301, 5); label3.Name = "label3"; label3.Size = new System.Drawing.Size(44, 21); label3.TabIndex = 4; @@ -158,14 +149,23 @@ // // label4 // - label4.Dock = System.Windows.Forms.DockStyle.Right; - label4.Location = new System.Drawing.Point(1196, 5); + label4.Dock = System.Windows.Forms.DockStyle.Left; + label4.Location = new System.Drawing.Point(5, 5); label4.Name = "label4"; label4.Size = new System.Drawing.Size(44, 21); label4.TabIndex = 6; label4.Text = "상태"; label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // + // label5 + // + label5.Dock = System.Windows.Forms.DockStyle.Left; + label5.Location = new System.Drawing.Point(293, 5); + label5.Name = "label5"; + label5.Size = new System.Drawing.Size(8, 21); + label5.TabIndex = 8; + label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // // panel1 // this.panel1.Controls.Add(this.tableLayoutPanel1); @@ -489,7 +489,7 @@ // this.bsPart.DataMember = "ProjectPartStatus"; this.bsPart.DataSource = this.dsPRJ; - this.bsPart.Sort = "bbuy"; + this.bsPart.Sort = ""; // // bn // @@ -575,6 +575,7 @@ // this.bindingNavigatorPositionItem.AccessibleName = "위치"; this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); this.bindingNavigatorPositionItem.Text = "0"; @@ -656,6 +657,7 @@ // tbFind // this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F); this.tbFind.Name = "tbFind"; this.tbFind.Size = new System.Drawing.Size(100, 27); this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown); @@ -721,7 +723,7 @@ this.fpSpread1.HorizontalScrollBar.Name = ""; flatScrollBarRenderer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.fpSpread1.HorizontalScrollBar.Renderer = flatScrollBarRenderer1; - this.fpSpread1.Location = new System.Drawing.Point(0, 92); + this.fpSpread1.Location = new System.Drawing.Point(0, 147); this.fpSpread1.Name = "fpSpread1"; this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.fpSpread1_Sheet1}); @@ -742,7 +744,7 @@ 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 = 19; + this.fpSpread1_Sheet1.ColumnCount = 22; this.fpSpread1_Sheet1.ActiveColumnIndex = -1; this.fpSpread1_Sheet1.ActiveRowIndex = -1; this.fpSpread1_Sheet1.AutoGenerateColumns = false; @@ -752,165 +754,185 @@ this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.BackColor = System.Drawing.Color.Empty; this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.ForeColor = System.Drawing.Color.Empty; this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.Parent = "CornerFooterFlat"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "SID"; - 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 = "단위"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "단가"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "1대 수량"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "N대 수량"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "1대 금액"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "N대 금액"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "PMP"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "구매수량"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "구매확정"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "공급사"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "납기일"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "입고수량"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "비고"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "담당자"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "PRJ"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "SID"; + 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 = "제조사"; + 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 = "1대 수량"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "N대 수량"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "1대 금액"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "N대 금액"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "PMP"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "구매수량"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "PR"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "PO"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "공급사"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "납기일"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "입고수량"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "비고"; this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty; this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty; this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent = "ColumnHeaderFlat"; this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 36F; - textCellType21.ReadOnly = true; - this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType21; - this.fpSpread1_Sheet1.Columns.Get(0).DataField = "ItemSid"; - this.fpSpread1_Sheet1.Columns.Get(0).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1; + this.fpSpread1_Sheet1.Columns.Get(0).DataField = "userManager"; this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(0).Label = "SID"; - this.fpSpread1_Sheet1.Columns.Get(0).Tag = "sid"; + this.fpSpread1_Sheet1.Columns.Get(0).Label = "담당자"; this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - textCellType22.ReadOnly = true; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType22; - this.fpSpread1_Sheet1.Columns.Get(1).DataField = "ItemName"; - this.fpSpread1_Sheet1.Columns.Get(1).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(1).Label = "품명"; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2; + this.fpSpread1_Sheet1.Columns.Get(1).DataField = "Project"; + this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(1).Label = "PRJ"; this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(1).Width = 113F; - textCellType23.ReadOnly = true; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType23; - this.fpSpread1_Sheet1.Columns.Get(2).DataField = "ItemModel"; + textCellType3.ReadOnly = true; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(2).DataField = "ItemSid"; this.fpSpread1_Sheet1.Columns.Get(2).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(2).Label = "규격"; + this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(2).Label = "SID"; + this.fpSpread1_Sheet1.Columns.Get(2).Tag = "sid"; this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(2).Width = 99F; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType23; - this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ItemManu"; + this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + textCellType4.ReadOnly = true; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType4; + this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ItemName"; this.fpSpread1_Sheet1.Columns.Get(3).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); 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).Tag = "manu"; + this.fpSpread1_Sheet1.Columns.Get(3).Label = "품명"; this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType21; - this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ItemUnit"; + this.fpSpread1_Sheet1.Columns.Get(3).Width = 113F; + textCellType5.ReadOnly = true; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType5; + this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ItemModel"; this.fpSpread1_Sheet1.Columns.Get(4).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - 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).Tag = "unit"; + 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; - textCellType24.ReadOnly = true; - this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType24; - this.fpSpread1_Sheet1.Columns.Get(5).DataField = "price"; + this.fpSpread1_Sheet1.Columns.Get(4).Width = 99F; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5; + this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ItemManu"; this.fpSpread1_Sheet1.Columns.Get(5).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; - this.fpSpread1_Sheet1.Columns.Get(5).Label = "단가"; - this.fpSpread1_Sheet1.Columns.Get(5).Tag = "price"; + 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).Tag = "manu"; this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(6).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - textCellType25.ReadOnly = true; - this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType25; - this.fpSpread1_Sheet1.Columns.Get(6).DataField = "qty"; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(6).DataField = "ItemUnit"; this.fpSpread1_Sheet1.Columns.Get(6).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(6).Label = "1대 수량"; - this.fpSpread1_Sheet1.Columns.Get(6).Tag = "qty"; + this.fpSpread1_Sheet1.Columns.Get(6).Label = "단위"; + this.fpSpread1_Sheet1.Columns.Get(6).Tag = "unit"; this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType21; - this.fpSpread1_Sheet1.Columns.Get(7).DataField = "qtyn"; + textCellType6.ReadOnly = true; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6; + this.fpSpread1_Sheet1.Columns.Get(7).DataField = "price"; this.fpSpread1_Sheet1.Columns.Get(7).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(7).Label = "N대 수량"; - this.fpSpread1_Sheet1.Columns.Get(7).Tag = "qtyn"; + 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).Tag = "price"; this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(8).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - textCellType26.ReadOnly = true; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType26; - this.fpSpread1_Sheet1.Columns.Get(8).DataField = "amt"; + this.fpSpread1_Sheet1.Columns.Get(8).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + textCellType7.ReadOnly = true; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7; + this.fpSpread1_Sheet1.Columns.Get(8).DataField = "qty"; this.fpSpread1_Sheet1.Columns.Get(8).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.fpSpread1_Sheet1.Columns.Get(8).Formula = "RC[-3]*RC[-2]"; - this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; - this.fpSpread1_Sheet1.Columns.Get(8).Label = "1대 금액"; - this.fpSpread1_Sheet1.Columns.Get(8).Tag = "amt"; + this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(8).Label = "1대 수량"; + this.fpSpread1_Sheet1.Columns.Get(8).Tag = "qty"; this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(9).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType26; - this.fpSpread1_Sheet1.Columns.Get(9).DataField = "amtn"; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(9).DataField = "qtyn"; this.fpSpread1_Sheet1.Columns.Get(9).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.fpSpread1_Sheet1.Columns.Get(9).Formula = "RC[-4]*RC[-2]"; - this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; - this.fpSpread1_Sheet1.Columns.Get(9).Label = "N대 금액"; - this.fpSpread1_Sheet1.Columns.Get(9).Tag = "amtn"; + this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(9).Label = "N대 수량"; + this.fpSpread1_Sheet1.Columns.Get(9).Tag = "qtyn"; this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType21; - this.fpSpread1_Sheet1.Columns.Get(10).DataField = "qtyjago"; + this.fpSpread1_Sheet1.Columns.Get(10).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + textCellType8.ReadOnly = true; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType8; + this.fpSpread1_Sheet1.Columns.Get(10).DataField = "amt"; this.fpSpread1_Sheet1.Columns.Get(10).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(10).Label = "PMP"; + this.fpSpread1_Sheet1.Columns.Get(10).Formula = "RC[-3]*RC[-2]"; + this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; + this.fpSpread1_Sheet1.Columns.Get(10).Label = "1대 금액"; + this.fpSpread1_Sheet1.Columns.Get(10).Tag = "amt"; this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType21; - this.fpSpread1_Sheet1.Columns.Get(11).DataField = "qtybuy"; + this.fpSpread1_Sheet1.Columns.Get(11).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType8; + this.fpSpread1_Sheet1.Columns.Get(11).DataField = "amtn"; this.fpSpread1_Sheet1.Columns.Get(11).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(11).Label = "구매수량"; - this.fpSpread1_Sheet1.Columns.Get(11).Tag = "buy"; + this.fpSpread1_Sheet1.Columns.Get(11).Formula = "RC[-4]*RC[-2]"; + this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; + this.fpSpread1_Sheet1.Columns.Get(11).Label = "N대 금액"; + this.fpSpread1_Sheet1.Columns.Get(11).Tag = "amtn"; this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(12).CellType = checkBoxCellType3; - this.fpSpread1_Sheet1.Columns.Get(12).DataField = "bbuy"; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(12).DataField = "qtyjago"; + this.fpSpread1_Sheet1.Columns.Get(12).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(12).Label = "구매확정"; - this.fpSpread1_Sheet1.Columns.Get(12).Tag = "bbuy"; + this.fpSpread1_Sheet1.Columns.Get(12).Label = "PMP"; this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(13).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType27; - this.fpSpread1_Sheet1.Columns.Get(13).DataField = "ItemSupply"; - this.fpSpread1_Sheet1.Columns.Get(13).Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(13).ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.fpSpread1_Sheet1.Columns.Get(13).Label = "공급사"; - this.fpSpread1_Sheet1.Columns.Get(13).Tag = "supply"; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(13).DataField = "qtybuy"; + this.fpSpread1_Sheet1.Columns.Get(13).Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(13).Label = "구매수량"; + this.fpSpread1_Sheet1.Columns.Get(13).Tag = "buy"; this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).Width = 113F; - textCellType28.ReadOnly = true; - this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType28; - this.fpSpread1_Sheet1.Columns.Get(14).DataField = "option2"; - this.fpSpread1_Sheet1.Columns.Get(14).Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(14).Label = "납기일"; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = checkBoxCellType1; + this.fpSpread1_Sheet1.Columns.Get(14).DataField = "bbuy"; + this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(14).Label = "PR"; + this.fpSpread1_Sheet1.Columns.Get(14).Tag = "bbuy"; this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType29; - this.fpSpread1_Sheet1.Columns.Get(15).DataField = "qtyin"; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = checkBoxCellType2; + this.fpSpread1_Sheet1.Columns.Get(15).DataField = "bconfirm"; this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(15).Label = "입고수량"; - this.fpSpread1_Sheet1.Columns.Get(15).Tag = "qtyin"; + this.fpSpread1_Sheet1.Columns.Get(15).Label = "PO"; + this.fpSpread1_Sheet1.Columns.Get(15).Tag = "bconfirm"; this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType30; - this.fpSpread1_Sheet1.Columns.Get(16).DataField = "memo"; + this.fpSpread1_Sheet1.Columns.Get(16).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(16).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType9; + this.fpSpread1_Sheet1.Columns.Get(16).DataField = "ItemSupply"; this.fpSpread1_Sheet1.Columns.Get(16).Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(16).Label = "비고"; + this.fpSpread1_Sheet1.Columns.Get(16).ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.fpSpread1_Sheet1.Columns.Get(16).Label = "공급사"; + this.fpSpread1_Sheet1.Columns.Get(16).Tag = "supply"; this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType5; - this.fpSpread1_Sheet1.Columns.Get(17).DataField = "Item"; - this.fpSpread1_Sheet1.Columns.Get(17).Tag = "item"; - this.fpSpread1_Sheet1.Columns.Get(17).Visible = false; - this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType6; - this.fpSpread1_Sheet1.Columns.Get(18).DataField = "ItemSupplyidx"; - this.fpSpread1_Sheet1.Columns.Get(18).Visible = false; + this.fpSpread1_Sheet1.Columns.Get(16).Width = 113F; + textCellType10.ReadOnly = true; + this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType10; + this.fpSpread1_Sheet1.Columns.Get(17).DataField = "option2"; + this.fpSpread1_Sheet1.Columns.Get(17).Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(17).Label = "납기일"; + this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType11; + this.fpSpread1_Sheet1.Columns.Get(18).DataField = "qtyin"; + this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(18).Label = "입고수량"; + this.fpSpread1_Sheet1.Columns.Get(18).Tag = "qtyin"; + this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType12; + this.fpSpread1_Sheet1.Columns.Get(19).DataField = "memo"; + this.fpSpread1_Sheet1.Columns.Get(19).Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(19).Label = "비고"; + this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType1; + this.fpSpread1_Sheet1.Columns.Get(20).DataField = "Item"; + this.fpSpread1_Sheet1.Columns.Get(20).Tag = "item"; + this.fpSpread1_Sheet1.Columns.Get(20).Visible = false; + this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType2; + this.fpSpread1_Sheet1.Columns.Get(21).DataField = "ItemSupplyidx"; + this.fpSpread1_Sheet1.Columns.Get(21).Visible = false; this.fpSpread1_Sheet1.DataAutoCellTypes = false; this.fpSpread1_Sheet1.DataAutoSizeColumns = false; this.fpSpread1_Sheet1.DataSource = this.bsPart; @@ -923,11 +945,11 @@ this.fpSpread1_Sheet1.OperationMode = FarPoint.Win.Spread.OperationMode.SingleSelect; this.fpSpread1_Sheet1.PrintInfo.Footer = "EET Groupware - Alpha -"; this.fpSpread1_Sheet1.PrintInfo.Header = "PartList"; - noPrinterPrintInfo3.Bounds = new System.Drawing.Rectangle(0, 0, 816, 1148); - noPrinterPrintInfo3.HardMarginX = 0F; - noPrinterPrintInfo3.HardMarginY = 0F; - noPrinterPrintInfo3.SupportColor = true; - this.fpSpread1_Sheet1.PrintInfo.NoPrinterSetting = noPrinterPrintInfo3; + noPrinterPrintInfo1.Bounds = new System.Drawing.Rectangle(0, 0, 816, 1148); + noPrinterPrintInfo1.HardMarginX = 0F; + noPrinterPrintInfo1.HardMarginY = 0F; + noPrinterPrintInfo1.SupportColor = true; + this.fpSpread1_Sheet1.PrintInfo.NoPrinterSetting = noPrinterPrintInfo1; this.fpSpread1_Sheet1.PrintInfo.PdfSecurity = null; this.fpSpread1_Sheet1.Protect = false; this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; @@ -952,52 +974,81 @@ this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); this.panel3.Controls.Add(this.panel4); this.panel3.Controls.Add(this.label1); - this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panel3.Location = new System.Drawing.Point(0, 641); + this.panel3.Dock = System.Windows.Forms.DockStyle.Top; + this.panel3.Location = new System.Drawing.Point(0, 92); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(1345, 55); this.panel3.TabIndex = 5; // - // textBox4 + // panel4 // - this.textBox4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPart, "status", true)); - this.textBox4.Dock = System.Windows.Forms.DockStyle.Right; - this.textBox4.Location = new System.Drawing.Point(1240, 5); - this.textBox4.Name = "textBox4"; - this.textBox4.Size = new System.Drawing.Size(100, 21); - this.textBox4.TabIndex = 7; - this.textBox4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // textBox3 - // - this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPart, "orderno", true)); - this.textBox3.Dock = System.Windows.Forms.DockStyle.Right; - this.textBox3.Location = new System.Drawing.Point(1096, 5); - this.textBox3.Name = "textBox3"; - this.textBox3.Size = new System.Drawing.Size(100, 21); - this.textBox3.TabIndex = 5; - this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // textBox2 - // - this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPart, "userManager", true)); - this.textBox2.Dock = System.Windows.Forms.DockStyle.Left; - this.textBox2.Location = new System.Drawing.Point(193, 5); - this.textBox2.Name = "textBox2"; - this.textBox2.Size = new System.Drawing.Size(100, 21); - this.textBox2.TabIndex = 5; - this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.panel4.Controls.Add(this.textBox1); + this.panel4.Controls.Add(this.textBox5); + this.panel4.Controls.Add(this.textBox3); + this.panel4.Controls.Add(label3); + this.panel4.Controls.Add(label5); + this.panel4.Controls.Add(this.pdateTextBox); + this.panel4.Controls.Add(pdateLabel); + this.panel4.Controls.Add(this.textBox4); + this.panel4.Controls.Add(label4); + this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel4.Location = new System.Drawing.Point(0, 24); + this.panel4.Name = "panel4"; + this.panel4.Padding = new System.Windows.Forms.Padding(5); + this.panel4.Size = new System.Drawing.Size(1345, 31); + this.panel4.TabIndex = 8; // // textBox1 // this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPart, "name", true)); this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill; - this.textBox1.Location = new System.Drawing.Point(301, 5); + this.textBox1.Location = new System.Drawing.Point(622, 5); this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(751, 21); + this.textBox1.Size = new System.Drawing.Size(718, 21); this.textBox1.TabIndex = 3; this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // + // textBox5 + // + this.textBox5.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPart, "Project", true)); + this.textBox5.Dock = System.Windows.Forms.DockStyle.Left; + this.textBox5.Location = new System.Drawing.Point(522, 5); + this.textBox5.Name = "textBox5"; + this.textBox5.ReadOnly = true; + this.textBox5.Size = new System.Drawing.Size(100, 21); + this.textBox5.TabIndex = 9; + this.textBox5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // textBox3 + // + this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPart, "orderno", true)); + this.textBox3.Dock = System.Windows.Forms.DockStyle.Left; + this.textBox3.Location = new System.Drawing.Point(345, 5); + this.textBox3.Name = "textBox3"; + this.textBox3.Size = new System.Drawing.Size(177, 21); + this.textBox3.TabIndex = 5; + this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // pdateTextBox + // + this.pdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPart, "pdate", true)); + this.pdateTextBox.Dock = System.Windows.Forms.DockStyle.Left; + this.pdateTextBox.Location = new System.Drawing.Point(193, 5); + this.pdateTextBox.Name = "pdateTextBox"; + this.pdateTextBox.Size = new System.Drawing.Size(100, 21); + this.pdateTextBox.TabIndex = 1; + this.pdateTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // textBox4 + // + this.textBox4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPart, "status", true)); + this.textBox4.Dock = System.Windows.Forms.DockStyle.Left; + this.textBox4.Location = new System.Drawing.Point(49, 5); + this.textBox4.Name = "textBox4"; + this.textBox4.Size = new System.Drawing.Size(100, 21); + this.textBox4.TabIndex = 7; + this.textBox4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // // label1 // this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); @@ -1010,44 +1061,6 @@ this.label1.Text = "프로젝트정보"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // - // pdateTextBox - // - this.pdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPart, "pdate", true)); - this.pdateTextBox.Dock = System.Windows.Forms.DockStyle.Left; - this.pdateTextBox.Location = new System.Drawing.Point(49, 5); - this.pdateTextBox.Name = "pdateTextBox"; - this.pdateTextBox.Size = new System.Drawing.Size(100, 21); - this.pdateTextBox.TabIndex = 1; - this.pdateTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // panel4 - // - this.panel4.Controls.Add(this.textBox1); - this.panel4.Controls.Add(label5); - this.panel4.Controls.Add(this.textBox2); - this.panel4.Controls.Add(label2); - this.panel4.Controls.Add(this.pdateTextBox); - this.panel4.Controls.Add(pdateLabel); - this.panel4.Controls.Add(label3); - this.panel4.Controls.Add(this.textBox3); - this.panel4.Controls.Add(label4); - this.panel4.Controls.Add(this.textBox4); - this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel4.Location = new System.Drawing.Point(0, 24); - this.panel4.Name = "panel4"; - this.panel4.Padding = new System.Windows.Forms.Padding(5); - this.panel4.Size = new System.Drawing.Size(1345, 31); - this.panel4.TabIndex = 8; - // - // label5 - // - label5.Dock = System.Windows.Forms.DockStyle.Left; - label5.Location = new System.Drawing.Point(293, 5); - label5.Name = "label5"; - label5.Size = new System.Drawing.Size(8, 21); - label5.TabIndex = 8; - label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // // fPartBuyStatus // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); @@ -1130,11 +1143,11 @@ private System.Windows.Forms.Panel panel3; private System.Windows.Forms.TextBox pdateTextBox; private System.Windows.Forms.Label label1; - private System.Windows.Forms.TextBox textBox2; private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.TextBox textBox3; private System.Windows.Forms.TextBox textBox4; - private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; private System.Windows.Forms.Panel panel4; + private System.Windows.Forms.TextBox textBox5; + private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; } } \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fPartBuyStatus.cs b/SubProject/FPJ0000/Project/fPartBuyStatus.cs index faef85e..52a0890 100644 --- a/SubProject/FPJ0000/Project/fPartBuyStatus.cs +++ b/SubProject/FPJ0000/Project/fPartBuyStatus.cs @@ -13,7 +13,7 @@ namespace FPJ0000 public partial class fPartBuyStatus : FCOMMON.fBase { string fn_fpcolsize = ""; - + int colidx_itemname = -1; @@ -57,11 +57,11 @@ namespace FPJ0000 } } - + void fPartList_KeyDown(object sender, KeyEventArgs e) { - if (e.KeyCode == Keys.Escape) this.Close(); - else if (e.KeyCode == Keys.F5) searchpmp(); + //if (e.KeyCode == Keys.Escape) this.Close(); + if (e.KeyCode == Keys.F5) searchpmp(); } void fPartList_FormClosed(object sender, FormClosedEventArgs e) @@ -90,7 +90,7 @@ namespace FPJ0000 else if (colname == "itemunit") colidx_unit = col.Index; } this.Show(); - this.bsPart.Sort = "bbuy,ItemSupply,qtyin"; + //this.bsPart.Sort = "bbuy,ItemSupply,qtyin"; Application.DoEvents(); RefreshData(); } @@ -109,6 +109,8 @@ namespace FPJ0000 try { this.taPart.Fill(this.dsPRJ.ProjectPartStatus, FCOMMON.info.Login.gcode); + //this.bsPart.Sort = "bbuy,bconfirm,userManager,project"; + if(this.bsPart.Count > 0) this.bsPart.Position = 0; //210120 (박성민s) } catch (Exception ex) { @@ -144,7 +146,7 @@ namespace FPJ0000 var col_qtyn = this.fpSpread1.ActiveSheet.Columns["qtyn"].Index; //N대수량(전체수량) var col_bbuy = this.fpSpread1.ActiveSheet.Columns["bbuy"].Index; var col_supply = this.fpSpread1.ActiveSheet.Columns["supply"].Index; - // var col_bconf = this.fpSpread1.ActiveSheet.Columns["bconfirm"].Index; + var col_bconf = this.fpSpread1.ActiveSheet.Columns["bconfirm"].Index; var PO발행 = 0; var PO발행전체 = 0; @@ -167,13 +169,13 @@ namespace FPJ0000 var db_supply = this.fpSpread1.ActiveSheet.GetValue(i, col_supply); var value_supply = string.Empty; if (db_supply != null) value_supply = db_supply.ToString().Trim(); - //var value_bconf = this.fpSpread1.ActiveSheet.GetValue(i, col_bconf); + var value_bconf = this.fpSpread1.ActiveSheet.GetValue(i, col_bconf); Boolean bbuy = false; - // Boolean bconf = false; + Boolean bconf = false; if (value_bbuy != null) bbuy = (Boolean)value_bbuy; - // if (value_bconf != null) bconf = (Boolean)value_bconf; + if (value_bconf != null) bconf = (Boolean)value_bconf; if (bbuy) PO발행전체 += 1; // if (bbuy && string.IsNullOrEmpty(value_supply)) @@ -188,7 +190,7 @@ namespace FPJ0000 if (bbuy) { - if (qty_in == 0 && string.IsNullOrEmpty(value_supply)) + if (qty_in == 0 && bconf == false) { //입고량이 0인데 공급사가 없다면 PO발행대기건 row.ForeColor = Color.White; @@ -242,19 +244,19 @@ namespace FPJ0000 //prb6.Text = string.Format("전체 진행 ({0}/{1})", 비구매건수 + 구매완료건수, 전체건수); //prb6.ProgressMax = 전체건수; //prb6.ProgressValue = 비구매건수 + 구매완료건수; - prbPO.Text = string.Format("PO 대기 ({0}/{1})", PO발행, PO발행전체); + prbPO.Text = string.Format("구매입력완료[PR] ({0}/{1})", PO발행, PO발행전체); prbPO.ProgressMax = PO발행전체; prbPO.ProgressValue = PO발행; - + prb2.Text = string.Format("구매 등록 신청 ({0}/{1})", 구매등록건수, 전체건수 - 비구매건수); prb2.ProgressMax = 전체건수 - 비구매건수; prb2.ProgressValue = 구매등록건수; - - prb3.Text = string.Format("구매 진행 중 ({0}/{1})", 구매진행건수, 구매등록건수); + + prb3.Text = string.Format("발주완료[PO] ({0}/{1})", 구매진행건수, 구매등록건수); prb3.ProgressMax = 구매등록건수; prb3.ProgressValue = 구매진행건수; @@ -665,7 +667,7 @@ namespace FPJ0000 //PMP조회 var drv = this.bsPart.Current as DataRowView; if (drv == null) return; - var dr = drv.Row as dsPRJ.ProjectsPartRow; + var dr = drv.Row as dsPRJ.ProjectPartStatusRow; //검색어 var title = string.IsNullOrEmpty(dr.ItemModel) ? dr.ItemName : dr.ItemModel; @@ -700,7 +702,7 @@ namespace FPJ0000 private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e) { - + FormattingData(); } private void btConf_Click(object sender, EventArgs e) @@ -755,6 +757,11 @@ namespace FPJ0000 if (drv == null) return; var dr = drv.Row as dsPRJ.ProjectPartStatusRow; + if (dr.IspathNull()) + { + util.MsgE("공유 폴더가 생성되지 않은 프로젝트 입니다\n열람 가능한 파일이 없습니다"); + return; + } var tbPath = dr.path; if (tbPath.Equals("")) { @@ -791,10 +798,11 @@ namespace FPJ0000 if (drv == null) return; var dr = drv.Row as dsPRJ.ProjectPartStatusRow; - var f = new fProjectPartListEdit(dr.idx); - if(f.ShowDialog() == DialogResult.OK) + var f = new fProjectPartListEdit(dr); + if (f.ShowDialog() == DialogResult.OK) { - this.RefreshData(); + FormattingData(); + } } diff --git a/SubProject/FPJ0000/Project/fPartBuyStatus.resx b/SubProject/FPJ0000/Project/fPartBuyStatus.resx index 70d32c9..f57203b 100644 --- a/SubProject/FPJ0000/Project/fPartBuyStatus.resx +++ b/SubProject/FPJ0000/Project/fPartBuyStatus.resx @@ -120,15 +120,15 @@ False - - False - False False + + False + 327, 17 @@ -331,20 +331,20 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALvSURBVDhPhZLrS1NhHMf3qv6EsF70UpBSyqioF6WpTQ3s - ZjrMvM0pmprowiBbTCNTF5qoUCFK0YsKtdKpzds2pxtukrlMzeu8gJel7nKO29n89pyzpQZCP/jwvHjO - 98P5fc/hsRP6UJl4pUyriCrX/g6TaCly0hwy9tTRUWUDdMQzjfG8WF3pF/3+ABfaO+FP+tQrFnrNaDS6 - zLYtmK27rFlYaPxcsqDwswmC8jE7P0t+0Bv1TGSJZoUND8w6oZtjoDMx0M4y0Mw4oPy1hfZRG7YYoGWM - QmHzHFJeGKl/JGGSdmrT7oBh3oWheYacDAY5iQOqyS18HbUTgRuGJRd0i04Uy00IftD9jgvHyoKmb0mi - t0U1N5BSfRPVHQ0oapQhWOKPIAK/+BxCpadR0VLBrWKlGSyv2xGaoGI4QUxZ8MfukVa0TrxGtTafkyRU - RSD/bTyyGwQQ1l5Fcm0yWoaX0Wq04sv3TWyQnsKkfTQn4FfyD/pJclza8V68GZGiVJnFSRJrIkn4GtJf - pkE9aeNW6ZqgoCA9rNucCCvq9wjYCS9R0bl1SdBPalCru4+nnXmIlV1CYlU09LN26EmxbMHqKU8nZiII - le4RXHgkcZ4pOIr4Sj4MUwMo7s2AVJ4LwfMQNCg/4dsCAz0pdmDGiX7CisWJ4MdewUmxjyhQfATZ9XG4 - XROOuIrLnCRXHg9xYxp5kxCw9waTC4PsJyZYSJEBORqPIFB8aCFQfJg85IPAfB9cLw1B5qskqEcVKFYU - IONDEoQ1MdATgY78G1oioJ1uIlDurnAxp49e2qAxvODiUI0v4l5dOlJJUFQrQF793Z07FrvDRQRNuwLW - Nm/eFfwPG7tC2h7B2dwee3Nn//Z+D++HTj/kPp7QYvXGSZHpndNzm3ZLT4/WPb1KYXqFwqSXVauTg23e - Srug0RncFEVt+N5p++GN83in0jsyA4TtnSdECnOAqIneIdWD/1+ETbSvsG39WHJbl3+SPIXH4/H+AGZa - nrYFb5VbAAAAAElFTkSuQmCC + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALvSURBVDhPhZLrS1NhHMf3Kv+EsF70UpBSyqioF+VSmxrY + zVTMvM0pmprowiBbTCPzEpo4oUKUIuiCdtGpTZ3bnNtwRuYytXm/gJel7nKO7mx+e87ZUgOhH3x4Xjzn + ++H8vufw2Am9p0q6WK5XRFXof4dJ9BQ5aY5K9jTQUeU6OuKx1nRGrKn2j367jwvtnvCHvZolK71iMplc + FvsGLLYdVqwsNH4uWFH0aQZxFSMOQbbcxxv1TGSpdokN66acMEwzMMww0E8x0E5uQvVrA+3DdmwwQMsI + haIP00h9aqL+kYRJ2ql1xyYGZl34OsuQk0E/J9mE2ryBL8MOInBjYMEFw7wTJfIZ8O92v+bCsZXBE9cl + 0Vsi2VWk1l5DbUcjipsqwZcEIJggKDmNUOkJVLVUcavYaAaLqw6EJqoZThBTzn/fPdSK1rEXqNUXcJLE + mggUvEpATmMchHWXkFKXgpbBRbSabPj8fR1rpKcwaS/NCQTVAh9/Sa5LP9qDl0NSlKmyOUmSLJKELyPj + WTo0Zju3StcYBQXpYdXuRFhxn0fATnipms6rT4bRrEWd4Q4edeYjtvI8kmqiYZxywEiKZQvWjHs6sRBB + qHSX4Ox9ifNk4SEkVAswMK5DSU8mpPI8xD0JQaPqI77NMTCSYnWTTvQRlqxO8B94BcfEvqIg8UHkNMTj + hiwc8VUXOEmePAHipnTyJiFg7wdmXOhnPzHBSooMzNV6BEHi/XNB4gPkIV8EFfjiSlkIsp4nQzOsQImi + EJnvkiGUxcBIBAbyb+iJgHa6iUC1s8K53F56YY3G4JyLQz06j9v1GUgjQVFdHPIbbm3fsTg2XUTQvCNg + bbOWHcH/sLMrpO8SnMpTOt60Krf2engv1Fqd+0hii80bJ0VmdE5MrzusSqXKPbFMYWKJgtnLss3JwTZv + o11QqvvcFEWt+d1s++GN83jHMzqyAoXtnUdFCkugqJneJs1DwF+EzbSfsG31cEpbV0CyPJXH4/H+AEI4 + nnH5RegDAAAAAElFTkSuQmCC @@ -383,13 +383,7 @@ 508, 17 - - 327, 17 - 424, 17 - - False - \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fPartList.Designer.cs b/SubProject/FPJ0000/Project/fPartList.Designer.cs index 9928e88..346a44b 100644 --- a/SubProject/FPJ0000/Project/fPartList.Designer.cs +++ b/SubProject/FPJ0000/Project/fPartList.Designer.cs @@ -57,6 +57,7 @@ FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType(); @@ -137,8 +138,8 @@ this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager(); this.taPart = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter(); this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); - this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); + this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); pdateLabel = new System.Windows.Forms.Label(); requestLabel = new System.Windows.Forms.Label(); reqstaffLabel = new System.Windows.Forms.Label(); @@ -1122,8 +1123,14 @@ // tam // this.tam.BackupDataSetBeforeUpdate = false; + this.tam.EETGW_JobReport_AutoInputTableAdapter = null; + this.tam.EETGW_JobReport_EBoardTableAdapter = null; this.tam.EETGW_NoteTableAdapter = null; + this.tam.EETGW_ProjecthistoryDTableAdapter = null; + this.tam.EETGW_ProjectToDoTableAdapter = null; + this.tam.EETGW_SaveCostTableAdapter = null; this.tam.JobReportTableAdapter = null; + this.tam.ProjectPartStatusTableAdapter = null; this.tam.ProjectsHistoryTableAdapter = null; this.tam.ProjectsIOMapTableAdapter = null; this.tam.ProjectsMailListTableAdapter = null; @@ -1173,7 +1180,7 @@ 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 = 22; + this.fpSpread1_Sheet1.ColumnCount = 23; this.fpSpread1_Sheet1.ActiveColumnIndex = -1; this.fpSpread1_Sheet1.ActiveRowIndex = -1; this.fpSpread1_Sheet1.AutoGenerateColumns = false; @@ -1198,11 +1205,12 @@ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "N대 금액"; this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "PMP"; this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "구매수량"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "구매확정"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "공급사"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "납기일"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "입고수량"; - this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "비고"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "PR"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "PO"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "공급사"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "납기일"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "입고수량"; + this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "비고"; this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty; this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty; this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent = "ColumnHeaderFlat"; @@ -1335,44 +1343,48 @@ this.fpSpread1_Sheet1.Columns.Get(15).CellType = checkBoxCellType1; this.fpSpread1_Sheet1.Columns.Get(15).DataField = "bbuy"; this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(15).Label = "구매확정"; + this.fpSpread1_Sheet1.Columns.Get(15).Label = "PR"; this.fpSpread1_Sheet1.Columns.Get(15).Tag = "bbuy"; this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(16).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(16).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType9; - this.fpSpread1_Sheet1.Columns.Get(16).DataField = "ItemSupply"; - this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(16).ImeMode = System.Windows.Forms.ImeMode.Hangul; - this.fpSpread1_Sheet1.Columns.Get(16).Label = "공급사"; - this.fpSpread1_Sheet1.Columns.Get(16).Tag = "supply"; - this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(16).Width = 113F; - this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType10; - this.fpSpread1_Sheet1.Columns.Get(17).DataField = "option2"; + this.fpSpread1_Sheet1.Columns.Get(16).CellType = checkBoxCellType2; + this.fpSpread1_Sheet1.Columns.Get(16).DataField = "bconfirm"; + this.fpSpread1_Sheet1.Columns.Get(16).Label = "PO"; + this.fpSpread1_Sheet1.Columns.Get(16).Tag = "bconfirm"; + this.fpSpread1_Sheet1.Columns.Get(17).AllowAutoFilter = true; + this.fpSpread1_Sheet1.Columns.Get(17).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType9; + this.fpSpread1_Sheet1.Columns.Get(17).DataField = "ItemSupply"; this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(17).Label = "납기일"; + this.fpSpread1_Sheet1.Columns.Get(17).ImeMode = System.Windows.Forms.ImeMode.Hangul; + this.fpSpread1_Sheet1.Columns.Get(17).Label = "공급사"; + this.fpSpread1_Sheet1.Columns.Get(17).Tag = "supply"; this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(17).Width = 113F; + this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType10; + this.fpSpread1_Sheet1.Columns.Get(18).DataField = "option2"; + this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(18).Label = "납기일"; + this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; numberCellType7.DecimalPlaces = 0; numberCellType7.NegativeRed = true; - this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType7; - this.fpSpread1_Sheet1.Columns.Get(18).DataField = "qtyin"; - this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(18).Label = "입고수량"; - this.fpSpread1_Sheet1.Columns.Get(18).Tag = "qtyin"; - this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType11; - this.fpSpread1_Sheet1.Columns.Get(19).DataField = "memo"; - this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; - this.fpSpread1_Sheet1.Columns.Get(19).Label = "비고"; + this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType7; + this.fpSpread1_Sheet1.Columns.Get(19).DataField = "qtyin"; + this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(19).Label = "입고수량"; + this.fpSpread1_Sheet1.Columns.Get(19).Tag = "qtyin"; this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType8; - this.fpSpread1_Sheet1.Columns.Get(20).DataField = "Item"; - this.fpSpread1_Sheet1.Columns.Get(20).Tag = "item"; - this.fpSpread1_Sheet1.Columns.Get(20).Visible = false; - this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType9; - this.fpSpread1_Sheet1.Columns.Get(21).DataField = "ItemSupplyidx"; + this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType11; + this.fpSpread1_Sheet1.Columns.Get(20).DataField = "memo"; + this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; + this.fpSpread1_Sheet1.Columns.Get(20).Label = "비고"; + this.fpSpread1_Sheet1.Columns.Get(20).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; + this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType8; + this.fpSpread1_Sheet1.Columns.Get(21).DataField = "Item"; + this.fpSpread1_Sheet1.Columns.Get(21).Tag = "item"; this.fpSpread1_Sheet1.Columns.Get(21).Visible = false; + this.fpSpread1_Sheet1.Columns.Get(22).CellType = numberCellType9; + this.fpSpread1_Sheet1.Columns.Get(22).DataField = "ItemSupplyidx"; + this.fpSpread1_Sheet1.Columns.Get(22).Visible = false; this.fpSpread1_Sheet1.DataAutoCellTypes = false; this.fpSpread1_Sheet1.DataAutoSizeColumns = false; this.fpSpread1_Sheet1.DataSource = this.bsPart; @@ -1503,9 +1515,9 @@ private System.Windows.Forms.Panel panel3; private System.Windows.Forms.Button button3; private System.Windows.Forms.Panel panel6; - private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; private System.Windows.Forms.RadioButton radSortIpNum; private System.Windows.Forms.Button button4; private System.Windows.Forms.Panel panel7; + private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; } } \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fPartList.cs b/SubProject/FPJ0000/Project/fPartList.cs index c14bf8b..f8a6015 100644 --- a/SubProject/FPJ0000/Project/fPartList.cs +++ b/SubProject/FPJ0000/Project/fPartList.cs @@ -69,8 +69,8 @@ namespace FPJ0000 void fPartList_KeyDown(object sender, KeyEventArgs e) { - if (e.KeyCode == Keys.Escape) this.Close(); - else if (e.KeyCode == Keys.F5) searchpmp(); + //if (e.KeyCode == Keys.Escape) this.Close(); + if (e.KeyCode == Keys.F5) searchpmp(); } void fPartList_FormClosed(object sender, FormClosedEventArgs e) @@ -187,12 +187,12 @@ namespace FPJ0000 var col_amtn = this.fpSpread1.ActiveSheet.Columns["amtn"].Index; var col_qtyin = this.fpSpread1.ActiveSheet.Columns["qtyin"].Index; var col_qtyn = this.fpSpread1.ActiveSheet.Columns["qtyn"].Index; //N대수량(전체수량) - var col_bbuy = this.fpSpread1.ActiveSheet.Columns["bbuy"].Index; + var col_breq = this.fpSpread1.ActiveSheet.Columns["bbuy"].Index; //구매요청 var col_supply = this.fpSpread1.ActiveSheet.Columns["supply"].Index; - // var col_bconf = this.fpSpread1.ActiveSheet.Columns["bconfirm"].Index; + var col_bconf = this.fpSpread1.ActiveSheet.Columns["bconfirm"].Index; //구매확정 var PO발행 = 0; - var PO발행전체 = 0; + var PR발행전체 = 0; var 전체건수 = 0; var 비구매건수 = 0; var 구매진행건수 = 0; @@ -208,19 +208,20 @@ namespace FPJ0000 var value = this.fpSpread1.ActiveSheet.GetValue(i, col_sid); //sid값을 확인한다 var value_buy = this.fpSpread1.ActiveSheet.GetValue(i, col_buy); var value_in = this.fpSpread1.ActiveSheet.GetValue(i, col_qtyin); - var value_bbuy = this.fpSpread1.ActiveSheet.GetValue(i, col_bbuy); + var value_bbuy = this.fpSpread1.ActiveSheet.GetValue(i, col_breq); //구매요청 + var value_bconf = this.fpSpread1.ActiveSheet.GetValue(i, col_bconf);//구매확정 210118 var db_supply = this.fpSpread1.ActiveSheet.GetValue(i, col_supply); var value_supply = string.Empty; if (db_supply != null) value_supply = db_supply.ToString().Trim(); //var value_bconf = this.fpSpread1.ActiveSheet.GetValue(i, col_bconf); - Boolean bbuy = false; - // Boolean bconf = false; + Boolean breq = false; + Boolean bconf = false; - if (value_bbuy != null) bbuy = (Boolean)value_bbuy; - // if (value_bconf != null) bconf = (Boolean)value_bconf; + if (value_bbuy != null) breq = (Boolean)value_bbuy; + if (value_bconf != null) bconf = (Boolean)value_bconf; - if (bbuy) PO발행전체 += 1; + if (breq) PR발행전체 += 1; // if (bbuy && string.IsNullOrEmpty(value_supply)) @@ -231,9 +232,9 @@ namespace FPJ0000 if (value_in != null) qty_in = (int)value_in; if (value_buy != null) qty_buy = (int)value_buy; - if (bbuy) + if (breq) { - if (qty_in == 0 && string.IsNullOrEmpty(value_supply)) + if (qty_in == 0 && bconf == false) { //입고량이 0인데 공급사가 없다면 PO발행대기건 row.ForeColor = Color.White; @@ -287,8 +288,8 @@ namespace FPJ0000 //prb6.Text = string.Format("전체 진행 ({0}/{1})", 비구매건수 + 구매완료건수, 전체건수); //prb6.ProgressMax = 전체건수; //prb6.ProgressValue = 비구매건수 + 구매완료건수; - prbPO.Text = string.Format("PO 대기 ({0}/{1})", PO발행, PO발행전체); - prbPO.ProgressMax = PO발행전체; + prbPO.Text = string.Format("구매입력완료[PR] ({0}/{1})", PO발행, PR발행전체); + prbPO.ProgressMax = PR발행전체; prbPO.ProgressValue = PO발행; prb5.Text = string.Format("비 구매 ({0}/{1})", 비구매건수, 전체건수); @@ -303,7 +304,7 @@ namespace FPJ0000 prb4.ProgressMax = 구매등록건수; prb4.ProgressValue = 구매완료건수; - prb3.Text = string.Format("구매 진행 중 ({0}/{1})", 구매진행건수, 구매등록건수); + prb3.Text = string.Format("발주완료[PO] ({0}/{1})", 구매진행건수, 구매등록건수); prb3.ProgressMax = 구매등록건수; prb3.ProgressValue = 구매진행건수; @@ -801,7 +802,7 @@ namespace FPJ0000 { var drv = this.bs.Current as DataRowView; if (drv == null) return; - var dr = drv.Row as dsPRJ.ProjectsRow; + var dr = drv.Row as dsPRJ.ProjectsRow; var tbPath = dr.path; if (tbPath == "") tbPath = "/" + tbIdx.Text; diff --git a/SubProject/FPJ0000/Project/fPartList.resx b/SubProject/FPJ0000/Project/fPartList.resx index d546c5d..1170bd2 100644 --- a/SubProject/FPJ0000/Project/fPartList.resx +++ b/SubProject/FPJ0000/Project/fPartList.resx @@ -396,20 +396,20 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALvSURBVDhPhZLrS1NhHMf3qv6EsF70UpBSyqioF6WpTQ3s - Zipm3uYcmtrQhUG2mEbmJTRRoUKUohcV2kWnNm/bnNtwauoyNe838LLUXc7Rnc1vzzlbzkDoBx+eF8/5 - fji/7zk8doIfKhOuFOsUESW63yFSHUVOmqOUPfV0RLGWDnumMZ6XqMt9It8f4EJ7J/RJt3rFTK8ZjUaH - yboFk8XDmpmFxs8lM/K+zCGmZNTGz5AfdEddE16oWWHD2hk79LMM9HMMdDMMNNPbUP7aQsuIFVsM0DhK - Ie/TLJJfGKl/JCHSFmrTto2+eQf65xlyMujlJNtQTWzh24iNCJzoW3JAv2hHgXwOgQ863nHh6NKAqVvS - yB1h1Q0kV95EZWsd8utLESj1RQCBX3AOwbLTKGss41ax0AyW120IjlcxnCCqOPBjx3ATmsZfo1KXw0ni - K8KQ8zYOmXUxEFRfRVJ1EhoHl9FktODr0CY2SE8hsm6aE/DL+Qd9pFkO3VgX3gzLUKTM4CQJVeEkfA2i - l6lQT1i5VdrHKShID+tWO0Lye1wCdkILVbS4JhGGCQ2q9ffxtC0b0aWXkFARCcOMDQZSLFuwetLViYkI - gmV7BBceSe1nco8irpyPvkktCrrSIJOLEfM8CHXKz/i+wMBAitVO29FDWDHbEfjYLTgp8RL6S44gszYW - t6tCEVt2mZOI5XGQ1KeSNwkCe98350Av+4kJZlKkX5bGJfCXHFrwlxwmD3nBP8cL14uCkP4qEeoRBQoU - uUj7kAhBVRQMRKAn/4aOCGi7kwiUnhUuZnXTSxs0BhccHKqxRdyrESGFBIXVMciuvbt7x2LbdhBBg0fA - 2uZNHsH/sLIrpO4RnBV32uQqw85+D+/HwJDReTy+0eKOkyJFbVOzmzZzp7rfObVKYWqFwoSbVYudg23e - QpMiB4adFEVteN9p/uGO83inRK3pfoKWthNChclP2EDvkuLC9y+CBtpb0Lx+LKm53TdRnszj8Xh/AIdo - nvbIfe02AAAAAElFTkSuQmCC + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALvSURBVDhPhZLrS1NhHMf3Kv+EsF70UpBSyqioF6WpTQ3s + Zipm3uYUTU10YZAtppF5CU1UqBCl6EWFdplTm7dtTrfcwssyNZ13wctSdznH7Wx+e87ZUgOhH3x4Xjzn + ++H8vufw2Al5oEi8XKaRR5ZrfoeKNRQ5aY4K9tTSkWX9dPhTteGcSFXlG/XuABfaO2GPe1UrZnrNYDA4 + TdYtmCy7rJlZaPxcMqPw8xxiy8ds/CyZlyfqnogS9Qob7p9xQDvLQDvHQDPDQD1th+LXFtpGrdhiAOkY + hcKPs0h5bqD+kYSK26hNmx36eSe+zzPkZDDASexQTm7h66iNCFzQLzmhXXSgWDaHoPtdb7lwTEWg8aY4 + altYex0pNTdQ096IoqYKBIn9EEjgF59FiOQUKqWV3CoWmsHyug0hCUqGE0SXBX3oGmlBy8Qr1GjyOUlC + dTjy38QjuzEWgrorSK5LhnRoGS0GC74Mb2KD9BQq6aU5Ab+K7+UrznFqxnvwekSCUkUWJ0msjSDhq0h/ + kQbVpJVbpXOCgpz0sG51ILSozy1gJ6xESefWJ0E3qUad9h6edOQhpuIiEqujoJuxQUeKZQtWTbk7MRFB + iGSP4PxDseN0wRHEV/Ghn+pHcU8GJLJcxD4LRqPiEwYXGOhIsf3TDvQRVswOBD3yCE6IvIUBosPIbojD + rdowxFVe4iS5sniImtLImwSDvdfPOTHAfmKCmRTpn6N2CwJEBxcCRIfIQ94IyPfGtdJgZL5MgmpUjmJ5 + ATLeJ0FQGw0dEWjJv6EhAtrhIgLF7goXcnrppQ0aQwtODuX4Iu7WpyOVBIV1schruLNzx2KzO4mgeVfA + 2uZNu4L/YWVXSNsjOJPbbZP2fNve7+H90A8Ou44lSC2eOCkyvcM4u2kzdyt0LuMqBeMKhUkPqxYHB9u8 + hSY96IdcFEVt+Nxu/eGJ83gn09sz/QVtHceFcpO/sJneIdWN318EzbSPoHX9aHJrp1+SLIXH4/H+AHwW + nuDKms+mAAAAAElFTkSuQmCC @@ -455,6 +455,6 @@ 385, 17 - 711, 18 + 17, 57 \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fProjectData.Designer.cs b/SubProject/FPJ0000/Project/fProjectData.Designer.cs index c4b8e6d..28a3ee6 100644 --- a/SubProject/FPJ0000/Project/fProjectData.Designer.cs +++ b/SubProject/FPJ0000/Project/fProjectData.Designer.cs @@ -49,10 +49,10 @@ System.Windows.Forms.Label label5; System.Windows.Forms.Label label7; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectData)); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); this.tbIdx = new System.Windows.Forms.TextBox(); this.bs = new System.Windows.Forms.BindingSource(this.components); this.dsPRJ = new FPJ0000.dsPRJ(); @@ -181,7 +181,17 @@ this.tabPage5 = new System.Windows.Forms.TabPage(); this.arPanel5 = new arCtl.arPanel(); this.dataGridView3 = new System.Windows.Forms.DataGridView(); + this.sort = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.cate = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.sw = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.ww = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.titleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.pdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.processDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.edateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.remarkDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.bsTodo = new System.Windows.Forms.BindingSource(this.components); + this.panel9 = new System.Windows.Forms.Panel(); this.bnTodo = new System.Windows.Forms.BindingNavigator(this.components); this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); this.toolStripButton8 = new System.Windows.Forms.ToolStripButton(); @@ -198,16 +208,6 @@ this.toolStripButton13 = new System.Windows.Forms.ToolStripButton(); this.taHistD = new FPJ0000.dsPRJTableAdapters.EETGW_ProjecthistoryDTableAdapter(); this.taToDo = new FPJ0000.dsPRJTableAdapters.EETGW_ProjectToDoTableAdapter(); - this.sort = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.cate = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.sw = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ww = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.titleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.pdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.processDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.edateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.remarkDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.panel9 = new System.Windows.Forms.Panel(); nameLabel = new System.Windows.Forms.Label(); reqstaffLabel = new System.Windows.Forms.Label(); usermainLabel = new System.Windows.Forms.Label(); @@ -671,6 +671,7 @@ // this.bindingNavigatorPositionItem.AccessibleName = "위치"; this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); this.bindingNavigatorPositionItem.Text = "0"; @@ -807,8 +808,8 @@ // this.dataGridViewTextBoxColumn10.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.dataGridViewTextBoxColumn10.DataPropertyName = "remark"; - dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle5; + dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle1; this.dataGridViewTextBoxColumn10.HeaderText = "비고"; this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; this.dataGridViewTextBoxColumn10.ReadOnly = true; @@ -1485,6 +1486,7 @@ // this.bindingNavigatorPositionItem1.AccessibleName = "위치"; this.bindingNavigatorPositionItem1.AutoSize = false; + this.bindingNavigatorPositionItem1.Font = new System.Drawing.Font("맑은 고딕", 9F); this.bindingNavigatorPositionItem1.Name = "bindingNavigatorPositionItem1"; this.bindingNavigatorPositionItem1.Size = new System.Drawing.Size(50, 23); this.bindingNavigatorPositionItem1.Text = "0"; @@ -1917,8 +1919,8 @@ // // tabControl2 // - this.tabControl2.Controls.Add(this.tabPage4); this.tabControl2.Controls.Add(this.tabPage3); + this.tabControl2.Controls.Add(this.tabPage4); this.tabControl2.Location = new System.Drawing.Point(559, 318); this.tabControl2.Name = "tabControl2"; this.tabControl2.SelectedIndex = 0; @@ -1933,7 +1935,7 @@ this.tabPage4.Padding = new System.Windows.Forms.Padding(3); this.tabPage4.Size = new System.Drawing.Size(448, 303); this.tabPage4.TabIndex = 1; - this.tabPage4.Text = "일 업무 현황"; + this.tabPage4.Text = "메모"; this.tabPage4.UseVisualStyleBackColor = true; // // arPanel4 @@ -2013,8 +2015,8 @@ // this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.dataGridViewTextBoxColumn5.DataPropertyName = "remark"; - dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle8; + dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle2; this.dataGridViewTextBoxColumn5.HeaderText = "비고"; this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; this.dataGridViewTextBoxColumn5.ReadOnly = true; @@ -2089,6 +2091,7 @@ // this.toolStripTextBox1.AccessibleName = "위치"; this.toolStripTextBox1.AutoSize = false; + this.toolStripTextBox1.Font = new System.Drawing.Font("맑은 고딕", 9F); this.toolStripTextBox1.Name = "toolStripTextBox1"; this.toolStripTextBox1.Size = new System.Drawing.Size(50, 23); this.toolStripTextBox1.Text = "0"; @@ -2157,7 +2160,7 @@ this.tabPage3.Padding = new System.Windows.Forms.Padding(3); this.tabPage3.Size = new System.Drawing.Size(448, 303); this.tabPage3.TabIndex = 0; - this.tabPage3.Text = "주간 업무 현황"; + this.tabPage3.Text = "업무 현황"; this.tabPage3.UseVisualStyleBackColor = true; // // tabPage2 @@ -2277,15 +2280,15 @@ this.edateDataGridViewTextBoxColumn, this.remarkDataGridViewTextBoxColumn}); this.dataGridView3.DataSource = this.bsTodo; - dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle7.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle7.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle7.Padding = new System.Windows.Forms.Padding(3); - dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridView3.DefaultCellStyle = dataGridViewCellStyle7; + dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle4.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle4.Padding = new System.Windows.Forms.Padding(3); + dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridView3.DefaultCellStyle = dataGridViewCellStyle4; this.dataGridView3.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView3.Location = new System.Drawing.Point(1, 158); this.dataGridView3.Margin = new System.Windows.Forms.Padding(7, 3, 7, 7); @@ -2296,12 +2299,82 @@ this.dataGridView3.Size = new System.Drawing.Size(1016, 469); this.dataGridView3.TabIndex = 0; // + // sort + // + this.sort.DataPropertyName = "sort"; + this.sort.HeaderText = "순서"; + this.sort.Name = "sort"; + // + // cate + // + this.cate.DataPropertyName = "cate"; + this.cate.HeaderText = "그룹"; + this.cate.Name = "cate"; + // + // sw + // + this.sw.DataPropertyName = "sw"; + this.sw.HeaderText = "sw"; + this.sw.Name = "sw"; + // + // ww + // + this.ww.DataPropertyName = "ww"; + this.ww.HeaderText = "ww"; + this.ww.Name = "ww"; + // + // titleDataGridViewTextBoxColumn + // + this.titleDataGridViewTextBoxColumn.DataPropertyName = "title"; + this.titleDataGridViewTextBoxColumn.HeaderText = "항목"; + this.titleDataGridViewTextBoxColumn.Name = "titleDataGridViewTextBoxColumn"; + this.titleDataGridViewTextBoxColumn.Width = 59; + // + // pdateDataGridViewTextBoxColumn + // + this.pdateDataGridViewTextBoxColumn.DataPropertyName = "pdate"; + this.pdateDataGridViewTextBoxColumn.HeaderText = "시작일"; + this.pdateDataGridViewTextBoxColumn.Name = "pdateDataGridViewTextBoxColumn"; + this.pdateDataGridViewTextBoxColumn.Width = 72; + // + // processDataGridViewTextBoxColumn + // + this.processDataGridViewTextBoxColumn.DataPropertyName = "process"; + this.processDataGridViewTextBoxColumn.HeaderText = "진행(%)"; + this.processDataGridViewTextBoxColumn.Name = "processDataGridViewTextBoxColumn"; + this.processDataGridViewTextBoxColumn.Width = 78; + // + // edateDataGridViewTextBoxColumn + // + this.edateDataGridViewTextBoxColumn.DataPropertyName = "edate"; + this.edateDataGridViewTextBoxColumn.HeaderText = "종료일"; + this.edateDataGridViewTextBoxColumn.Name = "edateDataGridViewTextBoxColumn"; + this.edateDataGridViewTextBoxColumn.Width = 72; + // + // remarkDataGridViewTextBoxColumn + // + this.remarkDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + this.remarkDataGridViewTextBoxColumn.DataPropertyName = "remark"; + dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.remarkDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3; + this.remarkDataGridViewTextBoxColumn.HeaderText = "비고"; + this.remarkDataGridViewTextBoxColumn.Name = "remarkDataGridViewTextBoxColumn"; + // // bsTodo // this.bsTodo.DataMember = "EETGW_ProjectToDo"; this.bsTodo.DataSource = this.dsPRJ; this.bsTodo.Sort = "sort"; // + // panel9 + // + this.panel9.Dock = System.Windows.Forms.DockStyle.Top; + this.panel9.Location = new System.Drawing.Point(1, 1); + this.panel9.Name = "panel9"; + this.panel9.Size = new System.Drawing.Size(1016, 157); + this.panel9.TabIndex = 88; + this.panel9.Paint += new System.Windows.Forms.PaintEventHandler(this.panel9_Paint); + // // bnTodo // this.bnTodo.AddNewItem = null; @@ -2368,6 +2441,7 @@ // this.toolStripTextBox2.AccessibleName = "위치"; this.toolStripTextBox2.AutoSize = false; + this.toolStripTextBox2.Font = new System.Drawing.Font("맑은 고딕", 9F); this.toolStripTextBox2.Name = "toolStripTextBox2"; this.toolStripTextBox2.Size = new System.Drawing.Size(50, 23); this.toolStripTextBox2.Text = "0"; @@ -2446,76 +2520,6 @@ // this.taToDo.ClearBeforeFill = true; // - // sort - // - this.sort.DataPropertyName = "sort"; - this.sort.HeaderText = "순서"; - this.sort.Name = "sort"; - // - // cate - // - this.cate.DataPropertyName = "cate"; - this.cate.HeaderText = "그룹"; - this.cate.Name = "cate"; - // - // sw - // - this.sw.DataPropertyName = "sw"; - this.sw.HeaderText = "sw"; - this.sw.Name = "sw"; - // - // ww - // - this.ww.DataPropertyName = "ww"; - this.ww.HeaderText = "ww"; - this.ww.Name = "ww"; - // - // titleDataGridViewTextBoxColumn - // - this.titleDataGridViewTextBoxColumn.DataPropertyName = "title"; - this.titleDataGridViewTextBoxColumn.HeaderText = "항목"; - this.titleDataGridViewTextBoxColumn.Name = "titleDataGridViewTextBoxColumn"; - this.titleDataGridViewTextBoxColumn.Width = 59; - // - // pdateDataGridViewTextBoxColumn - // - this.pdateDataGridViewTextBoxColumn.DataPropertyName = "pdate"; - this.pdateDataGridViewTextBoxColumn.HeaderText = "시작일"; - this.pdateDataGridViewTextBoxColumn.Name = "pdateDataGridViewTextBoxColumn"; - this.pdateDataGridViewTextBoxColumn.Width = 72; - // - // processDataGridViewTextBoxColumn - // - this.processDataGridViewTextBoxColumn.DataPropertyName = "process"; - this.processDataGridViewTextBoxColumn.HeaderText = "진행(%)"; - this.processDataGridViewTextBoxColumn.Name = "processDataGridViewTextBoxColumn"; - this.processDataGridViewTextBoxColumn.Width = 78; - // - // edateDataGridViewTextBoxColumn - // - this.edateDataGridViewTextBoxColumn.DataPropertyName = "edate"; - this.edateDataGridViewTextBoxColumn.HeaderText = "종료일"; - this.edateDataGridViewTextBoxColumn.Name = "edateDataGridViewTextBoxColumn"; - this.edateDataGridViewTextBoxColumn.Width = 72; - // - // remarkDataGridViewTextBoxColumn - // - this.remarkDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - this.remarkDataGridViewTextBoxColumn.DataPropertyName = "remark"; - dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.remarkDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle6; - this.remarkDataGridViewTextBoxColumn.HeaderText = "비고"; - this.remarkDataGridViewTextBoxColumn.Name = "remarkDataGridViewTextBoxColumn"; - // - // panel9 - // - this.panel9.Dock = System.Windows.Forms.DockStyle.Top; - this.panel9.Location = new System.Drawing.Point(1, 1); - this.panel9.Name = "panel9"; - this.panel9.Size = new System.Drawing.Size(1016, 157); - this.panel9.TabIndex = 88; - this.panel9.Paint += new System.Windows.Forms.PaintEventHandler(this.panel9_Paint); - // // fProjectData // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); diff --git a/SubProject/FPJ0000/Project/fProjectData.resx b/SubProject/FPJ0000/Project/fProjectData.resx index febd34b..ef17197 100644 --- a/SubProject/FPJ0000/Project/fProjectData.resx +++ b/SubProject/FPJ0000/Project/fProjectData.resx @@ -177,12 +177,6 @@ 100, 17 - - 100, 17 - - - 17, 17 - 17, 17 @@ -323,12 +317,6 @@ 449, 17 - - 449, 17 - - - 773, 17 - 773, 17 @@ -426,6 +414,91 @@ 660, 17 + + 929, 17 + + + 1161, 17 + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 + wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 + v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg + UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA + Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu + lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w + 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f + Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ + 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI + N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f + oAc0QjgAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// + h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B + twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA + kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG + WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 + 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC + pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ + Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ + /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA + zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ + IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E + rkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC + DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC + rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV + i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG + 86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG + QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX + bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= + + True @@ -536,97 +609,6 @@ mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D TgDQASA1MVpwzwAAAABJRU5ErkJggg== - - - - 1161, 17 - - - 929, 17 - - - 929, 17 - - - 1161, 17 - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 - wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 - v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg - UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA - Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu - lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w - 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f - Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ - 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 - n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI - N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f - oAc0QjgAAAAASUVORK5CYII= - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// - h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B - twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA - kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG - WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 - 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC - pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ - Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ - /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA - zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ - IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E - rkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG - YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 - 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw - bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc - VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 - c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 - Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo - mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ - kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D - TgDQASA1MVpwzwAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC - DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC - rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV - i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG - 86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG - QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX - bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= diff --git a/SubProject/FPJ0000/Project/fProjectPartListEdit.Designer.cs b/SubProject/FPJ0000/Project/fProjectPartListEdit.Designer.cs index 9bcb3d6..a58752f 100644 --- a/SubProject/FPJ0000/Project/fProjectPartListEdit.Designer.cs +++ b/SubProject/FPJ0000/Project/fProjectPartListEdit.Designer.cs @@ -34,7 +34,6 @@ System.Windows.Forms.Label nameLabel; System.Windows.Forms.Label userManagerLabel; System.Windows.Forms.Label ordernoLabel; - System.Windows.Forms.Label pathLabel; System.Windows.Forms.Label itemNameLabel; System.Windows.Forms.Label itemSidLabel; System.Windows.Forms.Label itemUnitLabel; @@ -56,12 +55,12 @@ this.nameTextBox = new System.Windows.Forms.TextBox(); this.userManagerTextBox = new System.Windows.Forms.TextBox(); this.ordernoTextBox = new System.Windows.Forms.TextBox(); - this.pathTextBox = new System.Windows.Forms.TextBox(); this.projectTextBox = new System.Windows.Forms.TextBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.panel1 = new System.Windows.Forms.Panel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.panel3 = new System.Windows.Forms.Panel(); + this.checkBox1 = new System.Windows.Forms.CheckBox(); this.bbuyCheckBox = new System.Windows.Forms.CheckBox(); this.itemSupplyTextBox = new System.Windows.Forms.TextBox(); this.qtyinTextBox = new System.Windows.Forms.TextBox(); @@ -77,12 +76,12 @@ this.itemNameTextBox = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.panel2 = new System.Windows.Forms.Panel(); + this.textBox1 = new System.Windows.Forms.TextBox(); pdateLabel = new System.Windows.Forms.Label(); statusLabel = new System.Windows.Forms.Label(); nameLabel = new System.Windows.Forms.Label(); userManagerLabel = new System.Windows.Forms.Label(); ordernoLabel = new System.Windows.Forms.Label(); - pathLabel = new System.Windows.Forms.Label(); itemNameLabel = new System.Windows.Forms.Label(); itemSidLabel = new System.Windows.Forms.Label(); itemUnitLabel = new System.Windows.Forms.Label(); @@ -105,142 +104,133 @@ // pdateLabel // pdateLabel.AutoSize = true; - pdateLabel.Location = new System.Drawing.Point(66, 25); + pdateLabel.Location = new System.Drawing.Point(21, 28); pdateLabel.Name = "pdateLabel"; - pdateLabel.Size = new System.Drawing.Size(40, 12); + pdateLabel.Size = new System.Drawing.Size(41, 12); pdateLabel.TabIndex = 0; - pdateLabel.Text = "pdate:"; + pdateLabel.Text = "등록일"; // // statusLabel // statusLabel.AutoSize = true; - statusLabel.Location = new System.Drawing.Point(63, 52); + statusLabel.Location = new System.Drawing.Point(180, 28); statusLabel.Name = "statusLabel"; - statusLabel.Size = new System.Drawing.Size(43, 12); + statusLabel.Size = new System.Drawing.Size(29, 12); statusLabel.TabIndex = 2; - statusLabel.Text = "status:"; + statusLabel.Text = "상태"; // // nameLabel // nameLabel.AutoSize = true; - nameLabel.Location = new System.Drawing.Point(65, 79); + nameLabel.Location = new System.Drawing.Point(33, 56); nameLabel.Name = "nameLabel"; - nameLabel.Size = new System.Drawing.Size(41, 12); + nameLabel.Size = new System.Drawing.Size(29, 12); nameLabel.TabIndex = 4; - nameLabel.Text = "name:"; + nameLabel.Text = "제목"; // // userManagerLabel // userManagerLabel.AutoSize = true; - userManagerLabel.Location = new System.Drawing.Point(18, 106); + userManagerLabel.Location = new System.Drawing.Point(325, 28); userManagerLabel.Name = "userManagerLabel"; - userManagerLabel.Size = new System.Drawing.Size(88, 12); + userManagerLabel.Size = new System.Drawing.Size(41, 12); userManagerLabel.TabIndex = 6; - userManagerLabel.Text = "user Manager:"; + userManagerLabel.Text = "담당자"; // // ordernoLabel // ordernoLabel.AutoSize = true; - ordernoLabel.Location = new System.Drawing.Point(54, 133); + ordernoLabel.Location = new System.Drawing.Point(482, 28); ordernoLabel.Name = "ordernoLabel"; ordernoLabel.Size = new System.Drawing.Size(44, 12); ordernoLabel.TabIndex = 8; ordernoLabel.Text = "CR/CF"; // - // pathLabel - // - pathLabel.AutoSize = true; - pathLabel.Location = new System.Drawing.Point(73, 160); - pathLabel.Name = "pathLabel"; - pathLabel.Size = new System.Drawing.Size(33, 12); - pathLabel.TabIndex = 10; - pathLabel.Text = "path:"; - // // itemNameLabel // itemNameLabel.AutoSize = true; - itemNameLabel.Location = new System.Drawing.Point(223, 23); + itemNameLabel.Location = new System.Drawing.Point(369, 23); itemNameLabel.Name = "itemNameLabel"; - itemNameLabel.Size = new System.Drawing.Size(71, 12); + itemNameLabel.Size = new System.Drawing.Size(29, 12); itemNameLabel.TabIndex = 0; - itemNameLabel.Text = "Item Name:"; + itemNameLabel.Text = "품명"; // // itemSidLabel // itemSidLabel.AutoSize = true; - itemSidLabel.Location = new System.Drawing.Point(131, 23); + itemSidLabel.Location = new System.Drawing.Point(138, 23); itemSidLabel.Name = "itemSidLabel"; - itemSidLabel.Size = new System.Drawing.Size(55, 12); + itemSidLabel.Size = new System.Drawing.Size(24, 12); itemSidLabel.TabIndex = 2; - itemSidLabel.Text = "Item Sid:"; + itemSidLabel.Text = "SID"; // // itemUnitLabel // itemUnitLabel.AutoSize = true; - itemUnitLabel.Location = new System.Drawing.Point(35, 74); + itemUnitLabel.Location = new System.Drawing.Point(64, 73); itemUnitLabel.Name = "itemUnitLabel"; - itemUnitLabel.Size = new System.Drawing.Size(58, 12); + itemUnitLabel.Size = new System.Drawing.Size(29, 12); itemUnitLabel.TabIndex = 4; - itemUnitLabel.Text = "Item Unit:"; + itemUnitLabel.Text = "단위"; // // itemSupplyLabel // itemSupplyLabel.AutoSize = true; - itemSupplyLabel.Location = new System.Drawing.Point(97, 16); + itemSupplyLabel.Location = new System.Drawing.Point(421, 19); itemSupplyLabel.Name = "itemSupplyLabel"; - itemSupplyLabel.Size = new System.Drawing.Size(41, 12); + itemSupplyLabel.Size = new System.Drawing.Size(53, 12); itemSupplyLabel.TabIndex = 6; - itemSupplyLabel.Text = "공급사"; + itemSupplyLabel.Text = "공급업체"; // // itemManuLabel // itemManuLabel.AutoSize = true; - itemManuLabel.Location = new System.Drawing.Point(620, 23); + itemManuLabel.Location = new System.Drawing.Point(629, 23); itemManuLabel.Name = "itemManuLabel"; - itemManuLabel.Size = new System.Drawing.Size(69, 12); + itemManuLabel.Size = new System.Drawing.Size(41, 12); itemManuLabel.TabIndex = 8; - itemManuLabel.Text = "Item Manu:"; + itemManuLabel.Text = "제조사"; // // memoLabel // memoLabel.AutoSize = true; - memoLabel.Location = new System.Drawing.Point(47, 101); + memoLabel.Location = new System.Drawing.Point(64, 101); memoLabel.Name = "memoLabel"; - memoLabel.Size = new System.Drawing.Size(45, 12); + memoLabel.Size = new System.Drawing.Size(29, 12); memoLabel.TabIndex = 12; - memoLabel.Text = "memo:"; + memoLabel.Text = "비고"; // // qtyLabel // qtyLabel.AutoSize = true; - qtyLabel.Location = new System.Drawing.Point(214, 72); + qtyLabel.Location = new System.Drawing.Point(214, 73); qtyLabel.Name = "qtyLabel"; - qtyLabel.Size = new System.Drawing.Size(26, 12); + qtyLabel.Size = new System.Drawing.Size(29, 12); qtyLabel.TabIndex = 14; - qtyLabel.Text = "qty:"; + qtyLabel.Text = "수량"; // // priceLabel // priceLabel.AutoSize = true; - priceLabel.Location = new System.Drawing.Point(354, 72); + priceLabel.Location = new System.Drawing.Point(354, 73); priceLabel.Name = "priceLabel"; - priceLabel.Size = new System.Drawing.Size(37, 12); + priceLabel.Size = new System.Drawing.Size(29, 12); priceLabel.TabIndex = 16; - priceLabel.Text = "price:"; + priceLabel.Text = "단가"; // // amtLabel // amtLabel.AutoSize = true; - amtLabel.Location = new System.Drawing.Point(503, 72); + amtLabel.Location = new System.Drawing.Point(565, 72); amtLabel.Name = "amtLabel"; - amtLabel.Size = new System.Drawing.Size(30, 12); + amtLabel.Size = new System.Drawing.Size(29, 12); amtLabel.TabIndex = 18; - amtLabel.Text = "amt:"; + amtLabel.Text = "금액"; // // qtybuyLabel // qtybuyLabel.AutoSize = true; - qtybuyLabel.Location = new System.Drawing.Point(41, 125); + qtybuyLabel.Location = new System.Drawing.Point(36, 139); qtybuyLabel.Name = "qtybuyLabel"; qtybuyLabel.Size = new System.Drawing.Size(53, 12); qtybuyLabel.TabIndex = 20; @@ -249,7 +239,7 @@ // qtyinLabel // qtyinLabel.AutoSize = true; - qtyinLabel.Location = new System.Drawing.Point(217, 125); + qtyinLabel.Location = new System.Drawing.Point(389, 139); qtyinLabel.Name = "qtyinLabel"; qtyinLabel.Size = new System.Drawing.Size(53, 12); qtyinLabel.TabIndex = 22; @@ -258,7 +248,7 @@ // label1 // label1.AutoSize = true; - label1.Location = new System.Drawing.Point(386, 125); + label1.Location = new System.Drawing.Point(553, 139); label1.Name = "label1"; label1.Size = new System.Drawing.Size(41, 12); label1.TabIndex = 6; @@ -281,7 +271,11 @@ // tableAdapterManager // this.tableAdapterManager.BackupDataSetBeforeUpdate = false; + this.tableAdapterManager.EETGW_JobReport_AutoInputTableAdapter = null; + this.tableAdapterManager.EETGW_JobReport_EBoardTableAdapter = null; this.tableAdapterManager.EETGW_NoteTableAdapter = null; + this.tableAdapterManager.EETGW_ProjecthistoryDTableAdapter = null; + this.tableAdapterManager.EETGW_ProjectToDoTableAdapter = null; this.tableAdapterManager.EETGW_SaveCostTableAdapter = null; this.tableAdapterManager.JobReportTableAdapter = null; this.tableAdapterManager.ProjectPartStatusTableAdapter = this.ta; @@ -297,65 +291,66 @@ // pdateTextBox // this.pdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "pdate", true)); - this.pdateTextBox.Location = new System.Drawing.Point(112, 22); + this.pdateTextBox.Location = new System.Drawing.Point(70, 24); this.pdateTextBox.Name = "pdateTextBox"; + this.pdateTextBox.ReadOnly = true; this.pdateTextBox.Size = new System.Drawing.Size(100, 21); this.pdateTextBox.TabIndex = 1; + this.pdateTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // statusTextBox // this.statusTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "status", true)); - this.statusTextBox.Location = new System.Drawing.Point(112, 49); + this.statusTextBox.Location = new System.Drawing.Point(219, 24); this.statusTextBox.Name = "statusTextBox"; + this.statusTextBox.ReadOnly = true; this.statusTextBox.Size = new System.Drawing.Size(100, 21); this.statusTextBox.TabIndex = 3; + this.statusTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // nameTextBox // this.nameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "name", true)); - this.nameTextBox.Location = new System.Drawing.Point(218, 76); + this.nameTextBox.Location = new System.Drawing.Point(70, 52); this.nameTextBox.Name = "nameTextBox"; - this.nameTextBox.Size = new System.Drawing.Size(414, 21); + this.nameTextBox.ReadOnly = true; + this.nameTextBox.Size = new System.Drawing.Size(524, 21); this.nameTextBox.TabIndex = 5; // // userManagerTextBox // this.userManagerTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "userManager", true)); - this.userManagerTextBox.Location = new System.Drawing.Point(112, 103); + this.userManagerTextBox.Location = new System.Drawing.Point(371, 24); this.userManagerTextBox.Name = "userManagerTextBox"; + this.userManagerTextBox.ReadOnly = true; this.userManagerTextBox.Size = new System.Drawing.Size(100, 21); this.userManagerTextBox.TabIndex = 7; + this.userManagerTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // ordernoTextBox // this.ordernoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "orderno", true)); - this.ordernoTextBox.Location = new System.Drawing.Point(112, 130); + this.ordernoTextBox.Location = new System.Drawing.Point(540, 24); this.ordernoTextBox.Name = "ordernoTextBox"; - this.ordernoTextBox.Size = new System.Drawing.Size(100, 21); + this.ordernoTextBox.ReadOnly = true; + this.ordernoTextBox.Size = new System.Drawing.Size(160, 21); this.ordernoTextBox.TabIndex = 9; - // - // pathTextBox - // - this.pathTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "path", true)); - this.pathTextBox.Location = new System.Drawing.Point(112, 157); - this.pathTextBox.Name = "pathTextBox"; - this.pathTextBox.Size = new System.Drawing.Size(100, 21); - this.pathTextBox.TabIndex = 11; + this.ordernoTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // projectTextBox // this.projectTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "Project", true)); - this.projectTextBox.Location = new System.Drawing.Point(112, 76); + this.projectTextBox.Location = new System.Drawing.Point(600, 52); this.projectTextBox.Name = "projectTextBox"; + this.projectTextBox.ReadOnly = true; this.projectTextBox.Size = new System.Drawing.Size(100, 21); this.projectTextBox.TabIndex = 13; + this.projectTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // groupBox1 // - this.groupBox1.Controls.Add(this.pathTextBox); this.groupBox1.Controls.Add(this.projectTextBox); this.groupBox1.Controls.Add(this.pdateTextBox); - this.groupBox1.Controls.Add(pathLabel); this.groupBox1.Controls.Add(pdateLabel); this.groupBox1.Controls.Add(this.statusTextBox); this.groupBox1.Controls.Add(ordernoLabel); @@ -368,21 +363,22 @@ this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(10, 10); this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(713, 186); + this.groupBox1.Size = new System.Drawing.Size(713, 85); this.groupBox1.TabIndex = 14; this.groupBox1.TabStop = false; - this.groupBox1.Text = "Project Information"; + this.groupBox1.Text = "프로젝트 정보"; // // panel1 // this.panel1.Dock = System.Windows.Forms.DockStyle.Top; - this.panel1.Location = new System.Drawing.Point(10, 196); + this.panel1.Location = new System.Drawing.Point(10, 95); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(713, 5); this.panel1.TabIndex = 15; // // groupBox2 // + this.groupBox2.Controls.Add(this.textBox1); this.groupBox2.Controls.Add(this.panel3); this.groupBox2.Controls.Add(qtyinLabel); this.groupBox2.Controls.Add(this.qtyinTextBox); @@ -407,73 +403,89 @@ this.groupBox2.Controls.Add(itemNameLabel); this.groupBox2.Controls.Add(this.itemNameTextBox); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; - this.groupBox2.Location = new System.Drawing.Point(10, 201); + this.groupBox2.Location = new System.Drawing.Point(10, 100); this.groupBox2.Name = "groupBox2"; this.groupBox2.Padding = new System.Windows.Forms.Padding(10); - this.groupBox2.Size = new System.Drawing.Size(713, 202); - this.groupBox2.TabIndex = 16; + this.groupBox2.Size = new System.Drawing.Size(713, 223); + this.groupBox2.TabIndex = 0; this.groupBox2.TabStop = false; - this.groupBox2.Text = "Project Information"; + this.groupBox2.Text = "파트정보"; // // panel3 // this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.panel3.Controls.Add(this.checkBox1); this.panel3.Controls.Add(this.bbuyCheckBox); this.panel3.Controls.Add(this.itemSupplyTextBox); this.panel3.Controls.Add(itemSupplyLabel); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panel3.Location = new System.Drawing.Point(10, 147); + this.panel3.Location = new System.Drawing.Point(10, 168); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(693, 45); - this.panel3.TabIndex = 14; + this.panel3.TabIndex = 0; + // + // checkBox1 + // + this.checkBox1.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.bs, "bconfirm", true)); + this.checkBox1.Location = new System.Drawing.Point(161, 13); + this.checkBox1.Name = "checkBox1"; + this.checkBox1.Size = new System.Drawing.Size(123, 24); + this.checkBox1.TabIndex = 26; + this.checkBox1.Text = "발주완료(PO)"; + this.checkBox1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.checkBox1.UseVisualStyleBackColor = true; // // bbuyCheckBox // this.bbuyCheckBox.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.bs, "bbuy", true)); - this.bbuyCheckBox.Location = new System.Drawing.Point(12, 10); + this.bbuyCheckBox.Location = new System.Drawing.Point(12, 13); this.bbuyCheckBox.Name = "bbuyCheckBox"; - this.bbuyCheckBox.Size = new System.Drawing.Size(85, 24); + this.bbuyCheckBox.Size = new System.Drawing.Size(123, 24); this.bbuyCheckBox.TabIndex = 25; - this.bbuyCheckBox.Text = "구매확정"; + this.bbuyCheckBox.Text = "구매입력완료(PR)"; this.bbuyCheckBox.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.bbuyCheckBox.UseVisualStyleBackColor = true; // // itemSupplyTextBox // this.itemSupplyTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ItemSupply", true)); - this.itemSupplyTextBox.Location = new System.Drawing.Point(143, 12); + this.itemSupplyTextBox.Location = new System.Drawing.Point(481, 15); this.itemSupplyTextBox.Name = "itemSupplyTextBox"; - this.itemSupplyTextBox.Size = new System.Drawing.Size(100, 21); - this.itemSupplyTextBox.TabIndex = 7; + this.itemSupplyTextBox.Size = new System.Drawing.Size(204, 21); + this.itemSupplyTextBox.TabIndex = 0; // // qtyinTextBox // this.qtyinTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "qtyin", true)); - this.qtyinTextBox.Location = new System.Drawing.Point(275, 121); + this.qtyinTextBox.Location = new System.Drawing.Point(447, 135); this.qtyinTextBox.Name = "qtyinTextBox"; this.qtyinTextBox.Size = new System.Drawing.Size(100, 21); this.qtyinTextBox.TabIndex = 23; + this.qtyinTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // option1TextBox // this.option1TextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "option2", true)); - this.option1TextBox.Location = new System.Drawing.Point(433, 121); + this.option1TextBox.Location = new System.Drawing.Point(600, 135); this.option1TextBox.Name = "option1TextBox"; this.option1TextBox.Size = new System.Drawing.Size(100, 21); this.option1TextBox.TabIndex = 11; + this.option1TextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // qtybuyTextBox // + this.qtybuyTextBox.BackColor = System.Drawing.Color.SkyBlue; this.qtybuyTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "qtybuy", true)); - this.qtybuyTextBox.Location = new System.Drawing.Point(102, 121); + this.qtybuyTextBox.Location = new System.Drawing.Point(98, 135); this.qtybuyTextBox.Name = "qtybuyTextBox"; this.qtybuyTextBox.Size = new System.Drawing.Size(100, 21); this.qtybuyTextBox.TabIndex = 21; + this.qtybuyTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // amtTextBox // this.amtTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "amt", true)); - this.amtTextBox.Location = new System.Drawing.Point(540, 68); + this.amtTextBox.Location = new System.Drawing.Point(600, 68); this.amtTextBox.Name = "amtTextBox"; this.amtTextBox.Size = new System.Drawing.Size(100, 21); this.amtTextBox.TabIndex = 19; @@ -481,25 +493,27 @@ // priceTextBox // this.priceTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "price", true)); - this.priceTextBox.Location = new System.Drawing.Point(398, 68); + this.priceTextBox.Location = new System.Drawing.Point(398, 69); this.priceTextBox.Name = "priceTextBox"; this.priceTextBox.Size = new System.Drawing.Size(100, 21); this.priceTextBox.TabIndex = 17; + this.priceTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // qtyTextBox // this.qtyTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "qty", true)); - this.qtyTextBox.Location = new System.Drawing.Point(247, 68); + this.qtyTextBox.Location = new System.Drawing.Point(247, 69); this.qtyTextBox.Name = "qtyTextBox"; this.qtyTextBox.Size = new System.Drawing.Size(100, 21); this.qtyTextBox.TabIndex = 15; + this.qtyTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // memoTextBox // this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true)); - this.memoTextBox.Location = new System.Drawing.Point(102, 95); + this.memoTextBox.Location = new System.Drawing.Point(98, 95); this.memoTextBox.Name = "memoTextBox"; - this.memoTextBox.Size = new System.Drawing.Size(600, 21); + this.memoTextBox.Size = new System.Drawing.Size(602, 21); this.memoTextBox.TabIndex = 13; // // itemManuTextBox @@ -513,15 +527,16 @@ // itemUnitTextBox // this.itemUnitTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ItemUnit", true)); - this.itemUnitTextBox.Location = new System.Drawing.Point(100, 68); + this.itemUnitTextBox.Location = new System.Drawing.Point(98, 69); this.itemUnitTextBox.Name = "itemUnitTextBox"; this.itemUnitTextBox.Size = new System.Drawing.Size(100, 21); this.itemUnitTextBox.TabIndex = 5; + this.itemUnitTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // itemSidTextBox // this.itemSidTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ItemSid", true)); - this.itemSidTextBox.Location = new System.Drawing.Point(100, 42); + this.itemSidTextBox.Location = new System.Drawing.Point(98, 42); this.itemSidTextBox.Name = "itemSidTextBox"; this.itemSidTextBox.Size = new System.Drawing.Size(100, 21); this.itemSidTextBox.TabIndex = 3; @@ -531,13 +546,14 @@ this.itemNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ItemName", true)); this.itemNameTextBox.Location = new System.Drawing.Point(206, 42); this.itemNameTextBox.Name = "itemNameTextBox"; - this.itemNameTextBox.Size = new System.Drawing.Size(388, 21); + this.itemNameTextBox.ReadOnly = true; + this.itemNameTextBox.Size = new System.Drawing.Size(328, 21); this.itemNameTextBox.TabIndex = 1; // // button1 // this.button1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.button1.Location = new System.Drawing.Point(10, 408); + this.button1.Location = new System.Drawing.Point(10, 328); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(713, 39); this.button1.TabIndex = 17; @@ -548,21 +564,31 @@ // panel2 // this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panel2.Location = new System.Drawing.Point(10, 403); + this.panel2.Location = new System.Drawing.Point(10, 323); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(713, 5); this.panel2.TabIndex = 18; // + // textBox1 + // + this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "Item", true)); + this.textBox1.Location = new System.Drawing.Point(538, 42); + this.textBox1.Name = "textBox1"; + this.textBox1.ReadOnly = true; + this.textBox1.Size = new System.Drawing.Size(58, 21); + this.textBox1.TabIndex = 24; + // // fProjectPartListEdit // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(733, 457); + this.ClientSize = new System.Drawing.Size(733, 377); this.Controls.Add(this.groupBox2); this.Controls.Add(this.panel2); this.Controls.Add(this.button1); this.Controls.Add(this.panel1); this.Controls.Add(this.groupBox1); + this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "fProjectPartListEdit"; this.Padding = new System.Windows.Forms.Padding(10); @@ -591,7 +617,6 @@ private System.Windows.Forms.TextBox nameTextBox; private System.Windows.Forms.TextBox userManagerTextBox; private System.Windows.Forms.TextBox ordernoTextBox; - private System.Windows.Forms.TextBox pathTextBox; private System.Windows.Forms.TextBox projectTextBox; private System.Windows.Forms.GroupBox groupBox1; private System.Windows.Forms.Panel panel1; @@ -612,5 +637,7 @@ private System.Windows.Forms.TextBox priceTextBox; private System.Windows.Forms.TextBox qtyTextBox; private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.CheckBox checkBox1; + private System.Windows.Forms.TextBox textBox1; } } \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fProjectPartListEdit.cs b/SubProject/FPJ0000/Project/fProjectPartListEdit.cs index 6eef155..40c6c0c 100644 --- a/SubProject/FPJ0000/Project/fProjectPartListEdit.cs +++ b/SubProject/FPJ0000/Project/fProjectPartListEdit.cs @@ -11,18 +11,20 @@ namespace FPJ0000 { public partial class fProjectPartListEdit : FCOMMON.fBase { - int idx; - public fProjectPartListEdit(int idx_) + dsPRJ.ProjectPartStatusRow dr; + public fProjectPartListEdit(dsPRJ.ProjectPartStatusRow dr_) { InitializeComponent(); this.UseFormSetting = false; - this.idx = idx_; + this.dr = dr_; + this.bs.DataSource = this.dr; } private void fProjectData_Load(object sender, EventArgs e) { //자료를 불러온다 - ta.FillByIdx(this.dsPRJ.ProjectPartStatus, FCOMMON.info.Login.gcode, this.idx); + //ta.FillByIdx(this.dsPRJ.ProjectPartStatus, FCOMMON.info.Login.gcode, this.dr); + } @@ -31,7 +33,7 @@ namespace FPJ0000 this.Validate(); this.bs.EndEdit(); - this.ta.Update(this.dsPRJ.ProjectPartStatus); + //var cnt = this.ta.Update(this.dsPRJ.ProjectPartStatus); this.DialogResult = System.Windows.Forms.DialogResult.OK; //this.tableAdapterManager.UpdateAll(this.dsPRJ); } diff --git a/SubProject/FPJ0000/Project/fProjectPartListEdit.resx b/SubProject/FPJ0000/Project/fProjectPartListEdit.resx index 7f4546b..84502ac 100644 --- a/SubProject/FPJ0000/Project/fProjectPartListEdit.resx +++ b/SubProject/FPJ0000/Project/fProjectPartListEdit.resx @@ -132,9 +132,6 @@ False - - False - False @@ -177,6 +174,9 @@ 17, 17 + + 17, 17 + 164, 17 diff --git a/SubProject/FPJ0000/dsPRJ.Designer.cs b/SubProject/FPJ0000/dsPRJ.Designer.cs index bd9aa33..301fc4a 100644 --- a/SubProject/FPJ0000/dsPRJ.Designer.cs +++ b/SubProject/FPJ0000/dsPRJ.Designer.cs @@ -50,6 +50,10 @@ namespace FPJ0000 { private EETGW_ProjectToDoDataTable tableEETGW_ProjectToDo; + private EETGW_JobReport_EBoardDataTable tableEETGW_JobReport_EBoard; + + private EETGW_JobReport_AutoInputDataTable tableEETGW_JobReport_AutoInput; + private SCTableDataTable tableSCTable; private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; @@ -123,6 +127,12 @@ namespace FPJ0000 { if ((ds.Tables["EETGW_ProjectToDo"] != null)) { base.Tables.Add(new EETGW_ProjectToDoDataTable(ds.Tables["EETGW_ProjectToDo"])); } + if ((ds.Tables["EETGW_JobReport_EBoard"] != null)) { + base.Tables.Add(new EETGW_JobReport_EBoardDataTable(ds.Tables["EETGW_JobReport_EBoard"])); + } + if ((ds.Tables["EETGW_JobReport_AutoInput"] != null)) { + base.Tables.Add(new EETGW_JobReport_AutoInputDataTable(ds.Tables["EETGW_JobReport_AutoInput"])); + } if ((ds.Tables["SCTable"] != null)) { base.Tables.Add(new SCTableDataTable(ds.Tables["SCTable"])); } @@ -275,6 +285,26 @@ namespace FPJ0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public EETGW_JobReport_EBoardDataTable EETGW_JobReport_EBoard { + get { + return this.tableEETGW_JobReport_EBoard; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public EETGW_JobReport_AutoInputDataTable EETGW_JobReport_AutoInput { + get { + return this.tableEETGW_JobReport_AutoInput; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -392,6 +422,12 @@ namespace FPJ0000 { if ((ds.Tables["EETGW_ProjectToDo"] != null)) { base.Tables.Add(new EETGW_ProjectToDoDataTable(ds.Tables["EETGW_ProjectToDo"])); } + if ((ds.Tables["EETGW_JobReport_EBoard"] != null)) { + base.Tables.Add(new EETGW_JobReport_EBoardDataTable(ds.Tables["EETGW_JobReport_EBoard"])); + } + if ((ds.Tables["EETGW_JobReport_AutoInput"] != null)) { + base.Tables.Add(new EETGW_JobReport_AutoInputDataTable(ds.Tables["EETGW_JobReport_AutoInput"])); + } if ((ds.Tables["SCTable"] != null)) { base.Tables.Add(new SCTableDataTable(ds.Tables["SCTable"])); } @@ -506,6 +542,18 @@ namespace FPJ0000 { this.tableEETGW_ProjectToDo.InitVars(); } } + this.tableEETGW_JobReport_EBoard = ((EETGW_JobReport_EBoardDataTable)(base.Tables["EETGW_JobReport_EBoard"])); + if ((initTable == true)) { + if ((this.tableEETGW_JobReport_EBoard != null)) { + this.tableEETGW_JobReport_EBoard.InitVars(); + } + } + this.tableEETGW_JobReport_AutoInput = ((EETGW_JobReport_AutoInputDataTable)(base.Tables["EETGW_JobReport_AutoInput"])); + if ((initTable == true)) { + if ((this.tableEETGW_JobReport_AutoInput != null)) { + this.tableEETGW_JobReport_AutoInput.InitVars(); + } + } this.tableSCTable = ((SCTableDataTable)(base.Tables["SCTable"])); if ((initTable == true)) { if ((this.tableSCTable != null)) { @@ -548,6 +596,10 @@ namespace FPJ0000 { base.Tables.Add(this.tableEETGW_ProjecthistoryD); this.tableEETGW_ProjectToDo = new EETGW_ProjectToDoDataTable(); base.Tables.Add(this.tableEETGW_ProjectToDo); + this.tableEETGW_JobReport_EBoard = new EETGW_JobReport_EBoardDataTable(); + base.Tables.Add(this.tableEETGW_JobReport_EBoard); + this.tableEETGW_JobReport_AutoInput = new EETGW_JobReport_AutoInputDataTable(); + base.Tables.Add(this.tableEETGW_JobReport_AutoInput); this.tableSCTable = new SCTableDataTable(); base.Tables.Add(this.tableSCTable); } @@ -630,6 +682,18 @@ namespace FPJ0000 { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializeEETGW_JobReport_EBoard() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializeEETGW_JobReport_AutoInput() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private bool ShouldSerializeSCTable() { @@ -737,6 +801,12 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public delegate void EETGW_ProjectToDoRowChangeEventHandler(object sender, EETGW_ProjectToDoRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public delegate void EETGW_JobReport_EBoardRowChangeEventHandler(object sender, EETGW_JobReport_EBoardRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public delegate void EETGW_JobReport_AutoInputRowChangeEventHandler(object sender, EETGW_JobReport_AutoInputRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public delegate void SCTableRowChangeEventHandler(object sender, SCTableRowChangeEvent e); @@ -785,6 +855,8 @@ namespace FPJ0000 { private global::System.Data.DataColumn columnprocess; + private global::System.Data.DataColumn columncostNB; + private global::System.Data.DataColumn columncosto; private global::System.Data.DataColumn columncostn; @@ -1027,6 +1099,14 @@ namespace FPJ0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn costNBColumn { + get { + return this.columncostNB; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public global::System.Data.DataColumn costoColumn { @@ -1275,6 +1355,7 @@ namespace FPJ0000 { int level, string part, string process, + double costNB, double costo, double costn, double coste, @@ -1320,6 +1401,7 @@ namespace FPJ0000 { level, part, process, + costNB, costo, costn, coste, @@ -1370,6 +1452,7 @@ namespace FPJ0000 { int level, string part, string process, + double costNB, double costo, double costn, int cnt, @@ -1414,6 +1497,7 @@ namespace FPJ0000 { level, part, process, + costNB, costo, costn, null, @@ -1486,6 +1570,7 @@ namespace FPJ0000 { this.columnlevel = base.Columns["level"]; this.columnpart = base.Columns["part"]; this.columnprocess = base.Columns["process"]; + this.columncostNB = base.Columns["costNB"]; this.columncosto = base.Columns["costo"]; this.columncostn = base.Columns["costn"]; this.columncoste = base.Columns["coste"]; @@ -1553,6 +1638,8 @@ namespace FPJ0000 { base.Columns.Add(this.columnpart); this.columnprocess = new global::System.Data.DataColumn("process", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnprocess); + this.columncostNB = new global::System.Data.DataColumn("costNB", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncostNB); this.columncosto = new global::System.Data.DataColumn("costo", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columncosto); this.columncostn = new global::System.Data.DataColumn("costn", typeof(double), null, global::System.Data.MappingType.Element); @@ -2589,6 +2676,8 @@ namespace FPJ0000 { private global::System.Data.DataColumn columnbbuy; + private global::System.Data.DataColumn columnbconfirm; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public ProjectsPartDataTable() { @@ -2862,6 +2951,14 @@ namespace FPJ0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn bconfirmColumn { + get { + return this.columnbconfirm; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -2928,7 +3025,8 @@ namespace FPJ0000 { int qtyn, decimal amtn, int qtyin, - bool bbuy) { + bool bbuy, + bool bconfirm) { ProjectsPartRow rowProjectsPartRow = ((ProjectsPartRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -2960,7 +3058,8 @@ namespace FPJ0000 { qtyn, amtn, qtyin, - bbuy}; + bbuy, + bconfirm}; rowProjectsPartRow.ItemArray = columnValuesArray; this.Rows.Add(rowProjectsPartRow); return rowProjectsPartRow; @@ -3020,6 +3119,7 @@ namespace FPJ0000 { this.columnamtn = base.Columns["amtn"]; this.columnqtyin = base.Columns["qtyin"]; this.columnbbuy = base.Columns["bbuy"]; + this.columnbconfirm = base.Columns["bconfirm"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -3089,6 +3189,8 @@ namespace FPJ0000 { base.Columns.Add(this.columnqtyin); this.columnbbuy = new global::System.Data.DataColumn("bbuy", typeof(bool), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnbbuy); + this.columnbconfirm = new global::System.Data.DataColumn("bconfirm", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnbconfirm); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnidx}, true)); this.columnidx.AutoIncrement = true; @@ -7932,6 +8034,1374 @@ namespace FPJ0000 { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class EETGW_JobReport_EBoardDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidx; + + private global::System.Data.DataColumn columngcode; + + private global::System.Data.DataColumn columnpdate; + + private global::System.Data.DataColumn columnuid; + + private global::System.Data.DataColumn column요청자; + + private global::System.Data.DataColumn column수리완료일; + + private global::System.Data.DataColumn column완료월; + + private global::System.Data.DataColumn columnStatus; + + private global::System.Data.DataColumn column분류; + + private global::System.Data.DataColumn columnLine; + + private global::System.Data.DataColumn columnDivision; + + private global::System.Data.DataColumn columnTeam; + + private global::System.Data.DataColumn columnPrcess; + + private global::System.Data.DataColumn columnModel; + + private global::System.Data.DataColumn columnBoardName; + + private global::System.Data.DataColumn column증상조치; + + private global::System.Data.DataColumn columnSN; + + private global::System.Data.DataColumn columnQTY; + + private global::System.Data.DataColumn columnNPrice; + + private global::System.Data.DataColumn columnOPrice; + + private global::System.Data.DataColumn columnRepairCost; + + private global::System.Data.DataColumn columnCostReduction; + + private global::System.Data.DataColumn column자체외주; + + private global::System.Data.DataColumn column외주업체; + + private global::System.Data.DataColumn columnRepairTime; + + private global::System.Data.DataColumn columnimport; + + private global::System.Data.DataColumn columnwuid; + + private global::System.Data.DataColumn columnwdate; + + private global::System.Data.DataColumn columnusername; + + private global::System.Data.DataColumn columnww; + + private global::System.Data.DataColumn column증상조치2; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_JobReport_EBoardDataTable() { + this.TableName = "EETGW_JobReport_EBoard"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal EETGW_JobReport_EBoardDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected EETGW_JobReport_EBoardDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn idxColumn { + get { + return this.columnidx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn gcodeColumn { + get { + return this.columngcode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn pdateColumn { + get { + return this.columnpdate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn uidColumn { + get { + return this.columnuid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn 요청자Column { + get { + return this.column요청자; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn 수리완료일Column { + get { + return this.column수리완료일; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn 완료월Column { + get { + return this.column완료월; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn StatusColumn { + get { + return this.columnStatus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn 분류Column { + get { + return this.column분류; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn LineColumn { + get { + return this.columnLine; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn DivisionColumn { + get { + return this.columnDivision; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn TeamColumn { + get { + return this.columnTeam; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn PrcessColumn { + get { + return this.columnPrcess; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ModelColumn { + get { + return this.columnModel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn BoardNameColumn { + get { + return this.columnBoardName; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn 증상조치Column { + get { + return this.column증상조치; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn SNColumn { + get { + return this.columnSN; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn QTYColumn { + get { + return this.columnQTY; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn NPriceColumn { + get { + return this.columnNPrice; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OPriceColumn { + get { + return this.columnOPrice; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn RepairCostColumn { + get { + return this.columnRepairCost; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CostReductionColumn { + get { + return this.columnCostReduction; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn 자체외주Column { + get { + return this.column자체외주; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn 외주업체Column { + get { + return this.column외주업체; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn RepairTimeColumn { + get { + return this.columnRepairTime; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn importColumn { + get { + return this.columnimport; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn wuidColumn { + get { + return this.columnwuid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn wdateColumn { + get { + return this.columnwdate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn usernameColumn { + get { + return this.columnusername; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn wwColumn { + get { + return this.columnww; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn 증상조치2Column { + get { + return this.column증상조치2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_JobReport_EBoardRow this[int index] { + get { + return ((EETGW_JobReport_EBoardRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_JobReport_EBoardRowChangeEventHandler EETGW_JobReport_EBoardRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_JobReport_EBoardRowChangeEventHandler EETGW_JobReport_EBoardRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_JobReport_EBoardRowChangeEventHandler EETGW_JobReport_EBoardRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_JobReport_EBoardRowChangeEventHandler EETGW_JobReport_EBoardRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void AddEETGW_JobReport_EBoardRow(EETGW_JobReport_EBoardRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_JobReport_EBoardRow AddEETGW_JobReport_EBoardRow( + string gcode, + string pdate, + string uid, + string 요청자, + string 수리완료일, + string 완료월, + string Status, + string 분류, + string Line, + string Division, + string Team, + string Prcess, + string Model, + string BoardName, + string 증상조치, + string SN, + int QTY, + decimal NPrice, + decimal OPrice, + decimal RepairCost, + decimal CostReduction, + string 자체외주, + string 외주업체, + double RepairTime, + bool import, + string wuid, + System.DateTime wdate, + string username, + string ww, + string 증상조치2) { + EETGW_JobReport_EBoardRow rowEETGW_JobReport_EBoardRow = ((EETGW_JobReport_EBoardRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + gcode, + pdate, + uid, + 요청자, + 수리완료일, + 완료월, + Status, + 분류, + Line, + Division, + Team, + Prcess, + Model, + BoardName, + 증상조치, + SN, + QTY, + NPrice, + OPrice, + RepairCost, + CostReduction, + 자체외주, + 외주업체, + RepairTime, + import, + wuid, + wdate, + username, + ww, + 증상조치2}; + rowEETGW_JobReport_EBoardRow.ItemArray = columnValuesArray; + this.Rows.Add(rowEETGW_JobReport_EBoardRow); + return rowEETGW_JobReport_EBoardRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_JobReport_EBoardRow FindByidx(int idx) { + return ((EETGW_JobReport_EBoardRow)(this.Rows.Find(new object[] { + idx}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + EETGW_JobReport_EBoardDataTable cln = ((EETGW_JobReport_EBoardDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new EETGW_JobReport_EBoardDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.columnidx = base.Columns["idx"]; + this.columngcode = base.Columns["gcode"]; + this.columnpdate = base.Columns["pdate"]; + this.columnuid = base.Columns["uid"]; + this.column요청자 = base.Columns["요청자"]; + this.column수리완료일 = base.Columns["수리완료일"]; + this.column완료월 = base.Columns["완료월"]; + this.columnStatus = base.Columns["Status"]; + this.column분류 = base.Columns["분류"]; + this.columnLine = base.Columns["Line"]; + this.columnDivision = base.Columns["Division"]; + this.columnTeam = base.Columns["Team"]; + this.columnPrcess = base.Columns["Prcess"]; + this.columnModel = base.Columns["Model"]; + this.columnBoardName = base.Columns["BoardName"]; + this.column증상조치 = base.Columns["증상조치"]; + this.columnSN = base.Columns["SN"]; + this.columnQTY = base.Columns["QTY"]; + this.columnNPrice = base.Columns["NPrice"]; + this.columnOPrice = base.Columns["OPrice"]; + this.columnRepairCost = base.Columns["RepairCost"]; + this.columnCostReduction = base.Columns["CostReduction"]; + this.column자체외주 = base.Columns["자체외주"]; + this.column외주업체 = base.Columns["외주업체"]; + this.columnRepairTime = base.Columns["RepairTime"]; + this.columnimport = base.Columns["import"]; + this.columnwuid = base.Columns["wuid"]; + this.columnwdate = base.Columns["wdate"]; + this.columnusername = base.Columns["username"]; + this.columnww = base.Columns["ww"]; + this.column증상조치2 = base.Columns["증상조치2"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidx); + this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columngcode); + this.columnpdate = new global::System.Data.DataColumn("pdate", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpdate); + this.columnuid = new global::System.Data.DataColumn("uid", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnuid); + this.column요청자 = new global::System.Data.DataColumn("요청자", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.column요청자); + this.column수리완료일 = new global::System.Data.DataColumn("수리완료일", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.column수리완료일); + this.column완료월 = new global::System.Data.DataColumn("완료월", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.column완료월); + this.columnStatus = new global::System.Data.DataColumn("Status", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnStatus); + this.column분류 = new global::System.Data.DataColumn("분류", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.column분류); + this.columnLine = new global::System.Data.DataColumn("Line", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnLine); + this.columnDivision = new global::System.Data.DataColumn("Division", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDivision); + this.columnTeam = new global::System.Data.DataColumn("Team", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTeam); + this.columnPrcess = new global::System.Data.DataColumn("Prcess", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPrcess); + this.columnModel = new global::System.Data.DataColumn("Model", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnModel); + this.columnBoardName = new global::System.Data.DataColumn("BoardName", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBoardName); + this.column증상조치 = new global::System.Data.DataColumn("증상조치", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.column증상조치); + this.columnSN = new global::System.Data.DataColumn("SN", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnSN); + this.columnQTY = new global::System.Data.DataColumn("QTY", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQTY); + this.columnNPrice = new global::System.Data.DataColumn("NPrice", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNPrice); + this.columnOPrice = new global::System.Data.DataColumn("OPrice", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOPrice); + this.columnRepairCost = new global::System.Data.DataColumn("RepairCost", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRepairCost); + this.columnCostReduction = new global::System.Data.DataColumn("CostReduction", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCostReduction); + this.column자체외주 = new global::System.Data.DataColumn("자체외주", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.column자체외주); + this.column외주업체 = new global::System.Data.DataColumn("외주업체", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.column외주업체); + this.columnRepairTime = new global::System.Data.DataColumn("RepairTime", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRepairTime); + this.columnimport = new global::System.Data.DataColumn("import", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnimport); + this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnwuid); + this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnwdate); + this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnusername); + this.columnww = new global::System.Data.DataColumn("ww", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnww); + this.column증상조치2 = new global::System.Data.DataColumn("증상조치2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.column증상조치2); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidx}, true)); + this.columnidx.AutoIncrement = true; + this.columnidx.AutoIncrementSeed = -1; + this.columnidx.AutoIncrementStep = -1; + this.columnidx.AllowDBNull = false; + this.columnidx.ReadOnly = true; + this.columnidx.Unique = true; + this.columngcode.AllowDBNull = false; + this.columngcode.MaxLength = 10; + this.columnpdate.MaxLength = 10; + this.columnuid.MaxLength = 20; + this.column요청자.MaxLength = 50; + this.column수리완료일.MaxLength = 10; + this.column완료월.MaxLength = 10; + this.columnStatus.MaxLength = 50; + this.column분류.MaxLength = 50; + this.columnLine.MaxLength = 10; + this.columnDivision.MaxLength = 20; + this.columnTeam.MaxLength = 20; + this.columnPrcess.MaxLength = 50; + this.columnModel.MaxLength = 255; + this.columnBoardName.MaxLength = 255; + this.column증상조치.MaxLength = 2147483647; + this.columnSN.MaxLength = 20; + this.column자체외주.MaxLength = 20; + this.column외주업체.MaxLength = 50; + this.columnwuid.AllowDBNull = false; + this.columnwuid.MaxLength = 20; + this.columnwdate.AllowDBNull = false; + this.columnusername.ReadOnly = true; + this.columnusername.MaxLength = 200; + this.columnww.ReadOnly = true; + this.columnww.MaxLength = 6; + this.column증상조치2.MaxLength = 2147483647; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_JobReport_EBoardRow NewEETGW_JobReport_EBoardRow() { + return ((EETGW_JobReport_EBoardRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new EETGW_JobReport_EBoardRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(EETGW_JobReport_EBoardRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.EETGW_JobReport_EBoardRowChanged != null)) { + this.EETGW_JobReport_EBoardRowChanged(this, new EETGW_JobReport_EBoardRowChangeEvent(((EETGW_JobReport_EBoardRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.EETGW_JobReport_EBoardRowChanging != null)) { + this.EETGW_JobReport_EBoardRowChanging(this, new EETGW_JobReport_EBoardRowChangeEvent(((EETGW_JobReport_EBoardRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.EETGW_JobReport_EBoardRowDeleted != null)) { + this.EETGW_JobReport_EBoardRowDeleted(this, new EETGW_JobReport_EBoardRowChangeEvent(((EETGW_JobReport_EBoardRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.EETGW_JobReport_EBoardRowDeleting != null)) { + this.EETGW_JobReport_EBoardRowDeleting(this, new EETGW_JobReport_EBoardRowChangeEvent(((EETGW_JobReport_EBoardRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void RemoveEETGW_JobReport_EBoardRow(EETGW_JobReport_EBoardRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + dsPRJ ds = new dsPRJ(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "EETGW_JobReport_EBoardDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class EETGW_JobReport_AutoInputDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidx; + + private global::System.Data.DataColumn columngcode; + + private global::System.Data.DataColumn columnpdate; + + private global::System.Data.DataColumn columnpidx; + + private global::System.Data.DataColumn columnprojectName; + + private global::System.Data.DataColumn columnuid; + + private global::System.Data.DataColumn columnrequestpart; + + private global::System.Data.DataColumn columnpackage; + + private global::System.Data.DataColumn columnstatus; + + private global::System.Data.DataColumn columntype; + + private global::System.Data.DataColumn columnprocess; + + private global::System.Data.DataColumn columndescription; + + private global::System.Data.DataColumn columnremark; + + private global::System.Data.DataColumn columnhrs; + + private global::System.Data.DataColumn columnot; + + private global::System.Data.DataColumn columnimport; + + private global::System.Data.DataColumn columnwuid; + + private global::System.Data.DataColumn columnwdate; + + private global::System.Data.DataColumn columndescription2; + + private global::System.Data.DataColumn columntag; + + private global::System.Data.DataColumn columnautoinput; + + private global::System.Data.DataColumn columnenable; + + private global::System.Data.DataColumn columnusername; + + private global::System.Data.DataColumn columnww; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_JobReport_AutoInputDataTable() { + this.TableName = "EETGW_JobReport_AutoInput"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal EETGW_JobReport_AutoInputDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected EETGW_JobReport_AutoInputDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn idxColumn { + get { + return this.columnidx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn gcodeColumn { + get { + return this.columngcode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn pdateColumn { + get { + return this.columnpdate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn pidxColumn { + get { + return this.columnpidx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn projectNameColumn { + get { + return this.columnprojectName; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn uidColumn { + get { + return this.columnuid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn requestpartColumn { + get { + return this.columnrequestpart; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn packageColumn { + get { + return this.columnpackage; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn statusColumn { + get { + return this.columnstatus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn typeColumn { + get { + return this.columntype; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn processColumn { + get { + return this.columnprocess; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn descriptionColumn { + get { + return this.columndescription; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn remarkColumn { + get { + return this.columnremark; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn hrsColumn { + get { + return this.columnhrs; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn otColumn { + get { + return this.columnot; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn importColumn { + get { + return this.columnimport; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn wuidColumn { + get { + return this.columnwuid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn wdateColumn { + get { + return this.columnwdate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn description2Column { + get { + return this.columndescription2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn tagColumn { + get { + return this.columntag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn autoinputColumn { + get { + return this.columnautoinput; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn enableColumn { + get { + return this.columnenable; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn usernameColumn { + get { + return this.columnusername; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn wwColumn { + get { + return this.columnww; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_JobReport_AutoInputRow this[int index] { + get { + return ((EETGW_JobReport_AutoInputRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_JobReport_AutoInputRowChangeEventHandler EETGW_JobReport_AutoInputRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_JobReport_AutoInputRowChangeEventHandler EETGW_JobReport_AutoInputRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_JobReport_AutoInputRowChangeEventHandler EETGW_JobReport_AutoInputRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event EETGW_JobReport_AutoInputRowChangeEventHandler EETGW_JobReport_AutoInputRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void AddEETGW_JobReport_AutoInputRow(EETGW_JobReport_AutoInputRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_JobReport_AutoInputRow AddEETGW_JobReport_AutoInputRow( + string gcode, + string pdate, + int pidx, + string projectName, + string uid, + string requestpart, + string package, + string status, + string type, + string process, + string description, + string remark, + double hrs, + double ot, + bool import, + string wuid, + System.DateTime wdate, + string description2, + string tag, + string autoinput, + bool enable, + string username, + string ww) { + EETGW_JobReport_AutoInputRow rowEETGW_JobReport_AutoInputRow = ((EETGW_JobReport_AutoInputRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + gcode, + pdate, + pidx, + projectName, + uid, + requestpart, + package, + status, + type, + process, + description, + remark, + hrs, + ot, + import, + wuid, + wdate, + description2, + tag, + autoinput, + enable, + username, + ww}; + rowEETGW_JobReport_AutoInputRow.ItemArray = columnValuesArray; + this.Rows.Add(rowEETGW_JobReport_AutoInputRow); + return rowEETGW_JobReport_AutoInputRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_JobReport_AutoInputRow FindByidx(int idx) { + return ((EETGW_JobReport_AutoInputRow)(this.Rows.Find(new object[] { + idx}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + EETGW_JobReport_AutoInputDataTable cln = ((EETGW_JobReport_AutoInputDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new EETGW_JobReport_AutoInputDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.columnidx = base.Columns["idx"]; + this.columngcode = base.Columns["gcode"]; + this.columnpdate = base.Columns["pdate"]; + this.columnpidx = base.Columns["pidx"]; + this.columnprojectName = base.Columns["projectName"]; + this.columnuid = base.Columns["uid"]; + this.columnrequestpart = base.Columns["requestpart"]; + this.columnpackage = base.Columns["package"]; + this.columnstatus = base.Columns["status"]; + this.columntype = base.Columns["type"]; + this.columnprocess = base.Columns["process"]; + this.columndescription = base.Columns["description"]; + this.columnremark = base.Columns["remark"]; + this.columnhrs = base.Columns["hrs"]; + this.columnot = base.Columns["ot"]; + this.columnimport = base.Columns["import"]; + this.columnwuid = base.Columns["wuid"]; + this.columnwdate = base.Columns["wdate"]; + this.columndescription2 = base.Columns["description2"]; + this.columntag = base.Columns["tag"]; + this.columnautoinput = base.Columns["autoinput"]; + this.columnenable = base.Columns["enable"]; + this.columnusername = base.Columns["username"]; + this.columnww = base.Columns["ww"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidx); + this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columngcode); + this.columnpdate = new global::System.Data.DataColumn("pdate", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpdate); + this.columnpidx = new global::System.Data.DataColumn("pidx", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpidx); + this.columnprojectName = new global::System.Data.DataColumn("projectName", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnprojectName); + this.columnuid = new global::System.Data.DataColumn("uid", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnuid); + this.columnrequestpart = new global::System.Data.DataColumn("requestpart", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnrequestpart); + this.columnpackage = new global::System.Data.DataColumn("package", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpackage); + this.columnstatus = new global::System.Data.DataColumn("status", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnstatus); + this.columntype = new global::System.Data.DataColumn("type", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columntype); + this.columnprocess = new global::System.Data.DataColumn("process", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnprocess); + this.columndescription = new global::System.Data.DataColumn("description", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescription); + this.columnremark = new global::System.Data.DataColumn("remark", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnremark); + this.columnhrs = new global::System.Data.DataColumn("hrs", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnhrs); + this.columnot = new global::System.Data.DataColumn("ot", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnot); + this.columnimport = new global::System.Data.DataColumn("import", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnimport); + this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnwuid); + this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnwdate); + this.columndescription2 = new global::System.Data.DataColumn("description2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescription2); + this.columntag = new global::System.Data.DataColumn("tag", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columntag); + this.columnautoinput = new global::System.Data.DataColumn("autoinput", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnautoinput); + this.columnenable = new global::System.Data.DataColumn("enable", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnenable); + this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnusername); + this.columnww = new global::System.Data.DataColumn("ww", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnww); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidx}, true)); + this.columnidx.AutoIncrement = true; + this.columnidx.AutoIncrementSeed = -1; + this.columnidx.AutoIncrementStep = -1; + this.columnidx.AllowDBNull = false; + this.columnidx.ReadOnly = true; + this.columnidx.Unique = true; + this.columngcode.AllowDBNull = false; + this.columngcode.MaxLength = 10; + this.columnpdate.MaxLength = 10; + this.columnprojectName.MaxLength = 255; + this.columnuid.MaxLength = 20; + this.columnrequestpart.MaxLength = 50; + this.columnpackage.MaxLength = 50; + this.columnstatus.MaxLength = 20; + this.columntype.MaxLength = 50; + this.columnprocess.MaxLength = 50; + this.columndescription.MaxLength = 2147483647; + this.columnremark.MaxLength = 255; + this.columnwuid.AllowDBNull = false; + this.columnwuid.MaxLength = 20; + this.columnwdate.AllowDBNull = false; + this.columndescription2.MaxLength = 2147483647; + this.columntag.MaxLength = 255; + this.columnautoinput.MaxLength = 1; + this.columnusername.ReadOnly = true; + this.columnusername.MaxLength = 200; + this.columnww.ReadOnly = true; + this.columnww.MaxLength = 6; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_JobReport_AutoInputRow NewEETGW_JobReport_AutoInputRow() { + return ((EETGW_JobReport_AutoInputRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new EETGW_JobReport_AutoInputRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(EETGW_JobReport_AutoInputRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.EETGW_JobReport_AutoInputRowChanged != null)) { + this.EETGW_JobReport_AutoInputRowChanged(this, new EETGW_JobReport_AutoInputRowChangeEvent(((EETGW_JobReport_AutoInputRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.EETGW_JobReport_AutoInputRowChanging != null)) { + this.EETGW_JobReport_AutoInputRowChanging(this, new EETGW_JobReport_AutoInputRowChangeEvent(((EETGW_JobReport_AutoInputRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.EETGW_JobReport_AutoInputRowDeleted != null)) { + this.EETGW_JobReport_AutoInputRowDeleted(this, new EETGW_JobReport_AutoInputRowChangeEvent(((EETGW_JobReport_AutoInputRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.EETGW_JobReport_AutoInputRowDeleting != null)) { + this.EETGW_JobReport_AutoInputRowDeleting(this, new EETGW_JobReport_AutoInputRowChangeEvent(((EETGW_JobReport_AutoInputRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void RemoveEETGW_JobReport_AutoInputRow(EETGW_JobReport_AutoInputRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + dsPRJ ds = new dsPRJ(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "EETGW_JobReport_AutoInputDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + /// ///Represents the strongly named DataTable class. /// @@ -8578,6 +10048,22 @@ namespace FPJ0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public double costNB { + get { + if (this.IscostNBNull()) { + return 0D; + } + else { + return ((double)(this[this.tableProjects.costNBColumn])); + } + } + set { + this[this.tableProjects.costNBColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public double costo { @@ -9149,6 +10635,18 @@ namespace FPJ0000 { this[this.tableProjects.processColumn] = global::System.Convert.DBNull; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IscostNBNull() { + return this.IsNull(this.tableProjects.costNBColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetcostNBNull() { + this[this.tableProjects.costNBColumn] = global::System.Convert.DBNull; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool IscostoNull() { @@ -10309,6 +11807,22 @@ namespace FPJ0000 { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool bconfirm { + get { + if (this.IsbconfirmNull()) { + return false; + } + else { + return ((bool)(this[this.tableProjectsPart.bconfirmColumn])); + } + } + set { + this[this.tableProjectsPart.bconfirmColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool IsProjectNull() { @@ -10632,6 +12146,18 @@ namespace FPJ0000 { public void SetbbuyNull() { this[this.tableProjectsPart.bbuyColumn] = global::System.Convert.DBNull; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsbconfirmNull() { + return this.IsNull(this.tableProjectsPart.bconfirmColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetbconfirmNull() { + this[this.tableProjectsPart.bconfirmColumn] = global::System.Convert.DBNull; + } } /// @@ -13045,11 +14571,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string pdate { get { - try { - return ((string)(this[this.tableProjectPartStatus.pdateColumn])); + if (this.IspdateNull()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'pdate\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.pdateColumn])); } } set { @@ -13061,11 +14587,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string status { get { - try { - return ((string)(this[this.tableProjectPartStatus.statusColumn])); + if (this.IsstatusNull()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'status\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.statusColumn])); } } set { @@ -13077,11 +14603,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string name { get { - try { - return ((string)(this[this.tableProjectPartStatus.nameColumn])); + if (this.IsnameNull()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'name\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.nameColumn])); } } set { @@ -13093,11 +14619,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string userManager { get { - try { - return ((string)(this[this.tableProjectPartStatus.userManagerColumn])); + if (this.IsuserManagerNull()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'userManager\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.userManagerColumn])); } } set { @@ -13109,11 +14635,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string orderno { get { - try { - return ((string)(this[this.tableProjectPartStatus.ordernoColumn])); + if (this.IsordernoNull()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'orderno\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.ordernoColumn])); } } set { @@ -13125,11 +14651,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string path { get { - try { - return ((string)(this[this.tableProjectPartStatus.pathColumn])); + if (this.IspathNull()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'path\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.pathColumn])); } } set { @@ -13168,11 +14694,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public int Project { get { - try { - return ((int)(this[this.tableProjectPartStatus.ProjectColumn])); + if (this.IsProjectNull()) { + return -1; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'Project\' 열의 값이 DBNull입니다.", e); + else { + return ((int)(this[this.tableProjectPartStatus.ProjectColumn])); } } set { @@ -13184,11 +14710,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string ItemGroup { get { - try { - return ((string)(this[this.tableProjectPartStatus.ItemGroupColumn])); + if (this.IsItemGroupNull()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'ItemGroup\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.ItemGroupColumn])); } } set { @@ -13200,11 +14726,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string ItemModel { get { - try { - return ((string)(this[this.tableProjectPartStatus.ItemModelColumn])); + if (this.IsItemModelNull()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'ItemModel\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.ItemModelColumn])); } } set { @@ -13216,11 +14742,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string ItemUnit { get { - try { - return ((string)(this[this.tableProjectPartStatus.ItemUnitColumn])); + if (this.IsItemUnitNull()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'ItemUnit\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.ItemUnitColumn])); } } set { @@ -13232,11 +14758,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string ItemName { get { - try { - return ((string)(this[this.tableProjectPartStatus.ItemNameColumn])); + if (this.IsItemNameNull()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'ItemName\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.ItemNameColumn])); } } set { @@ -13248,11 +14774,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string ItemSid { get { - try { - return ((string)(this[this.tableProjectPartStatus.ItemSidColumn])); + if (this.IsItemSidNull()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'ItemSid\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.ItemSidColumn])); } } set { @@ -13264,11 +14790,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string ItemSupply { get { - try { - return ((string)(this[this.tableProjectPartStatus.ItemSupplyColumn])); + if (this.IsItemSupplyNull()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'ItemSupply\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.ItemSupplyColumn])); } } set { @@ -13280,11 +14806,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public int ItemSupplyidx { get { - try { - return ((int)(this[this.tableProjectPartStatus.ItemSupplyidxColumn])); + if (this.IsItemSupplyidxNull()) { + return -1; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'ItemSupplyidx\' 열의 값이 DBNull입니다.", e); + else { + return ((int)(this[this.tableProjectPartStatus.ItemSupplyidxColumn])); } } set { @@ -13296,11 +14822,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string ItemManu { get { - try { - return ((string)(this[this.tableProjectPartStatus.ItemManuColumn])); + if (this.IsItemManuNull()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'ItemManu\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.ItemManuColumn])); } } set { @@ -13312,11 +14838,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public int Item { get { - try { - return ((int)(this[this.tableProjectPartStatus.ItemColumn])); + if (this.IsItemNull()) { + return -1; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'Item\' 열의 값이 DBNull입니다.", e); + else { + return ((int)(this[this.tableProjectPartStatus.ItemColumn])); } } set { @@ -13328,11 +14854,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string option1 { get { - try { - return ((string)(this[this.tableProjectPartStatus.option1Column])); + if (this.Isoption1Null()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'option1\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.option1Column])); } } set { @@ -13344,11 +14870,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string option2 { get { - try { - return ((string)(this[this.tableProjectPartStatus.option2Column])); + if (this.Isoption2Null()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'option2\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.option2Column])); } } set { @@ -13360,11 +14886,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string option3 { get { - try { - return ((string)(this[this.tableProjectPartStatus.option3Column])); + if (this.Isoption3Null()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'option3\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.option3Column])); } } set { @@ -13376,11 +14902,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public int qty { get { - try { - return ((int)(this[this.tableProjectPartStatus.qtyColumn])); + if (this.IsqtyNull()) { + return 0; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'qty\' 열의 값이 DBNull입니다.", e); + else { + return ((int)(this[this.tableProjectPartStatus.qtyColumn])); } } set { @@ -13392,11 +14918,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public int qtyn { get { - try { - return ((int)(this[this.tableProjectPartStatus.qtynColumn])); + if (this.IsqtynNull()) { + return 0; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'qtyn\' 열의 값이 DBNull입니다.", e); + else { + return ((int)(this[this.tableProjectPartStatus.qtynColumn])); } } set { @@ -13408,11 +14934,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public decimal price { get { - try { - return ((decimal)(this[this.tableProjectPartStatus.priceColumn])); + if (this.IspriceNull()) { + return 0m; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'price\' 열의 값이 DBNull입니다.", e); + else { + return ((decimal)(this[this.tableProjectPartStatus.priceColumn])); } } set { @@ -13424,11 +14950,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public decimal amt { get { - try { - return ((decimal)(this[this.tableProjectPartStatus.amtColumn])); + if (this.IsamtNull()) { + return 0m; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'amt\' 열의 값이 DBNull입니다.", e); + else { + return ((decimal)(this[this.tableProjectPartStatus.amtColumn])); } } set { @@ -13440,11 +14966,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public decimal amtn { get { - try { - return ((decimal)(this[this.tableProjectPartStatus.amtnColumn])); + if (this.IsamtnNull()) { + return 0m; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'amtn\' 열의 값이 DBNull입니다.", e); + else { + return ((decimal)(this[this.tableProjectPartStatus.amtnColumn])); } } set { @@ -13456,11 +14982,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public int jago { get { - try { - return ((int)(this[this.tableProjectPartStatus.jagoColumn])); + if (this.IsjagoNull()) { + return 0; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'jago\' 열의 값이 DBNull입니다.", e); + else { + return ((int)(this[this.tableProjectPartStatus.jagoColumn])); } } set { @@ -13472,11 +14998,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string remark { get { - try { - return ((string)(this[this.tableProjectPartStatus.remarkColumn])); + if (this.IsremarkNull()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'remark\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.remarkColumn])); } } set { @@ -13488,11 +15014,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string memo { get { - try { - return ((string)(this[this.tableProjectPartStatus.memoColumn])); + if (this.IsmemoNull()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'memo\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.memoColumn])); } } set { @@ -13526,11 +15052,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool import { get { - try { - return ((bool)(this[this.tableProjectPartStatus.importColumn])); + if (this.IsimportNull()) { + return false; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'import\' 열의 값이 DBNull입니다.", e); + else { + return ((bool)(this[this.tableProjectPartStatus.importColumn])); } } set { @@ -13542,11 +15068,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string qtyjago { get { - try { - return ((string)(this[this.tableProjectPartStatus.qtyjagoColumn])); + if (this.IsqtyjagoNull()) { + return string.Empty; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'qtyjago\' 열의 값이 DBNull입니다.", e); + else { + return ((string)(this[this.tableProjectPartStatus.qtyjagoColumn])); } } set { @@ -13558,11 +15084,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public int qtybuy { get { - try { - return ((int)(this[this.tableProjectPartStatus.qtybuyColumn])); + if (this.IsqtybuyNull()) { + return 0; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'qtybuy\' 열의 값이 DBNull입니다.", e); + else { + return ((int)(this[this.tableProjectPartStatus.qtybuyColumn])); } } set { @@ -13574,11 +15100,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public int qtyin { get { - try { - return ((int)(this[this.tableProjectPartStatus.qtyinColumn])); + if (this.IsqtyinNull()) { + return 0; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'qtyin\' 열의 값이 DBNull입니다.", e); + else { + return ((int)(this[this.tableProjectPartStatus.qtyinColumn])); } } set { @@ -13590,11 +15116,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool bbuy { get { - try { - return ((bool)(this[this.tableProjectPartStatus.bbuyColumn])); + if (this.IsbbuyNull()) { + return false; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'bbuy\' 열의 값이 DBNull입니다.", e); + else { + return ((bool)(this[this.tableProjectPartStatus.bbuyColumn])); } } set { @@ -13606,11 +15132,11 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool bconfirm { get { - try { - return ((bool)(this[this.tableProjectPartStatus.bconfirmColumn])); + if (this.IsbconfirmNull()) { + return false; } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("\'ProjectPartStatus\' 테이블의 \'bconfirm\' 열의 값이 DBNull입니다.", e); + else { + return ((bool)(this[this.tableProjectPartStatus.bconfirmColumn])); } } set { @@ -14565,6 +16091,1440 @@ namespace FPJ0000 { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class EETGW_JobReport_EBoardRow : global::System.Data.DataRow { + + private EETGW_JobReport_EBoardDataTable tableEETGW_JobReport_EBoard; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal EETGW_JobReport_EBoardRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableEETGW_JobReport_EBoard = ((EETGW_JobReport_EBoardDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int idx { + get { + return ((int)(this[this.tableEETGW_JobReport_EBoard.idxColumn])); + } + set { + this[this.tableEETGW_JobReport_EBoard.idxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string gcode { + get { + return ((string)(this[this.tableEETGW_JobReport_EBoard.gcodeColumn])); + } + set { + this[this.tableEETGW_JobReport_EBoard.gcodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string pdate { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.pdateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'pdate\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.pdateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string uid { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.uidColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'uid\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.uidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string 요청자 { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.요청자Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'요청자\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.요청자Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string 수리완료일 { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.수리완료일Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'수리완료일\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.수리완료일Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string 완료월 { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.완료월Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'완료월\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.완료월Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string Status { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.StatusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'Status\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.StatusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string 분류 { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.분류Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'분류\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.분류Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string Line { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.LineColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'Line\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.LineColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string Division { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.DivisionColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'Division\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.DivisionColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string Team { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.TeamColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'Team\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.TeamColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string Prcess { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.PrcessColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'Prcess\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.PrcessColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string Model { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.ModelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'Model\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.ModelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string BoardName { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.BoardNameColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'BoardName\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.BoardNameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string 증상조치 { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.증상조치Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'증상조치\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.증상조치Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string SN { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.SNColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'SN\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.SNColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int QTY { + get { + try { + return ((int)(this[this.tableEETGW_JobReport_EBoard.QTYColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'QTY\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.QTYColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public decimal NPrice { + get { + try { + return ((decimal)(this[this.tableEETGW_JobReport_EBoard.NPriceColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'NPrice\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.NPriceColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public decimal OPrice { + get { + try { + return ((decimal)(this[this.tableEETGW_JobReport_EBoard.OPriceColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'OPrice\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.OPriceColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public decimal RepairCost { + get { + try { + return ((decimal)(this[this.tableEETGW_JobReport_EBoard.RepairCostColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'RepairCost\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.RepairCostColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public decimal CostReduction { + get { + try { + return ((decimal)(this[this.tableEETGW_JobReport_EBoard.CostReductionColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'CostReduction\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.CostReductionColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string 자체외주 { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.자체외주Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'자체외주\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.자체외주Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string 외주업체 { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.외주업체Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'외주업체\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.외주업체Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public double RepairTime { + get { + try { + return ((double)(this[this.tableEETGW_JobReport_EBoard.RepairTimeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'RepairTime\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.RepairTimeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool import { + get { + try { + return ((bool)(this[this.tableEETGW_JobReport_EBoard.importColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'import\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.importColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string wuid { + get { + return ((string)(this[this.tableEETGW_JobReport_EBoard.wuidColumn])); + } + set { + this[this.tableEETGW_JobReport_EBoard.wuidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime wdate { + get { + return ((global::System.DateTime)(this[this.tableEETGW_JobReport_EBoard.wdateColumn])); + } + set { + this[this.tableEETGW_JobReport_EBoard.wdateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string username { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.usernameColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'username\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.usernameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ww { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.wwColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'ww\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.wwColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string 증상조치2 { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_EBoard.증상조치2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_EBoard\' 테이블의 \'증상조치2\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_EBoard.증상조치2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspdateNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.pdateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpdateNull() { + this[this.tableEETGW_JobReport_EBoard.pdateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsuidNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.uidColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetuidNull() { + this[this.tableEETGW_JobReport_EBoard.uidColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Is요청자Null() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.요청자Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Set요청자Null() { + this[this.tableEETGW_JobReport_EBoard.요청자Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Is수리완료일Null() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.수리완료일Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Set수리완료일Null() { + this[this.tableEETGW_JobReport_EBoard.수리완료일Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Is완료월Null() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.완료월Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Set완료월Null() { + this[this.tableEETGW_JobReport_EBoard.완료월Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsStatusNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.StatusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetStatusNull() { + this[this.tableEETGW_JobReport_EBoard.StatusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Is분류Null() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.분류Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Set분류Null() { + this[this.tableEETGW_JobReport_EBoard.분류Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsLineNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.LineColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetLineNull() { + this[this.tableEETGW_JobReport_EBoard.LineColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsDivisionNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.DivisionColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetDivisionNull() { + this[this.tableEETGW_JobReport_EBoard.DivisionColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsTeamNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.TeamColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetTeamNull() { + this[this.tableEETGW_JobReport_EBoard.TeamColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsPrcessNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.PrcessColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetPrcessNull() { + this[this.tableEETGW_JobReport_EBoard.PrcessColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsModelNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.ModelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetModelNull() { + this[this.tableEETGW_JobReport_EBoard.ModelColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsBoardNameNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.BoardNameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetBoardNameNull() { + this[this.tableEETGW_JobReport_EBoard.BoardNameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Is증상조치Null() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.증상조치Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Set증상조치Null() { + this[this.tableEETGW_JobReport_EBoard.증상조치Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsSNNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.SNColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetSNNull() { + this[this.tableEETGW_JobReport_EBoard.SNColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsQTYNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.QTYColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetQTYNull() { + this[this.tableEETGW_JobReport_EBoard.QTYColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsNPriceNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.NPriceColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetNPriceNull() { + this[this.tableEETGW_JobReport_EBoard.NPriceColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOPriceNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.OPriceColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOPriceNull() { + this[this.tableEETGW_JobReport_EBoard.OPriceColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsRepairCostNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.RepairCostColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetRepairCostNull() { + this[this.tableEETGW_JobReport_EBoard.RepairCostColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsCostReductionNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.CostReductionColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetCostReductionNull() { + this[this.tableEETGW_JobReport_EBoard.CostReductionColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Is자체외주Null() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.자체외주Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Set자체외주Null() { + this[this.tableEETGW_JobReport_EBoard.자체외주Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Is외주업체Null() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.외주업체Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Set외주업체Null() { + this[this.tableEETGW_JobReport_EBoard.외주업체Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsRepairTimeNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.RepairTimeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetRepairTimeNull() { + this[this.tableEETGW_JobReport_EBoard.RepairTimeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsimportNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.importColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetimportNull() { + this[this.tableEETGW_JobReport_EBoard.importColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsusernameNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.usernameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetusernameNull() { + this[this.tableEETGW_JobReport_EBoard.usernameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IswwNull() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.wwColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetwwNull() { + this[this.tableEETGW_JobReport_EBoard.wwColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Is증상조치2Null() { + return this.IsNull(this.tableEETGW_JobReport_EBoard.증상조치2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Set증상조치2Null() { + this[this.tableEETGW_JobReport_EBoard.증상조치2Column] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class EETGW_JobReport_AutoInputRow : global::System.Data.DataRow { + + private EETGW_JobReport_AutoInputDataTable tableEETGW_JobReport_AutoInput; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal EETGW_JobReport_AutoInputRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableEETGW_JobReport_AutoInput = ((EETGW_JobReport_AutoInputDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int idx { + get { + return ((int)(this[this.tableEETGW_JobReport_AutoInput.idxColumn])); + } + set { + this[this.tableEETGW_JobReport_AutoInput.idxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string gcode { + get { + return ((string)(this[this.tableEETGW_JobReport_AutoInput.gcodeColumn])); + } + set { + this[this.tableEETGW_JobReport_AutoInput.gcodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string pdate { + get { + if (this.IspdateNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_JobReport_AutoInput.pdateColumn])); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.pdateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int pidx { + get { + try { + return ((int)(this[this.tableEETGW_JobReport_AutoInput.pidxColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_AutoInput\' 테이블의 \'pidx\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.pidxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string projectName { + get { + if (this.IsprojectNameNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_JobReport_AutoInput.projectNameColumn])); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.projectNameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string uid { + get { + if (this.IsuidNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_JobReport_AutoInput.uidColumn])); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.uidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string requestpart { + get { + if (this.IsrequestpartNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_JobReport_AutoInput.requestpartColumn])); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.requestpartColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string package { + get { + if (this.IspackageNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_JobReport_AutoInput.packageColumn])); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.packageColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string status { + get { + if (this.IsstatusNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_JobReport_AutoInput.statusColumn])); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.statusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string type { + get { + if (this.IstypeNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_JobReport_AutoInput.typeColumn])); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.typeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string process { + get { + if (this.IsprocessNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_JobReport_AutoInput.processColumn])); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.processColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string description { + get { + if (this.IsdescriptionNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_JobReport_AutoInput.descriptionColumn])); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.descriptionColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string remark { + get { + if (this.IsremarkNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_JobReport_AutoInput.remarkColumn])); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.remarkColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public double hrs { + get { + if (this.IshrsNull()) { + return 0D; + } + else { + return ((double)(this[this.tableEETGW_JobReport_AutoInput.hrsColumn])); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.hrsColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public double ot { + get { + if (this.IsotNull()) { + return 0D; + } + else { + return ((double)(this[this.tableEETGW_JobReport_AutoInput.otColumn])); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.otColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool import { + get { + try { + return ((bool)(this[this.tableEETGW_JobReport_AutoInput.importColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_AutoInput\' 테이블의 \'import\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.importColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string wuid { + get { + return ((string)(this[this.tableEETGW_JobReport_AutoInput.wuidColumn])); + } + set { + this[this.tableEETGW_JobReport_AutoInput.wuidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime wdate { + get { + return ((global::System.DateTime)(this[this.tableEETGW_JobReport_AutoInput.wdateColumn])); + } + set { + this[this.tableEETGW_JobReport_AutoInput.wdateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string description2 { + get { + if (this.Isdescription2Null()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_JobReport_AutoInput.description2Column])); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.description2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string tag { + get { + if (this.IstagNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableEETGW_JobReport_AutoInput.tagColumn])); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.tagColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string autoinput { + get { + if (this.IsautoinputNull()) { + return "L"; + } + else { + return ((string)(this[this.tableEETGW_JobReport_AutoInput.autoinputColumn])); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.autoinputColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool enable { + get { + if (this.IsenableNull()) { + return false; + } + else { + return ((bool)(this[this.tableEETGW_JobReport_AutoInput.enableColumn])); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.enableColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string username { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_AutoInput.usernameColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_AutoInput\' 테이블의 \'username\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.usernameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ww { + get { + try { + return ((string)(this[this.tableEETGW_JobReport_AutoInput.wwColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'EETGW_JobReport_AutoInput\' 테이블의 \'ww\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableEETGW_JobReport_AutoInput.wwColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspdateNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.pdateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpdateNull() { + this[this.tableEETGW_JobReport_AutoInput.pdateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspidxNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.pidxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpidxNull() { + this[this.tableEETGW_JobReport_AutoInput.pidxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsprojectNameNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.projectNameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetprojectNameNull() { + this[this.tableEETGW_JobReport_AutoInput.projectNameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsuidNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.uidColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetuidNull() { + this[this.tableEETGW_JobReport_AutoInput.uidColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsrequestpartNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.requestpartColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetrequestpartNull() { + this[this.tableEETGW_JobReport_AutoInput.requestpartColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspackageNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.packageColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpackageNull() { + this[this.tableEETGW_JobReport_AutoInput.packageColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsstatusNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.statusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetstatusNull() { + this[this.tableEETGW_JobReport_AutoInput.statusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IstypeNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.typeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SettypeNull() { + this[this.tableEETGW_JobReport_AutoInput.typeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsprocessNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.processColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetprocessNull() { + this[this.tableEETGW_JobReport_AutoInput.processColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsdescriptionNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.descriptionColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetdescriptionNull() { + this[this.tableEETGW_JobReport_AutoInput.descriptionColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsremarkNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.remarkColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetremarkNull() { + this[this.tableEETGW_JobReport_AutoInput.remarkColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IshrsNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.hrsColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SethrsNull() { + this[this.tableEETGW_JobReport_AutoInput.hrsColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsotNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.otColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetotNull() { + this[this.tableEETGW_JobReport_AutoInput.otColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsimportNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.importColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetimportNull() { + this[this.tableEETGW_JobReport_AutoInput.importColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Isdescription2Null() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.description2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Setdescription2Null() { + this[this.tableEETGW_JobReport_AutoInput.description2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IstagNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.tagColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SettagNull() { + this[this.tableEETGW_JobReport_AutoInput.tagColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsautoinputNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.autoinputColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetautoinputNull() { + this[this.tableEETGW_JobReport_AutoInput.autoinputColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsenableNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.enableColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetenableNull() { + this[this.tableEETGW_JobReport_AutoInput.enableColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsusernameNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.usernameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetusernameNull() { + this[this.tableEETGW_JobReport_AutoInput.usernameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IswwNull() { + return this.IsNull(this.tableEETGW_JobReport_AutoInput.wwColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetwwNull() { + this[this.tableEETGW_JobReport_AutoInput.wwColumn] = global::System.Convert.DBNull; + } + } + /// ///Represents strongly named DataRow class. /// @@ -15201,6 +18161,74 @@ namespace FPJ0000 { } } + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class EETGW_JobReport_EBoardRowChangeEvent : global::System.EventArgs { + + private EETGW_JobReport_EBoardRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_JobReport_EBoardRowChangeEvent(EETGW_JobReport_EBoardRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_JobReport_EBoardRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class EETGW_JobReport_AutoInputRowChangeEvent : global::System.EventArgs { + + private EETGW_JobReport_AutoInputRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_JobReport_AutoInputRowChangeEvent(EETGW_JobReport_AutoInputRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_JobReport_AutoInputRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + /// ///Row event argument class /// @@ -17632,6 +20660,7 @@ SELECT idx, Project, enable, name, address, memo, wuid, wdate, div FROM Projects tableMapping.ColumnMappings.Add("amtn", "amtn"); tableMapping.ColumnMappings.Add("qtyin", "qtyin"); tableMapping.ColumnMappings.Add("bbuy", "bbuy"); + tableMapping.ColumnMappings.Add("bconfirm", "bconfirm"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand.Connection = this.Connection; @@ -17664,7 +20693,8 @@ SELECT idx, Project, enable, name, address, memo, wuid, wdate, div FROM Projects "yn] = @Original_qtyn)) AND ((@IsNull_amtn = 1 AND [amtn] IS NULL) OR ([amtn] = @" + "Original_amtn)) AND ((@IsNull_qtyin = 1 AND [qtyin] IS NULL) OR ([qtyin] = @Orig" + "inal_qtyin)) AND ((@IsNull_bbuy = 1 AND [bbuy] IS NULL) OR ([bbuy] = @Original_b" + - "buy)))"; + "buy)) AND ((@IsNull_bconfirm = 1 AND [bconfirm] IS NULL) OR ([bconfirm] = @Origi" + + "nal_bconfirm)))"; 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, 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_Project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Project", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); @@ -17692,9 +20722,9 @@ SELECT idx, Project, enable, name, address, memo, wuid, wdate, div FROM Projects this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemSid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemSid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemSupply", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupply", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemSupply", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupply", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemSupply", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupply", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemManu", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemManu", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemManu", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemManu", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemManu", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemManu", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_option1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option1", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_option1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_option2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option2", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); @@ -17723,84 +20753,179 @@ SELECT idx, Project, enable, name, address, memo, wuid, wdate, div FROM Projects this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_qtyin", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyin", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bbuy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bbuy", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bbuy", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bbuy", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bconfirm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bconfirm", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bconfirm", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bconfirm", 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 ProjectsPart - (Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, - import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy) -VALUES (@Project,@Item,@qty,@price,@amt,@jago,@memo,@wuid,@wdate,@ItemName,@ItemModel,@ItemGroup,@ItemSid,@ItemSupply,@ItemManu,@option1,@option2,@option3,@remark,@ItemSupplyidx,@no,@ItemUnit,@import,@qtyjago,@qtybuy,@qtyn,@amtn,@qtyin,@bbuy); -SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn FROM ProjectsPart WHERE (idx = SCOPE_IDENTITY()) ORDER BY Project, no, ItemGroup, option1, ItemName"; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [ProjectsPart] ([Project], [Item], [qty], [price], [amt], [jago], [memo], [wuid], [wdate], [ItemName], [ItemModel], [ItemGroup], [ItemSid], [ItemSupply], [ItemManu], [option1], [option2], [option3], [remark], [ItemSupplyidx], [no], [ItemUnit], [import], [qtyjago], [qtybuy], [qtyn], [amtn], [qtyin], [bbuy], [bconfirm]) VALUES (@Project, @Item, @qty, @price, @amt, @jago, @memo, @wuid, @wdate, @ItemName, @ItemModel, @ItemGroup, @ItemSid, @ItemSupply, @ItemManu, @option1, @option2, @option3, @remark, @ItemSupplyidx, @no, @ItemUnit, @import, @qtyjago, @qtybuy, @qtyn, @amtn, @qtyin, @bbuy, @bconfirm); +SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm FROM ProjectsPart WHERE (idx = SCOPE_IDENTITY()) ORDER BY Project, no, ItemGroup, option1, ItemName"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Project", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Item", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Item", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qty", 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("@amt", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "amt", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@jago", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "jago", 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("@ItemName", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemName", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemModel", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemModel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemGroup", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemGroup", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSupply", global::System.Data.SqlDbType.NChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupply", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemManu", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemManu", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option1", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option2", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option3", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSupplyidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@no", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemUnit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ItemUnit", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 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("@qtyjago", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "qtyjago", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtybuy", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qtybuy", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtyn", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qtyn", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@amtn", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "amtn", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtyin", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qtyin", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bbuy", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bbuy", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Item", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qty", 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("@amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "amt", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@jago", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "jago", 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("@ItemName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemName", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemModel", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemModel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemGroup", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemGroup", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSupply", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupply", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemManu", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemManu", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSupplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemUnit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemUnit", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 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("@qtyjago", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyjago", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtybuy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtybuy", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtyn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyn", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@amtn", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "amtn", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtyin", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyin", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bbuy", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bbuy", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bconfirm", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bconfirm", 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 ProjectsPart -SET Project = @Project, Item = @Item, qty = @qty, price = @price, amt = @amt, jago = @jago, memo = @memo, wuid = @wuid, wdate = @wdate, ItemName = @ItemName, - ItemModel = @ItemModel, ItemGroup = @ItemGroup, ItemSid = @ItemSid, ItemSupply = @ItemSupply, ItemManu = @ItemManu, option1 = @option1, option2 = @option2, option3 = @option3, - remark = @remark, ItemSupplyidx = @ItemSupplyidx, no = @no, ItemUnit = @ItemUnit, import = @import, qtyjago = @qtyjago, qtybuy = @qtybuy, qtyn = @qtyn, amtn = @amtn, - qtyin = @qtyin, bbuy = @bbuy -WHERE (idx = @Original_idx); -SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn FROM ProjectsPart WHERE (idx = @idx) ORDER BY Project, no, ItemGroup, option1, ItemName"; + this._adapter.UpdateCommand.CommandText = "UPDATE [ProjectsPart] SET [Project] = @Project, [Item] = @Item, [qty] = @qty, [pr" + + "ice] = @price, [amt] = @amt, [jago] = @jago, [memo] = @memo, [wuid] = @wuid, [wd" + + "ate] = @wdate, [ItemName] = @ItemName, [ItemModel] = @ItemModel, [ItemGroup] = @" + + "ItemGroup, [ItemSid] = @ItemSid, [ItemSupply] = @ItemSupply, [ItemManu] = @ItemM" + + "anu, [option1] = @option1, [option2] = @option2, [option3] = @option3, [remark] " + + "= @remark, [ItemSupplyidx] = @ItemSupplyidx, [no] = @no, [ItemUnit] = @ItemUnit," + + " [import] = @import, [qtyjago] = @qtyjago, [qtybuy] = @qtybuy, [qtyn] = @qtyn, [" + + "amtn] = @amtn, [qtyin] = @qtyin, [bbuy] = @bbuy, [bconfirm] = @bconfirm WHERE ((" + + "[idx] = @Original_idx) AND ((@IsNull_Project = 1 AND [Project] IS NULL) OR ([Pro" + + "ject] = @Original_Project)) AND ((@IsNull_Item = 1 AND [Item] IS NULL) OR ([Item" + + "] = @Original_Item)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Origi" + + "nal_qty)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_p" + + "rice)) AND ((@IsNull_amt = 1 AND [amt] IS NULL) OR ([amt] = @Original_amt)) AND " + + "((@IsNull_jago = 1 AND [jago] IS NULL) OR ([jago] = @Original_jago)) AND ((@IsNu" + + "ll_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Ori" + + "ginal_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_ItemName = 1 AND [Item" + + "Name] IS NULL) OR ([ItemName] = @Original_ItemName)) AND ((@IsNull_ItemModel = 1" + + " AND [ItemModel] IS NULL) OR ([ItemModel] = @Original_ItemModel)) AND ((@IsNull_" + + "ItemGroup = 1 AND [ItemGroup] IS NULL) OR ([ItemGroup] = @Original_ItemGroup)) A" + + "ND ((@IsNull_ItemSid = 1 AND [ItemSid] IS NULL) OR ([ItemSid] = @Original_ItemSi" + + "d)) AND ((@IsNull_ItemSupply = 1 AND [ItemSupply] IS NULL) OR ([ItemSupply] = @O" + + "riginal_ItemSupply)) AND ((@IsNull_ItemManu = 1 AND [ItemManu] IS NULL) OR ([Ite" + + "mManu] = @Original_ItemManu)) AND ((@IsNull_option1 = 1 AND [option1] IS NULL) O" + + "R ([option1] = @Original_option1)) AND ((@IsNull_option2 = 1 AND [option2] IS NU" + + "LL) OR ([option2] = @Original_option2)) AND ((@IsNull_option3 = 1 AND [option3] " + + "IS NULL) OR ([option3] = @Original_option3)) AND ((@IsNull_remark = 1 AND [remar" + + "k] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_ItemSupplyidx = 1 AN" + + "D [ItemSupplyidx] IS NULL) OR ([ItemSupplyidx] = @Original_ItemSupplyidx)) AND (" + + "(@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no)) AND ((@IsNull_ItemUn" + + "it = 1 AND [ItemUnit] IS NULL) OR ([ItemUnit] = @Original_ItemUnit)) AND ((@IsNu" + + "ll_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsN" + + "ull_qtyjago = 1 AND [qtyjago] IS NULL) OR ([qtyjago] = @Original_qtyjago)) AND (" + + "(@IsNull_qtybuy = 1 AND [qtybuy] IS NULL) OR ([qtybuy] = @Original_qtybuy)) AND " + + "((@IsNull_qtyn = 1 AND [qtyn] IS NULL) OR ([qtyn] = @Original_qtyn)) AND ((@IsNu" + + "ll_amtn = 1 AND [amtn] IS NULL) OR ([amtn] = @Original_amtn)) AND ((@IsNull_qtyi" + + "n = 1 AND [qtyin] IS NULL) OR ([qtyin] = @Original_qtyin)) AND ((@IsNull_bbuy = " + + "1 AND [bbuy] IS NULL) OR ([bbuy] = @Original_bbuy)) AND ((@IsNull_bconfirm = 1 A" + + "ND [bconfirm] IS NULL) OR ([bconfirm] = @Original_bconfirm)));\r\nSELECT idx, Proj" + + "ect, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGr" + + "oup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSuppl" + + "yidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm F" + + "ROM ProjectsPart WHERE (idx = @idx) ORDER BY Project, no, ItemGroup, option1, It" + + "emName"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Project", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Item", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Item", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qty", 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("@amt", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "amt", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@jago", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "jago", 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("@ItemName", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemName", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemModel", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemModel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemGroup", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemGroup", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSupply", global::System.Data.SqlDbType.NChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupply", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemManu", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemManu", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option1", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option2", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option3", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSupplyidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@no", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemUnit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ItemUnit", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 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("@qtyjago", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "qtyjago", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtybuy", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qtybuy", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtyn", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qtyn", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@amtn", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "amtn", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtyin", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qtyin", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bbuy", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bbuy", 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("@Project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Item", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qty", 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("@amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "amt", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@jago", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "jago", 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("@ItemName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemName", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemModel", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemModel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemGroup", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemGroup", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSupply", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupply", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemManu", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemManu", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSupplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemUnit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemUnit", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 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("@qtyjago", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyjago", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtybuy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtybuy", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtyn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyn", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@amtn", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "amtn", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtyin", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyin", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bbuy", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bbuy", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bconfirm", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bconfirm", 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_Project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Project", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Project", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Item", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Item", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qty", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qty", 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_amt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "amt", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "amt", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_jago", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "jago", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_jago", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "jago", 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_ItemName", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemName", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemName", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemModel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemModel", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemModel", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemModel", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemGroup", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemGroup", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemGroup", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemGroup", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemSid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemSid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemSupply", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupply", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemSupply", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupply", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemManu", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemManu", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemManu", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemManu", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_option1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option1", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_option1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_option2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option2", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_option2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_option3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option3", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_option3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "option3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_remark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemSupplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupplyidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemSupplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupplyidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemUnit", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemUnit", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemUnit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemUnit", 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.Bit, 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_qtyjago", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyjago", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_qtyjago", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyjago", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_qtybuy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtybuy", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_qtybuy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtybuy", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_qtyn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyn", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_qtyn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyn", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_amtn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "amtn", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_amtn", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "amtn", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_qtyin", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyin", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_qtyin", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qtyin", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bbuy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bbuy", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bbuy", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bbuy", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bconfirm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bconfirm", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bconfirm", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bconfirm", 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()] @@ -17816,7 +20941,11 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = @"SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy FROM ProjectsPart WHERE (Project = @prj) ORDER BY Project, no, ItemGroup, option1, ItemName"; + this._commandCollection[0].CommandText = @"SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, + import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm +FROM ProjectsPart +WHERE (Project = @prj) +ORDER BY Project, no, ItemGroup, option1, ItemName"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@prj", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); @@ -17930,7 +21059,8 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I global::System.Nullable Original_qtyn, global::System.Nullable Original_amtn, global::System.Nullable Original_qtyin, - global::System.Nullable Original_bbuy) { + global::System.Nullable Original_bbuy, + global::System.Nullable Original_bconfirm) { this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); if ((Original_Project.HasValue == true)) { this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); @@ -18155,6 +21285,14 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I this.Adapter.DeleteCommand.Parameters[55].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[56].Value = global::System.DBNull.Value; } + if ((Original_bconfirm.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[57].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[58].Value = ((bool)(Original_bconfirm.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[57].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[58].Value = global::System.DBNull.Value; + } 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)) { @@ -18204,7 +21342,8 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I global::System.Nullable qtyn, global::System.Nullable amtn, global::System.Nullable qtyin, - global::System.Nullable bbuy) { + global::System.Nullable bbuy, + global::System.Nullable bconfirm) { if ((Project.HasValue == true)) { this.Adapter.InsertCommand.Parameters[0].Value = ((int)(Project.Value)); } @@ -18374,6 +21513,12 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I else { this.Adapter.InsertCommand.Parameters[28].Value = global::System.DBNull.Value; } + if ((bconfirm.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[29].Value = ((bool)(bconfirm.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[29].Value = global::System.DBNull.Value; + } 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)) { @@ -18424,7 +21569,38 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I global::System.Nullable amtn, global::System.Nullable qtyin, global::System.Nullable bbuy, + global::System.Nullable bconfirm, int Original_idx, + global::System.Nullable Original_Project, + global::System.Nullable Original_Item, + global::System.Nullable Original_qty, + global::System.Nullable Original_price, + global::System.Nullable Original_amt, + global::System.Nullable Original_jago, + string Original_memo, + string Original_wuid, + System.DateTime Original_wdate, + string Original_ItemName, + string Original_ItemModel, + string Original_ItemGroup, + string Original_ItemSid, + string Original_ItemSupply, + string Original_ItemManu, + string Original_option1, + string Original_option2, + string Original_option3, + string Original_remark, + global::System.Nullable Original_ItemSupplyidx, + global::System.Nullable Original_no, + string Original_ItemUnit, + global::System.Nullable Original_import, + string Original_qtyjago, + global::System.Nullable Original_qtybuy, + global::System.Nullable Original_qtyn, + global::System.Nullable Original_amtn, + global::System.Nullable Original_qtyin, + global::System.Nullable Original_bbuy, + global::System.Nullable Original_bconfirm, int idx) { if ((Project.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(Project.Value)); @@ -18595,8 +21771,245 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I else { this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value; } - this.Adapter.UpdateCommand.Parameters[29].Value = ((int)(Original_idx)); - this.Adapter.UpdateCommand.Parameters[30].Value = ((int)(idx)); + if ((bconfirm.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[29].Value = ((bool)(bconfirm.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[30].Value = ((int)(Original_idx)); + if ((Original_Project.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[32].Value = ((int)(Original_Project.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; + } + if ((Original_Item.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[34].Value = ((int)(Original_Item.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value; + } + if ((Original_qty.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[36].Value = ((int)(Original_qty.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value; + } + if ((Original_price.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[38].Value = ((decimal)(Original_price.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value; + } + if ((Original_amt.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[40].Value = ((decimal)(Original_amt.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value; + } + if ((Original_jago.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[42].Value = ((int)(Original_jago.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value; + } + if ((Original_memo == 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_memo)); + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_wuid)); + } + this.Adapter.UpdateCommand.Parameters[46].Value = ((System.DateTime)(Original_wdate)); + if ((Original_ItemName == null)) { + this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_ItemName)); + } + if ((Original_ItemModel == null)) { + this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_ItemModel)); + } + if ((Original_ItemGroup == 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_ItemGroup)); + } + if ((Original_ItemSid == 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_ItemSid)); + } + if ((Original_ItemSupply == null)) { + this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_ItemSupply)); + } + if ((Original_ItemManu == 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_ItemManu)); + } + if ((Original_option1 == null)) { + this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[60].Value = ((string)(Original_option1)); + } + if ((Original_option2 == null)) { + this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[62].Value = ((string)(Original_option2)); + } + if ((Original_option3 == null)) { + this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[64].Value = ((string)(Original_option3)); + } + if ((Original_remark == null)) { + this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[66].Value = ((string)(Original_remark)); + } + if ((Original_ItemSupplyidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[68].Value = ((int)(Original_ItemSupplyidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value; + } + if ((Original_no.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[70].Value = ((int)(Original_no.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value; + } + if ((Original_ItemUnit == null)) { + this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[72].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[72].Value = ((string)(Original_ItemUnit)); + } + if ((Original_import.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[74].Value = ((bool)(Original_import.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[74].Value = global::System.DBNull.Value; + } + if ((Original_qtyjago == null)) { + this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[76].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[76].Value = ((string)(Original_qtyjago)); + } + if ((Original_qtybuy.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[78].Value = ((int)(Original_qtybuy.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[78].Value = global::System.DBNull.Value; + } + if ((Original_qtyn.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[80].Value = ((int)(Original_qtyn.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[80].Value = global::System.DBNull.Value; + } + if ((Original_amtn.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[81].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[82].Value = ((decimal)(Original_amtn.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[81].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[82].Value = global::System.DBNull.Value; + } + if ((Original_qtyin.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[83].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[84].Value = ((int)(Original_qtyin.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[83].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[84].Value = global::System.DBNull.Value; + } + if ((Original_bbuy.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[85].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[86].Value = ((bool)(Original_bbuy.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[85].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[86].Value = global::System.DBNull.Value; + } + if ((Original_bconfirm.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[87].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[88].Value = ((bool)(Original_bconfirm.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[87].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[88].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[89].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)) { @@ -18613,6 +22026,75 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I } } + [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( + global::System.Nullable Project, + global::System.Nullable Item, + global::System.Nullable qty, + global::System.Nullable price, + global::System.Nullable amt, + global::System.Nullable jago, + string memo, + string wuid, + System.DateTime wdate, + string ItemName, + string ItemModel, + string ItemGroup, + string ItemSid, + string ItemSupply, + string ItemManu, + string option1, + string option2, + string option3, + string remark, + global::System.Nullable ItemSupplyidx, + global::System.Nullable no, + string ItemUnit, + global::System.Nullable import, + string qtyjago, + global::System.Nullable qtybuy, + global::System.Nullable qtyn, + global::System.Nullable amtn, + global::System.Nullable qtyin, + global::System.Nullable bbuy, + global::System.Nullable bconfirm, + int Original_idx, + global::System.Nullable Original_Project, + global::System.Nullable Original_Item, + global::System.Nullable Original_qty, + global::System.Nullable Original_price, + global::System.Nullable Original_amt, + global::System.Nullable Original_jago, + string Original_memo, + string Original_wuid, + System.DateTime Original_wdate, + string Original_ItemName, + string Original_ItemModel, + string Original_ItemGroup, + string Original_ItemSid, + string Original_ItemSupply, + string Original_ItemManu, + string Original_option1, + string Original_option2, + string Original_option3, + string Original_remark, + global::System.Nullable Original_ItemSupplyidx, + global::System.Nullable Original_no, + string Original_ItemUnit, + global::System.Nullable Original_import, + string Original_qtyjago, + global::System.Nullable Original_qtybuy, + global::System.Nullable Original_qtyn, + global::System.Nullable Original_amtn, + global::System.Nullable Original_qtyin, + global::System.Nullable Original_bbuy, + global::System.Nullable Original_bconfirm) { + return this.Update(Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm, Original_idx, Original_Project, Original_Item, Original_qty, Original_price, Original_amt, Original_jago, Original_memo, Original_wuid, Original_wdate, Original_ItemName, Original_ItemModel, Original_ItemGroup, Original_ItemSid, Original_ItemSupply, Original_ItemManu, Original_option1, Original_option2, Original_option3, Original_remark, Original_ItemSupplyidx, Original_no, Original_ItemUnit, Original_import, Original_qtyjago, Original_qtybuy, Original_qtyn, Original_amtn, Original_qtyin, Original_bbuy, Original_bconfirm, 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")] @@ -23900,14 +27382,29 @@ SELECT idx, gcode, isdel, asset, process, part, pdate, name, userManager, userma this._adapter.DeleteCommand.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 = new global::System.Data.SqlClient.SqlCommand(); this._adapter.UpdateCommand.Connection = this.Connection; - this._adapter.UpdateCommand.CommandText = "UPDATE ProjectsPart\r\nSET qtybuy = @qtybuy, qtyin = @qtyin, bbuy = @bbuy, b" + - "confirm = @bconfirm, memo = @memo\r\nWHERE (idx = @idx)"; + this._adapter.UpdateCommand.CommandText = @"UPDATE ProjectsPart +SET qtybuy = @qtybuy, qtyin = @qtyin, bbuy = @bbuy, bconfirm = @bconfirm, memo = @memo, ItemSupply = @ItemSupply, option1 = @option1, option2 = @option2, option3 = @option3, + qty = @qty, price = @price, amt = @amt, ItemManu = @ItemManu, ItemSid = @ItemSid, ItemUnit = @ItemUnit, ItemModel = @ItemModel, ItemName = @ItemName, remark = @remark +WHERE (idx = @idx)"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtybuy", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qtybuy", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtyin", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qtyin", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bbuy", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bbuy", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bconfirm", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bconfirm", 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("@ItemSupply", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSupply", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option1", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option2", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@option3", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "option3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "qty", 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("@amt", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "amt", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemManu", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemManu", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemSid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ItemSid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemUnit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ItemUnit", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemModel", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemModel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemName", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ItemName", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, 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, "", "", "")); } @@ -23930,7 +27427,7 @@ SELECT idx, gcode, isdel, asset, process, part, pdate, name, userManager, userma FROM Projects AS a INNER JOIN ProjectsPart AS b ON a.idx = b.Project WHERE (a.gcode = @gcode) AND (ISNULL(b.qtybuy, 0) > 0) AND (ISNULL(b.qtybuy, 0) > ISNULL(b.qtyin, 0)) AND (a.status IN ('진행', '완료', '완료(보고)')) -ORDER BY a.status DESC, a.idx, a.pdate"; +ORDER BY ISNULL(b.bbuy, 0), ISNULL(b.bconfirm, 0), ISNULL(a.userManager, ''), ISNULL(b.Project, 0)"; 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(); @@ -25240,6 +28737,2588 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so } } + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class EETGW_JobReport_EBoardTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_JobReport_EBoardTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "EETGW_JobReport_EBoard"; + tableMapping.ColumnMappings.Add("idx", "idx"); + tableMapping.ColumnMappings.Add("gcode", "gcode"); + tableMapping.ColumnMappings.Add("pdate", "pdate"); + tableMapping.ColumnMappings.Add("uid", "uid"); + tableMapping.ColumnMappings.Add("요청자", "요청자"); + tableMapping.ColumnMappings.Add("수리완료일", "수리완료일"); + tableMapping.ColumnMappings.Add("완료월", "완료월"); + tableMapping.ColumnMappings.Add("Status", "Status"); + tableMapping.ColumnMappings.Add("분류", "분류"); + tableMapping.ColumnMappings.Add("Line", "Line"); + tableMapping.ColumnMappings.Add("Division", "Division"); + tableMapping.ColumnMappings.Add("Team", "Team"); + tableMapping.ColumnMappings.Add("Prcess", "Prcess"); + tableMapping.ColumnMappings.Add("Model", "Model"); + tableMapping.ColumnMappings.Add("BoardName", "BoardName"); + tableMapping.ColumnMappings.Add("증상조치", "증상조치"); + tableMapping.ColumnMappings.Add("SN", "SN"); + tableMapping.ColumnMappings.Add("QTY", "QTY"); + tableMapping.ColumnMappings.Add("NPrice", "NPrice"); + tableMapping.ColumnMappings.Add("OPrice", "OPrice"); + tableMapping.ColumnMappings.Add("RepairCost", "RepairCost"); + tableMapping.ColumnMappings.Add("CostReduction", "CostReduction"); + tableMapping.ColumnMappings.Add("자체외주", "자체외주"); + tableMapping.ColumnMappings.Add("외주업체", "외주업체"); + tableMapping.ColumnMappings.Add("RepairTime", "RepairTime"); + tableMapping.ColumnMappings.Add("import", "import"); + tableMapping.ColumnMappings.Add("wuid", "wuid"); + tableMapping.ColumnMappings.Add("wdate", "wdate"); + tableMapping.ColumnMappings.Add("username", "username"); + tableMapping.ColumnMappings.Add("ww", "ww"); + tableMapping.ColumnMappings.Add("증상조치2", "증상조치2"); + 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 [EETGW_JobReport_EBoard] WHERE (([idx] = @Original_idx) AND ([gcode] " + + "= @Original_gcode) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @O" + + "riginal_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_u" + + "id)) AND ((@IsNull_요청자 = 1 AND [요청자] IS NULL) OR ([요청자] = @Original_요청자)) AND ((" + + "@IsNull_수리완료일 = 1 AND [수리완료일] IS NULL) OR ([수리완료일] = @Original_수리완료일)) AND ((@Is" + + "Null_완료월 = 1 AND [완료월] IS NULL) OR ([완료월] = @Original_완료월)) AND ((@IsNull_Status" + + " = 1 AND [Status] IS NULL) OR ([Status] = @Original_Status)) AND ((@IsNull_분류 = " + + "1 AND [분류] IS NULL) OR ([분류] = @Original_분류)) AND ((@IsNull_Line = 1 AND [Line] " + + "IS NULL) OR ([Line] = @Original_Line)) AND ((@IsNull_Division = 1 AND [Division]" + + " IS NULL) OR ([Division] = @Original_Division)) AND ((@IsNull_Team = 1 AND [Team" + + "] IS NULL) OR ([Team] = @Original_Team)) AND ((@IsNull_Prcess = 1 AND [Prcess] I" + + "S NULL) OR ([Prcess] = @Original_Prcess)) AND ((@IsNull_Model = 1 AND [Model] IS" + + " NULL) OR ([Model] = @Original_Model)) AND ((@IsNull_BoardName = 1 AND [BoardNam" + + "e] IS NULL) OR ([BoardName] = @Original_BoardName)) AND ((@IsNull_SN = 1 AND [SN" + + "] IS NULL) OR ([SN] = @Original_SN)) AND ((@IsNull_QTY = 1 AND [QTY] IS NULL) OR" + + " ([QTY] = @Original_QTY)) AND ((@IsNull_NPrice = 1 AND [NPrice] IS NULL) OR ([NP" + + "rice] = @Original_NPrice)) AND ((@IsNull_OPrice = 1 AND [OPrice] IS NULL) OR ([O" + + "Price] = @Original_OPrice)) AND ((@IsNull_RepairCost = 1 AND [RepairCost] IS NUL" + + "L) OR ([RepairCost] = @Original_RepairCost)) AND ((@IsNull_CostReduction = 1 AND" + + " [CostReduction] IS NULL) OR ([CostReduction] = @Original_CostReduction)) AND ((" + + "@IsNull_자체외주 = 1 AND [자체외주] IS NULL) OR ([자체외주] = @Original_자체외주)) AND ((@IsNull" + + "_외주업체 = 1 AND [외주업체] IS NULL) OR ([외주업체] = @Original_외주업체)) AND ((@IsNull_Repair" + + "Time = 1 AND [RepairTime] IS NULL) OR ([RepairTime] = @Original_RepairTime)) AND" + + " ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AN" + + "D ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))"; + 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, 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("@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_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_요청자", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "요청자", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_요청자", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "요청자", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_수리완료일", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "수리완료일", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_수리완료일", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "수리완료일", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_완료월", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "완료월", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_완료월", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "완료월", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Status", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Status", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_분류", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "분류", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_분류", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "분류", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Line", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Line", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Line", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Line", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Division", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Division", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Division", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Division", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Team", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Team", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Team", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Team", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Prcess", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prcess", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Prcess", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prcess", 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.VarChar, 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_BoardName", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BoardName", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BoardName", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BoardName", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SN", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SN", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SN", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SN", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_QTY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QTY", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QTY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QTY", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NPrice", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NPrice", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "NPrice", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_OPrice", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OPrice", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "OPrice", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RepairCost", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RepairCost", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RepairCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "RepairCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CostReduction", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CostReduction", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CostReduction", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "CostReduction", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_자체외주", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "자체외주", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_자체외주", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "자체외주", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_외주업체", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "외주업체", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_외주업체", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "외주업체", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RepairTime", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RepairTime", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RepairTime", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RepairTime", 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.Bit, 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("@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.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_JobReport_EBoard] ([gcode], [pdate], [uid], [요청자], [수리완료일], [완료월], [Status], [분류], [Line], [Division], [Team], [Prcess], [Model], [BoardName], [증상조치], [SN], [QTY], [NPrice], [OPrice], [RepairCost], [CostReduction], [자체외주], [외주업체], [RepairTime], [import], [wuid], [wdate], [증상조치2]) VALUES (@gcode, @pdate, @uid, @요청자, @수리완료일, @완료월, @Status, @분류, @Line, @Division, @Team, @Prcess, @Model, @BoardName, @증상조치, @SN, @QTY, @NPrice, @OPrice, @RepairCost, @CostReduction, @자체외주, @외주업체, @RepairTime, @import, @wuid, @wdate, @증상조치2); +SELECT idx, gcode, pdate, uid, 요청자, 수리완료일, 완료월, Status, 분류, Line, Division, Team, Prcess, Model, BoardName, 증상조치, SN, QTY, NPrice, OPrice, RepairCost, CostReduction, 자체외주, 외주업체, RepairTime, import, wuid, wdate, dbo.getUserName(uid) AS username, dbo.getWorkWeek(pdate) AS ww, 증상조치2 FROM EETGW_JobReport_EBoard WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + 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("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@요청자", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "요청자", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@수리완료일", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "수리완료일", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@완료월", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "완료월", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Status", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@분류", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "분류", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Line", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Line", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Division", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Division", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Team", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Team", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prcess", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prcess", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Model", global::System.Data.SqlDbType.VarChar, 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("@BoardName", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BoardName", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@증상조치", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "증상조치", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SN", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SN", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QTY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QTY", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "NPrice", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "OPrice", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RepairCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "RepairCost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CostReduction", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "CostReduction", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@자체외주", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "자체외주", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@외주업체", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "외주업체", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RepairTime", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RepairTime", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 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("@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("@증상조치2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "증상조치2", 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 [EETGW_JobReport_EBoard] SET [gcode] = @gcode, [pdate] = @pdate, [uid] = @" + + "uid, [요청자] = @요청자, [수리완료일] = @수리완료일, [완료월] = @완료월, [Status] = @Status, [분류] = @분" + + "류, [Line] = @Line, [Division] = @Division, [Team] = @Team, [Prcess] = @Prcess, [" + + "Model] = @Model, [BoardName] = @BoardName, [증상조치] = @증상조치, [SN] = @SN, [QTY] = @" + + "QTY, [NPrice] = @NPrice, [OPrice] = @OPrice, [RepairCost] = @RepairCost, [CostRe" + + "duction] = @CostReduction, [자체외주] = @자체외주, [외주업체] = @외주업체, [RepairTime] = @Repai" + + "rTime, [import] = @import, [wuid] = @wuid, [wdate] = @wdate, [증상조치2] = @증상조치2 WH" + + "ERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_pdate" + + " = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 " + + "AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_요청자 = 1 AND [요청자] I" + + "S NULL) OR ([요청자] = @Original_요청자)) AND ((@IsNull_수리완료일 = 1 AND [수리완료일] IS NULL)" + + " OR ([수리완료일] = @Original_수리완료일)) AND ((@IsNull_완료월 = 1 AND [완료월] IS NULL) OR ([완" + + "료월] = @Original_완료월)) AND ((@IsNull_Status = 1 AND [Status] IS NULL) OR ([Status" + + "] = @Original_Status)) AND ((@IsNull_분류 = 1 AND [분류] IS NULL) OR ([분류] = @Origin" + + "al_분류)) AND ((@IsNull_Line = 1 AND [Line] IS NULL) OR ([Line] = @Original_Line))" + + " AND ((@IsNull_Division = 1 AND [Division] IS NULL) OR ([Division] = @Original_D" + + "ivision)) AND ((@IsNull_Team = 1 AND [Team] IS NULL) OR ([Team] = @Original_Team" + + ")) AND ((@IsNull_Prcess = 1 AND [Prcess] IS NULL) OR ([Prcess] = @Original_Prces" + + "s)) AND ((@IsNull_Model = 1 AND [Model] IS NULL) OR ([Model] = @Original_Model))" + + " AND ((@IsNull_BoardName = 1 AND [BoardName] IS NULL) OR ([BoardName] = @Origina" + + "l_BoardName)) AND ((@IsNull_SN = 1 AND [SN] IS NULL) OR ([SN] = @Original_SN)) A" + + "ND ((@IsNull_QTY = 1 AND [QTY] IS NULL) OR ([QTY] = @Original_QTY)) AND ((@IsNul" + + "l_NPrice = 1 AND [NPrice] IS NULL) OR ([NPrice] = @Original_NPrice)) AND ((@IsNu" + + "ll_OPrice = 1 AND [OPrice] IS NULL) OR ([OPrice] = @Original_OPrice)) AND ((@IsN" + + "ull_RepairCost = 1 AND [RepairCost] IS NULL) OR ([RepairCost] = @Original_Repair" + + "Cost)) AND ((@IsNull_CostReduction = 1 AND [CostReduction] IS NULL) OR ([CostRed" + + "uction] = @Original_CostReduction)) AND ((@IsNull_자체외주 = 1 AND [자체외주] IS NULL) O" + + "R ([자체외주] = @Original_자체외주)) AND ((@IsNull_외주업체 = 1 AND [외주업체] IS NULL) OR ([외주업" + + "체] = @Original_외주업체)) AND ((@IsNull_RepairTime = 1 AND [RepairTime] IS NULL) OR " + + "([RepairTime] = @Original_RepairTime)) AND ((@IsNull_import = 1 AND [import] IS " + + "NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdat" + + "e] = @Original_wdate));\r\nSELECT idx, gcode, pdate, uid, 요청자, 수리완료일, 완료월, Status," + + " 분류, Line, Division, Team, Prcess, Model, BoardName, 증상조치, SN, QTY, NPrice, OPri" + + "ce, RepairCost, CostReduction, 자체외주, 외주업체, RepairTime, import, wuid, wdate, dbo." + + "getUserName(uid) AS username, dbo.getWorkWeek(pdate) AS ww, 증상조치2 FROM EETGW_Job" + + "Report_EBoard WHERE (idx = @idx) ORDER BY pdate DESC"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + 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("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@요청자", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "요청자", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@수리완료일", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "수리완료일", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@완료월", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "완료월", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Status", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@분류", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "분류", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Line", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Line", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Division", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Division", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Team", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Team", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prcess", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prcess", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Model", global::System.Data.SqlDbType.VarChar, 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("@BoardName", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BoardName", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@증상조치", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "증상조치", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SN", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SN", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QTY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QTY", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "NPrice", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "OPrice", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RepairCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "RepairCost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CostReduction", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "CostReduction", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@자체외주", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "자체외주", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@외주업체", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "외주업체", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RepairTime", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RepairTime", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 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("@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("@증상조치2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "증상조치2", 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("@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_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_요청자", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "요청자", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_요청자", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "요청자", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_수리완료일", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "수리완료일", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_수리완료일", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "수리완료일", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_완료월", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "완료월", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_완료월", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "완료월", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Status", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Status", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_분류", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "분류", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_분류", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "분류", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Line", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Line", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Line", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Line", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Division", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Division", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Division", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Division", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Team", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Team", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Team", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Team", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Prcess", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prcess", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Prcess", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prcess", 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.VarChar, 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_BoardName", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BoardName", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BoardName", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BoardName", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SN", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SN", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SN", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SN", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_QTY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QTY", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QTY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QTY", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NPrice", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NPrice", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "NPrice", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_OPrice", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OPrice", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "OPrice", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RepairCost", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RepairCost", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RepairCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "RepairCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CostReduction", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CostReduction", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CostReduction", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "CostReduction", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_자체외주", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "자체외주", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_자체외주", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "자체외주", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_외주업체", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "외주업체", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_외주업체", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "외주업체", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RepairTime", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RepairTime", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RepairTime", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RepairTime", 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.Bit, 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("@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("@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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::FPJ0000.Properties.Settings.Default.gwcs; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = @"SELECT idx, gcode, pdate, uid, 요청자, 수리완료일, 완료월, Status, 분류, Line, Division, Team, Prcess, Model, BoardName, 증상조치, SN, QTY, NPrice, OPrice, RepairCost, CostReduction, + 자체외주, 외주업체, RepairTime, import, wuid, wdate, dbo.getUserName(uid) AS username, dbo.getWorkWeek(pdate) AS ww, 증상조치2 +FROM EETGW_JobReport_EBoard +WHERE (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (uid LIKE @uid) +ORDER BY pdate DESC"; + 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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [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.Fill, true)] + public virtual int Fill(dsPRJ.EETGW_JobReport_EBoardDataTable dataTable, string gcode, string sd, string ed, string uid) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((sd == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sd)); + } + if ((ed == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed)); + } + if ((uid == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(uid)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [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.Select, true)] + public virtual dsPRJ.EETGW_JobReport_EBoardDataTable GetData(string gcode, string sd, string ed, string uid) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((sd == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sd)); + } + if ((ed == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed)); + } + if ((uid == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(uid)); + } + dsPRJ.EETGW_JobReport_EBoardDataTable dataTable = new dsPRJ.EETGW_JobReport_EBoardDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [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")] + public virtual int Update(dsPRJ.EETGW_JobReport_EBoardDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [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")] + public virtual int Update(dsPRJ dataSet) { + return this.Adapter.Update(dataSet, "EETGW_JobReport_EBoard"); + } + + [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")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [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")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [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.Delete, true)] + public virtual int Delete( + int Original_idx, + string Original_gcode, + string Original_pdate, + string Original_uid, + string Original_요청자, + string Original_수리완료일, + string Original_완료월, + string Original_Status, + string Original_분류, + string Original_Line, + string Original_Division, + string Original_Team, + string Original_Prcess, + string Original_Model, + string Original_BoardName, + string Original_SN, + global::System.Nullable Original_QTY, + global::System.Nullable Original_NPrice, + global::System.Nullable Original_OPrice, + global::System.Nullable Original_RepairCost, + global::System.Nullable Original_CostReduction, + string Original_자체외주, + string Original_외주업체, + global::System.Nullable Original_RepairTime, + global::System.Nullable Original_import, + string Original_wuid, + System.DateTime Original_wdate) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); + if ((Original_gcode == null)) { + throw new global::System.ArgumentNullException("Original_gcode"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_gcode)); + } + if ((Original_pdate == null)) { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_pdate)); + } + if ((Original_uid == null)) { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_uid)); + } + if ((Original_요청자 == null)) { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_요청자)); + } + if ((Original_수리완료일 == null)) { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_수리완료일)); + } + if ((Original_완료월 == null)) { + this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_완료월)); + } + if ((Original_Status == null)) { + this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_Status)); + } + if ((Original_분류 == null)) { + this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[15].Value = ((string)(Original_분류)); + } + if ((Original_Line == null)) { + this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[17].Value = ((string)(Original_Line)); + } + if ((Original_Division == null)) { + this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[19].Value = ((string)(Original_Division)); + } + if ((Original_Team == null)) { + this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[21].Value = ((string)(Original_Team)); + } + if ((Original_Prcess == null)) { + this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[23].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[23].Value = ((string)(Original_Prcess)); + } + if ((Original_Model == null)) { + this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[25].Value = ((string)(Original_Model)); + } + if ((Original_BoardName == null)) { + this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[27].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[27].Value = ((string)(Original_BoardName)); + } + if ((Original_SN == null)) { + this.Adapter.DeleteCommand.Parameters[28].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[29].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[28].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[29].Value = ((string)(Original_SN)); + } + if ((Original_QTY.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[30].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[31].Value = ((int)(Original_QTY.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[30].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[31].Value = global::System.DBNull.Value; + } + if ((Original_NPrice.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[32].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[33].Value = ((decimal)(Original_NPrice.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[32].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[33].Value = global::System.DBNull.Value; + } + if ((Original_OPrice.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[34].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[35].Value = ((decimal)(Original_OPrice.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[34].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[35].Value = global::System.DBNull.Value; + } + if ((Original_RepairCost.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[36].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[37].Value = ((decimal)(Original_RepairCost.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[36].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[37].Value = global::System.DBNull.Value; + } + if ((Original_CostReduction.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[38].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[39].Value = ((decimal)(Original_CostReduction.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[38].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[39].Value = global::System.DBNull.Value; + } + if ((Original_자체외주 == null)) { + this.Adapter.DeleteCommand.Parameters[40].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[41].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[40].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[41].Value = ((string)(Original_자체외주)); + } + if ((Original_외주업체 == null)) { + this.Adapter.DeleteCommand.Parameters[42].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[43].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[42].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[43].Value = ((string)(Original_외주업체)); + } + if ((Original_RepairTime.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[44].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[45].Value = ((double)(Original_RepairTime.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[44].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[45].Value = global::System.DBNull.Value; + } + if ((Original_import.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[46].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[47].Value = ((bool)(Original_import.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[46].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[47].Value = global::System.DBNull.Value; + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.DeleteCommand.Parameters[48].Value = ((string)(Original_wuid)); + } + this.Adapter.DeleteCommand.Parameters[49].Value = ((System.DateTime)(Original_wdate)); + 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)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [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.Insert, true)] + public virtual int Insert( + string gcode, + string pdate, + string uid, + string 요청자, + string 수리완료일, + string 완료월, + string Status, + string 분류, + string Line, + string Division, + string Team, + string Prcess, + string Model, + string BoardName, + string 증상조치, + string SN, + global::System.Nullable QTY, + global::System.Nullable NPrice, + global::System.Nullable OPrice, + global::System.Nullable RepairCost, + global::System.Nullable CostReduction, + string 자체외주, + string 외주업체, + global::System.Nullable RepairTime, + global::System.Nullable import, + string wuid, + System.DateTime wdate, + string 증상조치2) { + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((pdate == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(pdate)); + } + if ((uid == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(uid)); + } + if ((요청자 == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(요청자)); + } + if ((수리완료일 == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(수리완료일)); + } + if ((완료월 == null)) { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(완료월)); + } + if ((Status == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Status)); + } + if ((분류 == null)) { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(분류)); + } + if ((Line == null)) { + this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Line)); + } + if ((Division == null)) { + this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = ((string)(Division)); + } + if ((Team == null)) { + this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[10].Value = ((string)(Team)); + } + if ((Prcess == null)) { + this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[11].Value = ((string)(Prcess)); + } + if ((Model == null)) { + this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[12].Value = ((string)(Model)); + } + if ((BoardName == null)) { + this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[13].Value = ((string)(BoardName)); + } + if ((증상조치 == null)) { + this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[14].Value = ((string)(증상조치)); + } + if ((SN == null)) { + this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[15].Value = ((string)(SN)); + } + if ((QTY.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[16].Value = ((int)(QTY.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; + } + if ((NPrice.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[17].Value = ((decimal)(NPrice.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; + } + if ((OPrice.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[18].Value = ((decimal)(OPrice.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; + } + if ((RepairCost.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[19].Value = ((decimal)(RepairCost.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((CostReduction.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[20].Value = ((decimal)(CostReduction.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value; + } + if ((자체외주 == null)) { + this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[21].Value = ((string)(자체외주)); + } + if ((외주업체 == null)) { + this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[22].Value = ((string)(외주업체)); + } + if ((RepairTime.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[23].Value = ((double)(RepairTime.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value; + } + if ((import.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[24].Value = ((bool)(import.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value; + } + if ((wuid == null)) { + throw new global::System.ArgumentNullException("wuid"); + } + else { + this.Adapter.InsertCommand.Parameters[25].Value = ((string)(wuid)); + } + this.Adapter.InsertCommand.Parameters[26].Value = ((System.DateTime)(wdate)); + if ((증상조치2 == null)) { + this.Adapter.InsertCommand.Parameters[27].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[27].Value = ((string)(증상조치2)); + } + 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)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [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 gcode, + string pdate, + string uid, + string 요청자, + string 수리완료일, + string 완료월, + string Status, + string 분류, + string Line, + string Division, + string Team, + string Prcess, + string Model, + string BoardName, + string 증상조치, + string SN, + global::System.Nullable QTY, + global::System.Nullable NPrice, + global::System.Nullable OPrice, + global::System.Nullable RepairCost, + global::System.Nullable CostReduction, + string 자체외주, + string 외주업체, + global::System.Nullable RepairTime, + global::System.Nullable import, + string wuid, + System.DateTime wdate, + string 증상조치2, + int Original_idx, + string Original_gcode, + string Original_pdate, + string Original_uid, + string Original_요청자, + string Original_수리완료일, + string Original_완료월, + string Original_Status, + string Original_분류, + string Original_Line, + string Original_Division, + string Original_Team, + string Original_Prcess, + string Original_Model, + string Original_BoardName, + string Original_SN, + global::System.Nullable Original_QTY, + global::System.Nullable Original_NPrice, + global::System.Nullable Original_OPrice, + global::System.Nullable Original_RepairCost, + global::System.Nullable Original_CostReduction, + string Original_자체외주, + string Original_외주업체, + global::System.Nullable Original_RepairTime, + global::System.Nullable Original_import, + string Original_wuid, + System.DateTime Original_wdate, + int idx) { + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((pdate == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(pdate)); + } + if ((uid == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(uid)); + } + if ((요청자 == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(요청자)); + } + if ((수리완료일 == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(수리완료일)); + } + if ((완료월 == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(완료월)); + } + if ((Status == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Status)); + } + if ((분류 == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(분류)); + } + if ((Line == null)) { + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Line)); + } + if ((Division == null)) { + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Division)); + } + if ((Team == null)) { + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Team)); + } + if ((Prcess == null)) { + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Prcess)); + } + if ((Model == null)) { + this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Model)); + } + if ((BoardName == null)) { + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(BoardName)); + } + if ((증상조치 == null)) { + this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(증상조치)); + } + if ((SN == null)) { + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(SN)); + } + if ((QTY.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(QTY.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; + } + if ((NPrice.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[17].Value = ((decimal)(NPrice.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + if ((OPrice.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(OPrice.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; + } + if ((RepairCost.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[19].Value = ((decimal)(RepairCost.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((CostReduction.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[20].Value = ((decimal)(CostReduction.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; + } + if ((자체외주 == null)) { + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(자체외주)); + } + if ((외주업체 == null)) { + this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(외주업체)); + } + if ((RepairTime.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[23].Value = ((double)(RepairTime.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; + } + if ((import.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[24].Value = ((bool)(import.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; + } + if ((wuid == null)) { + throw new global::System.ArgumentNullException("wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(wuid)); + } + this.Adapter.UpdateCommand.Parameters[26].Value = ((System.DateTime)(wdate)); + if ((증상조치2 == null)) { + this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(증상조치2)); + } + this.Adapter.UpdateCommand.Parameters[28].Value = ((int)(Original_idx)); + if ((Original_gcode == null)) { + throw new global::System.ArgumentNullException("Original_gcode"); + } + else { + this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_gcode)); + } + if ((Original_pdate == null)) { + this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_pdate)); + } + if ((Original_uid == null)) { + this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_uid)); + } + if ((Original_요청자 == null)) { + this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_요청자)); + } + if ((Original_수리완료일 == null)) { + this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_수리완료일)); + } + if ((Original_완료월 == null)) { + this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_완료월)); + } + if ((Original_Status == null)) { + this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_Status)); + } + if ((Original_분류 == null)) { + this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_분류)); + } + if ((Original_Line == null)) { + this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_Line)); + } + if ((Original_Division == null)) { + this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Original_Division)); + } + if ((Original_Team == null)) { + this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(Original_Team)); + } + if ((Original_Prcess == null)) { + this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(Original_Prcess)); + } + if ((Original_Model == null)) { + this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[53].Value = ((string)(Original_Model)); + } + if ((Original_BoardName == null)) { + this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[55].Value = ((string)(Original_BoardName)); + } + if ((Original_SN == null)) { + this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[57].Value = ((string)(Original_SN)); + } + if ((Original_QTY.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[59].Value = ((int)(Original_QTY.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value; + } + if ((Original_NPrice.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[61].Value = ((decimal)(Original_NPrice.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value; + } + if ((Original_OPrice.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[63].Value = ((decimal)(Original_OPrice.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value; + } + if ((Original_RepairCost.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[65].Value = ((decimal)(Original_RepairCost.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[65].Value = global::System.DBNull.Value; + } + if ((Original_CostReduction.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[67].Value = ((decimal)(Original_CostReduction.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value; + } + if ((Original_자체외주 == null)) { + this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[69].Value = ((string)(Original_자체외주)); + } + if ((Original_외주업체 == null)) { + this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[71].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[71].Value = ((string)(Original_외주업체)); + } + if ((Original_RepairTime.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[73].Value = ((double)(Original_RepairTime.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[73].Value = global::System.DBNull.Value; + } + if ((Original_import.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[75].Value = ((bool)(Original_import.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[75].Value = global::System.DBNull.Value; + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[76].Value = ((string)(Original_wuid)); + } + this.Adapter.UpdateCommand.Parameters[77].Value = ((System.DateTime)(Original_wdate)); + this.Adapter.UpdateCommand.Parameters[78].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)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [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 gcode, + string pdate, + string uid, + string 요청자, + string 수리완료일, + string 완료월, + string Status, + string 분류, + string Line, + string Division, + string Team, + string Prcess, + string Model, + string BoardName, + string 증상조치, + string SN, + global::System.Nullable QTY, + global::System.Nullable NPrice, + global::System.Nullable OPrice, + global::System.Nullable RepairCost, + global::System.Nullable CostReduction, + string 자체외주, + string 외주업체, + global::System.Nullable RepairTime, + global::System.Nullable import, + string wuid, + System.DateTime wdate, + string 증상조치2, + int Original_idx, + string Original_gcode, + string Original_pdate, + string Original_uid, + string Original_요청자, + string Original_수리완료일, + string Original_완료월, + string Original_Status, + string Original_분류, + string Original_Line, + string Original_Division, + string Original_Team, + string Original_Prcess, + string Original_Model, + string Original_BoardName, + string Original_SN, + global::System.Nullable Original_QTY, + global::System.Nullable Original_NPrice, + global::System.Nullable Original_OPrice, + global::System.Nullable Original_RepairCost, + global::System.Nullable Original_CostReduction, + string Original_자체외주, + string Original_외주업체, + global::System.Nullable Original_RepairTime, + global::System.Nullable Original_import, + string Original_wuid, + System.DateTime Original_wdate) { + return this.Update(gcode, pdate, uid, 요청자, 수리완료일, 완료월, Status, 분류, Line, Division, Team, Prcess, Model, BoardName, 증상조치, SN, QTY, NPrice, OPrice, RepairCost, CostReduction, 자체외주, 외주업체, RepairTime, import, wuid, wdate, 증상조치2, Original_idx, Original_gcode, Original_pdate, Original_uid, Original_요청자, Original_수리완료일, Original_완료월, Original_Status, Original_분류, Original_Line, Original_Division, Original_Team, Original_Prcess, Original_Model, Original_BoardName, Original_SN, Original_QTY, Original_NPrice, Original_OPrice, Original_RepairCost, Original_CostReduction, Original_자체외주, Original_외주업체, Original_RepairTime, Original_import, Original_wuid, Original_wdate, Original_idx); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class EETGW_JobReport_AutoInputTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public EETGW_JobReport_AutoInputTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "EETGW_JobReport_AutoInput"; + tableMapping.ColumnMappings.Add("idx", "idx"); + tableMapping.ColumnMappings.Add("gcode", "gcode"); + tableMapping.ColumnMappings.Add("pdate", "pdate"); + tableMapping.ColumnMappings.Add("pidx", "pidx"); + tableMapping.ColumnMappings.Add("projectName", "projectName"); + tableMapping.ColumnMappings.Add("uid", "uid"); + tableMapping.ColumnMappings.Add("requestpart", "requestpart"); + tableMapping.ColumnMappings.Add("package", "package"); + tableMapping.ColumnMappings.Add("status", "status"); + tableMapping.ColumnMappings.Add("type", "type"); + tableMapping.ColumnMappings.Add("process", "process"); + tableMapping.ColumnMappings.Add("description", "description"); + tableMapping.ColumnMappings.Add("remark", "remark"); + tableMapping.ColumnMappings.Add("hrs", "hrs"); + tableMapping.ColumnMappings.Add("ot", "ot"); + tableMapping.ColumnMappings.Add("import", "import"); + tableMapping.ColumnMappings.Add("wuid", "wuid"); + tableMapping.ColumnMappings.Add("wdate", "wdate"); + tableMapping.ColumnMappings.Add("description2", "description2"); + tableMapping.ColumnMappings.Add("tag", "tag"); + tableMapping.ColumnMappings.Add("autoinput", "autoinput"); + tableMapping.ColumnMappings.Add("enable", "enable"); + tableMapping.ColumnMappings.Add("username", "username"); + tableMapping.ColumnMappings.Add("ww", "ww"); + 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 [EETGW_JobReport_AutoInput] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_requestpart = 1 AND [requestpart] IS NULL) OR ([requestpart] = @Original_requestpart)) AND ((@IsNull_package = 1 AND [package] IS NULL) OR ([package] = @Original_package)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_hrs = 1 AND [hrs] IS NULL) OR ([hrs] = @Original_hrs)) AND ((@IsNull_ot = 1 AND [ot] IS NULL) OR ([ot] = @Original_ot)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_tag = 1 AND [tag] IS NULL) OR ([tag] = @Original_tag)) AND ((@IsNull_autoinput = 1 AND [autoinput] IS NULL) OR ([autoinput] = @Original_autoinput)) AND ((@IsNull_enable = 1 AND [enable] IS NULL) OR ([enable] = @Original_enable)))"; + 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, 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("@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_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_projectName", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_requestpart", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "requestpart", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_requestpart", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "requestpart", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_package", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "package", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_package", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "package", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_type", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_type", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_remark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_hrs", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "hrs", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_hrs", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "hrs", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ot", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot", 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.Bit, 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("@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_tag", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tag", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_tag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tag", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_autoinput", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoinput", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_autoinput", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoinput", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_enable", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "enable", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_enable", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "enable", 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 [EETGW_JobReport_AutoInput] ([gcode], [pdate], [pidx], [projectName], [uid], [requestpart], [package], [status], [type], [process], [description], [remark], [hrs], [ot], [import], [wuid], [wdate], [description2], [tag], [autoinput], [enable]) VALUES (@gcode, @pdate, @pidx, @projectName, @uid, @requestpart, @package, @status, @type, @process, @description, @remark, @hrs, @ot, @import, @wuid, @wdate, @description2, @tag, @autoinput, @enable); +SELECT idx, gcode, pdate, pidx, projectName, uid, requestpart, package, status, type, process, description, remark, hrs, ot, import, wuid, wdate, description2, tag, autoinput, enable FROM EETGW_JobReport_AutoInput WHERE (idx = SCOPE_IDENTITY())"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + 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("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@requestpart", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "requestpart", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@package", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "package", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@type", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@description", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "description", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@hrs", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "hrs", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 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("@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("@description2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "description2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@autoinput", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoinput", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@enable", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "enable", 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 [EETGW_JobReport_AutoInput] SET [gcode] = @gcode, [pdate] = @pdate, [pidx]" + + " = @pidx, [projectName] = @projectName, [uid] = @uid, [requestpart] = @requestpa" + + "rt, [package] = @package, [status] = @status, [type] = @type, [process] = @proce" + + "ss, [description] = @description, [remark] = @remark, [hrs] = @hrs, [ot] = @ot, " + + "[import] = @import, [wuid] = @wuid, [wdate] = @wdate, [description2] = @descript" + + "ion2, [tag] = @tag, [autoinput] = @autoinput, [enable] = @enable WHERE (([idx] =" + + " @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_pdate = 1 AND [pda" + + "te] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_pidx = 1 AND [pidx] I" + + "S NULL) OR ([pidx] = @Original_pidx)) AND ((@IsNull_projectName = 1 AND [project" + + "Name] IS NULL) OR ([projectName] = @Original_projectName)) AND ((@IsNull_uid = 1" + + " AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_requestpart = 1 AN" + + "D [requestpart] IS NULL) OR ([requestpart] = @Original_requestpart)) AND ((@IsNu" + + "ll_package = 1 AND [package] IS NULL) OR ([package] = @Original_package)) AND ((" + + "@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND (" + + "(@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNul" + + "l_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@" + + "IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((" + + "@IsNull_hrs = 1 AND [hrs] IS NULL) OR ([hrs] = @Original_hrs)) AND ((@IsNull_ot " + + "= 1 AND [ot] IS NULL) OR ([ot] = @Original_ot)) AND ((@IsNull_import = 1 AND [im" + + "port] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) A" + + "ND ([wdate] = @Original_wdate) AND ((@IsNull_tag = 1 AND [tag] IS NULL) OR ([tag" + + "] = @Original_tag)) AND ((@IsNull_autoinput = 1 AND [autoinput] IS NULL) OR ([au" + + "toinput] = @Original_autoinput)) AND ((@IsNull_enable = 1 AND [enable] IS NULL) " + + "OR ([enable] = @Original_enable)));\r\nSELECT idx, gcode, pdate, pidx, projectName" + + ", uid, requestpart, package, status, type, process, description, remark, hrs, ot" + + ", import, wuid, wdate, description2, tag, autoinput, enable FROM EETGW_JobReport" + + "_AutoInput WHERE (idx = @idx)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + 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("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@requestpart", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "requestpart", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@package", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "package", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@type", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@description", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "description", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@hrs", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "hrs", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 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("@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("@description2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "description2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@autoinput", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoinput", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@enable", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "enable", 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("@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_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_projectName", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_requestpart", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "requestpart", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_requestpart", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "requestpart", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_package", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "package", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_package", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "package", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_type", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_type", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_remark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_hrs", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "hrs", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_hrs", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "hrs", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ot", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot", 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.Bit, 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("@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_tag", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tag", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_tag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tag", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_autoinput", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoinput", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_autoinput", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoinput", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_enable", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "enable", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_enable", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "enable", 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::FPJ0000.Properties.Settings.Default.gwcs; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = @"SELECT idx, gcode, pdate, pidx, projectName, uid, requestpart, package, status, type, process, description, remark, hrs, ot, import, wuid, wdate, description2, tag, autoinput, enable, + dbo.getUserName(uid) AS username, dbo.getWorkWeek(pdate) AS ww +FROM EETGW_JobReport_AutoInput +WHERE (gcode = @gcode)"; + 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, "", "", "")); + } + + [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.Fill, true)] + public virtual int Fill(dsPRJ.EETGW_JobReport_AutoInputDataTable dataTable, string gcode) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [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.Select, true)] + public virtual dsPRJ.EETGW_JobReport_AutoInputDataTable GetData(string gcode) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); + } + dsPRJ.EETGW_JobReport_AutoInputDataTable dataTable = new dsPRJ.EETGW_JobReport_AutoInputDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [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")] + public virtual int Update(dsPRJ.EETGW_JobReport_AutoInputDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [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")] + public virtual int Update(dsPRJ dataSet) { + return this.Adapter.Update(dataSet, "EETGW_JobReport_AutoInput"); + } + + [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")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [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")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [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.Delete, true)] + public virtual int Delete( + int Original_idx, + string Original_gcode, + string Original_pdate, + global::System.Nullable Original_pidx, + string Original_projectName, + string Original_uid, + string Original_requestpart, + string Original_package, + string Original_status, + string Original_type, + string Original_process, + string Original_remark, + global::System.Nullable Original_hrs, + global::System.Nullable Original_ot, + global::System.Nullable Original_import, + string Original_wuid, + System.DateTime Original_wdate, + string Original_tag, + string Original_autoinput, + global::System.Nullable Original_enable) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); + if ((Original_gcode == null)) { + throw new global::System.ArgumentNullException("Original_gcode"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_gcode)); + } + if ((Original_pdate == null)) { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_pdate)); + } + if ((Original_pidx.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_pidx.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((Original_projectName == null)) { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_projectName)); + } + if ((Original_uid == null)) { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_uid)); + } + if ((Original_requestpart == null)) { + this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_requestpart)); + } + if ((Original_package == null)) { + this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_package)); + } + if ((Original_status == null)) { + this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[15].Value = ((string)(Original_status)); + } + if ((Original_type == null)) { + this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[17].Value = ((string)(Original_type)); + } + if ((Original_process == null)) { + this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[19].Value = ((string)(Original_process)); + } + if ((Original_remark == null)) { + this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[21].Value = ((string)(Original_remark)); + } + if ((Original_hrs.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[23].Value = ((double)(Original_hrs.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[23].Value = global::System.DBNull.Value; + } + if ((Original_ot.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[25].Value = ((double)(Original_ot.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value; + } + if ((Original_import.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[27].Value = ((bool)(Original_import.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[27].Value = global::System.DBNull.Value; + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_wuid)); + } + this.Adapter.DeleteCommand.Parameters[29].Value = ((System.DateTime)(Original_wdate)); + if ((Original_tag == null)) { + this.Adapter.DeleteCommand.Parameters[30].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[31].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[30].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[31].Value = ((string)(Original_tag)); + } + if ((Original_autoinput == null)) { + this.Adapter.DeleteCommand.Parameters[32].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[33].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[32].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[33].Value = ((string)(Original_autoinput)); + } + if ((Original_enable.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[34].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[35].Value = ((bool)(Original_enable.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[34].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[35].Value = global::System.DBNull.Value; + } + 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)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [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.Insert, true)] + public virtual int Insert( + string gcode, + string pdate, + global::System.Nullable pidx, + string projectName, + string uid, + string requestpart, + string package, + string status, + string type, + string process, + string description, + string remark, + global::System.Nullable hrs, + global::System.Nullable ot, + global::System.Nullable import, + string wuid, + System.DateTime wdate, + string description2, + string tag, + string autoinput, + global::System.Nullable enable) { + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((pdate == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(pdate)); + } + if ((pidx.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[2].Value = ((int)(pidx.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((projectName == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(projectName)); + } + if ((uid == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(uid)); + } + if ((requestpart == null)) { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(requestpart)); + } + if ((package == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(package)); + } + if ((status == null)) { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(status)); + } + if ((type == null)) { + this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = ((string)(type)); + } + if ((process == null)) { + this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = ((string)(process)); + } + if ((description == null)) { + this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[10].Value = ((string)(description)); + } + if ((remark == null)) { + this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[11].Value = ((string)(remark)); + } + if ((hrs.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[12].Value = ((double)(hrs.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((ot.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[13].Value = ((double)(ot.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((import.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[14].Value = ((bool)(import.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; + } + if ((wuid == null)) { + throw new global::System.ArgumentNullException("wuid"); + } + else { + this.Adapter.InsertCommand.Parameters[15].Value = ((string)(wuid)); + } + this.Adapter.InsertCommand.Parameters[16].Value = ((System.DateTime)(wdate)); + if ((description2 == null)) { + this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[17].Value = ((string)(description2)); + } + if ((tag == null)) { + this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[18].Value = ((string)(tag)); + } + if ((autoinput == null)) { + this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[19].Value = ((string)(autoinput)); + } + if ((enable.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[20].Value = ((bool)(enable.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value; + } + 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)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [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 gcode, + string pdate, + global::System.Nullable pidx, + string projectName, + string uid, + string requestpart, + string package, + string status, + string type, + string process, + string description, + string remark, + global::System.Nullable hrs, + global::System.Nullable ot, + global::System.Nullable import, + string wuid, + System.DateTime wdate, + string description2, + string tag, + string autoinput, + global::System.Nullable enable, + int Original_idx, + string Original_gcode, + string Original_pdate, + global::System.Nullable Original_pidx, + string Original_projectName, + string Original_uid, + string Original_requestpart, + string Original_package, + string Original_status, + string Original_type, + string Original_process, + string Original_remark, + global::System.Nullable Original_hrs, + global::System.Nullable Original_ot, + global::System.Nullable Original_import, + string Original_wuid, + System.DateTime Original_wdate, + string Original_tag, + string Original_autoinput, + global::System.Nullable Original_enable, + int idx) { + if ((gcode == null)) { + throw new global::System.ArgumentNullException("gcode"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(gcode)); + } + if ((pdate == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(pdate)); + } + if ((pidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(pidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((projectName == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(projectName)); + } + if ((uid == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(uid)); + } + if ((requestpart == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(requestpart)); + } + if ((package == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(package)); + } + if ((status == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(status)); + } + if ((type == null)) { + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(type)); + } + if ((process == null)) { + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(process)); + } + if ((description == null)) { + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(description)); + } + if ((remark == null)) { + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(remark)); + } + if ((hrs.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[12].Value = ((double)(hrs.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((ot.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[13].Value = ((double)(ot.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((import.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((bool)(import.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; + } + if ((wuid == null)) { + throw new global::System.ArgumentNullException("wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(wuid)); + } + this.Adapter.UpdateCommand.Parameters[16].Value = ((System.DateTime)(wdate)); + if ((description2 == null)) { + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(description2)); + } + if ((tag == null)) { + this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(tag)); + } + if ((autoinput == null)) { + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(autoinput)); + } + if ((enable.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[20].Value = ((bool)(enable.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[21].Value = ((int)(Original_idx)); + if ((Original_gcode == null)) { + throw new global::System.ArgumentNullException("Original_gcode"); + } + else { + this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_gcode)); + } + if ((Original_pdate == 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_pdate)); + } + if ((Original_pidx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(Original_pidx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value; + } + if ((Original_projectName == 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_projectName)); + } + if ((Original_uid == 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_uid)); + } + if ((Original_requestpart == null)) { + this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_requestpart)); + } + if ((Original_package == 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_package)); + } + if ((Original_status == null)) { + this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_status)); + } + if ((Original_type == 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_type)); + } + if ((Original_process == null)) { + this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_process)); + } + if ((Original_remark == null)) { + this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_remark)); + } + if ((Original_hrs.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[44].Value = ((double)(Original_hrs.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value; + } + if ((Original_ot.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[46].Value = ((double)(Original_ot.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value; + } + if ((Original_import.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[48].Value = ((bool)(Original_import.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value; + } + if ((Original_wuid == null)) { + throw new global::System.ArgumentNullException("Original_wuid"); + } + else { + this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(Original_wuid)); + } + this.Adapter.UpdateCommand.Parameters[50].Value = ((System.DateTime)(Original_wdate)); + if ((Original_tag == 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_tag)); + } + if ((Original_autoinput == 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_autoinput)); + } + if ((Original_enable.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[56].Value = ((bool)(Original_enable.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[57].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)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [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 gcode, + string pdate, + global::System.Nullable pidx, + string projectName, + string uid, + string requestpart, + string package, + string status, + string type, + string process, + string description, + string remark, + global::System.Nullable hrs, + global::System.Nullable ot, + global::System.Nullable import, + string wuid, + System.DateTime wdate, + string description2, + string tag, + string autoinput, + global::System.Nullable enable, + int Original_idx, + string Original_gcode, + string Original_pdate, + global::System.Nullable Original_pidx, + string Original_projectName, + string Original_uid, + string Original_requestpart, + string Original_package, + string Original_status, + string Original_type, + string Original_process, + string Original_remark, + global::System.Nullable Original_hrs, + global::System.Nullable Original_ot, + global::System.Nullable Original_import, + string Original_wuid, + System.DateTime Original_wdate, + string Original_tag, + string Original_autoinput, + global::System.Nullable Original_enable) { + return this.Update(gcode, pdate, pidx, projectName, uid, requestpart, package, status, type, process, description, remark, hrs, ot, import, wuid, wdate, description2, tag, autoinput, enable, Original_idx, Original_gcode, Original_pdate, Original_pidx, Original_projectName, Original_uid, Original_requestpart, Original_package, Original_status, Original_type, Original_process, Original_remark, Original_hrs, Original_ot, Original_import, Original_wuid, Original_wdate, Original_tag, Original_autoinput, Original_enable, Original_idx); + } + } + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -25364,6 +31443,10 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so private EETGW_ProjectToDoTableAdapter _eETGW_ProjectToDoTableAdapter; + private EETGW_JobReport_EBoardTableAdapter _eETGW_JobReport_EBoardTableAdapter; + + private EETGW_JobReport_AutoInputTableAdapter _eETGW_JobReport_AutoInputTableAdapter; + private bool _backupDataSetBeforeUpdate; private global::System.Data.IDbConnection _connection; @@ -25561,6 +31644,34 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public EETGW_JobReport_EBoardTableAdapter EETGW_JobReport_EBoardTableAdapter { + get { + return this._eETGW_JobReport_EBoardTableAdapter; + } + set { + this._eETGW_JobReport_EBoardTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public EETGW_JobReport_AutoInputTableAdapter EETGW_JobReport_AutoInputTableAdapter { + get { + return this._eETGW_JobReport_AutoInputTableAdapter; + } + set { + this._eETGW_JobReport_AutoInputTableAdapter = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool BackupDataSetBeforeUpdate { @@ -25632,6 +31743,14 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so && (this._eETGW_ProjectToDoTableAdapter.Connection != null))) { return this._eETGW_ProjectToDoTableAdapter.Connection; } + if (((this._eETGW_JobReport_EBoardTableAdapter != null) + && (this._eETGW_JobReport_EBoardTableAdapter.Connection != null))) { + return this._eETGW_JobReport_EBoardTableAdapter.Connection; + } + if (((this._eETGW_JobReport_AutoInputTableAdapter != null) + && (this._eETGW_JobReport_AutoInputTableAdapter.Connection != null))) { + return this._eETGW_JobReport_AutoInputTableAdapter.Connection; + } return null; } set { @@ -25684,6 +31803,12 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so if ((this._eETGW_ProjectToDoTableAdapter != null)) { count = (count + 1); } + if ((this._eETGW_JobReport_EBoardTableAdapter != null)) { + count = (count + 1); + } + if ((this._eETGW_JobReport_AutoInputTableAdapter != null)) { + count = (count + 1); + } return count; } } @@ -25812,6 +31937,24 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so allChangedRows.AddRange(updatedRows); } } + if ((this._eETGW_JobReport_EBoardTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.EETGW_JobReport_EBoard.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._eETGW_JobReport_EBoardTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._eETGW_JobReport_AutoInputTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.EETGW_JobReport_AutoInput.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._eETGW_JobReport_AutoInputTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } return result; } @@ -25926,6 +32069,22 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so allAddedRows.AddRange(addedRows); } } + if ((this._eETGW_JobReport_EBoardTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.EETGW_JobReport_EBoard.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._eETGW_JobReport_EBoardTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._eETGW_JobReport_AutoInputTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.EETGW_JobReport_AutoInput.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._eETGW_JobReport_AutoInputTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } return result; } @@ -25936,6 +32095,22 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private int UpdateDeletedRows(dsPRJ dataSet, global::System.Collections.Generic.List allChangedRows) { int result = 0; + if ((this._eETGW_JobReport_AutoInputTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.EETGW_JobReport_AutoInput.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._eETGW_JobReport_AutoInputTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._eETGW_JobReport_EBoardTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.EETGW_JobReport_EBoard.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._eETGW_JobReport_EBoardTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._eETGW_ProjectToDoTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.EETGW_ProjectToDo.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -26131,6 +32306,14 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so && (this.MatchTableAdapterConnection(this._eETGW_ProjectToDoTableAdapter.Connection) == false))) { throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); } + if (((this._eETGW_JobReport_EBoardTableAdapter != null) + && (this.MatchTableAdapterConnection(this._eETGW_JobReport_EBoardTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); + } + if (((this._eETGW_JobReport_AutoInputTableAdapter != null) + && (this.MatchTableAdapterConnection(this._eETGW_JobReport_AutoInputTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다."); + } global::System.Data.IDbConnection workConnection = this.Connection; if ((workConnection == null)) { throw new global::System.ApplicationException("TableAdapterManager에 연결 정보가 없습니다. 각 TableAdapterManager TableAdapter 속성을 올바른 Tabl" + @@ -26279,6 +32462,24 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so adaptersWithAcceptChangesDuringUpdate.Add(this._eETGW_ProjectToDoTableAdapter.Adapter); } } + if ((this._eETGW_JobReport_EBoardTableAdapter != null)) { + revertConnections.Add(this._eETGW_JobReport_EBoardTableAdapter, this._eETGW_JobReport_EBoardTableAdapter.Connection); + this._eETGW_JobReport_EBoardTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._eETGW_JobReport_EBoardTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._eETGW_JobReport_EBoardTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._eETGW_JobReport_EBoardTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._eETGW_JobReport_EBoardTableAdapter.Adapter); + } + } + if ((this._eETGW_JobReport_AutoInputTableAdapter != null)) { + revertConnections.Add(this._eETGW_JobReport_AutoInputTableAdapter, this._eETGW_JobReport_AutoInputTableAdapter.Connection); + this._eETGW_JobReport_AutoInputTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._eETGW_JobReport_AutoInputTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._eETGW_JobReport_AutoInputTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._eETGW_JobReport_AutoInputTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._eETGW_JobReport_AutoInputTableAdapter.Adapter); + } + } // //---- Perform updates ----------- // @@ -26389,6 +32590,14 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so this._eETGW_ProjectToDoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eETGW_ProjectToDoTableAdapter])); this._eETGW_ProjectToDoTableAdapter.Transaction = null; } + if ((this._eETGW_JobReport_EBoardTableAdapter != null)) { + this._eETGW_JobReport_EBoardTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eETGW_JobReport_EBoardTableAdapter])); + this._eETGW_JobReport_EBoardTableAdapter.Transaction = null; + } + if ((this._eETGW_JobReport_AutoInputTableAdapter != null)) { + this._eETGW_JobReport_AutoInputTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eETGW_JobReport_AutoInputTableAdapter])); + this._eETGW_JobReport_AutoInputTableAdapter.Transaction = null; + } if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); diff --git a/SubProject/FPJ0000/dsPRJ.cs b/SubProject/FPJ0000/dsPRJ.cs new file mode 100644 index 0000000..fe4198b --- /dev/null +++ b/SubProject/FPJ0000/dsPRJ.cs @@ -0,0 +1,15 @@ +namespace FPJ0000 +{ + + + partial class dsPRJ + { + } +} + +namespace FPJ0000.dsPRJTableAdapters { + + + public partial class JobReportTableAdapter { + } +} diff --git a/SubProject/FPJ0000/dsPRJ.xsd b/SubProject/FPJ0000/dsPRJ.xsd index 7aa122c..e7de72f 100644 --- a/SubProject/FPJ0000/dsPRJ.xsd +++ b/SubProject/FPJ0000/dsPRJ.xsd @@ -437,7 +437,7 @@ SELECT idx, Project, enable, name, address, memo, wuid, wdate, div FROM Projects - DELETE FROM [ProjectsPart] WHERE (([idx] = @Original_idx) AND ((@IsNull_Project = 1 AND [Project] IS NULL) OR ([Project] = @Original_Project)) AND ((@IsNull_Item = 1 AND [Item] IS NULL) OR ([Item] = @Original_Item)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_amt = 1 AND [amt] IS NULL) OR ([amt] = @Original_amt)) AND ((@IsNull_jago = 1 AND [jago] IS NULL) OR ([jago] = @Original_jago)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_ItemName = 1 AND [ItemName] IS NULL) OR ([ItemName] = @Original_ItemName)) AND ((@IsNull_ItemModel = 1 AND [ItemModel] IS NULL) OR ([ItemModel] = @Original_ItemModel)) AND ((@IsNull_ItemGroup = 1 AND [ItemGroup] IS NULL) OR ([ItemGroup] = @Original_ItemGroup)) AND ((@IsNull_ItemSid = 1 AND [ItemSid] IS NULL) OR ([ItemSid] = @Original_ItemSid)) AND ((@IsNull_ItemSupply = 1 AND [ItemSupply] IS NULL) OR ([ItemSupply] = @Original_ItemSupply)) AND ((@IsNull_ItemManu = 1 AND [ItemManu] IS NULL) OR ([ItemManu] = @Original_ItemManu)) AND ((@IsNull_option1 = 1 AND [option1] IS NULL) OR ([option1] = @Original_option1)) AND ((@IsNull_option2 = 1 AND [option2] IS NULL) OR ([option2] = @Original_option2)) AND ((@IsNull_option3 = 1 AND [option3] IS NULL) OR ([option3] = @Original_option3)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_ItemSupplyidx = 1 AND [ItemSupplyidx] IS NULL) OR ([ItemSupplyidx] = @Original_ItemSupplyidx)) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no)) AND ((@IsNull_ItemUnit = 1 AND [ItemUnit] IS NULL) OR ([ItemUnit] = @Original_ItemUnit)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_qtyjago = 1 AND [qtyjago] IS NULL) OR ([qtyjago] = @Original_qtyjago)) AND ((@IsNull_qtybuy = 1 AND [qtybuy] IS NULL) OR ([qtybuy] = @Original_qtybuy)) AND ((@IsNull_qtyn = 1 AND [qtyn] IS NULL) OR ([qtyn] = @Original_qtyn)) AND ((@IsNull_amtn = 1 AND [amtn] IS NULL) OR ([amtn] = @Original_amtn)) AND ((@IsNull_qtyin = 1 AND [qtyin] IS NULL) OR ([qtyin] = @Original_qtyin)) AND ((@IsNull_bbuy = 1 AND [bbuy] IS NULL) OR ([bbuy] = @Original_bbuy))) + DELETE FROM [ProjectsPart] WHERE (([idx] = @Original_idx) AND ((@IsNull_Project = 1 AND [Project] IS NULL) OR ([Project] = @Original_Project)) AND ((@IsNull_Item = 1 AND [Item] IS NULL) OR ([Item] = @Original_Item)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_amt = 1 AND [amt] IS NULL) OR ([amt] = @Original_amt)) AND ((@IsNull_jago = 1 AND [jago] IS NULL) OR ([jago] = @Original_jago)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_ItemName = 1 AND [ItemName] IS NULL) OR ([ItemName] = @Original_ItemName)) AND ((@IsNull_ItemModel = 1 AND [ItemModel] IS NULL) OR ([ItemModel] = @Original_ItemModel)) AND ((@IsNull_ItemGroup = 1 AND [ItemGroup] IS NULL) OR ([ItemGroup] = @Original_ItemGroup)) AND ((@IsNull_ItemSid = 1 AND [ItemSid] IS NULL) OR ([ItemSid] = @Original_ItemSid)) AND ((@IsNull_ItemSupply = 1 AND [ItemSupply] IS NULL) OR ([ItemSupply] = @Original_ItemSupply)) AND ((@IsNull_ItemManu = 1 AND [ItemManu] IS NULL) OR ([ItemManu] = @Original_ItemManu)) AND ((@IsNull_option1 = 1 AND [option1] IS NULL) OR ([option1] = @Original_option1)) AND ((@IsNull_option2 = 1 AND [option2] IS NULL) OR ([option2] = @Original_option2)) AND ((@IsNull_option3 = 1 AND [option3] IS NULL) OR ([option3] = @Original_option3)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_ItemSupplyidx = 1 AND [ItemSupplyidx] IS NULL) OR ([ItemSupplyidx] = @Original_ItemSupplyidx)) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no)) AND ((@IsNull_ItemUnit = 1 AND [ItemUnit] IS NULL) OR ([ItemUnit] = @Original_ItemUnit)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_qtyjago = 1 AND [qtyjago] IS NULL) OR ([qtyjago] = @Original_qtyjago)) AND ((@IsNull_qtybuy = 1 AND [qtybuy] IS NULL) OR ([qtybuy] = @Original_qtybuy)) AND ((@IsNull_qtyn = 1 AND [qtyn] IS NULL) OR ([qtyn] = @Original_qtyn)) AND ((@IsNull_amtn = 1 AND [amtn] IS NULL) OR ([amtn] = @Original_amtn)) AND ((@IsNull_qtyin = 1 AND [qtyin] IS NULL) OR ([qtyin] = @Original_qtyin)) AND ((@IsNull_bbuy = 1 AND [bbuy] IS NULL) OR ([bbuy] = @Original_bbuy)) AND ((@IsNull_bconfirm = 1 AND [bconfirm] IS NULL) OR ([bconfirm] = @Original_bconfirm))) @@ -465,9 +465,9 @@ SELECT idx, Project, enable, name, address, memo, wuid, wdate, div FROM Projects - + - + @@ -496,98 +496,156 @@ SELECT idx, Project, enable, name, address, memo, wuid, wdate, div FROM Projects + + - - INSERT INTO ProjectsPart - (Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, - import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy) -VALUES (@Project,@Item,@qty,@price,@amt,@jago,@memo,@wuid,@wdate,@ItemName,@ItemModel,@ItemGroup,@ItemSid,@ItemSupply,@ItemManu,@option1,@option2,@option3,@remark,@ItemSupplyidx,@no,@ItemUnit,@import,@qtyjago,@qtybuy,@qtyn,@amtn,@qtyin,@bbuy); -SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn FROM ProjectsPart WHERE (idx = SCOPE_IDENTITY()) ORDER BY Project, no, ItemGroup, option1, ItemName + + INSERT INTO [ProjectsPart] ([Project], [Item], [qty], [price], [amt], [jago], [memo], [wuid], [wdate], [ItemName], [ItemModel], [ItemGroup], [ItemSid], [ItemSupply], [ItemManu], [option1], [option2], [option3], [remark], [ItemSupplyidx], [no], [ItemUnit], [import], [qtyjago], [qtybuy], [qtyn], [amtn], [qtyin], [bbuy], [bconfirm]) VALUES (@Project, @Item, @qty, @price, @amt, @jago, @memo, @wuid, @wdate, @ItemName, @ItemModel, @ItemGroup, @ItemSid, @ItemSupply, @ItemManu, @option1, @option2, @option3, @remark, @ItemSupplyidx, @no, @ItemUnit, @import, @qtyjago, @qtybuy, @qtyn, @amtn, @qtyin, @bbuy, @bconfirm); +SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm FROM ProjectsPart WHERE (idx = SCOPE_IDENTITY()) ORDER BY Project, no, ItemGroup, option1, ItemName - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy FROM ProjectsPart WHERE (Project = @prj) ORDER BY Project, no, ItemGroup, option1, ItemName + SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, + import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm +FROM ProjectsPart +WHERE (Project = @prj) +ORDER BY Project, no, ItemGroup, option1, ItemName - - UPDATE ProjectsPart -SET Project = @Project, Item = @Item, qty = @qty, price = @price, amt = @amt, jago = @jago, memo = @memo, wuid = @wuid, wdate = @wdate, ItemName = @ItemName, - ItemModel = @ItemModel, ItemGroup = @ItemGroup, ItemSid = @ItemSid, ItemSupply = @ItemSupply, ItemManu = @ItemManu, option1 = @option1, option2 = @option2, option3 = @option3, - remark = @remark, ItemSupplyidx = @ItemSupplyidx, no = @no, ItemUnit = @ItemUnit, import = @import, qtyjago = @qtyjago, qtybuy = @qtybuy, qtyn = @qtyn, amtn = @amtn, - qtyin = @qtyin, bbuy = @bbuy -WHERE (idx = @Original_idx); -SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn FROM ProjectsPart WHERE (idx = @idx) ORDER BY Project, no, ItemGroup, option1, ItemName + + UPDATE [ProjectsPart] SET [Project] = @Project, [Item] = @Item, [qty] = @qty, [price] = @price, [amt] = @amt, [jago] = @jago, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [ItemName] = @ItemName, [ItemModel] = @ItemModel, [ItemGroup] = @ItemGroup, [ItemSid] = @ItemSid, [ItemSupply] = @ItemSupply, [ItemManu] = @ItemManu, [option1] = @option1, [option2] = @option2, [option3] = @option3, [remark] = @remark, [ItemSupplyidx] = @ItemSupplyidx, [no] = @no, [ItemUnit] = @ItemUnit, [import] = @import, [qtyjago] = @qtyjago, [qtybuy] = @qtybuy, [qtyn] = @qtyn, [amtn] = @amtn, [qtyin] = @qtyin, [bbuy] = @bbuy, [bconfirm] = @bconfirm WHERE (([idx] = @Original_idx) AND ((@IsNull_Project = 1 AND [Project] IS NULL) OR ([Project] = @Original_Project)) AND ((@IsNull_Item = 1 AND [Item] IS NULL) OR ([Item] = @Original_Item)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_amt = 1 AND [amt] IS NULL) OR ([amt] = @Original_amt)) AND ((@IsNull_jago = 1 AND [jago] IS NULL) OR ([jago] = @Original_jago)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_ItemName = 1 AND [ItemName] IS NULL) OR ([ItemName] = @Original_ItemName)) AND ((@IsNull_ItemModel = 1 AND [ItemModel] IS NULL) OR ([ItemModel] = @Original_ItemModel)) AND ((@IsNull_ItemGroup = 1 AND [ItemGroup] IS NULL) OR ([ItemGroup] = @Original_ItemGroup)) AND ((@IsNull_ItemSid = 1 AND [ItemSid] IS NULL) OR ([ItemSid] = @Original_ItemSid)) AND ((@IsNull_ItemSupply = 1 AND [ItemSupply] IS NULL) OR ([ItemSupply] = @Original_ItemSupply)) AND ((@IsNull_ItemManu = 1 AND [ItemManu] IS NULL) OR ([ItemManu] = @Original_ItemManu)) AND ((@IsNull_option1 = 1 AND [option1] IS NULL) OR ([option1] = @Original_option1)) AND ((@IsNull_option2 = 1 AND [option2] IS NULL) OR ([option2] = @Original_option2)) AND ((@IsNull_option3 = 1 AND [option3] IS NULL) OR ([option3] = @Original_option3)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_ItemSupplyidx = 1 AND [ItemSupplyidx] IS NULL) OR ([ItemSupplyidx] = @Original_ItemSupplyidx)) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no)) AND ((@IsNull_ItemUnit = 1 AND [ItemUnit] IS NULL) OR ([ItemUnit] = @Original_ItemUnit)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_qtyjago = 1 AND [qtyjago] IS NULL) OR ([qtyjago] = @Original_qtyjago)) AND ((@IsNull_qtybuy = 1 AND [qtybuy] IS NULL) OR ([qtybuy] = @Original_qtybuy)) AND ((@IsNull_qtyn = 1 AND [qtyn] IS NULL) OR ([qtyn] = @Original_qtyn)) AND ((@IsNull_amtn = 1 AND [amtn] IS NULL) OR ([amtn] = @Original_amtn)) AND ((@IsNull_qtyin = 1 AND [qtyin] IS NULL) OR ([qtyin] = @Original_qtyin)) AND ((@IsNull_bbuy = 1 AND [bbuy] IS NULL) OR ([bbuy] = @Original_bbuy)) AND ((@IsNull_bconfirm = 1 AND [bconfirm] IS NULL) OR ([bconfirm] = @Original_bconfirm))); +SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, ItemModel, ItemGroup, ItemSid, ItemSupply, ItemManu, option1, option2, option3, remark, ItemSupplyidx, no, ItemUnit, import, qtyjago, qtybuy, qtyn, amtn, qtyin, bbuy, bconfirm FROM ProjectsPart WHERE (idx = @idx) ORDER BY Project, no, ItemGroup, option1, ItemName - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -624,6 +682,7 @@ SELECT idx, Project, Item, qty, price, amt, jago, memo, wuid, wdate, ItemName, I + @@ -1557,11 +1616,11 @@ SELECT idx, gcode, isdel, asset, process, part, pdate, name, userManager, userma - + DELETE FROM ProjectsPart WHERE (idx = @idx) - + @@ -1573,24 +1632,38 @@ WHERE (idx = @idx) FROM Projects AS a INNER JOIN ProjectsPart AS b ON a.idx = b.Project WHERE (a.gcode = @gcode) AND (ISNULL(b.qtybuy, 0) > 0) AND (ISNULL(b.qtybuy, 0) > ISNULL(b.qtyin, 0)) AND (a.status IN ('진행', '완료', '완료(보고)')) -ORDER BY a.status DESC, a.idx, a.pdate +ORDER BY ISNULL(b.bbuy, 0), ISNULL(b.bconfirm, 0), ISNULL(a.userManager, ''), ISNULL(b.Project, 0) - + UPDATE ProjectsPart -SET qtybuy = @qtybuy, qtyin = @qtyin, bbuy = @bbuy, bconfirm = @bconfirm, memo = @memo +SET qtybuy = @qtybuy, qtyin = @qtyin, bbuy = @bbuy, bconfirm = @bconfirm, memo = @memo, ItemSupply = @ItemSupply, option1 = @option1, option2 = @option2, option3 = @option3, + qty = @qty, price = @price, amt = @amt, ItemManu = @ItemManu, ItemSid = @ItemSid, ItemUnit = @ItemUnit, ItemModel = @ItemModel, ItemName = @ItemName, remark = @remark WHERE (idx = @idx) - - - - - - + + + + + + + + + + + + + + + + + + + @@ -1869,6 +1942,423 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so + + + + + + DELETE FROM [EETGW_JobReport_EBoard] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_요청자 = 1 AND [요청자] IS NULL) OR ([요청자] = @Original_요청자)) AND ((@IsNull_수리완료일 = 1 AND [수리완료일] IS NULL) OR ([수리완료일] = @Original_수리완료일)) AND ((@IsNull_완료월 = 1 AND [완료월] IS NULL) OR ([완료월] = @Original_완료월)) AND ((@IsNull_Status = 1 AND [Status] IS NULL) OR ([Status] = @Original_Status)) AND ((@IsNull_분류 = 1 AND [분류] IS NULL) OR ([분류] = @Original_분류)) AND ((@IsNull_Line = 1 AND [Line] IS NULL) OR ([Line] = @Original_Line)) AND ((@IsNull_Division = 1 AND [Division] IS NULL) OR ([Division] = @Original_Division)) AND ((@IsNull_Team = 1 AND [Team] IS NULL) OR ([Team] = @Original_Team)) AND ((@IsNull_Prcess = 1 AND [Prcess] IS NULL) OR ([Prcess] = @Original_Prcess)) AND ((@IsNull_Model = 1 AND [Model] IS NULL) OR ([Model] = @Original_Model)) AND ((@IsNull_BoardName = 1 AND [BoardName] IS NULL) OR ([BoardName] = @Original_BoardName)) AND ((@IsNull_SN = 1 AND [SN] IS NULL) OR ([SN] = @Original_SN)) AND ((@IsNull_QTY = 1 AND [QTY] IS NULL) OR ([QTY] = @Original_QTY)) AND ((@IsNull_NPrice = 1 AND [NPrice] IS NULL) OR ([NPrice] = @Original_NPrice)) AND ((@IsNull_OPrice = 1 AND [OPrice] IS NULL) OR ([OPrice] = @Original_OPrice)) AND ((@IsNull_RepairCost = 1 AND [RepairCost] IS NULL) OR ([RepairCost] = @Original_RepairCost)) AND ((@IsNull_CostReduction = 1 AND [CostReduction] IS NULL) OR ([CostReduction] = @Original_CostReduction)) AND ((@IsNull_자체외주 = 1 AND [자체외주] IS NULL) OR ([자체외주] = @Original_자체외주)) AND ((@IsNull_외주업체 = 1 AND [외주업체] IS NULL) OR ([외주업체] = @Original_외주업체)) AND ((@IsNull_RepairTime = 1 AND [RepairTime] IS NULL) OR ([RepairTime] = @Original_RepairTime)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [EETGW_JobReport_EBoard] ([gcode], [pdate], [uid], [요청자], [수리완료일], [완료월], [Status], [분류], [Line], [Division], [Team], [Prcess], [Model], [BoardName], [증상조치], [SN], [QTY], [NPrice], [OPrice], [RepairCost], [CostReduction], [자체외주], [외주업체], [RepairTime], [import], [wuid], [wdate], [증상조치2]) VALUES (@gcode, @pdate, @uid, @요청자, @수리완료일, @완료월, @Status, @분류, @Line, @Division, @Team, @Prcess, @Model, @BoardName, @증상조치, @SN, @QTY, @NPrice, @OPrice, @RepairCost, @CostReduction, @자체외주, @외주업체, @RepairTime, @import, @wuid, @wdate, @증상조치2); +SELECT idx, gcode, pdate, uid, 요청자, 수리완료일, 완료월, Status, 분류, Line, Division, Team, Prcess, Model, BoardName, 증상조치, SN, QTY, NPrice, OPrice, RepairCost, CostReduction, 자체외주, 외주업체, RepairTime, import, wuid, wdate, dbo.getUserName(uid) AS username, dbo.getWorkWeek(pdate) AS ww, 증상조치2 FROM EETGW_JobReport_EBoard WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT idx, gcode, pdate, uid, 요청자, 수리완료일, 완료월, Status, 분류, Line, Division, Team, Prcess, Model, BoardName, 증상조치, SN, QTY, NPrice, OPrice, RepairCost, CostReduction, + 자체외주, 외주업체, RepairTime, import, wuid, wdate, dbo.getUserName(uid) AS username, dbo.getWorkWeek(pdate) AS ww, 증상조치2 +FROM EETGW_JobReport_EBoard +WHERE (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (uid LIKE @uid) +ORDER BY pdate DESC + + + + + + + + + + + UPDATE [EETGW_JobReport_EBoard] SET [gcode] = @gcode, [pdate] = @pdate, [uid] = @uid, [요청자] = @요청자, [수리완료일] = @수리완료일, [완료월] = @완료월, [Status] = @Status, [분류] = @분류, [Line] = @Line, [Division] = @Division, [Team] = @Team, [Prcess] = @Prcess, [Model] = @Model, [BoardName] = @BoardName, [증상조치] = @증상조치, [SN] = @SN, [QTY] = @QTY, [NPrice] = @NPrice, [OPrice] = @OPrice, [RepairCost] = @RepairCost, [CostReduction] = @CostReduction, [자체외주] = @자체외주, [외주업체] = @외주업체, [RepairTime] = @RepairTime, [import] = @import, [wuid] = @wuid, [wdate] = @wdate, [증상조치2] = @증상조치2 WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_요청자 = 1 AND [요청자] IS NULL) OR ([요청자] = @Original_요청자)) AND ((@IsNull_수리완료일 = 1 AND [수리완료일] IS NULL) OR ([수리완료일] = @Original_수리완료일)) AND ((@IsNull_완료월 = 1 AND [완료월] IS NULL) OR ([완료월] = @Original_완료월)) AND ((@IsNull_Status = 1 AND [Status] IS NULL) OR ([Status] = @Original_Status)) AND ((@IsNull_분류 = 1 AND [분류] IS NULL) OR ([분류] = @Original_분류)) AND ((@IsNull_Line = 1 AND [Line] IS NULL) OR ([Line] = @Original_Line)) AND ((@IsNull_Division = 1 AND [Division] IS NULL) OR ([Division] = @Original_Division)) AND ((@IsNull_Team = 1 AND [Team] IS NULL) OR ([Team] = @Original_Team)) AND ((@IsNull_Prcess = 1 AND [Prcess] IS NULL) OR ([Prcess] = @Original_Prcess)) AND ((@IsNull_Model = 1 AND [Model] IS NULL) OR ([Model] = @Original_Model)) AND ((@IsNull_BoardName = 1 AND [BoardName] IS NULL) OR ([BoardName] = @Original_BoardName)) AND ((@IsNull_SN = 1 AND [SN] IS NULL) OR ([SN] = @Original_SN)) AND ((@IsNull_QTY = 1 AND [QTY] IS NULL) OR ([QTY] = @Original_QTY)) AND ((@IsNull_NPrice = 1 AND [NPrice] IS NULL) OR ([NPrice] = @Original_NPrice)) AND ((@IsNull_OPrice = 1 AND [OPrice] IS NULL) OR ([OPrice] = @Original_OPrice)) AND ((@IsNull_RepairCost = 1 AND [RepairCost] IS NULL) OR ([RepairCost] = @Original_RepairCost)) AND ((@IsNull_CostReduction = 1 AND [CostReduction] IS NULL) OR ([CostReduction] = @Original_CostReduction)) AND ((@IsNull_자체외주 = 1 AND [자체외주] IS NULL) OR ([자체외주] = @Original_자체외주)) AND ((@IsNull_외주업체 = 1 AND [외주업체] IS NULL) OR ([외주업체] = @Original_외주업체)) AND ((@IsNull_RepairTime = 1 AND [RepairTime] IS NULL) OR ([RepairTime] = @Original_RepairTime)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)); +SELECT idx, gcode, pdate, uid, 요청자, 수리완료일, 완료월, Status, 분류, Line, Division, Team, Prcess, Model, BoardName, 증상조치, SN, QTY, NPrice, OPrice, RepairCost, CostReduction, 자체외주, 외주업체, RepairTime, import, wuid, wdate, dbo.getUserName(uid) AS username, dbo.getWorkWeek(pdate) AS ww, 증상조치2 FROM EETGW_JobReport_EBoard WHERE (idx = @idx) ORDER BY pdate DESC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [EETGW_JobReport_AutoInput] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_requestpart = 1 AND [requestpart] IS NULL) OR ([requestpart] = @Original_requestpart)) AND ((@IsNull_package = 1 AND [package] IS NULL) OR ([package] = @Original_package)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_hrs = 1 AND [hrs] IS NULL) OR ([hrs] = @Original_hrs)) AND ((@IsNull_ot = 1 AND [ot] IS NULL) OR ([ot] = @Original_ot)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_tag = 1 AND [tag] IS NULL) OR ([tag] = @Original_tag)) AND ((@IsNull_autoinput = 1 AND [autoinput] IS NULL) OR ([autoinput] = @Original_autoinput)) AND ((@IsNull_enable = 1 AND [enable] IS NULL) OR ([enable] = @Original_enable))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [EETGW_JobReport_AutoInput] ([gcode], [pdate], [pidx], [projectName], [uid], [requestpart], [package], [status], [type], [process], [description], [remark], [hrs], [ot], [import], [wuid], [wdate], [description2], [tag], [autoinput], [enable]) VALUES (@gcode, @pdate, @pidx, @projectName, @uid, @requestpart, @package, @status, @type, @process, @description, @remark, @hrs, @ot, @import, @wuid, @wdate, @description2, @tag, @autoinput, @enable); +SELECT idx, gcode, pdate, pidx, projectName, uid, requestpart, package, status, type, process, description, remark, hrs, ot, import, wuid, wdate, description2, tag, autoinput, enable FROM EETGW_JobReport_AutoInput WHERE (idx = SCOPE_IDENTITY()) + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT idx, gcode, pdate, pidx, projectName, uid, requestpart, package, status, type, process, description, remark, hrs, ot, import, wuid, wdate, description2, tag, autoinput, enable, + dbo.getUserName(uid) AS username, dbo.getWorkWeek(pdate) AS ww +FROM EETGW_JobReport_AutoInput +WHERE (gcode = @gcode) + + + + + + + + UPDATE [EETGW_JobReport_AutoInput] SET [gcode] = @gcode, [pdate] = @pdate, [pidx] = @pidx, [projectName] = @projectName, [uid] = @uid, [requestpart] = @requestpart, [package] = @package, [status] = @status, [type] = @type, [process] = @process, [description] = @description, [remark] = @remark, [hrs] = @hrs, [ot] = @ot, [import] = @import, [wuid] = @wuid, [wdate] = @wdate, [description2] = @description2, [tag] = @tag, [autoinput] = @autoinput, [enable] = @enable WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_requestpart = 1 AND [requestpart] IS NULL) OR ([requestpart] = @Original_requestpart)) AND ((@IsNull_package = 1 AND [package] IS NULL) OR ([package] = @Original_package)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_hrs = 1 AND [hrs] IS NULL) OR ([hrs] = @Original_hrs)) AND ((@IsNull_ot = 1 AND [ot] IS NULL) OR ([ot] = @Original_ot)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_tag = 1 AND [tag] IS NULL) OR ([tag] = @Original_tag)) AND ((@IsNull_autoinput = 1 AND [autoinput] IS NULL) OR ([autoinput] = @Original_autoinput)) AND ((@IsNull_enable = 1 AND [enable] IS NULL) OR ([enable] = @Original_enable))); +SELECT idx, gcode, pdate, pidx, projectName, uid, requestpart, package, status, type, process, description, remark, hrs, ot, import, wuid, wdate, description2, tag, autoinput, enable FROM EETGW_JobReport_AutoInput WHERE (idx = @idx) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1891,7 +2381,7 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so - + @@ -1997,6 +2487,7 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so + @@ -2114,7 +2605,7 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so - + @@ -2158,7 +2649,7 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so - + @@ -2203,7 +2694,7 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so - + @@ -2314,10 +2805,11 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so + - + @@ -2442,7 +2934,7 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so - + @@ -2476,7 +2968,7 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so - + @@ -2514,7 +3006,7 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so - + @@ -2630,7 +3122,7 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so - + @@ -2681,7 +3173,7 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so - + @@ -2694,7 +3186,7 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so - + @@ -2820,52 +3312,52 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so - + - + - + - + - + - + - + - + @@ -2874,100 +3366,100 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so - - + + - + - + - + - + - + - - + + - - + + - + - + - - - - - - - + + + + + + + - + - + @@ -2975,22 +3467,22 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so - - + + - - - - + + + + - + @@ -3035,7 +3527,7 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so - + @@ -3103,6 +3595,307 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3161,5 +3954,13 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so + + + + + + + + \ No newline at end of file diff --git a/SubProject/FPJ0000/dsPRJ.xss b/SubProject/FPJ0000/dsPRJ.xss index 3860d52..098d007 100644 --- a/SubProject/FPJ0000/dsPRJ.xss +++ b/SubProject/FPJ0000/dsPRJ.xss @@ -4,23 +4,25 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + \ No newline at end of file