..
This commit is contained in:
		
							
								
								
									
										14
									
								
								SubProject/FLG0000/DSLog.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										14
									
								
								SubProject/FLG0000/DSLog.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -2391,16 +2391,18 @@ SELECT idx, gcode, lcode, pdate, serial, location, reason, result, remark, wuid, | ||||
|             this._commandCollection[0].Connection = this.Connection; | ||||
|             this._commandCollection[0].CommandText = @"SELECT  idx, gcode, lcode, pdate, serial, location, reason, result, remark, wuid, wdate, dbo.getUserName(wuid) AS userName | ||||
| FROM     LogData | ||||
| WHERE  (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (ISNULL(serial, '') LIKE @search OR | ||||
|                ISNULL(result, '') LIKE @search OR | ||||
|                ISNULL(remark, '') LIKE @search) OR | ||||
| WHERE  (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (serial LIKE @search) OR | ||||
|                (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (result LIKE @search) OR | ||||
|                (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (location LIKE @search) OR | ||||
|                (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (reason LIKE @search) OR | ||||
|                (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (remark LIKE @search) OR | ||||
|                (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (dbo.getUserName(wuid) LIKE @search) | ||||
| ORDER BY pdate DESC"; | ||||
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; | ||||
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|         } | ||||
|          | ||||
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
| @@ -2428,7 +2430,7 @@ ORDER BY pdate DESC"; | ||||
|                 this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed)); | ||||
|             } | ||||
|             if ((search == null)) { | ||||
|                 throw new global::System.ArgumentNullException("search"); | ||||
|                 this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.SelectCommand.Parameters[3].Value = ((string)(search)); | ||||
| @@ -2465,7 +2467,7 @@ ORDER BY pdate DESC"; | ||||
|                 this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed)); | ||||
|             } | ||||
|             if ((search == null)) { | ||||
|                 throw new global::System.ArgumentNullException("search"); | ||||
|                 this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.SelectCommand.Parameters[3].Value = ((string)(search)); | ||||
|   | ||||
| @@ -146,16 +146,18 @@ SELECT idx, gcode, lcode, pdate, serial, location, reason, result, remark, wuid, | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>SELECT  idx, gcode, lcode, pdate, serial, location, reason, result, remark, wuid, wdate, dbo.getUserName(wuid) AS userName | ||||
| FROM     LogData | ||||
| WHERE  (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (ISNULL(serial, '') LIKE @search OR | ||||
|                ISNULL(result, '') LIKE @search OR | ||||
|                ISNULL(remark, '') LIKE @search) OR | ||||
| WHERE  (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (serial LIKE @search) OR | ||||
|                (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (result LIKE @search) OR | ||||
|                (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (location LIKE @search) OR | ||||
|                (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (reason LIKE @search) OR | ||||
|                (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (remark LIKE @search) OR | ||||
|                (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (dbo.getUserName(wuid) LIKE @search) | ||||
| ORDER BY pdate DESC</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="GroupWare.dbo.LogData" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="GroupWare.dbo.LogData" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="GroupWare.dbo.LogData" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="search" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@search" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="search" ColumnName="serial" DataSourceName="GroupWare.dbo.LogData" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@search" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </SelectCommand> | ||||
| @@ -220,7 +222,7 @@ SELECT idx, gcode, lcode, pdate, serial, location, reason, result, remark, wuid, | ||||
|   <xs:element name="DSLog" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DSLog" msprop:Generator_UserDSName="DSLog"> | ||||
|     <xs:complexType> | ||||
|       <xs:choice minOccurs="0" maxOccurs="unbounded"> | ||||
|         <xs:element name="LogItem" msprop:Generator_TableClassName="LogItemDataTable" msprop:Generator_TableVarName="tableLogItem" msprop:Generator_TablePropName="LogItem" msprop:Generator_RowDeletingName="LogItemRowDeleting" msprop:Generator_RowChangingName="LogItemRowChanging" msprop:Generator_RowEvHandlerName="LogItemRowChangeEventHandler" msprop:Generator_RowDeletedName="LogItemRowDeleted" msprop:Generator_UserTableName="LogItem" msprop:Generator_RowChangedName="LogItemRowChanged" msprop:Generator_RowEvArgName="LogItemRowChangeEvent" msprop:Generator_RowClassName="LogItemRow"> | ||||
|         <xs:element name="LogItem" msprop:Generator_TableClassName="LogItemDataTable" msprop:Generator_TableVarName="tableLogItem" msprop:Generator_RowChangedName="LogItemRowChanged" msprop:Generator_TablePropName="LogItem" msprop:Generator_RowDeletingName="LogItemRowDeleting" msprop:Generator_RowChangingName="LogItemRowChanging" msprop:Generator_RowEvHandlerName="LogItemRowChangeEventHandler" msprop:Generator_RowDeletedName="LogItemRowDeleted" msprop:Generator_RowClassName="LogItemRow" msprop:Generator_UserTableName="LogItem" msprop:Generator_RowEvArgName="LogItemRowChangeEvent"> | ||||
|           <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" /> | ||||
| @@ -276,7 +278,7 @@ SELECT idx, gcode, lcode, pdate, serial, location, reason, result, remark, wuid, | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="LogData" msprop:Generator_TableClassName="LogDataDataTable" msprop:Generator_TableVarName="tableLogData" msprop:Generator_TablePropName="LogData" msprop:Generator_RowDeletingName="LogDataRowDeleting" msprop:Generator_RowChangingName="LogDataRowChanging" msprop:Generator_RowEvHandlerName="LogDataRowChangeEventHandler" msprop:Generator_RowDeletedName="LogDataRowDeleted" msprop:Generator_UserTableName="LogData" msprop:Generator_RowChangedName="LogDataRowChanged" msprop:Generator_RowEvArgName="LogDataRowChangeEvent" msprop:Generator_RowClassName="LogDataRow"> | ||||
|         <xs:element name="LogData" msprop:Generator_TableClassName="LogDataDataTable" msprop:Generator_TableVarName="tableLogData" msprop:Generator_RowChangedName="LogDataRowChanged" msprop:Generator_TablePropName="LogData" msprop:Generator_RowDeletingName="LogDataRowDeleting" msprop:Generator_RowChangingName="LogDataRowChanging" msprop:Generator_RowEvHandlerName="LogDataRowChangeEventHandler" msprop:Generator_RowDeletedName="LogDataRowDeleted" msprop:Generator_RowClassName="LogDataRow" msprop:Generator_UserTableName="LogData" msprop:Generator_RowEvArgName="LogDataRowChangeEvent"> | ||||
|           <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" /> | ||||
|   | ||||
							
								
								
									
										25
									
								
								SubProject/FLG0000/LogData/Add.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										25
									
								
								SubProject/FLG0000/LogData/Add.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -73,6 +73,16 @@ | ||||
|             label1.TabIndex = 0; | ||||
|             label1.Text = "입력일"; | ||||
|             //  | ||||
|             // label2 | ||||
|             //  | ||||
|             label2.AutoSize = true; | ||||
|             label2.Location = new System.Drawing.Point(29, 64); | ||||
|             label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | ||||
|             label2.Name = "label2"; | ||||
|             label2.Size = new System.Drawing.Size(46, 28); | ||||
|             label2.TabIndex = 9; | ||||
|             label2.Text = "S/N"; | ||||
|             //  | ||||
|             // tbRemark | ||||
|             //  | ||||
|             this.tbRemark.ImeMode = System.Windows.Forms.ImeMode.Hangul; | ||||
| @@ -99,7 +109,7 @@ | ||||
|             this.btSave.Name = "btSave"; | ||||
|             this.btSave.Size = new System.Drawing.Size(532, 69); | ||||
|             this.btSave.TabIndex = 8; | ||||
|             this.btSave.Text = "저장(&S)"; | ||||
|             this.btSave.Text = "확인(&S)"; | ||||
|             this.btSave.UseVisualStyleBackColor = true; | ||||
|             this.btSave.Click += new System.EventHandler(this.button1_Click); | ||||
|             //  | ||||
| @@ -111,6 +121,7 @@ | ||||
|             this.linkLabel7.Name = "linkLabel7"; | ||||
|             this.linkLabel7.Size = new System.Drawing.Size(52, 28); | ||||
|             this.linkLabel7.TabIndex = 12; | ||||
|             this.linkLabel7.TabStop = true; | ||||
|             this.linkLabel7.Text = "결과"; | ||||
|             this.linkLabel7.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel7_LinkClicked); | ||||
|             //  | ||||
| @@ -122,6 +133,7 @@ | ||||
|             this.linkLabel6.Name = "linkLabel6"; | ||||
|             this.linkLabel6.Size = new System.Drawing.Size(52, 28); | ||||
|             this.linkLabel6.TabIndex = 11; | ||||
|             this.linkLabel6.TabStop = true; | ||||
|             this.linkLabel6.Text = "원인"; | ||||
|             this.linkLabel6.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel6_LinkClicked); | ||||
|             //  | ||||
| @@ -133,6 +145,7 @@ | ||||
|             this.linkLabel5.Name = "linkLabel5"; | ||||
|             this.linkLabel5.Size = new System.Drawing.Size(52, 28); | ||||
|             this.linkLabel5.TabIndex = 10; | ||||
|             this.linkLabel5.TabStop = true; | ||||
|             this.linkLabel5.Text = "위치"; | ||||
|             this.linkLabel5.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel5_LinkClicked); | ||||
|             //  | ||||
| @@ -194,16 +207,6 @@ | ||||
|             this.textBox1.TabIndex = 3; | ||||
|             this.textBox1.TabStop = false; | ||||
|             //  | ||||
|             // label2 | ||||
|             //  | ||||
|             label2.AutoSize = true; | ||||
|             label2.Location = new System.Drawing.Point(29, 64); | ||||
|             label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); | ||||
|             label2.Name = "label2"; | ||||
|             label2.Size = new System.Drawing.Size(46, 28); | ||||
|             label2.TabIndex = 9; | ||||
|             label2.Text = "S/N"; | ||||
|             //  | ||||
|             // Add | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 28F); | ||||
|   | ||||
| @@ -50,9 +50,15 @@ namespace FLG0000.LogData | ||||
|             //this.cbEQManu.DataSource = bsManu; | ||||
|  | ||||
|             dtPdate.Value = DateTime.Parse(dr.pdate); | ||||
|  | ||||
|             tbLocation.Text = dr.location; | ||||
|             tbReason.Text = dr.reason; | ||||
|             tbResult.Text = dr.result; | ||||
|  | ||||
|             tbLocation.Tag = tbLocation.Text; | ||||
|             tbReason.Tag = tbReason.Text; | ||||
|             tbResult.Tag = tbResult.Text; | ||||
|  | ||||
|             tbRemark.Text = dr.remark; | ||||
|  | ||||
|             this.Show(); | ||||
| @@ -79,11 +85,33 @@ namespace FLG0000.LogData | ||||
|                         else if (search.Contains("L")) //바코드입력 | ||||
|                         { | ||||
|                             var grpdata = FCOMMON.DBM.getCodeBySvalue("19", search); | ||||
|                             if(grpdata.title != null) | ||||
|                             if (grpdata.title != null) | ||||
|                             { | ||||
|                                 ctl.Text = grpdata.title; | ||||
|                                 if (grpdata.code.Length > 6) | ||||
|                                 { | ||||
|                                     //각 깊이별 이름을 다 가져와야한다 | ||||
|                                     System.Text.StringBuilder sb = new StringBuilder(); | ||||
|                                     int itemCount = (int)((grpdata.code.Length - 6) / 2.0); | ||||
|                                     for (int i = 6; i <= grpdata.code.Length; i += 2) | ||||
|                                     { | ||||
|                                         var codeStr = grpdata.code.Substring(0, i); | ||||
|                                         var codeData = FCOMMON.DBM.getCodeByCode("19", codeStr); | ||||
|                                         if (codeData.title != "") | ||||
|                                         { | ||||
|                                             if (sb.Length > 0) sb.Append('|'); | ||||
|                                             sb.Append(codeData.title.Replace("|", "")); | ||||
|                                         } | ||||
|                                     } | ||||
|                                     ctl.Text = sb.ToString(); | ||||
|                                     ctl.Tag = ctl.Text; | ||||
|                                 } | ||||
|                                 else | ||||
|                                 { | ||||
|                                     ctl.Text = grpdata.title; | ||||
|                                     ctl.Tag = ctl.Text; | ||||
|                                 } | ||||
|                                 SendKeys.Send("{TAB}"); | ||||
|                             }    | ||||
|                             } | ||||
|                             else Lov_Location(search, false); | ||||
|                         } | ||||
|                         break; | ||||
| @@ -95,7 +123,29 @@ namespace FLG0000.LogData | ||||
|                             var grpdata = FCOMMON.DBM.getCodeBySvalue("19", search); | ||||
|                             if (grpdata.title != null) | ||||
|                             { | ||||
|                                 ctl.Text = grpdata.title; | ||||
|                                 if (grpdata.code.Length > 6) | ||||
|                                 { | ||||
|                                     //각 깊이별 이름을 다 가져와야한다 | ||||
|                                     System.Text.StringBuilder sb = new StringBuilder(); | ||||
|                                     int itemCount = (int)((grpdata.code.Length - 6) / 2.0); | ||||
|                                     for (int i = 6; i <= grpdata.code.Length; i += 2) | ||||
|                                     { | ||||
|                                         var codeStr = grpdata.code.Substring(0, i); | ||||
|                                         var codeData = FCOMMON.DBM.getCodeByCode("19", codeStr); | ||||
|                                         if (codeData.title != "") | ||||
|                                         { | ||||
|                                             if (sb.Length > 0) sb.Append('|'); | ||||
|                                             sb.Append(codeData.title.Replace("|", "")); | ||||
|                                         } | ||||
|                                     } | ||||
|                                     ctl.Text = sb.ToString(); | ||||
|                                     ctl.Tag = ctl.Text; | ||||
|                                 } | ||||
|                                 else | ||||
|                                 { | ||||
|                                     ctl.Text = grpdata.title; | ||||
|                                     ctl.Tag = ctl.Text; | ||||
|                                 } | ||||
|                                 SendKeys.Send("{TAB}"); | ||||
|                             } | ||||
|                             else Lov_Reason(search, false); | ||||
| @@ -107,7 +157,29 @@ namespace FLG0000.LogData | ||||
|                             var grpdata = FCOMMON.DBM.getCodeBySvalue("19", search); | ||||
|                             if (grpdata.title != null) | ||||
|                             { | ||||
|                                 ctl.Text = grpdata.title; | ||||
|                                 if (grpdata.code.Length > 6) | ||||
|                                 { | ||||
|                                     //각 깊이별 이름을 다 가져와야한다 | ||||
|                                     System.Text.StringBuilder sb = new StringBuilder(); | ||||
|                                     int itemCount = (int)((grpdata.code.Length - 6) / 2.0); | ||||
|                                     for (int i = 6; i <= grpdata.code.Length; i += 2) | ||||
|                                     { | ||||
|                                         var codeStr = grpdata.code.Substring(0, i); | ||||
|                                         var codeData = FCOMMON.DBM.getCodeByCode("19", codeStr); | ||||
|                                         if (codeData.title != "") | ||||
|                                         { | ||||
|                                             if (sb.Length > 0) sb.Append('|'); | ||||
|                                             sb.Append(codeData.title.Replace("|", "")); | ||||
|                                         } | ||||
|                                     } | ||||
|                                     ctl.Text = sb.ToString(); | ||||
|                                     ctl.Tag = ctl.Text; | ||||
|                                 } | ||||
|                                 else | ||||
|                                 { | ||||
|                                     ctl.Text = grpdata.title; | ||||
|                                     ctl.Tag = ctl.Text; | ||||
|                                 } | ||||
|                                 btSave.Focus(); | ||||
|                             } | ||||
|                             else Lov_Result(search, false); | ||||
| @@ -131,108 +203,36 @@ namespace FLG0000.LogData | ||||
|             var f = new Lov_LogItem("00", "00"); | ||||
|             if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) | ||||
|             { | ||||
|                 this.tbLocation.Text = string.Format("{0}|{1}", f.tbGrp.Text, f.tbItem.Text); | ||||
|                 if (f.tbItem.Text.Trim() != "") | ||||
|                     this.tbLocation.Text = string.Format("{0}|{1}", f.tbGrp.Text, f.tbItem.Text); | ||||
|                 else | ||||
|                     this.tbLocation.Text = f.tbGrp.Text.Trim(); | ||||
|                 this.tbLocation.Tag = this.tbLocation.Text; | ||||
|             } | ||||
|             //if (search == "" && allowAll == false) | ||||
|             //{ | ||||
|             //    FCOMMON.Util.MsgE("품명은 필수 값 입니다"); | ||||
|             //    tbLocation.Focus(); | ||||
|             //    return; | ||||
|             //} | ||||
|             //else if (search.ToLower() != tbLocation.Tag.ToString().ToLower() || tbPumIDX.Text == "-1" || tbPumIDX.Text == "") //값이 바뀌엇다면 검색을 해준다. | ||||
|             //{ | ||||
|             //    var f = new FCM0000.fLovItem(search); | ||||
|             //    if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) | ||||
|             //    { | ||||
|             //        //인덱스값이 다르면 모델 및 가격을 업데이트 한다. | ||||
|             //        tbLocation.Text = f.itemName; | ||||
|             //        tbLocation.Tag = f.itemName; | ||||
|  | ||||
|             //        this.tbPumIDX.Text = f.item.ToString(); | ||||
|             //        this.tbPumModel.Text = f.itemmodel; | ||||
|             //        this.tbPumPrice.Text = f.itemprice.ToString(); | ||||
|             //        this.tbSID.Text = f.SID; | ||||
|             //        this.tbSID.Tag = f.SID; | ||||
|             //        this.tbPumUnit.Text = f.itemUnit; //181214 | ||||
|  | ||||
|             //        this.tbPumModel.Enabled = false; | ||||
|             //        this.tbPumUnit.Enabled = false; | ||||
|             //        if (tbSID.Text != "") tbSID.Enabled = false; | ||||
|             //        else tbSID.Enabled = true; | ||||
|  | ||||
|             //        //제품을 찾앗다면 suppy 등을 업데이트 해준다. | ||||
|             //        var pcInfo = FCOMMON.DBM.getLastPurchaseInfo(f.item); | ||||
|             //        if (pcInfo.idx != -1) | ||||
|             //        { | ||||
|             //            tbReason.Text = pcInfo.supply; | ||||
|             //            tbSupplyIndex.Text = pcInfo.supplyidx.ToString(); | ||||
|             //            if (pcInfo.project != "" && tbResult.Text == "") | ||||
|             //                tbResult.Text = pcInfo.project; | ||||
|             //        } | ||||
|             //        else | ||||
|             //        { | ||||
|             //            tbReason.Text = f.itemSupply; | ||||
|             //            tbSupplyIndex.Text = f.itemSupplyidx.ToString(); | ||||
|             //        } | ||||
|  | ||||
|             //        //display image | ||||
|             //        var image = FCOMMON.DBM.GetImageData("Items", "image", int.Parse(tbPumIDX.Text)); | ||||
|             //        var oimage = this.pictureBox1.Image; | ||||
|             //        this.pictureBox1.Image = image; | ||||
|             //        if (oimage != null) oimage.Dispose(); | ||||
|             //    } | ||||
|             //} | ||||
|             //this.tbPumQty.Focus(); | ||||
|         } | ||||
|         void Lov_Reason(string search, Boolean allowAll) | ||||
|         { | ||||
|             var f = new Lov_LogItem("00", "01"); | ||||
|             if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) | ||||
|             { | ||||
|                 this.tbReason.Text = string.Format("{0}|{1}", f.tbGrp.Text, f.tbItem.Text); | ||||
|                 if (f.tbItem.Text.Trim() != "") | ||||
|                     this.tbReason.Text = string.Format("{0}|{1}", f.tbGrp.Text, f.tbItem.Text); | ||||
|                 else | ||||
|                     this.tbResult.Text = f.tbGrp.Text.Trim(); | ||||
|                 this.tbReason.Tag = this.tbReason.Text; | ||||
|             } | ||||
|             //if (search != "" || allowAll == true) | ||||
|             //{ | ||||
|             //    var f = new FCM0000.fLovProject(search); | ||||
|             //    if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) | ||||
|             //    { | ||||
|             //        this.tbResult.Text = f.Title; | ||||
|             //        this.tbResult.Tag = f.Title; | ||||
|             //        this.tbProjectIndex.Text = f.Index.ToString(); | ||||
|             //        btSave.Focus(); | ||||
|             //    } | ||||
|             //    else | ||||
|             //    { | ||||
|             //        tbResult.SelectAll(); | ||||
|             //        tbResult.Focus(); | ||||
|             //    } | ||||
|             //} | ||||
|             //else this.btSave.Focus(); | ||||
|         } | ||||
|         void Lov_Result(string search, Boolean allowAll) | ||||
|         { | ||||
|             var f = new Lov_LogItem("00", "02"); | ||||
|             if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) | ||||
|             { | ||||
|                 this.tbResult.Text = string.Format("{0}|{1}", f.tbGrp.Text, f.tbItem.Text); | ||||
|                 if (f.tbItem.Text.Trim() != "") | ||||
|                     this.tbResult.Text = string.Format("{0}|{1}", f.tbGrp.Text, f.tbItem.Text); | ||||
|                 else | ||||
|                     this.tbResult.Text = f.tbGrp.Text.Trim(); | ||||
|                 this.tbReason.Tag = this.tbReason.Text; | ||||
|             } | ||||
|             //if (search != "" || allowAll == true) | ||||
|             //{ | ||||
|             //    FCM0000.fLovSupply f = new FCM0000.fLovSupply(search); | ||||
|             //    if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) | ||||
|             //    { | ||||
|             //        tbReason.Text = f.Title; | ||||
|             //        tbReason.Tag = f.Title; | ||||
|             //        tbSupplyIndex.Text = f.Index.ToString(); | ||||
|             //        this.tbResult.Focus(); | ||||
|             //    } | ||||
|             //    else | ||||
|             //    { | ||||
|             //        tbReason.Focus(); | ||||
|             //        tbReason.SelectAll(); | ||||
|             //    } | ||||
|             //} | ||||
|             //else tbResult.Focus(); | ||||
|         } | ||||
|         private bool saveData() | ||||
|         { | ||||
| @@ -258,11 +258,137 @@ namespace FLG0000.LogData | ||||
|             //    return false; | ||||
|             //} | ||||
|  | ||||
|             //임의 기록데이터가 있다면 신규 목록을 추가 한다. | ||||
|             if (tbLocation.Text != tbLocation.Tag.ToString()) | ||||
|             { | ||||
|                 var codeDatas = FCOMMON.DBM.getCodeTable("19"); | ||||
|  | ||||
|                 var list = tbLocation.Text.Split('|'); | ||||
|                 int depth = 0; | ||||
|                 string codeHeader = ""; | ||||
|                 string baseCode = "00" + "00"; //location 은 00,reason 01, 조치 02 | ||||
|                 for (int i = 0; i < list.Length; i++) | ||||
|                 { | ||||
|                     var strData = list[i]; | ||||
|                     if (strData.Trim() == "") continue; | ||||
|  | ||||
|                     //이 데이터가 존재하지 않으면 추가한다. | ||||
|                     var existData = FCOMMON.DBM.getCodeByMemo("19", strData); | ||||
|                     if (existData.title != "" && existData.code.StartsWith(baseCode)) baseCode = existData.code; | ||||
|                     else | ||||
|                     { | ||||
|                         //없으므로 신규추가해준다. | ||||
|                         int codeLen = 6 + depth * 2; | ||||
|                         var filterStr = string.Format("code like '{0}%' and len(code) = {1}", baseCode.Substring(0, codeLen - 2), codeLen); | ||||
|                         var preList = codeDatas.Select(filterStr, "code desc"); | ||||
|                         var newCode = ""; | ||||
|                         if (preList.Length == 0) | ||||
|                         { | ||||
|                             newCode = baseCode + "00"; | ||||
|                         } | ||||
|                         else | ||||
|                         { | ||||
|                             //동일코드가 하나도 없다. | ||||
|                             var lastCode = preList[0]["code"].ToString(); | ||||
|                             var lastNo = lastCode.Substring(baseCode.Length, 2); | ||||
|                             newCode = baseCode + string.Format("{0:00}", int.Parse(lastNo) + 1); | ||||
|                         } | ||||
|                         FCOMMON.DBM.insertCode("19", newCode, strData, "LA" + newCode); | ||||
|                         baseCode = newCode; | ||||
|                     } | ||||
|                     depth += 1; | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|  | ||||
|             if (this.tbReason.Text != tbReason.Tag.ToString()) | ||||
|             { | ||||
|                 var codeDatas = FCOMMON.DBM.getCodeTable("19"); | ||||
|  | ||||
|                 var list = tbReason.Text.Split('|'); | ||||
|                 int depth = 0; | ||||
|                 string codeHeader = ""; | ||||
|                 string baseCode = "00" + "01"; //location 은 00,reason 01, 조치 02 | ||||
|                 for (int i = 0; i < list.Length; i++) | ||||
|                 { | ||||
|                     var strData = list[i]; | ||||
|                     if (strData.Trim() == "") continue; | ||||
|  | ||||
|                     //이 데이터가 존재하지 않으면 추가한다. | ||||
|                     var existData = FCOMMON.DBM.getCodeByMemo("19", strData); | ||||
|                     if (existData.title != "" && existData.code.StartsWith(baseCode)) baseCode = existData.code; | ||||
|                     else | ||||
|                     { | ||||
|                         //없으므로 신규추가해준다. | ||||
|                         int codeLen = 6 + depth * 2; | ||||
|                         var filterStr = string.Format("code like '{0}%' and len(code) = {1}", baseCode.Substring(0, codeLen - 2), codeLen); | ||||
|                         var preList = codeDatas.Select(filterStr, "code desc"); | ||||
|                         var newCode = ""; | ||||
|                         if (preList.Length == 0) | ||||
|                         { | ||||
|                             newCode = baseCode + "00"; | ||||
|                         } | ||||
|                         else | ||||
|                         { | ||||
|                             //동일코드가 하나도 없다. | ||||
|                             var lastCode = preList[0]["code"].ToString(); | ||||
|                             var lastNo = lastCode.Substring(baseCode.Length, 2); | ||||
|                             newCode = baseCode + string.Format("{0:00}", int.Parse(lastNo) + 1); | ||||
|                         } | ||||
|                         FCOMMON.DBM.insertCode("19", newCode, strData, "LB" + newCode); | ||||
|                         baseCode = newCode; | ||||
|                     } | ||||
|                     depth += 1; | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|             if (this.tbResult.Text != tbResult.Tag.ToString()) | ||||
|             { | ||||
|                 var codeDatas = FCOMMON.DBM.getCodeTable("19"); | ||||
|  | ||||
|                 var list = tbReason.Text.Split('|'); | ||||
|                 int depth = 0; | ||||
|                 string codeHeader = ""; | ||||
|                 string baseCode = "00" + "02"; //location 은 00,reason 01, 조치 02 | ||||
|                 for (int i = 0; i < list.Length; i++) | ||||
|                 { | ||||
|                     var strData = list[i]; | ||||
|                     if (strData.Trim() == "") continue; | ||||
|  | ||||
|                     //이 데이터가 존재하지 않으면 추가한다. | ||||
|                     var existData = FCOMMON.DBM.getCodeByMemo("19", strData); | ||||
|                     if (existData.title != "" && existData.code.StartsWith(baseCode)) baseCode = existData.code; | ||||
|                     else | ||||
|                     { | ||||
|                         //없으므로 신규추가해준다. | ||||
|                         int codeLen = 6 + depth * 2; | ||||
|                         var filterStr = string.Format("code like '{0}%' and len(code) = {1}", baseCode.Substring(0, codeLen - 2), codeLen); | ||||
|                         var preList = codeDatas.Select(filterStr, "code desc"); | ||||
|                         var newCode = ""; | ||||
|                         if (preList.Length == 0) | ||||
|                         { | ||||
|                             newCode = baseCode + "00"; | ||||
|                         } | ||||
|                         else | ||||
|                         { | ||||
|                             //동일코드가 하나도 없다. | ||||
|                             var lastCode = preList[0]["code"].ToString(); | ||||
|                             var lastNo = lastCode.Substring(baseCode.Length, 2); | ||||
|                             newCode = baseCode + string.Format("{0:00}", int.Parse(lastNo) + 1); | ||||
|                         } | ||||
|                         FCOMMON.DBM.insertCode("19", newCode, strData, "LC" + newCode); | ||||
|                         baseCode = newCode; | ||||
|                     } | ||||
|                     depth += 1; | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|  | ||||
|             dr.gcode = FCOMMON.info.Login.gcode; | ||||
|             dr.pdate = this.dtPdate.Value.ToShortDateString(); | ||||
|             dr.location = tbLocation.Text.Trim(); | ||||
|             dr.reason = tbReason.Text.Trim(); | ||||
|             dr.result = tbResult.Text.Trim(); | ||||
|             dr.location = tbLocation.Text.Trim().Replace("|", ""); | ||||
|             dr.reason = tbReason.Text.Trim().Replace("|", ""); | ||||
|             dr.result = tbResult.Text.Trim().Replace("|", ""); | ||||
|             dr.remark = tbRemark.Text.Trim(); | ||||
|             dr.EndEdit(); | ||||
|             return true; | ||||
|   | ||||
| @@ -123,6 +123,9 @@ | ||||
|   <metadata name="label1.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>False</value> | ||||
|   </metadata> | ||||
|   <metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>False</value> | ||||
|   </metadata> | ||||
|   <metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>257, 17</value> | ||||
|   </metadata> | ||||
| @@ -135,9 +138,6 @@ | ||||
|   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>195, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>False</value> | ||||
|   </metadata> | ||||
|   <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>58</value> | ||||
|   </metadata> | ||||
|   | ||||
							
								
								
									
										72
									
								
								SubProject/FLG0000/LogData/List.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										72
									
								
								SubProject/FLG0000/LogData/List.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -30,19 +30,20 @@ | ||||
|         { | ||||
|             this.components = new System.ComponentModel.Container(); | ||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(List)); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); | ||||
|             this.dsPurchase = new FLG0000.DSLog(); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.ta = new FLG0000.DSLogTableAdapters.LogDataTableAdapter(); | ||||
|             this.tam = new FLG0000.DSLogTableAdapters.TableAdapterManager(); | ||||
|             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||
|             this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.toolStripLabel6 = 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(); | ||||
| @@ -76,6 +77,8 @@ | ||||
|             this.편집ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.삭제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.toolStrip1 = new System.Windows.Forms.ToolStrip(); | ||||
|             this.toolStripLabel7 = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.cmbLogType = new System.Windows.Forms.ToolStripComboBox(); | ||||
|             this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.dtSD = new System.Windows.Forms.ToolStripTextBox(); | ||||
|             this.lbEnd = new System.Windows.Forms.ToolStripLabel(); | ||||
| @@ -88,9 +91,6 @@ | ||||
|             this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); | ||||
|             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); | ||||
|             this.toolStripLabel6 = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.toolStripLabel7 = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.cmbLogType = new System.Windows.Forms.ToolStripComboBox(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||
| @@ -171,6 +171,13 @@ | ||||
|             this.bindingNavigatorCountItem.Text = "/{0}"; | ||||
|             this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; | ||||
|             //  | ||||
|             // toolStripLabel6 | ||||
|             //  | ||||
|             this.toolStripLabel6.ForeColor = System.Drawing.Color.Gray; | ||||
|             this.toolStripLabel6.Name = "toolStripLabel6"; | ||||
|             this.toolStripLabel6.Size = new System.Drawing.Size(57, 23); | ||||
|             this.toolStripLabel6.Text = "[LG0000]"; | ||||
|             //  | ||||
|             // bindingNavigatorMoveFirstItem | ||||
|             //  | ||||
|             this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
| @@ -441,6 +448,18 @@ | ||||
|             this.toolStrip1.TabIndex = 3; | ||||
|             this.toolStrip1.Text = "toolStrip1"; | ||||
|             //  | ||||
|             // toolStripLabel7 | ||||
|             //  | ||||
|             this.toolStripLabel7.Name = "toolStripLabel7"; | ||||
|             this.toolStripLabel7.Size = new System.Drawing.Size(31, 34); | ||||
|             this.toolStripLabel7.Text = "종류"; | ||||
|             //  | ||||
|             // cmbLogType | ||||
|             //  | ||||
|             this.cmbLogType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||
|             this.cmbLogType.Name = "cmbLogType"; | ||||
|             this.cmbLogType.Size = new System.Drawing.Size(170, 37); | ||||
|             //  | ||||
|             // toolStripLabel4 | ||||
|             //  | ||||
|             this.toolStripLabel4.Name = "toolStripLabel4"; | ||||
| @@ -543,31 +562,31 @@ | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "비고"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "등록자"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 40F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType8; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).DataField = "pdate"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Label = "등록일"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Width = 151F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType9; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).DataField = "serial"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).Label = "S/N"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).Width = 151F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType10; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).DataField = "location"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Label = "위치"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Width = 151F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType11; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType4; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).DataField = "reason"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Label = "원인"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Width = 151F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType12; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType5; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).DataField = "result"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Label = "결과"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Width = 151F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType13; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "remark"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Label = "비고"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Width = 151F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType14; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).DataField = "userName"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Label = "등록자"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Width = 151F; | ||||
| @@ -578,25 +597,6 @@ | ||||
|             this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; | ||||
|             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; | ||||
|             //  | ||||
|             // toolStripLabel6 | ||||
|             //  | ||||
|             this.toolStripLabel6.ForeColor = System.Drawing.Color.Gray; | ||||
|             this.toolStripLabel6.Name = "toolStripLabel6"; | ||||
|             this.toolStripLabel6.Size = new System.Drawing.Size(57, 23); | ||||
|             this.toolStripLabel6.Text = "[LG0000]"; | ||||
|             //  | ||||
|             // toolStripLabel7 | ||||
|             //  | ||||
|             this.toolStripLabel7.Name = "toolStripLabel7"; | ||||
|             this.toolStripLabel7.Size = new System.Drawing.Size(31, 34); | ||||
|             this.toolStripLabel7.Text = "종류"; | ||||
|             //  | ||||
|             // cmbLogType | ||||
|             //  | ||||
|             this.cmbLogType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||
|             this.cmbLogType.Name = "cmbLogType"; | ||||
|             this.cmbLogType.Size = new System.Drawing.Size(121, 37); | ||||
|             //  | ||||
|             // List | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
|   | ||||
| @@ -70,7 +70,7 @@ namespace FLG0000.LogData | ||||
|  | ||||
|         void __Closed(object sender, FormClosedEventArgs e) | ||||
|         { | ||||
|  | ||||
|             FCOMMON.Util.FPColsizeSave(this.fpSpread1, fn_fpcolsize); | ||||
|         } | ||||
|  | ||||
|         void Purchase_TableNewRow(object sender, DataTableNewRowEventArgs e) | ||||
|   | ||||
| @@ -269,25 +269,25 @@ | ||||
|   <data name="btSearch.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAQnSURBVEhLtVfvT1NXGL6ZM/NP8EeWuKCo+z5nsg/7ujAj | ||||
|         opjKhLLSKhWHiBQrILlYFWgv0KpFREQRWAsOtgWRQrEBpC0tVYEtGSoqpWzglo0Cm37T2udyDr1CdVSu | ||||
|         T3LSm7zPfZ+e8573x2UixZ4911fsyP557e78js935Xd8EZvX/vGXbNeHxCwuJGxntKzUyaVVDNkyq4fH | ||||
|         VDUjU2yj7+XJ5onAsSv3nydobDGEKg4kbNd6+VmP+XjtyD+6Nn+As0wvWqd/+jPwjaZzO3ll+ZDqHCrV | ||||
|         tYe/c5bwgnQtFJZqe20ZF4e8C1disd23O98SS2iLgRim6JyVBQ0Tz4QC2LHaPDaTXvmr86BxwKww9Fcp | ||||
|         DO7q/QZXSzx7ayt5nTlUMdQhfA8ru9b7NIlzJBFKeEC0sGXyBX1J1zYdUF979EdKqbtSUtgZTWhvxGJh | ||||
|         f0Ba0tdCzOGB4xXuVHtzKpB6ztOTyPV8Qij/i3A7zmsYe5Zc7DhMKK8DF2kupiFRub7/x6/S2z4ilCWB | ||||
|         CqvNXn9x69S8uKpm2Bd2AwqDq4FeJBxv6vk73ZGKAhBGTBOLe+VK44CTCsOnosxTR2hz2KexbULKUBJi | ||||
|         GsnxCrGvyN6dyDn24nmnpnsLfFG/2TVPniZorBt5IiDjnBzNU/zKytwXiSlixKot68kjD4XefSWUkkHf | ||||
|         wUJETAyDikT/VZ5pdHaX8F8tE8gEtWl0hvo/WD5o5Q3IW5RBajhcMejgDSLiuwu/uKh/aPG1/evcG+ty | ||||
|         ap9MU4PSeK+B8EWD8ty9Ruo/p3Z0Gk2GiWOt2042j88XjBS9p5LwRQN8Uv9oLnG51m0M2ltBs++9Cu83 | ||||
|         9F+i/guafC/i8ts+449aGPxUo0f8oy4f+IH6V9U8nIpRta5mDhy4s1J4uXARCF80CC/X0ar7o7jQvEF5 | ||||
|         YeAWNahN3hkx0ymB7dqcZxqbpf7TKgY7iSkY/BJXiTDJkfTExGNhUYgE8jL3ZWFxknIOLTExTPwJ2yZV | ||||
|         3eO/6L9CmYs/c/tT2FD+UAZ5YoTAyKSuezBJ/WbVP/47vrB9AzHPQa53m1HIKSnYJBwJRd3S7PqRCRR+ | ||||
|         QlsygkViFXyEfPrR7eqJOQSJzhaVefW3cSqMlhaMtx/PkQpDVKZ3taC1Un9ZV4d9kuBESiivI1lrVxY0 | ||||
|         j/9LyXRFIozjVRrv2oWibJPvP2lJbwahhEdyad+N0EVburBEY90iL3VXI6bCkGGMSubsb+92SdoeCWIq | ||||
|         FMUSCmOww4CHQQ8Dn7J8sBF5esLknaW3ly7sFKLzeRsOGD0xgoYbTTGyEhqDURYjrVBg8fIHVMGYJul6 | ||||
|         j5DXlo+3CWPHSBmZvv/7N16kdwU+V/DZgs8XdBrU3ozqYS+q37dcn1ZyyhZFqOICTRwfavhgQ2eLy7Ws | ||||
|         YVn2A2JeIhjmFdpO9IbYugJ4AAAAAElFTkSuQmCC | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAQjSURBVEhLtVdbT1NZGD3RMfoTHI2JxrvvOibz4KvRiYhi | ||||
|         KgplSqvUKyqVKkgOVkXaA7SjRWS0gxVs8YIadKgUG0Da0lJHYCaZeqetipcoBby8aafrsDc9QlU6HFey | ||||
|         05N8a3+r+/JdNpMo1q27MHHV3qvT1hY0/rSmoPHnpPwbM5axzT8Qs7iQsE3zZKVubmtFt2O3yR/Mqbrf | ||||
|         x9YGPx2s643kmvwfUjWOFYQqDiRs80z5bz7rvrMP3ugawhHO1j9qHL7yMrJB0/QLmTJ+SHUulcp8/yln | ||||
|         iy9Ix0hhqbbNkX2yOzBypBU7Q2sLbEmENho4w0ydu7LQ2vteKIAV51qDAzsq/3FvMXZaFYaOUwqD17TJ | ||||
|         4KlPYW8uIdOZbRXdjcJ5GCpz4EU650onlPiAaFF970c6SdfQH1GbHz7LLPVWSoqa5hHaFzFaOByRlrTX | ||||
|         E3N8YHuFK9X+2RfJOuZrTeNaZxHKNxFvxXnWwPuMYtdOQvkcuEhDZxoTles7Li/f0TCZUMYEKqy2BsLF | ||||
|         1/uGxVVn/KG4C1AYPLX0ImF7s47fbklUFIAwzjStuE2uNHa6qTB8Ksp81YQ2hI0ax3yEDCXhTBPZXiE2 | ||||
|         HnW2pHGu9fherWlZCF/Ur+rM4xepGvtcngjIODdH4xS/sjLvSWJKGElq20zyyUOh9/4RC8mo72giIiaG | ||||
|         QUai/yrf0jO4RvivxglEQq6lZ4D631LeZecNiFukQWrYWdHl4g0iYvuJvz3UP7T43L4y79r0/ebH/dSg | ||||
|         NN6pJXzRoDx25zz1v9/c048iwySz9qUH60LDCSNT76skfNEAn9Q/iktynn0pg/JWWBf8rsKbDB2/U/+F | ||||
|         l4IfkwsaFvNbLTz8LKNP/K0u77xI/edU3etbobo+ldm8+fYk4eXCRSB80SC8XHtO3e3BheYNyhOdN6kh | ||||
|         1xIYEDOcUtnmBfmW4CD1v7Wiq4mYoodf4ikRBjmCnph4jEwKiUBe5j0tTE5SzqUlJoZJOeCYn1P96BX9 | ||||
|         V0hzKUduLYIN6Q9pkCcmCLRM6up7z6nfPTWPXqcU3ZhDzEOQ671WJHJKihYJV+rRFunemge9SPyENmZE | ||||
|         k8QU+Ij5DKPa1RBzDBKdY/buqn+fUGGUNLUlEMZ3osIQlek99Sit1F9OlT8kiXakhPI5MrROZWFd6C0l | ||||
|         05GIMLZXafzLKRRlLwXfSUvasgklPjJK26/FLtrYhSUa+0J5qdeEMxUeGdqoDM759WqXrm2V4EyFohhC | ||||
|         YTR2aPDQ6KHhU5Z3nUecHrAEBuntpQMrhehw3MYDWk+0oPFaU7SshMaglUVLKxQYPcIRVfRM03Vtu8i0 | ||||
|         8eNrwlgxQkam7zj3xYv0f4HnCp4teL6g0iD3Zpv8AWS/X7l2reSQYzahigsUcTzU8GBDZUvOs/3IsuwE | ||||
|         Yh4jGOY/gmD0WF7YCuoAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
| @@ -303,7 +303,4 @@ | ||||
|   <metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>579, 23</value> | ||||
|   </metadata> | ||||
|   <metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>579, 23</value> | ||||
|   </metadata> | ||||
| </root> | ||||
							
								
								
									
										10
									
								
								SubProject/FLG0000/LogData/Lov_LogItem.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										10
									
								
								SubProject/FLG0000/LogData/Lov_LogItem.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -40,7 +40,7 @@ | ||||
|             // tbGrp | ||||
|             //  | ||||
|             this.tbGrp.Location = new System.Drawing.Point(14, 192); | ||||
|             this.tbGrp.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); | ||||
|             this.tbGrp.Margin = new System.Windows.Forms.Padding(2); | ||||
|             this.tbGrp.Name = "tbGrp"; | ||||
|             this.tbGrp.Size = new System.Drawing.Size(561, 46); | ||||
|             this.tbGrp.TabIndex = 1; | ||||
| @@ -59,7 +59,7 @@ | ||||
|             this.btOK.Name = "btOK"; | ||||
|             this.btOK.Size = new System.Drawing.Size(563, 52); | ||||
|             this.btOK.TabIndex = 3; | ||||
|             this.btOK.Text = "button1"; | ||||
|             this.btOK.Text = "확인"; | ||||
|             this.btOK.UseVisualStyleBackColor = true; | ||||
|             this.btOK.Click += new System.EventHandler(this.btOK_Click); | ||||
|             //  | ||||
| @@ -67,6 +67,9 @@ | ||||
|             //  | ||||
|             this.listBox1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { | ||||
|             this.columnHeader1}); | ||||
|             this.listBox1.FullRowSelect = true; | ||||
|             this.listBox1.GridLines = true; | ||||
|             this.listBox1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; | ||||
|             this.listBox1.Location = new System.Drawing.Point(14, 12); | ||||
|             this.listBox1.Name = "listBox1"; | ||||
|             this.listBox1.Size = new System.Drawing.Size(561, 175); | ||||
| @@ -82,6 +85,9 @@ | ||||
|             //  | ||||
|             this.listBox2.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { | ||||
|             this.columnHeader2}); | ||||
|             this.listBox2.FullRowSelect = true; | ||||
|             this.listBox2.GridLines = true; | ||||
|             this.listBox2.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; | ||||
|             this.listBox2.Location = new System.Drawing.Point(14, 246); | ||||
|             this.listBox2.Name = "listBox2"; | ||||
|             this.listBox2.Size = new System.Drawing.Size(561, 175); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 chikyun.kim
					chikyun.kim