레이아우슾로토 적용
This commit is contained in:
		| @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; | ||||
| // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 | ||||
| // 지정되도록 할 수 있습니다. | ||||
| // [assembly: AssemblyVersion("1.0.*")] | ||||
| [assembly: AssemblyVersion("21.05.12.1430")] | ||||
| [assembly: AssemblyFileVersion("21.05.12.1430")] | ||||
| [assembly: AssemblyVersion("21.05.22.1350")] | ||||
| [assembly: AssemblyFileVersion("21.05.22.1350")] | ||||
|   | ||||
| @@ -264,7 +264,7 @@ namespace FCM0000 | ||||
|                         else | ||||
|                         { | ||||
|                             //검색을 실행해서 보여준다. | ||||
|                             var SearchDT = this.taPrj.GetSearch("%" + inputtext + "%",FCOMMON.info.Login.gcode); | ||||
|                             var SearchDT = this.taPrj.GetSearch("%" + inputtext + "%",FCOMMON.info.Login.gcode,"%"); | ||||
|                             if (SearchDT == null || SearchDT.Rows.Count < 1) | ||||
|                             { | ||||
|                                 FCOMMON.Util.MsgE("검색 결과가 없습니다."); | ||||
| @@ -273,7 +273,7 @@ namespace FCM0000 | ||||
|                             else | ||||
|                             { | ||||
|                                 //검색된 결과를 표시해서 보여준다. | ||||
|                                 var f = new fLovProject("%" + inputtext + "%"); | ||||
|                                 var f = new fLovProject("%" + inputtext + "%","%"); | ||||
|                                 if(f.ShowDialog() == System.Windows.Forms.DialogResult.OK) | ||||
|                                 { | ||||
|                                     dv1.Rows[e.RowIndex].Cells["dvc_project"].Value = f.Index; | ||||
|   | ||||
| @@ -179,7 +179,7 @@ namespace FCM0000 | ||||
|         { | ||||
|             if (search != "" || allowAll == true) | ||||
|             { | ||||
|                 var f = new FCM0000.fLovProject(search); | ||||
|                 var f = new FCM0000.fLovProject(search,"%"); | ||||
|                 if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) | ||||
|                 { | ||||
|                     this.tbProject.Text = f.Title; | ||||
|   | ||||
							
								
								
									
										832
									
								
								SubProject/FCM0000/dsMSSQL.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										832
									
								
								SubProject/FCM0000/dsMSSQL.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -4144,6 +4144,14 @@ namespace FCM0000 { | ||||
|              | ||||
|             private global::System.Data.DataColumn columngcode; | ||||
|              | ||||
|             private global::System.Data.DataColumn columnisdel; | ||||
|              | ||||
|             private global::System.Data.DataColumn columncategory; | ||||
|              | ||||
|             private global::System.Data.DataColumn columnuserManager; | ||||
|              | ||||
|             private global::System.Data.DataColumn columnorderno; | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public ProjectsDataTable() { | ||||
| @@ -4297,6 +4305,38 @@ namespace FCM0000 { | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public global::System.Data.DataColumn isdelColumn { | ||||
|                 get { | ||||
|                     return this.columnisdel; | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public global::System.Data.DataColumn categoryColumn { | ||||
|                 get { | ||||
|                     return this.columncategory; | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public global::System.Data.DataColumn userManagerColumn { | ||||
|                 get { | ||||
|                     return this.columnuserManager; | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public global::System.Data.DataColumn ordernoColumn { | ||||
|                 get { | ||||
|                     return this.columnorderno; | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             [global::System.ComponentModel.Browsable(false)] | ||||
| @@ -4334,7 +4374,25 @@ namespace FCM0000 { | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public ProjectsRow AddProjectsRow(string ddate, string edate, string memo, string name, string odate, string part, string pdate, string process, string reqstaff, string sdate, string status, System.DateTime wdate, string wuid, string gcode) { | ||||
|             public ProjectsRow AddProjectsRow( | ||||
|                         string ddate,  | ||||
|                         string edate,  | ||||
|                         string memo,  | ||||
|                         string name,  | ||||
|                         string odate,  | ||||
|                         string part,  | ||||
|                         string pdate,  | ||||
|                         string process,  | ||||
|                         string reqstaff,  | ||||
|                         string sdate,  | ||||
|                         string status,  | ||||
|                         System.DateTime wdate,  | ||||
|                         string wuid,  | ||||
|                         string gcode,  | ||||
|                         bool isdel,  | ||||
|                         string category,  | ||||
|                         string userManager,  | ||||
|                         string orderno) { | ||||
|                 ProjectsRow rowProjectsRow = ((ProjectsRow)(this.NewRow())); | ||||
|                 object[] columnValuesArray = new object[] { | ||||
|                         ddate, | ||||
| @@ -4351,7 +4409,11 @@ namespace FCM0000 { | ||||
|                         status, | ||||
|                         wdate, | ||||
|                         wuid, | ||||
|                         gcode}; | ||||
|                         gcode, | ||||
|                         isdel, | ||||
|                         category, | ||||
|                         userManager, | ||||
|                         orderno}; | ||||
|                 rowProjectsRow.ItemArray = columnValuesArray; | ||||
|                 this.Rows.Add(rowProjectsRow); | ||||
|                 return rowProjectsRow; | ||||
| @@ -4396,6 +4458,10 @@ namespace FCM0000 { | ||||
|                 this.columnwdate = base.Columns["wdate"]; | ||||
|                 this.columnwuid = base.Columns["wuid"]; | ||||
|                 this.columngcode = base.Columns["gcode"]; | ||||
|                 this.columnisdel = base.Columns["isdel"]; | ||||
|                 this.columncategory = base.Columns["category"]; | ||||
|                 this.columnuserManager = base.Columns["userManager"]; | ||||
|                 this.columnorderno = base.Columns["orderno"]; | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
| @@ -4431,6 +4497,14 @@ namespace FCM0000 { | ||||
|                 base.Columns.Add(this.columnwuid); | ||||
|                 this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element); | ||||
|                 base.Columns.Add(this.columngcode); | ||||
|                 this.columnisdel = new global::System.Data.DataColumn("isdel", typeof(bool), null, global::System.Data.MappingType.Element); | ||||
|                 base.Columns.Add(this.columnisdel); | ||||
|                 this.columncategory = new global::System.Data.DataColumn("category", typeof(string), null, global::System.Data.MappingType.Element); | ||||
|                 base.Columns.Add(this.columncategory); | ||||
|                 this.columnuserManager = new global::System.Data.DataColumn("userManager", typeof(string), null, global::System.Data.MappingType.Element); | ||||
|                 base.Columns.Add(this.columnuserManager); | ||||
|                 this.columnorderno = new global::System.Data.DataColumn("orderno", typeof(string), null, global::System.Data.MappingType.Element); | ||||
|                 base.Columns.Add(this.columnorderno); | ||||
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { | ||||
|                                 this.columnidx}, true)); | ||||
|                 this.columnddate.MaxLength = 50; | ||||
| @@ -4455,6 +4529,9 @@ namespace FCM0000 { | ||||
|                 this.columnwuid.MaxLength = 20; | ||||
|                 this.columngcode.AllowDBNull = false; | ||||
|                 this.columngcode.MaxLength = 10; | ||||
|                 this.columncategory.MaxLength = 50; | ||||
|                 this.columnuserManager.MaxLength = 50; | ||||
|                 this.columnorderno.MaxLength = 50; | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
| @@ -8565,6 +8642,70 @@ namespace FCM0000 { | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public bool isdel { | ||||
|                 get { | ||||
|                     try { | ||||
|                         return ((bool)(this[this.tableProjects.isdelColumn])); | ||||
|                     } | ||||
|                     catch (global::System.InvalidCastException e) { | ||||
|                         throw new global::System.Data.StrongTypingException("\'Projects\' 테이블의 \'isdel\' 열의 값이 DBNull입니다.", e); | ||||
|                     } | ||||
|                 } | ||||
|                 set { | ||||
|                     this[this.tableProjects.isdelColumn] = value; | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public string category { | ||||
|                 get { | ||||
|                     if (this.IscategoryNull()) { | ||||
|                         return string.Empty; | ||||
|                     } | ||||
|                     else { | ||||
|                         return ((string)(this[this.tableProjects.categoryColumn])); | ||||
|                     } | ||||
|                 } | ||||
|                 set { | ||||
|                     this[this.tableProjects.categoryColumn] = value; | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public string userManager { | ||||
|                 get { | ||||
|                     if (this.IsuserManagerNull()) { | ||||
|                         return string.Empty; | ||||
|                     } | ||||
|                     else { | ||||
|                         return ((string)(this[this.tableProjects.userManagerColumn])); | ||||
|                     } | ||||
|                 } | ||||
|                 set { | ||||
|                     this[this.tableProjects.userManagerColumn] = value; | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public string orderno { | ||||
|                 get { | ||||
|                     if (this.IsordernoNull()) { | ||||
|                         return string.Empty; | ||||
|                     } | ||||
|                     else { | ||||
|                         return ((string)(this[this.tableProjects.ordernoColumn])); | ||||
|                     } | ||||
|                 } | ||||
|                 set { | ||||
|                     this[this.tableProjects.ordernoColumn] = value; | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public bool IsddateNull() { | ||||
| @@ -8696,6 +8837,54 @@ namespace FCM0000 { | ||||
|             public void SetstatusNull() { | ||||
|                 this[this.tableProjects.statusColumn] = global::System.Convert.DBNull; | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public bool IsisdelNull() { | ||||
|                 return this.IsNull(this.tableProjects.isdelColumn); | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public void SetisdelNull() { | ||||
|                 this[this.tableProjects.isdelColumn] = global::System.Convert.DBNull; | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public bool IscategoryNull() { | ||||
|                 return this.IsNull(this.tableProjects.categoryColumn); | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public void SetcategoryNull() { | ||||
|                 this[this.tableProjects.categoryColumn] = global::System.Convert.DBNull; | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public bool IsuserManagerNull() { | ||||
|                 return this.IsNull(this.tableProjects.userManagerColumn); | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public void SetuserManagerNull() { | ||||
|                 this[this.tableProjects.userManagerColumn] = global::System.Convert.DBNull; | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public bool IsordernoNull() { | ||||
|                 return this.IsNull(this.tableProjects.ordernoColumn); | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] | ||||
|             public void SetordernoNull() { | ||||
|                 this[this.tableProjects.ordernoColumn] = global::System.Convert.DBNull; | ||||
|             } | ||||
|         } | ||||
|          | ||||
|         /// <summary> | ||||
| @@ -15537,57 +15726,152 @@ ORDER BY pdate DESC"; | ||||
|             tableMapping.ColumnMappings.Add("wdate", "wdate"); | ||||
|             tableMapping.ColumnMappings.Add("wuid", "wuid"); | ||||
|             tableMapping.ColumnMappings.Add("gcode", "gcode"); | ||||
|             tableMapping.ColumnMappings.Add("isdel", "isdel"); | ||||
|             tableMapping.ColumnMappings.Add("category", "category"); | ||||
|             tableMapping.ColumnMappings.Add("userManager", "userManager"); | ||||
|             tableMapping.ColumnMappings.Add("orderno", "orderno"); | ||||
|             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 Projects\r\nWHERE  (idx = @Original_idx)"; | ||||
|             this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Projects] WHERE (((@IsNull_ddate = 1 AND [ddate] IS NULL) OR ([ddate] = @Original_ddate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ([idx] = @Original_idx) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_odate = 1 AND [odate] IS NULL) OR ([odate] = @Original_odate)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_reqstaff = 1 AND [reqstaff] IS NULL) OR ([reqstaff] = @Original_reqstaff)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ([wdate] = @Original_wdate) AND ([wuid] = @Original_wuid) AND ([gcode] = @Original_gcode) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_category = 1 AND [category] IS NULL) OR ([category] = @Original_category)) AND ((@IsNull_userManager = 1 AND [userManager] IS NULL) OR ([userManager] = @Original_userManager)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)))"; | ||||
|             this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ddate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ddate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_name", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_odate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_odate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_part", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_part", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", 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_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_reqstaff", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_reqstaff", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", 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("@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("@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_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_isdel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_category", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_category", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_userManager", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_userManager", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_orderno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_orderno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", 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 Projects
 | ||||
|                (ddate, edate, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid, gcode) | ||||
| VALUES  (@ddate,@edate,@memo,@name,@odate,@part,@pdate,@process,@reqstaff,@sdate,@status,@wdate,@wuid,@gcode);  | ||||
| SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid FROM Projects WHERE (idx = SCOPE_IDENTITY())";
 | ||||
|             this._adapter.InsertCommand.CommandText = @"INSERT INTO [Projects] ([ddate], [edate], [memo], [name], [odate], [part], [pdate], [process], [reqstaff], [sdate], [status], [wdate], [wuid], [gcode], [isdel], [category], [userManager], [orderno]) VALUES (@ddate, @edate, @memo, @name, @odate, @part, @pdate, @process, @reqstaff, @sdate, @status, @wdate, @wuid, @gcode, @isdel, @category, @userManager, @orderno);
 | ||||
| SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid, gcode, isdel, category, userManager, orderno FROM Projects WHERE (idx = SCOPE_IDENTITY())";
 | ||||
|             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ddate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "edate", 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("@name", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@odate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@part", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 50, 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("@reqstaff", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sdate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 50, 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("@wdate", global::System.Data.SqlDbType.DateTime, 8, 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("@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("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ddate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", 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("@name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@odate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@part", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", 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("@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("@reqstaff", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", 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("@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("@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("@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("@isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@category", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userManager", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); | ||||
|             this._adapter.UpdateCommand.Connection = this.Connection; | ||||
|             this._adapter.UpdateCommand.CommandText = @"UPDATE Projects
 | ||||
| SET        ddate = @ddate, edate = @edate, memo = @memo, name = @name, odate = @odate, part = @part, pdate = @pdate, process = @process, reqstaff = @reqstaff, sdate = @sdate,  | ||||
|                status = @status, wdate = @wdate, wuid = @wuid, gcode = @gcode | ||||
| WHERE  (idx = @Original_idx);  | ||||
| SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid, gcode FROM Projects WHERE (idx = @idx)";
 | ||||
|             this._adapter.UpdateCommand.CommandText = "UPDATE [Projects] SET [ddate] = @ddate, [edate] = @edate, [memo] = @memo, [name] " + | ||||
|                 "= @name, [odate] = @odate, [part] = @part, [pdate] = @pdate, [process] = @proces" + | ||||
|                 "s, [reqstaff] = @reqstaff, [sdate] = @sdate, [status] = @status, [wdate] = @wdat" + | ||||
|                 "e, [wuid] = @wuid, [gcode] = @gcode, [isdel] = @isdel, [category] = @category, [" + | ||||
|                 "userManager] = @userManager, [orderno] = @orderno WHERE (((@IsNull_ddate = 1 AND" + | ||||
|                 " [ddate] IS NULL) OR ([ddate] = @Original_ddate)) AND ((@IsNull_edate = 1 AND [e" + | ||||
|                 "date] IS NULL) OR ([edate] = @Original_edate)) AND ([idx] = @Original_idx) AND (" + | ||||
|                 "(@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNul" + | ||||
|                 "l_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_odate" + | ||||
|                 " = 1 AND [odate] IS NULL) OR ([odate] = @Original_odate)) AND ((@IsNull_part = 1" + | ||||
|                 " AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_pdate = 1 AND [" + | ||||
|                 "pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_process = 1 AND [p" + | ||||
|                 "rocess] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_reqstaff = 1 " + | ||||
|                 "AND [reqstaff] IS NULL) OR ([reqstaff] = @Original_reqstaff)) AND ((@IsNull_sdat" + | ||||
|                 "e = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_status " + | ||||
|                 "= 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ([wdate] = @Orig" + | ||||
|                 "inal_wdate) AND ([wuid] = @Original_wuid) AND ([gcode] = @Original_gcode) AND ((" + | ||||
|                 "@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@Is" + | ||||
|                 "Null_category = 1 AND [category] IS NULL) OR ([category] = @Original_category)) " + | ||||
|                 "AND ((@IsNull_userManager = 1 AND [userManager] IS NULL) OR ([userManager] = @Or" + | ||||
|                 "iginal_userManager)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([order" + | ||||
|                 "no] = @Original_orderno)));\r\nSELECT ddate, edate, idx, memo, name, odate, part, " + | ||||
|                 "pdate, process, reqstaff, sdate, status, wdate, wuid, gcode, isdel, category, us" + | ||||
|                 "erManager, orderno FROM Projects WHERE (idx = @idx)"; | ||||
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ddate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "edate", 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("@name", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@odate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@part", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 50, 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("@reqstaff", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sdate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 50, 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("@wdate", global::System.Data.SqlDbType.DateTime, 8, 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("@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("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@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("@ddate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", 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("@name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@odate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@part", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", 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("@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("@reqstaff", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", 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("@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("@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("@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("@isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@category", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userManager", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ddate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ddate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 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_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("@IsNull_name", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_odate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_odate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_part", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_part", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", 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_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_reqstaff", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_reqstaff", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", 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("@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("@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_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_isdel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_category", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_category", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_userManager", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_userManager", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_orderno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); | ||||
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_orderno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", 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()] | ||||
| @@ -15603,19 +15887,25 @@ SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sda | ||||
|             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  ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sda" + | ||||
|                 "te, status, wdate, wuid, gcode\r\nFROM     Projects\r\nWHERE  (idx = @idx)"; | ||||
|             this._commandCollection[0].CommandText = @"SELECT  ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid, gcode, isdel, category, userManager, orderno
 | ||||
| FROM     Projects | ||||
| WHERE  (idx = @idx) | ||||
| ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN '1' WHEN ([status] = '보류') THEN '2' WHEN ([status] = '완료') THEN '3' WHEN ([status] = '취소')  | ||||
|                THEN '9' ELSE '5' END)";
 | ||||
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; | ||||
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); | ||||
|             this._commandCollection[1].Connection = this.Connection; | ||||
|             this._commandCollection[1].CommandText = "SELECT ddate, edate, gcode, idx, memo, name, odate, part, pdate, process, reqstaf" + | ||||
|                 "f, sdate, status, wdate, wuid FROM Projects WHERE (ISNULL(name, N\'\') LIKE @searc" + | ||||
|                 "h OR ISNULL(memo, N\'\') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gc" + | ||||
|                 "ode)"; | ||||
|             this._commandCollection[1].CommandText = @"SELECT  ddate, edate, gcode, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid, isdel, category, userManager, orderno, crdue
 | ||||
| FROM     Projects | ||||
| WHERE  (ISNULL(name, N'') LIKE @search OR | ||||
|                ISNULL(memo, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) AND (status LIKE @search2) | ||||
| ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN '1' WHEN ([status] = '보류') THEN '2' WHEN ([status] = '완료') THEN '3' WHEN ([status] = '취소')  | ||||
|                THEN '9' ELSE '5' END)";
 | ||||
|             this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; | ||||
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._commandCollection[1].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].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|         } | ||||
|          | ||||
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
| @@ -15648,7 +15938,7 @@ SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sda | ||||
|         [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, false)] | ||||
|         public virtual int FillSearch(dsMSSQL.ProjectsDataTable dataTable, string search, string gcode) { | ||||
|         public virtual int FillSearch(dsMSSQL.ProjectsDataTable dataTable, string search, string gcode, string search2) { | ||||
|             this.Adapter.SelectCommand = this.CommandCollection[1]; | ||||
|             if ((search == null)) { | ||||
|                 throw new global::System.ArgumentNullException("search"); | ||||
| @@ -15662,6 +15952,12 @@ SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sda | ||||
|             else { | ||||
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode)); | ||||
|             } | ||||
|             if ((search2 == null)) { | ||||
|                 this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.SelectCommand.Parameters[2].Value = ((string)(search2)); | ||||
|             } | ||||
|             if ((this.ClearBeforeFill == true)) { | ||||
|                 dataTable.Clear(); | ||||
|             } | ||||
| @@ -15673,7 +15969,7 @@ SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sda | ||||
|         [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, false)] | ||||
|         public virtual dsMSSQL.ProjectsDataTable GetSearch(string search, string gcode) { | ||||
|         public virtual dsMSSQL.ProjectsDataTable GetSearch(string search, string gcode, string search2) { | ||||
|             this.Adapter.SelectCommand = this.CommandCollection[1]; | ||||
|             if ((search == null)) { | ||||
|                 throw new global::System.ArgumentNullException("search"); | ||||
| @@ -15687,6 +15983,12 @@ SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sda | ||||
|             else { | ||||
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode)); | ||||
|             } | ||||
|             if ((search2 == null)) { | ||||
|                 this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.SelectCommand.Parameters[2].Value = ((string)(search2)); | ||||
|             } | ||||
|             dsMSSQL.ProjectsDataTable dataTable = new dsMSSQL.ProjectsDataTable(); | ||||
|             this.Adapter.Fill(dataTable); | ||||
|             return dataTable; | ||||
| @@ -15725,8 +16027,160 @@ SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sda | ||||
|         [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) { | ||||
|             this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); | ||||
|         public virtual int Delete( | ||||
|                     string Original_ddate,  | ||||
|                     string Original_edate,  | ||||
|                     int Original_idx,  | ||||
|                     string Original_memo,  | ||||
|                     string Original_name,  | ||||
|                     string Original_odate,  | ||||
|                     string Original_part,  | ||||
|                     string Original_pdate,  | ||||
|                     string Original_process,  | ||||
|                     string Original_reqstaff,  | ||||
|                     string Original_sdate,  | ||||
|                     string Original_status,  | ||||
|                     System.DateTime Original_wdate,  | ||||
|                     string Original_wuid,  | ||||
|                     string Original_gcode,  | ||||
|                     global::System.Nullable<bool> Original_isdel,  | ||||
|                     string Original_category,  | ||||
|                     string Original_userManager,  | ||||
|                     string Original_orderno) { | ||||
|             if ((Original_ddate == null)) { | ||||
|                 this.Adapter.DeleteCommand.Parameters[0].Value = ((object)(1)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[1].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.DeleteCommand.Parameters[0].Value = ((object)(0)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_ddate)); | ||||
|             } | ||||
|             if ((Original_edate == 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_edate)); | ||||
|             } | ||||
|             this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_idx)); | ||||
|             if ((Original_memo == null)) { | ||||
|                 this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_memo)); | ||||
|             } | ||||
|             if ((Original_name == null)) { | ||||
|                 this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_name)); | ||||
|             } | ||||
|             if ((Original_odate == null)) { | ||||
|                 this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_odate)); | ||||
|             } | ||||
|             if ((Original_part == 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_part)); | ||||
|             } | ||||
|             if ((Original_pdate == null)) { | ||||
|                 this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_pdate)); | ||||
|             } | ||||
|             if ((Original_process == null)) { | ||||
|                 this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_process)); | ||||
|             } | ||||
|             if ((Original_reqstaff == null)) { | ||||
|                 this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_reqstaff)); | ||||
|             } | ||||
|             if ((Original_sdate == null)) { | ||||
|                 this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_sdate)); | ||||
|             } | ||||
|             if ((Original_status == null)) { | ||||
|                 this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_status)); | ||||
|             } | ||||
|             this.Adapter.DeleteCommand.Parameters[23].Value = ((System.DateTime)(Original_wdate)); | ||||
|             if ((Original_wuid == null)) { | ||||
|                 throw new global::System.ArgumentNullException("Original_wuid"); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.DeleteCommand.Parameters[24].Value = ((string)(Original_wuid)); | ||||
|             } | ||||
|             if ((Original_gcode == null)) { | ||||
|                 throw new global::System.ArgumentNullException("Original_gcode"); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.DeleteCommand.Parameters[25].Value = ((string)(Original_gcode)); | ||||
|             } | ||||
|             if ((Original_isdel.HasValue == true)) { | ||||
|                 this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(0)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[27].Value = ((bool)(Original_isdel.Value)); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(1)); | ||||
|                 this.Adapter.DeleteCommand.Parameters[27].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             if ((Original_category == 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_category)); | ||||
|             } | ||||
|             if ((Original_userManager == 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_userManager)); | ||||
|             } | ||||
|             if ((Original_orderno == 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_orderno)); | ||||
|             } | ||||
|             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)) { | ||||
| @@ -15747,7 +16201,25 @@ SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sda | ||||
|         [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 ddate, string edate, string memo, string name, string odate, string part, string pdate, string process, string reqstaff, string sdate, string status, System.DateTime wdate, string wuid, string gcode) { | ||||
|         public virtual int Insert( | ||||
|                     string ddate,  | ||||
|                     string edate,  | ||||
|                     string memo,  | ||||
|                     string name,  | ||||
|                     string odate,  | ||||
|                     string part,  | ||||
|                     string pdate,  | ||||
|                     string process,  | ||||
|                     string reqstaff,  | ||||
|                     string sdate,  | ||||
|                     string status,  | ||||
|                     System.DateTime wdate,  | ||||
|                     string wuid,  | ||||
|                     string gcode,  | ||||
|                     global::System.Nullable<bool> isdel,  | ||||
|                     string category,  | ||||
|                     string userManager,  | ||||
|                     string orderno) { | ||||
|             if ((ddate == null)) { | ||||
|                 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; | ||||
|             } | ||||
| @@ -15827,6 +16299,30 @@ SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sda | ||||
|             else { | ||||
|                 this.Adapter.InsertCommand.Parameters[13].Value = ((string)(gcode)); | ||||
|             } | ||||
|             if ((isdel.HasValue == true)) { | ||||
|                 this.Adapter.InsertCommand.Parameters[14].Value = ((bool)(isdel.Value)); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             if ((category == null)) { | ||||
|                 this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.InsertCommand.Parameters[15].Value = ((string)(category)); | ||||
|             } | ||||
|             if ((userManager == null)) { | ||||
|                 this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.InsertCommand.Parameters[16].Value = ((string)(userManager)); | ||||
|             } | ||||
|             if ((orderno == null)) { | ||||
|                 this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.InsertCommand.Parameters[17].Value = ((string)(orderno)); | ||||
|             } | ||||
|             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)) { | ||||
| @@ -15862,7 +16358,29 @@ SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sda | ||||
|                     System.DateTime wdate,  | ||||
|                     string wuid,  | ||||
|                     string gcode,  | ||||
|                     global::System.Nullable<bool> isdel,  | ||||
|                     string category,  | ||||
|                     string userManager,  | ||||
|                     string orderno,  | ||||
|                     string Original_ddate,  | ||||
|                     string Original_edate,  | ||||
|                     int Original_idx,  | ||||
|                     string Original_memo,  | ||||
|                     string Original_name,  | ||||
|                     string Original_odate,  | ||||
|                     string Original_part,  | ||||
|                     string Original_pdate,  | ||||
|                     string Original_process,  | ||||
|                     string Original_reqstaff,  | ||||
|                     string Original_sdate,  | ||||
|                     string Original_status,  | ||||
|                     System.DateTime Original_wdate,  | ||||
|                     string Original_wuid,  | ||||
|                     string Original_gcode,  | ||||
|                     global::System.Nullable<bool> Original_isdel,  | ||||
|                     string Original_category,  | ||||
|                     string Original_userManager,  | ||||
|                     string Original_orderno,  | ||||
|                     int idx) { | ||||
|             if ((ddate == null)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; | ||||
| @@ -15943,8 +16461,165 @@ SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sda | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(gcode)); | ||||
|             } | ||||
|             this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(Original_idx)); | ||||
|             this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(idx)); | ||||
|             if ((isdel.HasValue == true)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[14].Value = ((bool)(isdel.Value)); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             if ((category == null)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(category)); | ||||
|             } | ||||
|             if ((userManager == null)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(userManager)); | ||||
|             } | ||||
|             if ((orderno == null)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(orderno)); | ||||
|             } | ||||
|             if ((Original_ddate == null)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_ddate)); | ||||
|             } | ||||
|             if ((Original_edate == null)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_edate)); | ||||
|             } | ||||
|             this.Adapter.UpdateCommand.Parameters[22].Value = ((int)(Original_idx)); | ||||
|             if ((Original_memo == 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_memo)); | ||||
|             } | ||||
|             if ((Original_name == null)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_name)); | ||||
|             } | ||||
|             if ((Original_odate == 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_odate)); | ||||
|             } | ||||
|             if ((Original_part == 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_part)); | ||||
|             } | ||||
|             if ((Original_pdate == null)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_pdate)); | ||||
|             } | ||||
|             if ((Original_process == 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_process)); | ||||
|             } | ||||
|             if ((Original_reqstaff == 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_reqstaff)); | ||||
|             } | ||||
|             if ((Original_sdate == 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_sdate)); | ||||
|             } | ||||
|             if ((Original_status == 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_status)); | ||||
|             } | ||||
|             this.Adapter.UpdateCommand.Parameters[41].Value = ((System.DateTime)(Original_wdate)); | ||||
|             if ((Original_wuid == null)) { | ||||
|                 throw new global::System.ArgumentNullException("Original_wuid"); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_wuid)); | ||||
|             } | ||||
|             if ((Original_gcode == null)) { | ||||
|                 throw new global::System.ArgumentNullException("Original_gcode"); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_gcode)); | ||||
|             } | ||||
|             if ((Original_isdel.HasValue == true)) { | ||||
|                 this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[45].Value = ((bool)(Original_isdel.Value)); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1)); | ||||
|                 this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             if ((Original_category == 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_category)); | ||||
|             } | ||||
|             if ((Original_userManager == 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_userManager)); | ||||
|             } | ||||
|             if ((Original_orderno == 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_orderno)); | ||||
|             } | ||||
|             this.Adapter.UpdateCommand.Parameters[52].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)) { | ||||
| @@ -15960,6 +16635,51 @@ SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sda | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|          | ||||
|         [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 ddate,  | ||||
|                     string edate,  | ||||
|                     string memo,  | ||||
|                     string name,  | ||||
|                     string odate,  | ||||
|                     string part,  | ||||
|                     string pdate,  | ||||
|                     string process,  | ||||
|                     string reqstaff,  | ||||
|                     string sdate,  | ||||
|                     string status,  | ||||
|                     System.DateTime wdate,  | ||||
|                     string wuid,  | ||||
|                     string gcode,  | ||||
|                     global::System.Nullable<bool> isdel,  | ||||
|                     string category,  | ||||
|                     string userManager,  | ||||
|                     string orderno,  | ||||
|                     string Original_ddate,  | ||||
|                     string Original_edate,  | ||||
|                     int Original_idx,  | ||||
|                     string Original_memo,  | ||||
|                     string Original_name,  | ||||
|                     string Original_odate,  | ||||
|                     string Original_part,  | ||||
|                     string Original_pdate,  | ||||
|                     string Original_process,  | ||||
|                     string Original_reqstaff,  | ||||
|                     string Original_sdate,  | ||||
|                     string Original_status,  | ||||
|                     System.DateTime Original_wdate,  | ||||
|                     string Original_wuid,  | ||||
|                     string Original_gcode,  | ||||
|                     global::System.Nullable<bool> Original_isdel,  | ||||
|                     string Original_category,  | ||||
|                     string Original_userManager,  | ||||
|                     string Original_orderno) { | ||||
|             return this.Update(ddate, edate, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid, gcode, isdel, category, userManager, orderno, Original_ddate, Original_edate, Original_idx, Original_memo, Original_name, Original_odate, Original_part, Original_pdate, Original_process, Original_reqstaff, Original_sdate, Original_status, Original_wdate, Original_wuid, Original_gcode, Original_isdel, Original_category, Original_userManager, Original_orderno, Original_idx); | ||||
|         } | ||||
|     } | ||||
|      | ||||
|     /// <summary> | ||||
|   | ||||
| @@ -1079,74 +1079,144 @@ SELECT TOP (10) idx, pdate, state, process, receive, sc, request, sid, pumname, | ||||
|           </TableAdapter> | ||||
|           <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProjectsTableAdapter" GeneratorDataComponentClassName="ProjectsTableAdapter" Name="Projects" UserDataComponentName="ProjectsTableAdapter"> | ||||
|             <MainSource> | ||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Projects" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | ||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Projects" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | ||||
|                 <DeleteCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||
|                     <CommandText>DELETE FROM Projects | ||||
| WHERE  (idx = @Original_idx)</CommandText> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>DELETE FROM [Projects] WHERE (((@IsNull_ddate = 1 AND [ddate] IS NULL) OR ([ddate] = @Original_ddate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ([idx] = @Original_idx) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_odate = 1 AND [odate] IS NULL) OR ([odate] = @Original_odate)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_reqstaff = 1 AND [reqstaff] IS NULL) OR ([reqstaff] = @Original_reqstaff)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ([wdate] = @Original_wdate) AND ([wuid] = @Original_wuid) AND ([gcode] = @Original_gcode) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_category = 1 AND [category] IS NULL) OR ([category] = @Original_category)) AND ((@IsNull_userManager = 1 AND [userManager] IS NULL) OR ([userManager] = @Original_userManager)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)))</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ddate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ddate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ddate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ddate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_edate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_odate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_odate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_part" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="part" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_part" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="part" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_process" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_reqstaff" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_status" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_isdel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="isdel" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_isdel" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_category" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="category" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_category" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="category" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_userManager" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="userManager" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_userManager" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="userManager" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_orderno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="orderno" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </DeleteCommand> | ||||
|                 <InsertCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||
|                     <CommandText>INSERT INTO Projects | ||||
|                (ddate, edate, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid, gcode) | ||||
| VALUES  (@ddate,@edate,@memo,@name,@odate,@part,@pdate,@process,@reqstaff,@sdate,@status,@wdate,@wuid,@gcode);  | ||||
| SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid FROM Projects WHERE (idx = SCOPE_IDENTITY())</CommandText> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>INSERT INTO [Projects] ([ddate], [edate], [memo], [name], [odate], [part], [pdate], [process], [reqstaff], [sdate], [status], [wdate], [wuid], [gcode], [isdel], [category], [userManager], [orderno]) VALUES (@ddate, @edate, @memo, @name, @odate, @part, @pdate, @process, @reqstaff, @sdate, @status, @wdate, @wuid, @gcode, @isdel, @category, @userManager, @orderno); | ||||
| SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid, gcode, isdel, category, userManager, orderno FROM Projects WHERE (idx = SCOPE_IDENTITY())</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="ddate" ColumnName="ddate" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ddate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ddate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="edate" ColumnName="edate" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="memo" ColumnName="memo" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="name" ColumnName="name" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="odate" ColumnName="odate" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@odate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="part" ColumnName="part" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@part" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="part" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="process" ColumnName="process" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@process" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="reqstaff" ColumnName="reqstaff" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="sdate" ColumnName="sdate" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="status" ColumnName="status" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@status" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="wuid" ColumnName="wuid" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ddate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ddate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@odate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@part" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="part" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@status" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isdel" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@category" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="category" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@userManager" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="userManager" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </InsertCommand> | ||||
|                 <SelectCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>SELECT  ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid, gcode | ||||
|                     <CommandText>SELECT  ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid, gcode, isdel, category, userManager, orderno | ||||
| FROM     Projects | ||||
| WHERE  (idx = @idx)</CommandText> | ||||
| WHERE  (idx = @idx) | ||||
| ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN '1' WHEN ([status] = '보류') THEN '2' WHEN ([status] = '완료') THEN '3' WHEN ([status] = '취소')  | ||||
|                THEN '9' ELSE '5' END)</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.Projects" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </SelectCommand> | ||||
|                 <UpdateCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||
|                     <CommandText>UPDATE Projects | ||||
| SET        ddate = @ddate, edate = @edate, memo = @memo, name = @name, odate = @odate, part = @part, pdate = @pdate, process = @process, reqstaff = @reqstaff, sdate = @sdate,  | ||||
|                status = @status, wdate = @wdate, wuid = @wuid, gcode = @gcode | ||||
| WHERE  (idx = @Original_idx);  | ||||
| SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid, gcode FROM Projects WHERE (idx = @idx)</CommandText> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>UPDATE [Projects] SET [ddate] = @ddate, [edate] = @edate, [memo] = @memo, [name] = @name, [odate] = @odate, [part] = @part, [pdate] = @pdate, [process] = @process, [reqstaff] = @reqstaff, [sdate] = @sdate, [status] = @status, [wdate] = @wdate, [wuid] = @wuid, [gcode] = @gcode, [isdel] = @isdel, [category] = @category, [userManager] = @userManager, [orderno] = @orderno WHERE (((@IsNull_ddate = 1 AND [ddate] IS NULL) OR ([ddate] = @Original_ddate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ([idx] = @Original_idx) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_odate = 1 AND [odate] IS NULL) OR ([odate] = @Original_odate)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_reqstaff = 1 AND [reqstaff] IS NULL) OR ([reqstaff] = @Original_reqstaff)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ([wdate] = @Original_wdate) AND ([wuid] = @Original_wuid) AND ([gcode] = @Original_gcode) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_category = 1 AND [category] IS NULL) OR ([category] = @Original_category)) AND ((@IsNull_userManager = 1 AND [userManager] IS NULL) OR ([userManager] = @Original_userManager)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno))); | ||||
| SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid, gcode, isdel, category, userManager, orderno FROM Projects WHERE (idx = @idx)</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="ddate" ColumnName="ddate" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ddate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ddate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="edate" ColumnName="edate" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="memo" ColumnName="memo" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="name" ColumnName="name" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="odate" ColumnName="odate" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@odate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="part" ColumnName="part" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@part" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="part" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="pdate" ColumnName="pdate" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="process" ColumnName="process" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@process" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="reqstaff" ColumnName="reqstaff" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="sdate" ColumnName="sdate" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="status" ColumnName="status" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@status" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="wuid" ColumnName="wuid" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ddate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ddate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@odate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@part" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="part" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@status" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isdel" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@category" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="category" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@userManager" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="userManager" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ddate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ddate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ddate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ddate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_edate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_edate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="edate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_odate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_odate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="odate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_part" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="part" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_part" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="part" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_process" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="process" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_reqstaff" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_reqstaff" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="reqstaff" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_status" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_isdel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="isdel" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_isdel" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isdel" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_category" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="category" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_category" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="category" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_userManager" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="userManager" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_userManager" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="userManager" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_orderno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="orderno" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_orderno" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="orderno" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </UpdateCommand> | ||||
| @@ -1168,15 +1238,25 @@ SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sda | ||||
|               <Mapping SourceColumn="wdate" DataSetColumn="wdate" /> | ||||
|               <Mapping SourceColumn="wuid" DataSetColumn="wuid" /> | ||||
|               <Mapping SourceColumn="gcode" DataSetColumn="gcode" /> | ||||
|               <Mapping SourceColumn="isdel" DataSetColumn="isdel" /> | ||||
|               <Mapping SourceColumn="category" DataSetColumn="category" /> | ||||
|               <Mapping SourceColumn="userManager" DataSetColumn="userManager" /> | ||||
|               <Mapping SourceColumn="orderno" DataSetColumn="orderno" /> | ||||
|             </Mappings> | ||||
|             <Sources> | ||||
|               <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Projects" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillSearch" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetSearch" GeneratorSourceName="FillSearch" GetMethodModifier="Public" GetMethodName="GetSearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSearch" UserSourceName="FillSearch"> | ||||
|                 <SelectCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||
|                     <CommandText>SELECT ddate, edate, gcode, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid FROM Projects WHERE (ISNULL(name, N'') LIKE @search OR ISNULL(memo, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)</CommandText> | ||||
|                     <CommandText>SELECT  ddate, edate, gcode, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid, isdel, category, userManager, orderno, crdue | ||||
| FROM     Projects | ||||
| WHERE  (ISNULL(name, N'') LIKE @search OR | ||||
|                ISNULL(memo, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) AND (status LIKE @search2) | ||||
| ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN '1' WHEN ([status] = '보류') THEN '2' WHEN ([status] = '완료') THEN '3' WHEN ([status] = '취소')  | ||||
|                THEN '9' ELSE '5' END)</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="search" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@search" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="GroupWare.dbo.Projects" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.Projects" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="search2" ColumnName="status" DataSourceName="EE.dbo.Projects" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@search2" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </SelectCommand> | ||||
| @@ -1451,7 +1531,7 @@ ORDER BY pdate</CommandText> | ||||
|   <xs:element name="dsMSSQL" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsMSSQL" msprop:Generator_UserDSName="dsMSSQL"> | ||||
|     <xs:complexType> | ||||
|       <xs:choice minOccurs="0" maxOccurs="unbounded"> | ||||
|         <xs:element name="Items" msprop:Generator_TableClassName="ItemsDataTable" msprop:Generator_TableVarName="tableItems" msprop:Generator_TablePropName="Items" msprop:Generator_RowDeletingName="ItemsRowDeleting" msprop:Generator_RowChangingName="ItemsRowChanging" msprop:Generator_RowEvHandlerName="ItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="ItemsRowDeleted" msprop:Generator_UserTableName="Items" msprop:Generator_RowChangedName="ItemsRowChanged" msprop:Generator_RowEvArgName="ItemsRowChangeEvent" msprop:Generator_RowClassName="ItemsRow"> | ||||
|         <xs:element name="Items" msprop:Generator_TableClassName="ItemsDataTable" msprop:Generator_TableVarName="tableItems" msprop:Generator_RowChangedName="ItemsRowChanged" msprop:Generator_TablePropName="Items" msprop:Generator_RowDeletingName="ItemsRowDeleting" msprop:Generator_RowChangingName="ItemsRowChanging" msprop:Generator_RowEvHandlerName="ItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="ItemsRowDeleted" msprop:Generator_RowClassName="ItemsRow" msprop:Generator_UserTableName="Items" msprop:Generator_RowEvArgName="ItemsRowChangeEvent"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
| @@ -1542,7 +1622,7 @@ ORDER BY pdate</CommandText> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="Common" msprop:Generator_TableClassName="CommonDataTable" msprop:Generator_TableVarName="tableCommon" msprop:Generator_TablePropName="Common" msprop:Generator_RowDeletingName="CommonRowDeleting" msprop:Generator_RowChangingName="CommonRowChanging" msprop:Generator_RowEvHandlerName="CommonRowChangeEventHandler" msprop:Generator_RowDeletedName="CommonRowDeleted" msprop:Generator_UserTableName="Common" msprop:Generator_RowChangedName="CommonRowChanged" msprop:Generator_RowEvArgName="CommonRowChangeEvent" msprop:Generator_RowClassName="CommonRow"> | ||||
|         <xs:element name="Common" msprop:Generator_TableClassName="CommonDataTable" msprop:Generator_TableVarName="tableCommon" msprop:Generator_RowChangedName="CommonRowChanged" msprop:Generator_TablePropName="Common" msprop:Generator_RowDeletingName="CommonRowDeleting" msprop:Generator_RowChangingName="CommonRowChanging" msprop:Generator_RowEvHandlerName="CommonRowChangeEventHandler" msprop:Generator_RowDeletedName="CommonRowDeleted" msprop:Generator_RowClassName="CommonRow" msprop:Generator_UserTableName="Common" msprop:Generator_RowEvArgName="CommonRowChangeEvent"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
| @@ -1594,7 +1674,7 @@ ORDER BY pdate</CommandText> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="Board" msprop:Generator_TableClassName="BoardDataTable" msprop:Generator_TableVarName="tableBoard" msprop:Generator_TablePropName="Board" msprop:Generator_RowDeletingName="BoardRowDeleting" msprop:Generator_RowChangingName="BoardRowChanging" msprop:Generator_RowEvHandlerName="BoardRowChangeEventHandler" msprop:Generator_RowDeletedName="BoardRowDeleted" msprop:Generator_UserTableName="Board" msprop:Generator_RowChangedName="BoardRowChanged" msprop:Generator_RowEvArgName="BoardRowChangeEvent" msprop:Generator_RowClassName="BoardRow"> | ||||
|         <xs:element name="Board" msprop:Generator_TableClassName="BoardDataTable" msprop:Generator_TableVarName="tableBoard" msprop:Generator_RowChangedName="BoardRowChanged" msprop:Generator_TablePropName="Board" msprop:Generator_RowDeletingName="BoardRowDeleting" msprop:Generator_RowChangingName="BoardRowChanging" msprop:Generator_RowEvHandlerName="BoardRowChangeEventHandler" msprop:Generator_RowDeletedName="BoardRowDeleted" msprop:Generator_RowClassName="BoardRow" msprop:Generator_UserTableName="Board" msprop:Generator_RowEvArgName="BoardRowChangeEvent"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
| @@ -1662,7 +1742,7 @@ ORDER BY pdate</CommandText> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="RequestItem" msprop:Generator_TableClassName="RequestItemDataTable" msprop:Generator_TableVarName="tableRequestItem" msprop:Generator_TablePropName="RequestItem" msprop:Generator_RowDeletingName="RequestItemRowDeleting" msprop:Generator_RowChangingName="RequestItemRowChanging" msprop:Generator_RowEvHandlerName="RequestItemRowChangeEventHandler" msprop:Generator_RowDeletedName="RequestItemRowDeleted" msprop:Generator_UserTableName="RequestItem" msprop:Generator_RowChangedName="RequestItemRowChanged" msprop:Generator_RowEvArgName="RequestItemRowChangeEvent" msprop:Generator_RowClassName="RequestItemRow"> | ||||
|         <xs:element name="RequestItem" msprop:Generator_TableClassName="RequestItemDataTable" msprop:Generator_TableVarName="tableRequestItem" msprop:Generator_RowChangedName="RequestItemRowChanged" msprop:Generator_TablePropName="RequestItem" msprop:Generator_RowDeletingName="RequestItemRowDeleting" msprop:Generator_RowChangingName="RequestItemRowChanging" msprop:Generator_RowEvHandlerName="RequestItemRowChangeEventHandler" msprop:Generator_RowDeletedName="RequestItemRowDeleted" msprop:Generator_RowClassName="RequestItemRow" msprop:Generator_UserTableName="RequestItem" msprop:Generator_RowEvArgName="RequestItemRowChangeEvent"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
| @@ -1751,7 +1831,7 @@ ORDER BY pdate</CommandText> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="Customs" msprop:Generator_TableClassName="CustomsDataTable" msprop:Generator_TableVarName="tableCustoms" msprop:Generator_TablePropName="Customs" msprop:Generator_RowDeletingName="CustomsRowDeleting" msprop:Generator_RowChangingName="CustomsRowChanging" msprop:Generator_RowEvHandlerName="CustomsRowChangeEventHandler" msprop:Generator_RowDeletedName="CustomsRowDeleted" msprop:Generator_UserTableName="Customs" msprop:Generator_RowChangedName="CustomsRowChanged" msprop:Generator_RowEvArgName="CustomsRowChangeEvent" msprop:Generator_RowClassName="CustomsRow"> | ||||
|         <xs:element name="Customs" msprop:Generator_TableClassName="CustomsDataTable" msprop:Generator_TableVarName="tableCustoms" msprop:Generator_RowChangedName="CustomsRowChanged" msprop:Generator_TablePropName="Customs" msprop:Generator_RowDeletingName="CustomsRowDeleting" msprop:Generator_RowChangingName="CustomsRowChanging" msprop:Generator_RowEvHandlerName="CustomsRowChangeEventHandler" msprop:Generator_RowDeletedName="CustomsRowDeleted" msprop:Generator_RowClassName="CustomsRow" msprop:Generator_UserTableName="Customs" msprop:Generator_RowEvArgName="CustomsRowChangeEvent"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
| @@ -1864,7 +1944,7 @@ ORDER BY pdate</CommandText> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="Staff" msprop:Generator_TableClassName="StaffDataTable" msprop:Generator_TableVarName="tableStaff" msprop:Generator_TablePropName="Staff" msprop:Generator_RowDeletingName="StaffRowDeleting" msprop:Generator_RowChangingName="StaffRowChanging" msprop:Generator_RowEvHandlerName="StaffRowChangeEventHandler" msprop:Generator_RowDeletedName="StaffRowDeleted" msprop:Generator_UserTableName="Staff" msprop:Generator_RowChangedName="StaffRowChanged" msprop:Generator_RowEvArgName="StaffRowChangeEvent" msprop:Generator_RowClassName="StaffRow"> | ||||
|         <xs:element name="Staff" msprop:Generator_TableClassName="StaffDataTable" msprop:Generator_TableVarName="tableStaff" msprop:Generator_RowChangedName="StaffRowChanged" msprop:Generator_TablePropName="Staff" msprop:Generator_RowDeletingName="StaffRowDeleting" msprop:Generator_RowChangingName="StaffRowChanging" msprop:Generator_RowEvHandlerName="StaffRowChangeEventHandler" msprop:Generator_RowDeletedName="StaffRowDeleted" msprop:Generator_RowClassName="StaffRow" msprop:Generator_UserTableName="Staff" msprop:Generator_RowEvArgName="StaffRowChangeEvent"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
| @@ -1929,7 +2009,7 @@ ORDER BY pdate</CommandText> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="Purchase" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_TableVarName="tablePurchase" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_UserTableName="Purchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent" msprop:Generator_RowClassName="PurchaseRow"> | ||||
|         <xs:element name="Purchase" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_TableVarName="tablePurchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_RowClassName="PurchaseRow" msprop:Generator_UserTableName="Purchase" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
| @@ -2070,7 +2150,7 @@ ORDER BY pdate</CommandText> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="Projects" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_TablePropName="Projects" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_RowClassName="ProjectsRow" msprop:Generator_UserTableName="Projects" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent"> | ||||
|         <xs:element name="Projects" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects" msprop:Generator_TablePropName="Projects" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_UserTableName="Projects" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent" msprop:Generator_RowClassName="ProjectsRow"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="ddate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ddate" msprop:Generator_ColumnVarNameInTable="columnddate" msprop:Generator_ColumnPropNameInTable="ddateColumn" msprop:Generator_UserColumnName="ddate" minOccurs="0"> | ||||
| @@ -2166,10 +2246,32 @@ ORDER BY pdate</CommandText> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="isdel" msprop:Generator_ColumnVarNameInTable="columnisdel" msprop:Generator_ColumnPropNameInRow="isdel" msprop:Generator_ColumnPropNameInTable="isdelColumn" msprop:Generator_UserColumnName="isdel" type="xs:boolean" minOccurs="0" /> | ||||
|               <xs:element name="category" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="category" msprop:Generator_ColumnVarNameInTable="columncategory" msprop:Generator_ColumnPropNameInTable="categoryColumn" msprop:Generator_UserColumnName="category" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="50" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="userManager" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="userManager" msprop:Generator_ColumnVarNameInTable="columnuserManager" msprop:Generator_ColumnPropNameInTable="userManagerColumn" msprop:Generator_UserColumnName="userManager" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="50" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="orderno" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="orderno" msprop:Generator_ColumnVarNameInTable="columnorderno" msprop:Generator_ColumnPropNameInTable="ordernoColumn" msprop:Generator_UserColumnName="orderno" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="50" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="HolidayLIst" msprop:Generator_TableClassName="HolidayLIstDataTable" msprop:Generator_TableVarName="tableHolidayLIst" msprop:Generator_RowChangedName="HolidayLIstRowChanged" msprop:Generator_TablePropName="HolidayLIst" msprop:Generator_RowDeletingName="HolidayLIstRowDeleting" msprop:Generator_RowChangingName="HolidayLIstRowChanging" msprop:Generator_RowEvHandlerName="HolidayLIstRowChangeEventHandler" msprop:Generator_RowDeletedName="HolidayLIstRowDeleted" msprop:Generator_RowClassName="HolidayLIstRow" msprop:Generator_UserTableName="HolidayLIst" msprop:Generator_RowEvArgName="HolidayLIstRowChangeEvent"> | ||||
|         <xs:element name="HolidayLIst" msprop:Generator_TableClassName="HolidayLIstDataTable" msprop:Generator_TableVarName="tableHolidayLIst" msprop:Generator_TablePropName="HolidayLIst" msprop:Generator_RowDeletingName="HolidayLIstRowDeleting" msprop:Generator_RowChangingName="HolidayLIstRowChanging" msprop:Generator_RowEvHandlerName="HolidayLIstRowChangeEventHandler" msprop:Generator_RowDeletedName="HolidayLIstRowDeleted" msprop:Generator_UserTableName="HolidayLIst" msprop:Generator_RowChangedName="HolidayLIstRowChanged" msprop:Generator_RowEvArgName="HolidayLIstRowChangeEvent" msprop:Generator_RowClassName="HolidayLIstRow"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
| @@ -2199,7 +2301,7 @@ ORDER BY pdate</CommandText> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="InventoryUser" msprop:Generator_TableClassName="InventoryUserDataTable" msprop:Generator_TableVarName="tableInventoryUser" msprop:Generator_RowChangedName="InventoryUserRowChanged" msprop:Generator_TablePropName="InventoryUser" msprop:Generator_RowDeletingName="InventoryUserRowDeleting" msprop:Generator_RowChangingName="InventoryUserRowChanging" msprop:Generator_RowEvHandlerName="InventoryUserRowChangeEventHandler" msprop:Generator_RowDeletedName="InventoryUserRowDeleted" msprop:Generator_RowClassName="InventoryUserRow" msprop:Generator_UserTableName="InventoryUser" msprop:Generator_RowEvArgName="InventoryUserRowChangeEvent"> | ||||
|         <xs:element name="InventoryUser" msprop:Generator_TableClassName="InventoryUserDataTable" msprop:Generator_TableVarName="tableInventoryUser" msprop:Generator_TablePropName="InventoryUser" msprop:Generator_RowDeletingName="InventoryUserRowDeleting" msprop:Generator_RowChangingName="InventoryUserRowChanging" msprop:Generator_RowEvHandlerName="InventoryUserRowChangeEventHandler" msprop:Generator_RowDeletedName="InventoryUserRowDeleted" msprop:Generator_UserTableName="InventoryUser" msprop:Generator_RowChangedName="InventoryUserRowChanged" msprop:Generator_RowEvArgName="InventoryUserRowChangeEvent" msprop:Generator_RowClassName="InventoryUserRow"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
|   | ||||
| @@ -4,18 +4,18 @@ | ||||
|      Changes to this file may cause incorrect behavior and will be lost if | ||||
|      the code is regenerated. | ||||
| </autogenerated>--> | ||||
| <DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-12" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout"> | ||||
| <DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="1868" ViewPortY="-12" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout"> | ||||
|   <Shapes> | ||||
|     <Shape ID="DesignTable:Items" ZOrder="1" X="48" Y="30" Height="590" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="387" /> | ||||
|     <Shape ID="DesignTable:Common" ZOrder="10" X="292" Y="31" Height="267" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" /> | ||||
|     <Shape ID="DesignTable:Board" ZOrder="9" X="982" Y="70" Height="305" Width="179" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> | ||||
|     <Shape ID="DesignTable:RequestItem" ZOrder="8" X="1499" Y="70" Height="324" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> | ||||
|     <Shape ID="DesignTable:Customs" ZOrder="7" X="1788" Y="70" Height="362" Width="263" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> | ||||
|     <Shape ID="DesignTable:Staff" ZOrder="6" X="2121" Y="70" Height="286" Width="172" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" /> | ||||
|     <Shape ID="DesignTable:Purchase" ZOrder="5" X="2357" Y="30" Height="664" Width="245" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="556" /> | ||||
|     <Shape ID="DesignTable:Projects" ZOrder="4" X="2672" Y="70" Height="324" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> | ||||
|     <Shape ID="DesignTable:HolidayLIst" ZOrder="3" X="2988" Y="70" Height="191" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" /> | ||||
|     <Shape ID="DesignTable:InventoryUser" ZOrder="2" X="3268" Y="70" Height="343" Width="278" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> | ||||
|     <Shape ID="DesignTable:Items" ZOrder="2" X="48" Y="30" Height="590" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="387" /> | ||||
|     <Shape ID="DesignTable:Common" ZOrder="1" X="443" Y="45" Height="267" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" /> | ||||
|     <Shape ID="DesignTable:Board" ZOrder="10" X="982" Y="70" Height="305" Width="179" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> | ||||
|     <Shape ID="DesignTable:RequestItem" ZOrder="9" X="1499" Y="70" Height="324" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> | ||||
|     <Shape ID="DesignTable:Customs" ZOrder="8" X="1788" Y="70" Height="362" Width="263" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> | ||||
|     <Shape ID="DesignTable:Staff" ZOrder="7" X="2121" Y="70" Height="286" Width="172" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" /> | ||||
|     <Shape ID="DesignTable:Purchase" ZOrder="6" X="2357" Y="30" Height="664" Width="245" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="556" /> | ||||
|     <Shape ID="DesignTable:Projects" ZOrder="5" X="2672" Y="70" Height="628" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="541" /> | ||||
|     <Shape ID="DesignTable:HolidayLIst" ZOrder="4" X="2988" Y="70" Height="191" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" /> | ||||
|     <Shape ID="DesignTable:InventoryUser" ZOrder="3" X="3268" Y="70" Height="343" Width="278" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" /> | ||||
|   </Shapes> | ||||
|   <Connectors /> | ||||
| </DiagramLayout> | ||||
							
								
								
									
										106
									
								
								SubProject/FCM0000/fLovProject.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										106
									
								
								SubProject/FCM0000/fLovProject.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -36,7 +36,6 @@ | ||||
|             System.Windows.Forms.Label edateLabel; | ||||
|             System.Windows.Forms.Label memoLabel; | ||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLovProject)); | ||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||
|             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
| @@ -61,9 +60,11 @@ | ||||
|             this.memoTextBox = new System.Windows.Forms.TextBox(); | ||||
|             this.ta = new FCM0000.dsMSSQLTableAdapters.ProjectsTableAdapter(); | ||||
|             this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager(); | ||||
|             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.sdate = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.status = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.userManager = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.reqstaffDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             pdateLabel = new System.Windows.Forms.Label(); | ||||
|             requestLabel = new System.Windows.Forms.Label(); | ||||
|             reqstaffLabel = new System.Windows.Forms.Label(); | ||||
| @@ -150,14 +151,14 @@ | ||||
|             this.bindingNavigatorMoveLastItem, | ||||
|             this.bindingNavigatorSeparator2, | ||||
|             this.btOK}); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 408); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 459); | ||||
|             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(582, 25); | ||||
|             this.bn.Size = new System.Drawing.Size(821, 25); | ||||
|             this.bn.TabIndex = 0; | ||||
|             this.bn.Text = "bindingNavigator1"; | ||||
|             //  | ||||
| @@ -207,6 +208,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"; | ||||
| @@ -258,19 +260,21 @@ | ||||
|             this.dv.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells; | ||||
|             this.dv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | ||||
|             this.dv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | ||||
|             this.dataGridViewTextBoxColumn1, | ||||
|             this.dataGridViewTextBoxColumn2, | ||||
|             this.status}); | ||||
|             this.sdate, | ||||
|             this.status, | ||||
|             this.nameDataGridViewTextBoxColumn, | ||||
|             this.userManager, | ||||
|             this.reqstaffDataGridViewTextBoxColumn}); | ||||
|             this.dv.DataSource = this.bs; | ||||
|             dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; | ||||
|             dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; | ||||
|             dataGridViewCellStyle2.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; | ||||
|             dataGridViewCellStyle2.Padding = new System.Windows.Forms.Padding(1, 3, 1, 3); | ||||
|             dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; | ||||
|             dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; | ||||
|             dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; | ||||
|             this.dv.DefaultCellStyle = dataGridViewCellStyle2; | ||||
|             dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; | ||||
|             dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window; | ||||
|             dataGridViewCellStyle1.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText; | ||||
|             dataGridViewCellStyle1.Padding = new System.Windows.Forms.Padding(1, 3, 1, 3); | ||||
|             dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; | ||||
|             dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; | ||||
|             dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; | ||||
|             this.dv.DefaultCellStyle = dataGridViewCellStyle1; | ||||
|             this.dv.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.dv.Location = new System.Drawing.Point(0, 0); | ||||
|             this.dv.Name = "dv"; | ||||
| @@ -278,7 +282,7 @@ | ||||
|             this.dv.RowHeadersVisible = false; | ||||
|             this.dv.RowTemplate.Height = 23; | ||||
|             this.dv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; | ||||
|             this.dv.Size = new System.Drawing.Size(582, 295); | ||||
|             this.dv.Size = new System.Drawing.Size(821, 346); | ||||
|             this.dv.TabIndex = 1; | ||||
|             this.dv.DoubleClick += new System.EventHandler(this.dv_DoubleClick); | ||||
|             this.dv.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dv_KeyDown); | ||||
| @@ -298,9 +302,9 @@ | ||||
|             this.panel1.Controls.Add(memoLabel); | ||||
|             this.panel1.Controls.Add(this.memoTextBox); | ||||
|             this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
|             this.panel1.Location = new System.Drawing.Point(0, 295); | ||||
|             this.panel1.Location = new System.Drawing.Point(0, 346); | ||||
|             this.panel1.Name = "panel1"; | ||||
|             this.panel1.Size = new System.Drawing.Size(582, 113); | ||||
|             this.panel1.Size = new System.Drawing.Size(821, 113); | ||||
|             this.panel1.TabIndex = 2; | ||||
|             //  | ||||
|             // pdateTextBox | ||||
| @@ -355,7 +359,7 @@ | ||||
|             this.memoTextBox.Multiline = true; | ||||
|             this.memoTextBox.Name = "memoTextBox"; | ||||
|             this.memoTextBox.ReadOnly = true; | ||||
|             this.memoTextBox.Size = new System.Drawing.Size(492, 40); | ||||
|             this.memoTextBox.Size = new System.Drawing.Size(729, 40); | ||||
|             this.memoTextBox.TabIndex = 17; | ||||
|             //  | ||||
|             // ta | ||||
| @@ -368,6 +372,8 @@ | ||||
|             this.tam.BoardTableAdapter = null; | ||||
|             this.tam.CommonTableAdapter = null; | ||||
|             this.tam.CustomsTableAdapter = null; | ||||
|             this.tam.HolidayLIstTableAdapter = null; | ||||
|             this.tam.InventoryUserTableAdapter = null; | ||||
|             this.tam.ItemsTableAdapter = null; | ||||
|             this.tam.ProjectsTableAdapter = this.ta; | ||||
|             this.tam.PurchaseTableAdapter = null; | ||||
| @@ -375,25 +381,13 @@ | ||||
|             this.tam.StaffTableAdapter = null; | ||||
|             this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; | ||||
|             //  | ||||
|             // dataGridViewTextBoxColumn1 | ||||
|             // sdate | ||||
|             //  | ||||
|             this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; | ||||
|             this.dataGridViewTextBoxColumn1.DataPropertyName = "idx"; | ||||
|             dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||
|             dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||
|             this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1; | ||||
|             this.dataGridViewTextBoxColumn1.HeaderText = "번호"; | ||||
|             this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; | ||||
|             this.dataGridViewTextBoxColumn1.ReadOnly = true; | ||||
|             this.dataGridViewTextBoxColumn1.Width = 61; | ||||
|             //  | ||||
|             // dataGridViewTextBoxColumn2 | ||||
|             //  | ||||
|             this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; | ||||
|             this.dataGridViewTextBoxColumn2.DataPropertyName = "name"; | ||||
|             this.dataGridViewTextBoxColumn2.HeaderText = "프로젝트 명"; | ||||
|             this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; | ||||
|             this.dataGridViewTextBoxColumn2.ReadOnly = true; | ||||
|             this.sdate.DataPropertyName = "sdate"; | ||||
|             this.sdate.HeaderText = "시작"; | ||||
|             this.sdate.Name = "sdate"; | ||||
|             this.sdate.ReadOnly = true; | ||||
|             this.sdate.Width = 61; | ||||
|             //  | ||||
|             // status | ||||
|             //  | ||||
| @@ -404,10 +398,35 @@ | ||||
|             this.status.ReadOnly = true; | ||||
|             this.status.Width = 61; | ||||
|             //  | ||||
|             // nameDataGridViewTextBoxColumn | ||||
|             //  | ||||
|             this.nameDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; | ||||
|             this.nameDataGridViewTextBoxColumn.DataPropertyName = "name"; | ||||
|             this.nameDataGridViewTextBoxColumn.HeaderText = "이름"; | ||||
|             this.nameDataGridViewTextBoxColumn.Name = "nameDataGridViewTextBoxColumn"; | ||||
|             this.nameDataGridViewTextBoxColumn.ReadOnly = true; | ||||
|             //  | ||||
|             // userManager | ||||
|             //  | ||||
|             this.userManager.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; | ||||
|             this.userManager.DataPropertyName = "userManager"; | ||||
|             this.userManager.HeaderText = "담당"; | ||||
|             this.userManager.Name = "userManager"; | ||||
|             this.userManager.ReadOnly = true; | ||||
|             this.userManager.Width = 80; | ||||
|             //  | ||||
|             // reqstaffDataGridViewTextBoxColumn | ||||
|             //  | ||||
|             this.reqstaffDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; | ||||
|             this.reqstaffDataGridViewTextBoxColumn.DataPropertyName = "reqstaff"; | ||||
|             this.reqstaffDataGridViewTextBoxColumn.HeaderText = "요청"; | ||||
|             this.reqstaffDataGridViewTextBoxColumn.Name = "reqstaffDataGridViewTextBoxColumn"; | ||||
|             this.reqstaffDataGridViewTextBoxColumn.ReadOnly = true; | ||||
|             //  | ||||
|             // fLovProject | ||||
|             //  | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | ||||
|             this.ClientSize = new System.Drawing.Size(582, 433); | ||||
|             this.ClientSize = new System.Drawing.Size(821, 484); | ||||
|             this.Controls.Add(this.dv); | ||||
|             this.Controls.Add(this.panel1); | ||||
|             this.Controls.Add(this.bn); | ||||
| @@ -453,9 +472,10 @@ | ||||
|         private System.Windows.Forms.TextBox edateTextBox; | ||||
|         private System.Windows.Forms.TextBox memoTextBox; | ||||
|         private dsMSSQLTableAdapters.TableAdapterManager tam; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn sdate; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn status; | ||||
|  | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn nameDataGridViewTextBoxColumn; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn userManager; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn reqstaffDataGridViewTextBoxColumn; | ||||
|     } | ||||
| } | ||||
| @@ -15,13 +15,15 @@ namespace FCM0000 | ||||
|         public int Index { get; set; } | ||||
|  | ||||
|         string keyword = string.Empty; | ||||
|         public fLovProject(string search_) | ||||
|         string keyword2 = string.Empty; | ||||
|         public fLovProject(string search_,string stat_="") | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             Title = string.Empty; | ||||
|             Index = -1; | ||||
|  | ||||
|             this.keyword = search_; | ||||
|             this.keyword2 = stat_; | ||||
|             this.KeyPreview = true; | ||||
|             this.KeyDown += (s1, e1) => { | ||||
|                 if (e1.KeyCode == Keys.Escape) this.Close(); | ||||
| @@ -33,7 +35,10 @@ namespace FCM0000 | ||||
|         { | ||||
|             //search data | ||||
|            // var dt = this.ta.GetSearch(this.keyword); | ||||
|             this.ta.FillSearch(this.dsMSSQL.Projects,"%" + this.keyword + "%",FCOMMON.info.Login.gcode); | ||||
|             this.ta.FillSearch(this.dsMSSQL.Projects, | ||||
|                 "%" + this.keyword + "%", | ||||
|                 FCOMMON.info.Login.gcode, | ||||
|                 "%" + this.keyword2 + "%"); | ||||
|         } | ||||
|  | ||||
|         private void bs_CurrentChanged(object sender, EventArgs e) | ||||
|   | ||||
| @@ -192,9 +192,15 @@ | ||||
|         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="sdate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="status.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="userManager.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>252, 17</value> | ||||
|   </metadata> | ||||
|   | ||||
| @@ -210,6 +210,7 @@ namespace FPJ0000.EBoard | ||||
|             //this.fpSpread1.Sheets[0].Cells[$"A{row + 1}:{c3}{row + 1}"].Border = | ||||
|             //    new FarPoint.Win.ComplexBorder( | ||||
|             //        new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.MediumLine));  | ||||
|             var 비용절감줄 = (char)( 65 + ((MaxCol) * 2 - 1));// "T"; | ||||
|  | ||||
|             //차트데이터 | ||||
|             var chart1 = this.fpSpread1.ActiveSheet.Charts[0]; | ||||
| @@ -218,7 +219,7 @@ namespace FPJ0000.EBoard | ||||
|             var ser1 = chart1.Model.PlotAreas[0].Series[0] as FarPoint.Win.Chart.ClusteredBarSeries; | ||||
|             var ser1_df = ser1.Series[0].Values.DataSource as FarPoint.Win.Spread.Chart.SeriesDataField; | ||||
|             var ser1_cn = ser1.Series[0].CategoryNames.DataSource as FarPoint.Win.Spread.Chart.SeriesDataField; | ||||
|             ser1_df.Formula = $"Performance!$R$4:$R${row}"; | ||||
|             ser1_df.Formula = $"Performance!${비용절감줄}$4:${비용절감줄}${row}"; | ||||
|             ser1_cn.Formula = $"Performance!$A$4:$A${row}"; | ||||
|  | ||||
|             var ser2 = chart1.Model.PlotAreas[0].Series[1] as FarPoint.Win.Chart.LineSeries; | ||||
| @@ -238,7 +239,7 @@ namespace FPJ0000.EBoard | ||||
|             var ser31 = chart3.Model.PlotAreas[0].Series[0] as FarPoint.Win.Chart.PieSeries; | ||||
|             var ser31_df = ser31.Values.DataSource as FarPoint.Win.Spread.Chart.SeriesDataField; | ||||
|             var ser31_cn = ser31.CategoryNames.DataSource as FarPoint.Win.Spread.Chart.SeriesDataField; | ||||
|             ser31_df.Formula = $"Performance!$R$4:$R${row}"; | ||||
|             ser31_df.Formula = $"Performance!${비용절감줄}$4:${비용절감줄}${row}"; | ||||
|             ser31_cn.Formula = $"Performance!$A$4:$A${row}"; | ||||
|         } | ||||
|         void Refresh2() | ||||
|   | ||||
| @@ -22,6 +22,7 @@ namespace FPJ0000 | ||||
|         public int rowspan { get; set; } | ||||
|         public int colspan { get; set; } | ||||
|         public Nullable<int> project { get; set; } | ||||
|         public string reserve { get; set; } | ||||
|         public string remark { get; set; } | ||||
|         public string wuid { get; set; } | ||||
|         public System.DateTime wdate { get; set; } | ||||
|   | ||||
| @@ -339,6 +339,18 @@ | ||||
|     <Compile Include="Projects.cs"> | ||||
|       <DependentUpon>Model1.tt</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="Project\ctlLayout.cs"> | ||||
|       <SubType>Component</SubType> | ||||
|     </Compile> | ||||
|     <Compile Include="Project\ctlLayout.Designer.cs"> | ||||
|       <DependentUpon>ctlLayout.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="Project\fLayoutEdit.cs"> | ||||
|       <SubType>Form</SubType> | ||||
|     </Compile> | ||||
|     <Compile Include="Project\fLayoutEdit.Designer.cs"> | ||||
|       <DependentUpon>fLayoutEdit.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="Project\fPartBuyStatus.cs"> | ||||
|       <SubType>Form</SubType> | ||||
|     </Compile> | ||||
| @@ -521,6 +533,9 @@ | ||||
|     <Compile Include="Users.cs"> | ||||
|       <DependentUpon>Model1.tt</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="vEETGW_Project_LayoutList.cs"> | ||||
|       <DependentUpon>Model1.tt</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="vGroupUser.cs"> | ||||
|       <DependentUpon>Model1.tt</DependentUpon> | ||||
|     </Compile> | ||||
| @@ -589,6 +604,9 @@ | ||||
|     <EmbeddedResource Include="Note\fNote.resx"> | ||||
|       <DependentUpon>fNote.cs</DependentUpon> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="Project\fLayoutEdit.resx"> | ||||
|       <DependentUpon>fLayoutEdit.cs</DependentUpon> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="Project\fPartBuyStatus.resx"> | ||||
|       <DependentUpon>fPartBuyStatus.cs</DependentUpon> | ||||
|     </EmbeddedResource> | ||||
|   | ||||
| @@ -42,7 +42,8 @@ namespace FPJ0000 | ||||
|         public virtual DbSet<vJobReportForUser> vJobReportForUser { get; set; } | ||||
|         public virtual DbSet<EETGW_ProjectsSchedule> EETGW_ProjectsSchedule { get; set; } | ||||
|         public virtual DbSet<Auth> Auth { get; set; } | ||||
|         public virtual DbSet<EETGW_Project_Layout> EETGW_Project_Layout { get; set; } | ||||
|         public virtual DbSet<Projects> Projects { get; set; } | ||||
|         public virtual DbSet<vEETGW_Project_LayoutList> vEETGW_Project_LayoutList { get; set; } | ||||
|         public virtual DbSet<EETGW_Project_Layout> EETGW_Project_Layout { get; set; } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -100,6 +100,7 @@ | ||||
|           <Property Name="rowspan" Type="int" Nullable="false" /> | ||||
|           <Property Name="colspan" Type="int" Nullable="false" /> | ||||
|           <Property Name="project" Type="int" /> | ||||
|           <Property Name="reserve" Type="varchar" MaxLength="255" /> | ||||
|           <Property Name="remark" Type="varchar" MaxLength="255" /> | ||||
|           <Property Name="wuid" Type="varchar" MaxLength="20" Nullable="false" /> | ||||
|           <Property Name="wdate" Type="smalldatetime" Nullable="false" /> | ||||
| @@ -375,6 +376,25 @@ | ||||
|           <Property Name="processs" Type="nvarchar" MaxLength="100" /> | ||||
|         </EntityType> | ||||
|         <!--생성 중 오류 발생: | ||||
| 경고 6002: 테이블/뷰 'EE.dbo.vEETGW_Project_LayoutList'에 기본 키가 정의되지 않았습니다. 키가 유추되었고 읽기 전용 테이블/뷰로 정의되었습니다.--> | ||||
|         <EntityType Name="vEETGW_Project_LayoutList"> | ||||
|           <Key> | ||||
|             <PropertyRef Name="idx" /> | ||||
|             <PropertyRef Name="gcode" /> | ||||
|           </Key> | ||||
|           <Property Name="idx" Type="int" StoreGeneratedPattern="Identity" Nullable="false" /> | ||||
|           <Property Name="gcode" Type="varchar" MaxLength="10" Nullable="false" /> | ||||
|           <Property Name="pdate" Type="varchar" MaxLength="10" /> | ||||
|           <Property Name="edate" Type="varchar" MaxLength="50" /> | ||||
|           <Property Name="ddate" Type="varchar" MaxLength="50" /> | ||||
|           <Property Name="sdate" Type="varchar" MaxLength="50" /> | ||||
|           <Property Name="name" Type="nvarchar" MaxLength="255" /> | ||||
|           <Property Name="userManager" Type="varchar" MaxLength="50" /> | ||||
|           <Property Name="memo" Type="nvarchar" MaxLength="255" /> | ||||
|           <Property Name="isdel" Type="bit" /> | ||||
|           <Property Name="status" Type="varchar" MaxLength="50" /> | ||||
|         </EntityType> | ||||
|         <!--생성 중 오류 발생: | ||||
| 경고 6002: 테이블/뷰 'EE.dbo.vGroupUser'에 기본 키가 정의되지 않았습니다. 키가 유추되었고 읽기 전용 테이블/뷰로 정의되었습니다.--> | ||||
|         <EntityType Name="vGroupUser"> | ||||
|           <Key> | ||||
| @@ -478,6 +498,21 @@ | ||||
|           <EntitySet Name="Purchase" EntityType="Self.Purchase" Schema="dbo" store:Type="Tables" /> | ||||
|           <EntitySet Name="UserGroup" EntityType="Self.UserGroup" Schema="dbo" store:Type="Tables" /> | ||||
|           <EntitySet Name="Users" EntityType="Self.Users" Schema="dbo" store:Type="Tables" /> | ||||
|           <EntitySet Name="vEETGW_Project_LayoutList" EntityType="Self.vEETGW_Project_LayoutList" store:Type="Views" store:Schema="dbo"> | ||||
|             <DefiningQuery>SELECT  | ||||
|     [vEETGW_Project_LayoutList].[idx] AS [idx],  | ||||
|     [vEETGW_Project_LayoutList].[gcode] AS [gcode],  | ||||
|     [vEETGW_Project_LayoutList].[pdate] AS [pdate],  | ||||
|     [vEETGW_Project_LayoutList].[edate] AS [edate],  | ||||
|     [vEETGW_Project_LayoutList].[ddate] AS [ddate],  | ||||
|     [vEETGW_Project_LayoutList].[sdate] AS [sdate],  | ||||
|     [vEETGW_Project_LayoutList].[name] AS [name],  | ||||
|     [vEETGW_Project_LayoutList].[userManager] AS [userManager],  | ||||
|     [vEETGW_Project_LayoutList].[memo] AS [memo],  | ||||
|     [vEETGW_Project_LayoutList].[isdel] AS [isdel],  | ||||
|     [vEETGW_Project_LayoutList].[status] AS [status] | ||||
|     FROM [dbo].[vEETGW_Project_LayoutList] AS [vEETGW_Project_LayoutList]</DefiningQuery> | ||||
|           </EntitySet> | ||||
|           <EntitySet Name="vGroupUser" EntityType="Self.vGroupUser" store:Type="Views" store:Schema="dbo"> | ||||
|             <DefiningQuery>SELECT  | ||||
|     [vGroupUser].[gcode] AS [gcode],  | ||||
| @@ -654,8 +689,9 @@ | ||||
|           <EntitySet Name="vJobReportForUser" EntityType="EEModel.vJobReportForUser" /> | ||||
|           <EntitySet Name="EETGW_ProjectsSchedule" EntityType="EEModel.EETGW_ProjectsSchedule" /> | ||||
|           <EntitySet Name="Auth" EntityType="EEModel.Auth" /> | ||||
|           <EntitySet Name="EETGW_Project_Layout" EntityType="EEModel.EETGW_Project_Layout" /> | ||||
|           <EntitySet Name="Projects" EntityType="EEModel.Projects" /> | ||||
|           <EntitySet Name="vEETGW_Project_LayoutList" EntityType="EEModel.vEETGW_Project_LayoutList" /> | ||||
|           <EntitySet Name="EETGW_Project_Layout" EntityType="EEModel.EETGW_Project_Layout" /> | ||||
|         </EntityContainer> | ||||
|         <EntityType Name="HolidayLIst"> | ||||
|           <Key> | ||||
| @@ -952,22 +988,6 @@ | ||||
|           <Property Name="savecost" Type="Int32" /> | ||||
|           <Property Name="scheapp" Type="Int32" /> | ||||
|         </EntityType> | ||||
|         <EntityType Name="EETGW_Project_Layout"> | ||||
|           <Key> | ||||
|             <PropertyRef Name="idx" /> | ||||
|           </Key> | ||||
|           <Property Name="idx" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> | ||||
|           <Property Name="gcode" Type="String" Nullable="false" MaxLength="20" FixedLength="false" Unicode="false" /> | ||||
|           <Property Name="no" Type="Int32" Nullable="false" /> | ||||
|           <Property Name="row" Type="Int32" Nullable="false" /> | ||||
|           <Property Name="col" Type="Int32" Nullable="false" /> | ||||
|           <Property Name="rowspan" Type="Int32" Nullable="false" /> | ||||
|           <Property Name="colspan" Type="Int32" Nullable="false" /> | ||||
|           <Property Name="project" Type="Int32" /> | ||||
|           <Property Name="remark" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> | ||||
|           <Property Name="wuid" Type="String" Nullable="false" MaxLength="20" FixedLength="false" Unicode="false" /> | ||||
|           <Property Name="wdate" Type="DateTime" Nullable="false" Precision="0" /> | ||||
|         </EntityType> | ||||
|         <EntityType Name="Projects"> | ||||
|           <Key> | ||||
|             <PropertyRef Name="idx" /> | ||||
| @@ -1024,6 +1044,40 @@ | ||||
|           <Property Name="EB_ConstNew" Type="Double" /> | ||||
|           <Property Name="EB_BoardName" Type="String" MaxLength="255" FixedLength="false" Unicode="true" /> | ||||
|         </EntityType> | ||||
|         <EntityType Name="vEETGW_Project_LayoutList"> | ||||
|           <Key> | ||||
|             <PropertyRef Name="idx" /> | ||||
|             <PropertyRef Name="gcode" /> | ||||
|           </Key> | ||||
|           <Property Name="idx" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> | ||||
|           <Property Name="gcode" Type="String" Nullable="false" MaxLength="10" FixedLength="false" Unicode="false" /> | ||||
|           <Property Name="pdate" Type="String" MaxLength="10" FixedLength="false" Unicode="false" /> | ||||
|           <Property Name="edate" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> | ||||
|           <Property Name="ddate" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> | ||||
|           <Property Name="sdate" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> | ||||
|           <Property Name="name" Type="String" MaxLength="255" FixedLength="false" Unicode="true" /> | ||||
|           <Property Name="userManager" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> | ||||
|           <Property Name="memo" Type="String" MaxLength="255" FixedLength="false" Unicode="true" /> | ||||
|           <Property Name="isdel" Type="Boolean" /> | ||||
|           <Property Name="status" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> | ||||
|         </EntityType> | ||||
|         <EntityType Name="EETGW_Project_Layout"> | ||||
|           <Key> | ||||
|             <PropertyRef Name="idx" /> | ||||
|           </Key> | ||||
|           <Property Name="idx" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> | ||||
|           <Property Name="gcode" Type="String" Nullable="false" MaxLength="20" FixedLength="false" Unicode="false" /> | ||||
|           <Property Name="no" Type="Int32" Nullable="false" /> | ||||
|           <Property Name="row" Type="Int32" Nullable="false" /> | ||||
|           <Property Name="col" Type="Int32" Nullable="false" /> | ||||
|           <Property Name="rowspan" Type="Int32" Nullable="false" /> | ||||
|           <Property Name="colspan" Type="Int32" Nullable="false" /> | ||||
|           <Property Name="project" Type="Int32" /> | ||||
|           <Property Name="reserve" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> | ||||
|           <Property Name="remark" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> | ||||
|           <Property Name="wuid" Type="String" Nullable="false" MaxLength="20" FixedLength="false" Unicode="false" /> | ||||
|           <Property Name="wdate" Type="DateTime" Nullable="false" Precision="0" /> | ||||
|         </EntityType> | ||||
|       </Schema> | ||||
|     </edmx:ConceptualModels> | ||||
|     <!-- C-S mapping content --> | ||||
| @@ -1419,23 +1473,6 @@ | ||||
|               </MappingFragment> | ||||
|             </EntityTypeMapping> | ||||
|           </EntitySetMapping> | ||||
|           <EntitySetMapping Name="EETGW_Project_Layout"> | ||||
|             <EntityTypeMapping TypeName="EEModel.EETGW_Project_Layout"> | ||||
|               <MappingFragment StoreEntitySet="EETGW_Project_Layout"> | ||||
|                 <ScalarProperty Name="wdate" ColumnName="wdate" /> | ||||
|                 <ScalarProperty Name="wuid" ColumnName="wuid" /> | ||||
|                 <ScalarProperty Name="remark" ColumnName="remark" /> | ||||
|                 <ScalarProperty Name="project" ColumnName="project" /> | ||||
|                 <ScalarProperty Name="colspan" ColumnName="colspan" /> | ||||
|                 <ScalarProperty Name="rowspan" ColumnName="rowspan" /> | ||||
|                 <ScalarProperty Name="col" ColumnName="col" /> | ||||
|                 <ScalarProperty Name="row" ColumnName="row" /> | ||||
|                 <ScalarProperty Name="no" ColumnName="no" /> | ||||
|                 <ScalarProperty Name="gcode" ColumnName="gcode" /> | ||||
|                 <ScalarProperty Name="idx" ColumnName="idx" /> | ||||
|               </MappingFragment> | ||||
|             </EntityTypeMapping> | ||||
|           </EntitySetMapping> | ||||
|           <EntitySetMapping Name="Projects"> | ||||
|             <EntityTypeMapping TypeName="EEModel.Projects"> | ||||
|               <MappingFragment StoreEntitySet="Projects"> | ||||
| @@ -1493,6 +1530,41 @@ | ||||
|               </MappingFragment> | ||||
|             </EntityTypeMapping> | ||||
|           </EntitySetMapping> | ||||
|           <EntitySetMapping Name="vEETGW_Project_LayoutList"> | ||||
|             <EntityTypeMapping TypeName="EEModel.vEETGW_Project_LayoutList"> | ||||
|               <MappingFragment StoreEntitySet="vEETGW_Project_LayoutList"> | ||||
|                 <ScalarProperty Name="status" ColumnName="status" /> | ||||
|                 <ScalarProperty Name="isdel" ColumnName="isdel" /> | ||||
|                 <ScalarProperty Name="memo" ColumnName="memo" /> | ||||
|                 <ScalarProperty Name="userManager" ColumnName="userManager" /> | ||||
|                 <ScalarProperty Name="name" ColumnName="name" /> | ||||
|                 <ScalarProperty Name="sdate" ColumnName="sdate" /> | ||||
|                 <ScalarProperty Name="ddate" ColumnName="ddate" /> | ||||
|                 <ScalarProperty Name="edate" ColumnName="edate" /> | ||||
|                 <ScalarProperty Name="pdate" ColumnName="pdate" /> | ||||
|                 <ScalarProperty Name="gcode" ColumnName="gcode" /> | ||||
|                 <ScalarProperty Name="idx" ColumnName="idx" /> | ||||
|               </MappingFragment> | ||||
|             </EntityTypeMapping> | ||||
|           </EntitySetMapping> | ||||
|           <EntitySetMapping Name="EETGW_Project_Layout"> | ||||
|             <EntityTypeMapping TypeName="EEModel.EETGW_Project_Layout"> | ||||
|               <MappingFragment StoreEntitySet="EETGW_Project_Layout"> | ||||
|                 <ScalarProperty Name="wdate" ColumnName="wdate" /> | ||||
|                 <ScalarProperty Name="wuid" ColumnName="wuid" /> | ||||
|                 <ScalarProperty Name="remark" ColumnName="remark" /> | ||||
|                 <ScalarProperty Name="reserve" ColumnName="reserve" /> | ||||
|                 <ScalarProperty Name="project" ColumnName="project" /> | ||||
|                 <ScalarProperty Name="colspan" ColumnName="colspan" /> | ||||
|                 <ScalarProperty Name="rowspan" ColumnName="rowspan" /> | ||||
|                 <ScalarProperty Name="col" ColumnName="col" /> | ||||
|                 <ScalarProperty Name="row" ColumnName="row" /> | ||||
|                 <ScalarProperty Name="no" ColumnName="no" /> | ||||
|                 <ScalarProperty Name="gcode" ColumnName="gcode" /> | ||||
|                 <ScalarProperty Name="idx" ColumnName="idx" /> | ||||
|               </MappingFragment> | ||||
|             </EntityTypeMapping> | ||||
|           </EntitySetMapping> | ||||
|         </EntityContainerMapping> | ||||
|       </Mapping> | ||||
|     </edmx:Mappings> | ||||
|   | ||||
| @@ -22,8 +22,9 @@ | ||||
|         <EntityTypeShape EntityType="EEModel.vJobReportForUser" Width="1.5" PointX="11.375" PointY="13.75" /> | ||||
|         <EntityTypeShape EntityType="EEModel.EETGW_ProjectsSchedule" Width="1.5" PointX="0.75" PointY="4.75" /> | ||||
|         <EntityTypeShape EntityType="EEModel.Auth" Width="1.5" PointX="5.375" PointY="9.75" /> | ||||
|         <EntityTypeShape EntityType="EEModel.EETGW_Project_Layout" Width="1.5" PointX="5.375" PointY="13.75" /> | ||||
|         <EntityTypeShape EntityType="EEModel.Projects" Width="1.5" PointX="13.375" PointY="12.75" /> | ||||
|         <EntityTypeShape EntityType="EEModel.vEETGW_Project_LayoutList" Width="1.5" PointX="15.375" PointY="0.75" /> | ||||
|         <EntityTypeShape EntityType="EEModel.EETGW_Project_Layout" Width="1.5" PointX="5.375" PointY="13.75" /> | ||||
|       </Diagram> | ||||
|     </edmx:Diagrams> | ||||
|   </edmx:Designer> | ||||
|   | ||||
							
								
								
									
										37
									
								
								SubProject/FPJ0000/Project/ctlLayout.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								SubProject/FPJ0000/Project/ctlLayout.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,37 @@ | ||||
|  | ||||
| namespace FPJ0000.Project | ||||
| { | ||||
|     partial class ctlLayout | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// 필수 디자이너 변수입니다. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 사용 중인 모든 리소스를 정리합니다. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region 구성 요소 디자이너에서 생성한 코드 | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 디자이너 지원에 필요한 메서드입니다.  | ||||
|         /// 이 메서드의 내용을 코드 편집기로 수정하지 마세요. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             components = new System.ComponentModel.Container(); | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|     } | ||||
| } | ||||
							
								
								
									
										219
									
								
								SubProject/FPJ0000/Project/ctlLayout.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										219
									
								
								SubProject/FPJ0000/Project/ctlLayout.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,219 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace FPJ0000.Project | ||||
| { | ||||
|     public partial class ctlLayout : Control | ||||
|     { | ||||
|         public ctlLayout() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|  | ||||
|             items = new List<itemdata>(); | ||||
|  | ||||
|             this.SetStyle(ControlStyles.UserPaint, true); | ||||
|             this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); | ||||
|             this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true); | ||||
|             this.SetStyle(ControlStyles.SupportsTransparentBackColor, true); | ||||
|  | ||||
|             // Redraw when resized | ||||
|             this.SetStyle(ControlStyles.ResizeRedraw, true); | ||||
|             this.Resize += arLabel_Resize; | ||||
|             if (fontNo == null) fontNo = new Font("맑은 고딕", 12, FontStyle.Bold); | ||||
|             if (fontName == null) fontName = new Font("맑은 고딕", 10, FontStyle.Bold); | ||||
|             if (fontDue == null) fontDue = new Font("Consolas", 10, FontStyle.Bold); | ||||
|         } | ||||
|  | ||||
|  | ||||
|         public class itemdata | ||||
|         { | ||||
|             public string duedate { get; set; } | ||||
|             public string champion { get; set; } | ||||
|             public string body { get; set; } | ||||
|             public int no { get; set; } | ||||
|             public Color bodyColor { get; set; } = Color.Transparent; | ||||
|             public int project { get; set; } | ||||
|             public RectangleF rect { get; set; } | ||||
|             public string reserve { get; set; } | ||||
|  | ||||
|         } | ||||
|  | ||||
|         public List<itemdata> items; | ||||
|         public Font fontNo { get; set; } | ||||
|         public Font fontName { get; set; } | ||||
|         public Font fontDue { get; set; } | ||||
|  | ||||
|         public delegate void itemclickhandler(itemdata item, MouseEventArgs e); | ||||
|         public event itemclickhandler itemclick; | ||||
|  | ||||
|         protected override void OnMouseDown(MouseEventArgs e) | ||||
|         { | ||||
|             base.OnMouseDown(e); | ||||
|             var item = items.Where(t => t.rect.Contains(e.Location)).FirstOrDefault(); | ||||
|             if (item != null) | ||||
|             { | ||||
|                 if (itemclick != null) | ||||
|                     itemclick(item, e); | ||||
|             } | ||||
|         } | ||||
|         protected override void OnMouseClick(MouseEventArgs e) | ||||
|         { | ||||
|             base.OnMouseClick(e); | ||||
|  | ||||
|  | ||||
|         } | ||||
|  | ||||
|         Boolean brect = true; | ||||
|         protected override void OnPaint(PaintEventArgs pe) | ||||
|         { | ||||
|             if (items == null || items.Count != 10) | ||||
|             { | ||||
|                 for (int i = 1; i <= 10; i++) | ||||
|                 { | ||||
|                     items.Add(new itemdata() | ||||
|                     { | ||||
|                         no = i, | ||||
|                         body = string.Empty, | ||||
|                         champion = "담당자", | ||||
|                         duedate = "만료일자", | ||||
|                         rect = Rectangle.Empty | ||||
|                     }); | ||||
|  | ||||
|                 } | ||||
|             } | ||||
|             base.OnPaint(pe); | ||||
|  | ||||
|             //우측에 문 | ||||
|             //좌측에 사용자 | ||||
|             //중앙에 가로로 작업영역 10개 | ||||
|             var rectL = new RectangleF(DisplayRectangle.Left + Padding.Left, | ||||
|                 DisplayRectangle.Top + Padding.Top, | ||||
|                 DisplayRectangle.Width * 0.1f - (Padding.Left + Padding.Right), | ||||
|                 DisplayRectangle.Height - (Padding.Top + Padding.Bottom)); | ||||
|  | ||||
|             var rectR = new RectangleF(DisplayRectangle.Left + (DisplayRectangle.Width * 0.9f) + Padding.Left, | ||||
|                 DisplayRectangle.Top + Padding.Top, | ||||
|                 DisplayRectangle.Width * 0.1f - (Padding.Left + Padding.Right), | ||||
|                 DisplayRectangle.Height - (Padding.Top + Padding.Bottom)); | ||||
|  | ||||
|             var lw = DisplayRectangle.Width * 0.1f; | ||||
|             var rect = new RectangleF(DisplayRectangle.Left + Padding.Left + lw + Padding.Left, | ||||
|                 DisplayRectangle.Top + Padding.Top, | ||||
|                 DisplayRectangle.Width - (Padding.Left + Padding.Right) * 2 - lw * 2, | ||||
|                 rectR.Height); | ||||
|  | ||||
|             pe.Graphics.DrawRectangle(Pens.White, rectL.Left, rectL.Top, rectL.Width, rectL.Height); | ||||
|             pe.Graphics.DrawRectangle(Pens.Gold, rectR.Left, rectR.Top, rectR.Width, rectR.Height); | ||||
|             //pe.Graphics.DrawRectangle(new Pen(Color.Pink,5), rect.Left, rect.Top, rect.Width, rect.Height); | ||||
|  | ||||
|             pe.Graphics.DrawString("DESK", this.Font, Brushes.White, rectL, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center }); ; | ||||
|             pe.Graphics.DrawString("DOOR", this.Font, Brushes.White, rectR, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center }); ; | ||||
|  | ||||
|             //var fNo = new Font("Consolas", 20, FontStyle.Bold); | ||||
|             //내부그리드 그리기 2*5 배열이나.. 1칸이 총 2x2 칸으로 구성되니 2배로 한다. | ||||
|             var cnt = 1; | ||||
|             var itemp = 10; | ||||
|             var colcount = 5; | ||||
|             var rowcount = 2; | ||||
|             var itemw = (rect.Width / colcount) - (itemp * (colcount - 1)); | ||||
|             var itemh = (rect.Height / rowcount) - (itemp * (rowcount - 1)); | ||||
|             for (int i = 0; i < colcount; i++) | ||||
|             { | ||||
|                 for (int j = 0; j < rowcount; j++) | ||||
|                 { | ||||
|                     var r = new RectangleF( | ||||
|                         rect.Left + (i * itemw) + ((i + 1) * itemp), | ||||
|                         rect.Top + (j * itemh) + ((j + 1) * itemp), | ||||
|                         itemw, | ||||
|                         itemh); | ||||
|                     var data = items[cnt - 1]; | ||||
|  | ||||
|  | ||||
|                     pe.Graphics.DrawRectangle(Pens.White, r.Left, r.Top, r.Width, r.Height); | ||||
|  | ||||
|                     var rno = new RectangleF(r.Left, r.Top, 50f, 50f); | ||||
|                     var rnm = new RectangleF(rno.Right + 5, r.Top, r.Width - rno.Width - 5, rno.Height); | ||||
|  | ||||
|                     if (string.IsNullOrEmpty(data.reserve)) | ||||
|                     { | ||||
|                         var rdu = new RectangleF(r.Left, r.Bottom - 50f, r.Width, 50f); | ||||
|                         var rbd = new RectangleF(r.Left + 5, rno.Bottom + 5, r.Width - 5 * 2, r.Height - rno.Height - 10 - rdu.Height); | ||||
|  | ||||
|                         pe.Graphics.FillRectangle(Brushes.White, rno); | ||||
|                         pe.Graphics.DrawRectangle(Pens.White, rno.Left, rno.Top, rno.Width, rno.Height); | ||||
|                         pe.Graphics.DrawString(cnt.ToString(), fontNo, Brushes.Black, rno, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center }); | ||||
|                         pe.Graphics.DrawRectangle(Pens.White, rnm.Left, rnm.Top, rnm.Width, rnm.Height); | ||||
|                         pe.Graphics.DrawString(data.champion, fontName, Brushes.White, rnm, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center }); | ||||
|                         //pe.Graphics.DrawRectangle(Pens.White, rbd.Left, rbd.Top, rbd.Width, rbd.Height); | ||||
|  | ||||
|                         data.rect = r; | ||||
|  | ||||
|                         pe.Graphics.FillRectangle(new SolidBrush(data.bodyColor), rdu); | ||||
|                         if (string.IsNullOrEmpty(data.duedate)) | ||||
|                             pe.Graphics.DrawString("만료일없음", fontDue, Brushes.White, rdu, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center }); | ||||
|                         else | ||||
|                             pe.Graphics.DrawString(data.duedate, fontDue, Brushes.White, rdu, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center }); | ||||
|                         pe.Graphics.DrawRectangle(Pens.White, rdu.Left, rdu.Top, rdu.Width, rdu.Height); | ||||
|  | ||||
|  | ||||
|  | ||||
|                         pe.Graphics.DrawString(data.body, this.Font, new SolidBrush(this.ForeColor), rbd, new StringFormat { Alignment = StringAlignment.Near, LineAlignment = StringAlignment.Near }); | ||||
|  | ||||
|                     } | ||||
|                     else | ||||
|                     { | ||||
|                         var rdu = new RectangleF(r.Left, r.Bottom - 105f, r.Width, 50f); | ||||
|                         var rbd = new RectangleF(r.Left + 5, rno.Bottom + 5, r.Width - 5 * 2, r.Height - rno.Height - 10 - rdu.Height - 50); | ||||
|                         var rrv = new RectangleF(r.Left + 5, rdu.Bottom + 5, rdu.Width - 10, 50f - 5); | ||||
|  | ||||
|                         pe.Graphics.FillRectangle(Brushes.White, rno); | ||||
|                         pe.Graphics.DrawRectangle(Pens.White, rno.Left, rno.Top, rno.Width, rno.Height); | ||||
|                         pe.Graphics.DrawString(cnt.ToString(), fontNo, Brushes.Black, rno, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center }); | ||||
|                         pe.Graphics.DrawRectangle(Pens.White, rnm.Left, rnm.Top, rnm.Width, rnm.Height); | ||||
|                         pe.Graphics.DrawString(data.champion, fontName, Brushes.White, rnm, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center }); | ||||
|                         //pe.Graphics.DrawRectangle(Pens.White, rbd.Left, rbd.Top, rbd.Width, rbd.Height); | ||||
|  | ||||
|                         data.rect = r; | ||||
|  | ||||
|                         pe.Graphics.FillRectangle(new SolidBrush(data.bodyColor), rdu); | ||||
|                         if (string.IsNullOrEmpty( data.duedate )) | ||||
|                             pe.Graphics.DrawString("만료일없음", fontDue, Brushes.White, rdu, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center }); | ||||
|                         else | ||||
|                             pe.Graphics.DrawString(data.duedate, fontDue, Brushes.White, rdu, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center }); | ||||
|                         pe.Graphics.DrawRectangle(Pens.White, rdu.Left, rdu.Top, rdu.Width, rdu.Height); | ||||
|                         pe.Graphics.DrawString(data.body, this.Font, new SolidBrush(this.ForeColor), rbd, new StringFormat { Alignment = StringAlignment.Near, LineAlignment = StringAlignment.Near }); | ||||
|  | ||||
|                         pe.Graphics.FillRectangle(Brushes.SkyBlue, rrv); | ||||
|                         pe.Graphics.DrawString("다음예약 => " + data.reserve, fontNo, Brushes.Black, rrv, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center }); | ||||
|                         pe.Graphics.DrawRectangle(Pens.DimGray, rrv.Left, rrv.Top, rrv.Width, rrv.Height); | ||||
|  | ||||
|  | ||||
|                     } | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|                     cnt += 1; | ||||
|  | ||||
|                 } | ||||
|             } | ||||
|             // fNo.Dispose(); | ||||
|             if (brect) brect = false; | ||||
|         } | ||||
|  | ||||
|  | ||||
|  | ||||
|         void arLabel_Resize(object sender, EventArgs e) | ||||
|         { | ||||
|             brect = true; | ||||
|             Invalidate(); | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										150
									
								
								SubProject/FPJ0000/Project/fLayoutEdit.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										150
									
								
								SubProject/FPJ0000/Project/fLayoutEdit.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,150 @@ | ||||
|  | ||||
| namespace FPJ0000.Project | ||||
| { | ||||
|     partial class fLayoutEdit | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// Required designer variable. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Clean up any resources being used. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form Designer generated code | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Required method for Designer support - do not modify | ||||
|         /// the contents of this method with the code editor. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             this.label1 = new System.Windows.Forms.Label(); | ||||
|             this.label2 = new System.Windows.Forms.Label(); | ||||
|             this.label3 = new System.Windows.Forms.Label(); | ||||
|             this.textBox1 = new System.Windows.Forms.TextBox(); | ||||
|             this.textBox2 = new System.Windows.Forms.TextBox(); | ||||
|             this.textBox3 = new System.Windows.Forms.TextBox(); | ||||
|             this.button1 = new System.Windows.Forms.Button(); | ||||
|             this.button2 = new System.Windows.Forms.Button(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // label1 | ||||
|             //  | ||||
|             this.label1.AutoSize = true; | ||||
|             this.label1.Location = new System.Drawing.Point(19, 61); | ||||
|             this.label1.Name = "label1"; | ||||
|             this.label1.Size = new System.Drawing.Size(58, 21); | ||||
|             this.label1.TabIndex = 0; | ||||
|             this.label1.Text = "예약자"; | ||||
|             //  | ||||
|             // label2 | ||||
|             //  | ||||
|             this.label2.AutoSize = true; | ||||
|             this.label2.Location = new System.Drawing.Point(35, 15); | ||||
|             this.label2.Name = "label2"; | ||||
|             this.label2.Size = new System.Drawing.Size(42, 21); | ||||
|             this.label2.TabIndex = 1; | ||||
|             this.label2.Text = "번호"; | ||||
|             //  | ||||
|             // label3 | ||||
|             //  | ||||
|             this.label3.AutoSize = true; | ||||
|             this.label3.Location = new System.Drawing.Point(215, 15); | ||||
|             this.label3.Name = "label3"; | ||||
|             this.label3.Size = new System.Drawing.Size(106, 21); | ||||
|             this.label3.TabIndex = 1; | ||||
|             this.label3.Text = "프로젝트번호"; | ||||
|             //  | ||||
|             // textBox1 | ||||
|             //  | ||||
|             this.textBox1.Location = new System.Drawing.Point(83, 12); | ||||
|             this.textBox1.Name = "textBox1"; | ||||
|             this.textBox1.ReadOnly = true; | ||||
|             this.textBox1.Size = new System.Drawing.Size(100, 29); | ||||
|             this.textBox1.TabIndex = 2; | ||||
|             this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // textBox2 | ||||
|             //  | ||||
|             this.textBox2.Location = new System.Drawing.Point(327, 12); | ||||
|             this.textBox2.Name = "textBox2"; | ||||
|             this.textBox2.Size = new System.Drawing.Size(100, 29); | ||||
|             this.textBox2.TabIndex = 2; | ||||
|             this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // textBox3 | ||||
|             //  | ||||
|             this.textBox3.Location = new System.Drawing.Point(83, 58); | ||||
|             this.textBox3.Name = "textBox3"; | ||||
|             this.textBox3.ReadOnly = true; | ||||
|             this.textBox3.Size = new System.Drawing.Size(238, 29); | ||||
|             this.textBox3.TabIndex = 3; | ||||
|             this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // button1 | ||||
|             //  | ||||
|             this.button1.Location = new System.Drawing.Point(23, 104); | ||||
|             this.button1.Name = "button1"; | ||||
|             this.button1.Size = new System.Drawing.Size(404, 43); | ||||
|             this.button1.TabIndex = 4; | ||||
|             this.button1.Text = "확인"; | ||||
|             this.button1.UseVisualStyleBackColor = true; | ||||
|             this.button1.Click += new System.EventHandler(this.button1_Click); | ||||
|             //  | ||||
|             // button2 | ||||
|             //  | ||||
|             this.button2.Location = new System.Drawing.Point(327, 58); | ||||
|             this.button2.Name = "button2"; | ||||
|             this.button2.Size = new System.Drawing.Size(97, 29); | ||||
|             this.button2.TabIndex = 5; | ||||
|             this.button2.Text = "설정"; | ||||
|             this.button2.UseVisualStyleBackColor = true; | ||||
|             this.button2.Click += new System.EventHandler(this.button2_Click); | ||||
|             //  | ||||
|             // fLayoutEdit | ||||
|             //  | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | ||||
|             this.ClientSize = new System.Drawing.Size(444, 162); | ||||
|             this.Controls.Add(this.button2); | ||||
|             this.Controls.Add(this.button1); | ||||
|             this.Controls.Add(this.textBox3); | ||||
|             this.Controls.Add(this.textBox2); | ||||
|             this.Controls.Add(this.textBox1); | ||||
|             this.Controls.Add(this.label3); | ||||
|             this.Controls.Add(this.label2); | ||||
|             this.Controls.Add(this.label1); | ||||
|             this.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.MaximizeBox = false; | ||||
|             this.MinimizeBox = false; | ||||
|             this.Name = "fLayoutEdit"; | ||||
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
|             this.Text = "프로젝트 레이아웃 데이터 편집"; | ||||
|             this.Load += new System.EventHandler(this.fLayoutEdit_Load); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         private System.Windows.Forms.Label label1; | ||||
|         private System.Windows.Forms.Label label2; | ||||
|         private System.Windows.Forms.Label label3; | ||||
|         private System.Windows.Forms.TextBox textBox1; | ||||
|         private System.Windows.Forms.TextBox textBox2; | ||||
|         private System.Windows.Forms.TextBox textBox3; | ||||
|         private System.Windows.Forms.Button button1; | ||||
|         private System.Windows.Forms.Button button2; | ||||
|     } | ||||
| } | ||||
							
								
								
									
										87
									
								
								SubProject/FPJ0000/Project/fLayoutEdit.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										87
									
								
								SubProject/FPJ0000/Project/fLayoutEdit.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,87 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace FPJ0000.Project | ||||
| { | ||||
|     public partial class fLayoutEdit : Form | ||||
|     { | ||||
|         public fLayoutEdit(int no) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             this.textBox1.Text = no.ToString(); | ||||
|  | ||||
|             var db = new EEEntities(); | ||||
|             var dr = db.EETGW_Project_Layout.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.no == no).FirstOrDefault(); | ||||
|             if (dr != null) | ||||
|             { | ||||
|                 textBox2.Text = dr.project.ToString(); | ||||
|                 textBox3.Text = dr.reserve; | ||||
|                 if (string.IsNullOrEmpty(dr.reserve) == false) | ||||
|                     textBox3.Tag = dr.reserve; | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 textBox2.Enabled = false; | ||||
|                 textBox3.Enabled = false; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private void fLayoutEdit_Load(object sender, EventArgs e) | ||||
|         { | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void button1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|  | ||||
|  | ||||
|  | ||||
|             //값을 저장해준다. | ||||
|             var db = new EEEntities(); | ||||
|             var no = int.Parse(textBox1.Text); | ||||
|             var dr = db.EETGW_Project_Layout.Where(t => t.no == no).FirstOrDefault(); | ||||
|             if (dr != null) | ||||
|             { | ||||
|                 dr.reserve = this.textBox3.Text.Trim(); | ||||
|                 dr.project = int.Parse(textBox2.Text); | ||||
|                 db.SaveChanges(); | ||||
|                 DialogResult = DialogResult.OK; | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 FCOMMON.Util.MsgE("해당 자료를 찾을 수 없습니다"); | ||||
|             } | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void button2_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             if (string.IsNullOrEmpty(textBox3.Text)) | ||||
|             { | ||||
|                 textBox3.Text = FCOMMON.info.Login.nameK; | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 if (textBox3.Text != FCOMMON.info.Login.nameK) | ||||
|                 { | ||||
|                     FCOMMON.Util.MsgE("타인이 예약된 상태입니다. 기 예약자가 해당 내역을 지운 후 사용하세요\n"+ | ||||
|                         "(현재는 베타라서 삭제 됩니다)"); | ||||
|  | ||||
|                     textBox3.Text = string.Empty; | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     if(FCOMMON.Util.MsgQ("예약 정보를 삭제 할까요?")== DialogResult.Yes) | ||||
|                     textBox3.Text = string.Empty; | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										120
									
								
								SubProject/FPJ0000/Project/fLayoutEdit.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										120
									
								
								SubProject/FPJ0000/Project/fLayoutEdit.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,120 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
| </root> | ||||
							
								
								
									
										412
									
								
								SubProject/FPJ0000/Project/fProjectLayout.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										412
									
								
								SubProject/FPJ0000/Project/fProjectLayout.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -30,42 +30,12 @@ | ||||
|         { | ||||
|             this.components = new System.ComponentModel.Container(); | ||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectLayout)); | ||||
|             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.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             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.예약변경ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); | ||||
|             this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager(); | ||||
|             this.bsHist = new System.Windows.Forms.BindingSource(this.components); | ||||
| @@ -74,10 +44,8 @@ | ||||
|             this.panel1 = new System.Windows.Forms.Panel(); | ||||
|             this.btSearch = new System.Windows.Forms.Button(); | ||||
|             this.button1 = new System.Windows.Forms.Button(); | ||||
|             this.cmsview1 = new CMSControl.cmsview(); | ||||
|             this.btEdit = new System.Windows.Forms.ToolStripButton(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||
|             this.bn.SuspendLayout(); | ||||
|             this.ctlLayout1 = new FPJ0000.Project.ctlLayout(); | ||||
|             this.프로젝트해제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); | ||||
|             this.cm.SuspendLayout(); | ||||
| @@ -85,40 +53,6 @@ | ||||
|             this.panel1.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.btEdit, | ||||
|             this.toolStripSeparator1, | ||||
|             this.toolStripButton1, | ||||
|             this.toolStripButton3, | ||||
|             this.toolStripButton4, | ||||
|             this.toolStripSeparator5}); | ||||
|             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(1339, 25); | ||||
|             this.bn.TabIndex = 0; | ||||
|             this.bn.Text = "bindingNavigator1"; | ||||
|             //  | ||||
|             // bs | ||||
|             //  | ||||
|             this.bs.DataMember = "Projects"; | ||||
| @@ -130,260 +64,38 @@ | ||||
|             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.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); | ||||
|             //  | ||||
|             // toolStripSeparator1 | ||||
|             //  | ||||
|             this.toolStripSeparator1.Name = "toolStripSeparator1"; | ||||
|             this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); | ||||
|             //  | ||||
|             // toolStripButton1 | ||||
|             //  | ||||
|             this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); | ||||
|             this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.toolStripButton1.Name = "toolStripButton1"; | ||||
|             this.toolStripButton1.Size = new System.Drawing.Size(75, 22); | ||||
|             this.toolStripButton1.Text = "부품목록"; | ||||
|             this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); | ||||
|             //  | ||||
|             // toolStripButton3 | ||||
|             //  | ||||
|             this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); | ||||
|             this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.toolStripButton3.Name = "toolStripButton3"; | ||||
|             this.toolStripButton3.Size = new System.Drawing.Size(56, 22); | ||||
|             this.toolStripButton3.Text = "I/O맵"; | ||||
|             this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); | ||||
|             //  | ||||
|             // toolStripButton4 | ||||
|             //  | ||||
|             this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image"))); | ||||
|             this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.toolStripButton4.Name = "toolStripButton4"; | ||||
|             this.toolStripButton4.Size = new System.Drawing.Size(75, 22); | ||||
|             this.toolStripButton4.Text = "공유폴더"; | ||||
|             this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click); | ||||
|             //  | ||||
|             // toolStripSeparator5 | ||||
|             //  | ||||
|             this.toolStripSeparator5.Name = "toolStripSeparator5"; | ||||
|             this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25); | ||||
|             //  | ||||
|             // 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.프로젝트해제ToolStripMenuItem, | ||||
|             this.엑셀파일로저장ToolStripMenuItem, | ||||
|             this.예약변경ToolStripMenuItem}); | ||||
|             this.cm.Name = "contextMenuStrip1"; | ||||
|             this.cm.Size = new System.Drawing.Size(299, 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(298, 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(295, 6); | ||||
|             this.cm.Size = new System.Drawing.Size(243, 170); | ||||
|             //  | ||||
|             // 편집ToolStripMenuItem | ||||
|             //  | ||||
|             this.편집ToolStripMenuItem.Name = "편집ToolStripMenuItem"; | ||||
|             this.편집ToolStripMenuItem.Size = new System.Drawing.Size(298, 36); | ||||
|             this.편집ToolStripMenuItem.Text = "편집"; | ||||
|             this.편집ToolStripMenuItem.Size = new System.Drawing.Size(242, 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(298, 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(298, 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(298, 36); | ||||
|             this.공유폴더ToolStripMenuItem.Text = "공유 폴더"; | ||||
|             this.공유폴더ToolStripMenuItem.Click += new System.EventHandler(this.공유폴더ToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // scheduleToolStripMenuItem | ||||
|             //  | ||||
|             this.scheduleToolStripMenuItem.ForeColor = System.Drawing.Color.Black; | ||||
|             this.scheduleToolStripMenuItem.Name = "scheduleToolStripMenuItem"; | ||||
|             this.scheduleToolStripMenuItem.Size = new System.Drawing.Size(298, 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(295, 6); | ||||
|             //  | ||||
|             // 메일발송주소관리ToolStripMenuItem | ||||
|             //  | ||||
|             this.메일발송주소관리ToolStripMenuItem.ForeColor = System.Drawing.Color.Gray; | ||||
|             this.메일발송주소관리ToolStripMenuItem.Name = "메일발송주소관리ToolStripMenuItem"; | ||||
|             this.메일발송주소관리ToolStripMenuItem.Size = new System.Drawing.Size(298, 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(298, 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(298, 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(298, 36); | ||||
|             this.편집ToolStripMenuItem1.Text = "편집"; | ||||
|             //  | ||||
|             // toolStripMenuItem1 | ||||
|             //  | ||||
|             this.toolStripMenuItem1.Name = "toolStripMenuItem1"; | ||||
|             this.toolStripMenuItem1.Size = new System.Drawing.Size(295, 6); | ||||
|             //  | ||||
|             // 엑셀파일로저장ToolStripMenuItem | ||||
|             //  | ||||
|             this.엑셀파일로저장ToolStripMenuItem.Name = "엑셀파일로저장ToolStripMenuItem"; | ||||
|             this.엑셀파일로저장ToolStripMenuItem.Size = new System.Drawing.Size(298, 36); | ||||
|             this.엑셀파일로저장ToolStripMenuItem.Text = "목록 내보내기"; | ||||
|             this.엑셀파일로저장ToolStripMenuItem.Size = new System.Drawing.Size(242, 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(242, 36); | ||||
|             this.예약변경ToolStripMenuItem.Text = "예약 변경"; | ||||
|             this.예약변경ToolStripMenuItem.Click += new System.EventHandler(this.예약변경ToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // ta | ||||
|             //  | ||||
|             this.ta.ClearBeforeFill = true; | ||||
| @@ -459,53 +171,47 @@ | ||||
|             this.button1.UseVisualStyleBackColor = true; | ||||
|             this.button1.Click += new System.EventHandler(this.button1_Click_1); | ||||
|             //  | ||||
|             // cmsview1 | ||||
|             // ctlLayout1 | ||||
|             //  | ||||
|             this.cmsview1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); | ||||
|             this.cmsview1.ContextMenuStrip = this.cm; | ||||
|             this.cmsview1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.cmsview1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.cmsview1.ForeColor = System.Drawing.Color.Black; | ||||
|             this.cmsview1.GridCount = new System.Drawing.Point(5, 2); | ||||
|             this.cmsview1.isDebug = false; | ||||
|             this.cmsview1.ItemMargin = ((ushort)(3)); | ||||
|             this.cmsview1.Location = new System.Drawing.Point(0, 55); | ||||
|             this.cmsview1.Name = "cmsview1"; | ||||
|             this.cmsview1.Padding = new System.Windows.Forms.Padding(10); | ||||
|             this.cmsview1.Page = ((ushort)(1)); | ||||
|             this.cmsview1.Size = new System.Drawing.Size(1339, 602); | ||||
|             this.cmsview1.TabIndex = 10; | ||||
|             this.cmsview1.Text = "cmsview1"; | ||||
|             this.ctlLayout1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); | ||||
|             this.ctlLayout1.ContextMenuStrip = this.cm; | ||||
|             this.ctlLayout1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.ctlLayout1.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.ctlLayout1.fontDue = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold); | ||||
|             this.ctlLayout1.fontName = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold); | ||||
|             this.ctlLayout1.fontNo = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold); | ||||
|             this.ctlLayout1.ForeColor = System.Drawing.Color.Yellow; | ||||
|             this.ctlLayout1.Location = new System.Drawing.Point(0, 55); | ||||
|             this.ctlLayout1.Name = "ctlLayout1"; | ||||
|             this.ctlLayout1.Padding = new System.Windows.Forms.Padding(10); | ||||
|             this.ctlLayout1.Size = new System.Drawing.Size(1339, 906); | ||||
|             this.ctlLayout1.TabIndex = 11; | ||||
|             this.ctlLayout1.Text = "ctlLayout1"; | ||||
|             //  | ||||
|             // btEdit | ||||
|             // 프로젝트해제ToolStripMenuItem | ||||
|             //  | ||||
|             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); | ||||
|             this.프로젝트해제ToolStripMenuItem.Name = "프로젝트해제ToolStripMenuItem"; | ||||
|             this.프로젝트해제ToolStripMenuItem.Size = new System.Drawing.Size(242, 36); | ||||
|             this.프로젝트해제ToolStripMenuItem.Text = "프로젝트 해제"; | ||||
|             this.프로젝트해제ToolStripMenuItem.Click += new System.EventHandler(this.프로젝트해제ToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // fProjectLayout | ||||
|             //  | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | ||||
|             this.ClientSize = new System.Drawing.Size(1339, 682); | ||||
|             this.Controls.Add(this.cmsview1); | ||||
|             this.ClientSize = new System.Drawing.Size(1339, 961); | ||||
|             this.Controls.Add(this.ctlLayout1); | ||||
|             this.Controls.Add(this.panel1); | ||||
|             this.Controls.Add(this.bn); | ||||
|             this.Name = "fProjectLayout"; | ||||
|             this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; | ||||
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; | ||||
|             this.Text = "Project Layout"; | ||||
|             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.bsHist)).EndInit(); | ||||
|             this.panel1.ResumeLayout(false); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
|         } | ||||
|  | ||||
| @@ -515,47 +221,17 @@ | ||||
|         private System.Windows.Forms.BindingSource bs; | ||||
|         private dsPRJTableAdapters.ProjectsTableAdapter ta; | ||||
|         private dsPRJTableAdapters.TableAdapterManager tam; | ||||
|         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.ContextMenuStrip cm; | ||||
|         private System.Windows.Forms.ToolStripMenuItem partListToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; | ||||
|         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.ToolStripMenuItem scheduleToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem makeRepeatToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem iOMapToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripSeparator toolStripMenuItem3; | ||||
|         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.ToolTip toolTip1; | ||||
|         private System.Windows.Forms.ToolStripMenuItem 편집ToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem 편집ToolStripMenuItem1; | ||||
|         private System.Windows.Forms.ToolStripMenuItem 삭제ToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripButton toolStripButton1; | ||||
|         private System.Windows.Forms.ToolStripButton toolStripButton3; | ||||
|         private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; | ||||
|         private System.Windows.Forms.ToolStripMenuItem 공유폴더ToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripButton toolStripButton4; | ||||
|         private System.Windows.Forms.Panel panel1; | ||||
|         private System.Windows.Forms.Button button1; | ||||
|         private System.Windows.Forms.Button btSearch; | ||||
|         private CMSControl.cmsview cmsview1; | ||||
|         private System.Windows.Forms.ToolStripButton btEdit; | ||||
|         private Project.ctlLayout ctlLayout1; | ||||
|         private System.Windows.Forms.ToolStripMenuItem 예약변경ToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem 프로젝트해제ToolStripMenuItem; | ||||
|     } | ||||
| } | ||||
| @@ -6,6 +6,7 @@ using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Windows.Forms; | ||||
| using static FPJ0000.Project.ctlLayout; | ||||
| using util = FCOMMON.Util; | ||||
|  | ||||
| namespace FPJ0000 | ||||
| @@ -19,62 +20,106 @@ namespace FPJ0000 | ||||
|             fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); | ||||
|             this.dsMSSQL.Projects.TableNewRow += Projects_TableNewRow; | ||||
|             this.FormClosed += __Closed; | ||||
|             this.ctlLayout1.itemclick += CtlLayout1_itemclick; | ||||
|  | ||||
|         } | ||||
|  | ||||
|         int project = -1; | ||||
|         int no = 0; | ||||
|         private void CtlLayout1_itemclick(itemdata item, MouseEventArgs e) | ||||
|         { | ||||
|             project = item.project; | ||||
|             no = item.no; | ||||
|  | ||||
|             if (project < 1) return; | ||||
|  | ||||
|             Console.WriteLine("project:" + project.ToString()); | ||||
|         } | ||||
|  | ||||
|         void __Closed(object sender, FormClosedEventArgs e) | ||||
|         { | ||||
|  | ||||
|             this.ctlLayout1.itemclick -= CtlLayout1_itemclick; | ||||
|         } | ||||
|  | ||||
|         private void __Load(object sender, EventArgs e) | ||||
|         { | ||||
|              | ||||
|             this.Show(); | ||||
|             Application.DoEvents(); | ||||
|             refreshData(); | ||||
|  | ||||
|  | ||||
|         } | ||||
|  | ||||
|         void refreshData() | ||||
|         { | ||||
|             if (ctlLayout1.items == null || ctlLayout1.items.Count != 10) | ||||
|             { | ||||
|                 for (int i = 1; i <= 10; i++) | ||||
|                 { | ||||
|                     ctlLayout1.items.Add(new itemdata() | ||||
|                     { | ||||
|                         no = i, | ||||
|                         body = "", | ||||
|                         champion = "", | ||||
|                         duedate = "미사용" | ||||
|                     }); | ||||
|  | ||||
|                 } | ||||
|  | ||||
|             } | ||||
|             foreach (var item in ctlLayout1.items) | ||||
|             { | ||||
|                 item.body = string.Empty; | ||||
|                 item.duedate = "미사용"; | ||||
|                 item.champion = "--"; | ||||
|                 item.bodyColor = ctlLayout1.BackColor; | ||||
|             } | ||||
|             ctlLayout1.Refresh(); | ||||
|  | ||||
|  | ||||
|             var db = new EEEntities(); | ||||
|             var list = db.EETGW_Project_Layout.Where(t => t.gcode == FCOMMON.info.Login.gcode).OrderBy(t => t.no).ToList(); | ||||
|             var list = db.EETGW_Project_Layout.AsNoTracking().Where(t => t.gcode == FCOMMON.info.Login.gcode).OrderBy(t => t.no).ToList(); | ||||
|             var maxrow = list.Max(t => t.row); | ||||
|             var maxcol = list.Max(t => t.col); | ||||
|             if (list.Any()) | ||||
|             { | ||||
|                 this.cmsview1.GridCount = new Point(maxcol + 1, maxrow + 1); | ||||
|                 foreach (var item in list) | ||||
|                 //this.cmsview1.GridCount = new Point(maxcol + 1, maxrow + 1); | ||||
|                 foreach (var dr in list) | ||||
|                 { | ||||
|                     var newitem = (new CMSControl.Slot() | ||||
|                     var data = ctlLayout1.items[dr.no - 1]; | ||||
|                     var drprj = db.vEETGW_Project_LayoutList.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.idx == dr.project).FirstOrDefault(); | ||||
|                     if (drprj == null) | ||||
|                     { | ||||
|                         BackColor = Color.Lime, | ||||
|                         BorderColor = Color.Gray, | ||||
|                         BorderSize = 2f, | ||||
|                         Enable = true, | ||||
|                         ForeColor = Color.Black, | ||||
|                         Name = item.no.ToString(), | ||||
|                         Index = (byte)item.no, | ||||
|                         No = item.no.ToString(), | ||||
|                         Selected = false | ||||
|                     }); | ||||
|  | ||||
|                     if (item.project != null) | ||||
|                     { | ||||
|                         var project = (int)item.project; | ||||
|                         if (project > 0) | ||||
|                         { | ||||
|                             var drp = db.Projects.Where(t => t.idx == item.project && t.gcode == item.gcode).FirstOrDefault(); | ||||
|                             if (drp != null) | ||||
|                             { | ||||
|                                 newitem.Name = drp.name; | ||||
|                             } | ||||
|                         } | ||||
|                         data.bodyColor = Color.DarkMagenta; | ||||
|                         data.body = string.Empty; | ||||
|                         data.champion = string.Empty; | ||||
|                         data.duedate = "미 할당"; | ||||
|                         data.project = -1; | ||||
|                         data.reserve = string.Empty; | ||||
|                     } | ||||
|                     cmsview1.Slots.Add(newitem); | ||||
|                     else | ||||
|                     { | ||||
|                         data.reserve = dr.reserve; | ||||
|                         data.project = drprj.idx; | ||||
|                         data.body = "[" + drprj.status + "] " + drprj.name; | ||||
|                         data.champion = drprj.userManager; | ||||
|                         data.duedate = drprj.ddate; | ||||
|                         var isdate = DateTime.TryParse(drprj.ddate, out DateTime dt); | ||||
|                         if (isdate) | ||||
|                         { | ||||
|                             if (DateTime.Now >= dt) data.bodyColor = Color.Tomato; | ||||
|                             else data.bodyColor = ctlLayout1.BackColor; | ||||
|                         } | ||||
|                         else | ||||
|                         { | ||||
|                             data.bodyColor = ctlLayout1.BackColor; | ||||
|                         } | ||||
|  | ||||
|                     } | ||||
|  | ||||
|                 } | ||||
|             } | ||||
|             this.cmsview1.Refresh(); | ||||
|             ctlLayout1.Refresh(); | ||||
|         } | ||||
|  | ||||
|  | ||||
| @@ -242,13 +287,24 @@ namespace FPJ0000 | ||||
|         } | ||||
|         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) | ||||
|             { | ||||
|             if (this.project < 1) return; | ||||
|  | ||||
|                 FCOMMON.Util.MsgI("파일생성 완료\n\n" + sd.FileName); | ||||
|             var dt = ta.GetbyIDX(this.project); | ||||
|             if (dt == null || dt.Rows.Count < 1) | ||||
|             { | ||||
|                 util.MsgE("프로젝트가 존재하지 않습니다"); | ||||
|                 return; | ||||
|             } | ||||
|             var dr = dt.Rows[0] as dsPRJ.ProjectsRow; | ||||
|             var f = new fProjectData(dr); | ||||
|             if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) | ||||
|             { | ||||
|                 if (util.MsgQ("저장 할까요?") == DialogResult.Yes) | ||||
|                 { | ||||
|                     dr.EndEdit(); | ||||
|                     ta.Update(dr); | ||||
|                     refreshData(); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|  | ||||
| @@ -320,20 +376,28 @@ namespace FPJ0000 | ||||
|             var drv = this.bs.Current as DataRowView; | ||||
|             if (drv == null) return; | ||||
|             var dr = drv.Row as dsPRJ.ProjectsRow; | ||||
|             var f = new fProjectData(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(); | ||||
|             var f = new FCM0000.fLovProject(string.Empty, "진행"); | ||||
|             if (f.ShowDialog() == DialogResult.OK) | ||||
|             { | ||||
|                 var db = new EEEntities(); | ||||
|                 var dr = db.EETGW_Project_Layout.Where(t => t.no == this.no && t.project == this.project).FirstOrDefault(); | ||||
|                 if (dr == null) | ||||
|                 { | ||||
|                     util.MsgE("기존 레이아웃 자료를 확인 할 수 없습니다"); | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     dr.project = f.Index; | ||||
|                     db.SaveChanges(); | ||||
|                     util.MsgI("프로젝트를 변경했습니다"); | ||||
|                     refreshData(); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private void tbRequest_KeyDown(object sender, KeyEventArgs e) | ||||
| @@ -497,5 +561,36 @@ namespace FPJ0000 | ||||
|         { | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void 예약변경ToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             if (this.no < 1) return; | ||||
|  | ||||
|             var f = new Project.fLayoutEdit(this.no); | ||||
|             if (f.ShowDialog() == DialogResult.OK) | ||||
|                 refreshData(); | ||||
|         } | ||||
|  | ||||
|         private void 프로젝트해제ToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             if(this.project < 1) | ||||
|             { | ||||
|                 FCOMMON.Util.MsgE("선택된 프로젝트가 없습니다"); | ||||
|                 return; | ||||
|             } | ||||
|             var dlg = FCOMMON.Util.MsgQ("슬롯 " + this.no.ToString() + "의 프로젝트를 해제 할까요?\n" + | ||||
|                 "해당 슬롯은 '미사용'이 됩니다"); | ||||
|             if(dlg == DialogResult.Yes) | ||||
|             { | ||||
|                 var db = new EEEntities(); | ||||
|                 var dr= db.EETGW_Project_Layout.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.no == this.no).FirstOrDefault(); | ||||
|                 if(dr != null) | ||||
|                 { | ||||
|                     dr.project = -1; | ||||
|                     db.SaveChanges(); | ||||
|                     refreshData(); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| } | ||||
| @@ -117,160 +117,15 @@ | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>321, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>122, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
|   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||
|   <data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 | ||||
|         wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 | ||||
|         v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg | ||||
|         UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA | ||||
|         Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu | ||||
|         lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w | ||||
|         5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f | ||||
|         Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ | ||||
|         08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 | ||||
|         n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI | ||||
|         N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f | ||||
|         oAc0QjgAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// | ||||
|         h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B | ||||
|         twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA | ||||
|         kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG | ||||
|         WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 | ||||
|         8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="btEdit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         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 | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL/SURBVDhPY6AYFB9PNQfh/ENAvC/RPGtnjHnqlhjzxA0R | ||||
|         5jGrg80jFvmZB8/1Mveb4Wru1e9gDtWGAEXH013r98dzxCPj+TBsD8b2IFxvz+HUYe0K1YYAeQeSXQuP | ||||
|         hXAWH0tvAuHCQylNufuSmjJ3xTWlbIlpSlgX0RSzIqgpbJFfk890twV+093qPCY61EG1MzBk70lwTduU | ||||
|         xlV4LG1R3oFU08wdCVap22LtUzZGOMWtDnaLXOrvFbzQ18d/pluAU6dNlUevo5dTu/U8qHYGhvStMa4x | ||||
|         O2O4cw8kLc7YHm1bdCz1Rt7R9JsFB5Nv5eyOv52xM/pOyoawu7Hrwu5GLgx4GrzI507ALLfXPlPdTrtP | ||||
|         cDzNkLA2wjVpgx9v1u74xalbolyA3viftjW6KnljRFf82rBpsatClkUtD9wUutB3T8AM14t+U12POXc7 | ||||
|         3Hfrs98IDJP/DDHLAl2jF3vwpW6NWpywJswr/2DK/9TNEXMS1oevjFkZsi1qWeCBkIXexwNne5zxmuh8 | ||||
|         273f7oJju+Ujx3arzdYNpv8ZQub5uvrPtxdIWBe6JHxJQBAwTP4nbQjfEbcy5BDQ/6dCFvhc8Jvpcdl7 | ||||
|         kuM113bbB/btllct600fWdYabTStMPjP4DvdzdVzgpNr+GLfHb5TXGvTtsX8j1oRdC1sod8tv5nud32n | ||||
|         uz5w7Qdq7LJ5aNds/tC6xvS6aYXeQ5NyvfX6hVr/oUHJwBA032ue7wz3oMT14f/Dl/qeD5kHtHWG61X3 | ||||
|         iY7XnLtsb9i1mN+wrDW+Zlyme1U3X/WBXp7Gaq0sVYQBQJvmAeN3XvTywP++sz0fu01yeeLYZw/0q+Uj | ||||
|         m0azh6blug+MSnUfaGdr3tfMULqnmaG8TDVFEWEADITM9/nvN8N9s9ckh02uXTYbgTavt6o3Xmdarr/a | ||||
|         oEBrhXau2lL1NJVFKsnyCxXjZTENAKa0/54THf87d9n8t2u2+A909n+Tcv3/IP9qZ6v9V09T/q+cpPBf | ||||
|         IU72v1y0FKYBdAYMDACTvk5keWFIqgAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIxSURBVDhPpZL/SxNxHMbvPwoClVIsFrTKUtcmLY0WGChF | ||||
|         SKESs3bThpqMigpL15TLXClrrcX6Yrmlk6lpS1vSV/sy+7Ld2tzW2sronu4+O3S3/Kle8HBw7+d5ePPh | ||||
|         Tf03RsdHtN8IwGB9D/3API73v4GWefVIHEvoG43qekcWF3ofRmB2hdH9IAwqmf6FXNXTtzkxI4FxR7/n | ||||
|         eqmT3hYYPDroR7Q45mokP+tMzyBmJPS4v5J5/9wlMP6LMM+cB4UcBMOBC7OrFpiGw2SeDWXxhJAtwbD/ | ||||
|         nE9SUGVRqCqYHSjrkkPdrZD4Ket4UOzKEI6noTk9tVxQZSlVKekSrnm4CW2jzSg/s40EBQbGgpkC+2QI | ||||
|         9okgnNNBvP2SwO6OCVKg7itVKeitnPZuPXaZylF8ogDy1k0Y9IZgFTTO/r3B609xVLR6oWK2V5bRcq7R | ||||
|         WQcZXcgV0XlbjDcXEE8twTbJEq+d/5ICsgW/gY1XjXUflD0lqL66B4cdB7GRXsetp9duFjZqs31ALLkE | ||||
|         xxSLW9MZUUNPWCRSKy+ruVwJvVuLQ/YaFNMFXH5TJizQMvgOi99+4o4vs8H9Gf6QnI9ZZEvdpYSsvRBF | ||||
|         +jzkH12zHBbQXZsnBUN8UAiTguv8Q2TzIhCDxuhd9Q60V14iyhe4noaJ1+3nC4RArjZ0uH+LGQkNzHNE | ||||
|         Ej/AxtL4HEkhwCZB7TR4kCtZwz27mJFwxDw3VtvpT9Z2zqL6rA97T63cyz9CUX8AHwQsuvhZgxsAAAAA | ||||
|         SUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJ1SURBVDhPpZFJTBNhHMXn4J2bdw9eRCSKVG8cTExMPHgy | ||||
|         JB5MNF7ARIMJBw9UYoqACQaoS5BgFGQXlCKhNaSpgbaAUKS1ltLWaSmVqcCUmc7S6XSeX8soamLi8jIv | ||||
|         s+T7vf8y1H/LP162FB07q8R+8erEyXDoxZH94cGyop/8pqzIbq/Yp+MU5e42yJqWA6CRK+/d56yURNxe | ||||
|         lVlzXZC/ObFwTYq6aqKBV8fO6zhF+UbLU5oqQY63QIi0QqCfQIwOQ8uyJCsNTeWJd3bfs9tgGCYTGDH4 | ||||
|         dJyigr1HuZyyQ2Az0qF2cB/qsTVXheT8VbBeE9jlW2CXbmLbU0tcQzpjEBw5zus4CRgqV7LiBlifGduL | ||||
|         jWAcNyAys6Qqp1fP31PfO8iP5xkqlXQ838EJpTB/TiYWAVUogKoYgJy4D59vABanG11TNPqm12HzxJDf | ||||
|         m46TALMho6kiVM6NLGuFsjmMzEYnpLW78C53Y3yBwepnAZ82ZcyGOUwufcGYpUnVcfIXOgxyTuGgbFmQ | ||||
|         YXoKVaWYCWKkFoPOBPxxHnO0CGdEwAyxNyGj/y0NHacoz71SSVNYAj+FvN4KKVpP4BoIwcuFtkNJGc5w | ||||
|         GtOhNKYCPBZiMnoc8b2AlaaShJjypfz2vlx6tQt88AH4QAv4jw3oJzP71wU4grtw3u/WZHRMrOwFBBqK | ||||
|         rwcaD/f67hxKehpLpB/9erRZnQ1xWCSQi5YwT6pb3vMwmsyate7URT3i92qz0gc6bLRxiOxiYCaBxzZH | ||||
|         zmh6pHknO+Fur+SeVxdX6kf/XC/rzlxxPbzERqxtmLhdIeif/07Pqg9WThpPi7bmc3u7+DdR1FcTkSP2 | ||||
|         j4Z0bAAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>387, 17</value> | ||||
|   </metadata> | ||||
|   <data name="autoToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         R0lGODlhEAAQAIQfAJXG2JXa+ZLO5ChrlkCy4TZ1kiVvpCN0trvo9SN5xTd4lrfh7iR9zo3S+EGz7JDJ | ||||
|         4TaCromrvC9ymyV+0Dd3mTl1koe72YvN7LTj+9ne6N3g6v7+/0Cw2Stoh////////yH/C05FVFNDQVBF | ||||
|         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAInwA/CBzooaAHgQUHKvRQoUABCgUlHFT4IYMCBAsQIIBg | ||||
|         wcBEgh0WCBDAgcAFDAc+fvDQIUKHDgMeEHDQIIFKlgoMGgjQoAGDmwUOehhg4EACBhM+GlzKVOkEBgkO | ||||
|         GBggNOhCBhgCBPBYUEGHmwkCOCDwYMCAll8XHghwgQCHkQDSLjRgAcKDBwAAKNCwgaIHiR4oOKygkuDE | ||||
|         pRQTK6YYEAA7 | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="resetToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         R0lGODlhEAAQAIQfALnik2aXQv7+/dPut73llbfala3LmW6gSWqdQ2eYRGqaSLfck568iYrUQN7yzF6R | ||||
|         PLTXlYjUP8XwmYfQQLbYl4jRQGiaQsPumNbyu7nglNPzsLXYlf7+/lCHK////////yH/C05FVFNDQVBF | ||||
|         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIlgA/CBzooaAHgQUHEvSgIEAABQUfHFTIwQECDAMwYDhg | ||||
|         oENCgRw8dBgAAECFBgsweJxYsAODDjApTIhAwCMHkCItGOxwgUCGlQQTeAgJsyhQg0iTGvzQ0qhND0IX | ||||
|         dtBwQcJKDxZsIhQpIcIECkVffmwpYUGDCiUheBQg1cCBAgU2QFDg4KZCDxIZOoQ48S7LpQoDCx4cEAA7 | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="saveToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         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= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="loadToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         R0lGODlhEAAQAIQfAJfL/OTs9HWVsW6aUqnT+6bnZldwkYiux7TZ/O3z+UlVa/P2+ZfTW36wWJDLV4m7 | ||||
|         69nn78bi/qjL3qDP+VJhe4rAVa7S40NLXJ3bYJrA1ikxQz5FVdDU22OPRf///////yH/C05FVFNDQVBF | ||||
|         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIwQA9CBxIcOCHgx4gWLAgIUOGAwcESBTgAaEFCAEGaBwQ | ||||
|         IGOABwYqerCQsYBJBho7JHgAUqCEDjAxYGBQgYHKBAsoCMzQIUIEmA6CdkCAIOfOBT5/MnBQYSgBozCj | ||||
|         SoVJ4KkCDx1MFhhKFEFVAhMCXM1aAANMoh2qTgh7AWvZmQ6igp0AIEDbDg0aLA06YC4AABA2eBjgYcHG | ||||
|         vmv/Akgg2IMBDgsSdJwcAEICDhoECjDAmQIFBQouXNiwQYPOgqgLBgQAOw== | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>186, 17</value> | ||||
|   </metadata> | ||||
| @@ -286,6 +141,7 @@ | ||||
|   <metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>731, 17</value> | ||||
|   </metadata> | ||||
|   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||
|   <data name="btSearch.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABGdBTUEAALGPC/xhBQAABEpJREFUSEut | ||||
|   | ||||
							
								
								
									
										29
									
								
								SubProject/FPJ0000/vEETGW_Project_LayoutList.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								SubProject/FPJ0000/vEETGW_Project_LayoutList.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,29 @@ | ||||
| //------------------------------------------------------------------------------ | ||||
| // <auto-generated> | ||||
| //     이 코드는 템플릿에서 생성되었습니다. | ||||
| // | ||||
| //     이 파일을 수동으로 변경하면 응용 프로그램에서 예기치 않은 동작이 발생할 수 있습니다. | ||||
| //     이 파일을 수동으로 변경하면 코드가 다시 생성될 때 변경 내용을 덮어씁니다. | ||||
| // </auto-generated> | ||||
| //------------------------------------------------------------------------------ | ||||
|  | ||||
| namespace FPJ0000 | ||||
| { | ||||
|     using System; | ||||
|     using System.Collections.Generic; | ||||
|      | ||||
|     public partial class vEETGW_Project_LayoutList | ||||
|     { | ||||
|         public int idx { get; set; } | ||||
|         public string gcode { get; set; } | ||||
|         public string pdate { get; set; } | ||||
|         public string edate { get; set; } | ||||
|         public string ddate { get; set; } | ||||
|         public string sdate { get; set; } | ||||
|         public string name { get; set; } | ||||
|         public string userManager { get; set; } | ||||
|         public string memo { get; set; } | ||||
|         public Nullable<bool> isdel { get; set; } | ||||
|         public string status { get; set; } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 chi
					chi