license 목록에 s/n 값 추가, 내부 검색 기능 오류 슈정

This commit is contained in:
chi
2022-09-13 12:03:49 +09:00
parent 63dca8ecde
commit 81aea94a79
12 changed files with 3484 additions and 3283 deletions

View File

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
// 지정되도록 할 수 있습니다. // 지정되도록 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("22.08.24.0850")] [assembly: AssemblyVersion("22.09.13.0900")]
[assembly: AssemblyFileVersion("22.08.24.0850")] [assembly: AssemblyFileVersion("22.09.13.0900")]

View File

@@ -79,8 +79,8 @@
this.btRef = new System.Windows.Forms.ToolStripButton(); this.btRef = new System.Windows.Forms.ToolStripButton();
this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox1 = new System.Windows.Forms.TextBox();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.ta = new Project.dsMSSQLTableAdapters.vGroupUserTableAdapter();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
this.ta = new Project.dsMSSQLTableAdapters.vGroupUserTableAdapter();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout(); this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
@@ -115,14 +115,14 @@
this.btSave, this.btSave,
this.toolStripSeparator1, this.toolStripSeparator1,
this.btDevel}); this.btDevel});
this.bn.Location = new System.Drawing.Point(0, 774); this.bn.Location = new System.Drawing.Point(0, 672);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.bn.Name = "bn"; this.bn.Name = "bn";
this.bn.PositionItem = this.bindingNavigatorPositionItem; this.bn.PositionItem = this.bindingNavigatorPositionItem;
this.bn.Size = new System.Drawing.Size(1357, 39); this.bn.Size = new System.Drawing.Size(1234, 39);
this.bn.TabIndex = 0; this.bn.TabIndex = 0;
this.bn.Text = "bindingNavigator1"; this.bn.Text = "bindingNavigator1";
// //
@@ -324,7 +324,7 @@
this.btRef}); this.btRef});
this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1357, 25); this.toolStrip1.Size = new System.Drawing.Size(1234, 25);
this.toolStrip1.TabIndex = 2; this.toolStrip1.TabIndex = 2;
this.toolStrip1.Text = "toolStrip1"; this.toolStrip1.Text = "toolStrip1";
// //
@@ -368,9 +368,9 @@
// //
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ads_title", true)); this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ads_title", true));
this.textBox1.Dock = System.Windows.Forms.DockStyle.Bottom; this.textBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.textBox1.Location = new System.Drawing.Point(0, 753); this.textBox1.Location = new System.Drawing.Point(0, 651);
this.textBox1.Name = "textBox1"; this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(1357, 21); this.textBox1.Size = new System.Drawing.Size(1234, 21);
this.textBox1.TabIndex = 3; this.textBox1.TabIndex = 3;
// //
// fpSpread1 // fpSpread1
@@ -390,7 +390,7 @@
this.fpSpread1.SelectionBlockOptions = ((FarPoint.Win.Spread.SelectionBlockOptions)((FarPoint.Win.Spread.SelectionBlockOptions.Rows | FarPoint.Win.Spread.SelectionBlockOptions.Sheet))); this.fpSpread1.SelectionBlockOptions = ((FarPoint.Win.Spread.SelectionBlockOptions)((FarPoint.Win.Spread.SelectionBlockOptions.Rows | FarPoint.Win.Spread.SelectionBlockOptions.Sheet)));
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.fpSpread1_Sheet1}); this.fpSpread1_Sheet1});
this.fpSpread1.Size = new System.Drawing.Size(1357, 728); this.fpSpread1.Size = new System.Drawing.Size(1234, 626);
this.fpSpread1.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Classic; this.fpSpread1.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Classic;
this.fpSpread1.TabIndex = 5; this.fpSpread1.TabIndex = 5;
this.fpSpread1.VerticalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton"); this.fpSpread1.VerticalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton");
@@ -398,10 +398,6 @@
this.fpSpread1.VerticalScrollBar.Renderer = defaultScrollBarRenderer2; this.fpSpread1.VerticalScrollBar.Renderer = defaultScrollBarRenderer2;
this.fpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off; this.fpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off;
// //
// ta
//
this.ta.ClearBeforeFill = true;
//
// fpSpread1_Sheet1 // fpSpread1_Sheet1
// //
this.fpSpread1_Sheet1.Reset(); this.fpSpread1_Sheet1.Reset();
@@ -524,11 +520,15 @@
this.fpSpread1_Sheet1.SheetCornerStyle.Parent = "RowHeaderDefault"; this.fpSpread1_Sheet1.SheetCornerStyle.Parent = "RowHeaderDefault";
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
// //
// ta
//
this.ta.ClearBeforeFill = true;
//
// fUserList // fUserList
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1357, 813); this.ClientSize = new System.Drawing.Size(1234, 711);
this.Controls.Add(this.fpSpread1); this.Controls.Add(this.fpSpread1);
this.Controls.Add(this.textBox1); this.Controls.Add(this.textBox1);
this.Controls.Add(this.toolStrip1); this.Controls.Add(this.toolStrip1);

View File

@@ -292,7 +292,7 @@ namespace FCOMMON
{ {
var gcode = FCOMMON.info.Login.gcode; var gcode = FCOMMON.info.Login.gcode;
var sdate = mon;// DateTime.Now.AddMonths(-6).ToString("yyyy-MM"); var sdate = mon;// DateTime.Now.AddMonths(-6).ToString("yyyy-MM");
//var edate = DateTime.Now.AddMonths(1).ToString("yyyy-MM"); //var edate = DateTime.Now.AddMonths(1).ToString("yyyy-MM");
//해당기간내의 마감 자료를 조회해서 넣는다. //해당기간내의 마감 자료를 조회해서 넣는다.
var cn = getCn(); var cn = getCn();
@@ -309,7 +309,7 @@ namespace FCOMMON
cmd.Parameters.Add("sdate", System.Data.SqlDbType.VarChar).Value = sdate; cmd.Parameters.Add("sdate", System.Data.SqlDbType.VarChar).Value = sdate;
var cnt = int.Parse(cmd.ExecuteScalar().ToString()); var cnt = int.Parse(cmd.ExecuteScalar().ToString());
cn.Close(); cn.Close();
cn.Dispose(); cn.Dispose();
@@ -575,9 +575,12 @@ namespace FCOMMON
var retval = new sItemInfo(); var retval = new sItemInfo();
retval.idx = -1; retval.idx = -1;
string sql = "select [id],[name],([name] +'(' +[id] +')') as dispName,isnull([dept],'') as dept,isnull(grade,'') as grade,[email],[level],[tel],isnull(processs,'') as process,isnull(indate,'') as indate, isnull(outdate,'') as outdate " + string sql = "select [id],[name],([name] +'(' +[id] +')') as dispName,isnull([dept],'') as dept,isnull(grade,'') as grade," +
" from vGroupUser " + $" [email],[level],[tel], isnull(processs, '') as process,isnull(indate, '') as indate, isnull(outdate, '') as outdate " +
" where gcode='" + FCOMMON.info.Login.gcode + "' and [id] <> 'dev' and isnull(outdate,'') = '' and useUserState = 1 order by [name]"; $" from vGroupUser " +
$" where gcode='{FCOMMON.info.Login.gcode}' and [id] <> 'dev' and isnull(outdate,'') = '' and useUserState = 1 " +
$" order by[name]";
var cmd = new SqlCommand(sql, cn); var cmd = new SqlCommand(sql, cn);
var da = new SqlDataAdapter(sql, cn); var da = new SqlDataAdapter(sql, cn);
var ds = new System.Data.DataSet(); var ds = new System.Data.DataSet();

View File

@@ -828,6 +828,10 @@ namespace FED0000 {
private global::System.Data.DataColumn columnVersion; private global::System.Data.DataColumn columnVersion;
private global::System.Data.DataColumn columnSerialNo;
private global::System.Data.DataColumn columnMeterialNo;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public EETGW_LicenseDataTable() { public EETGW_LicenseDataTable() {
@@ -973,6 +977,22 @@ namespace FED0000 {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn SerialNoColumn {
get {
return this.columnSerialNo;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn MeterialNoColumn {
get {
return this.columnMeterialNo;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.Browsable(false)]
@@ -1010,7 +1030,7 @@ namespace FED0000 {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public EETGW_LicenseRow AddEETGW_LicenseRow(string gcode, bool expire, string name, string manu, string Supply, int qty, string uids, string sdate, string edate, string wuid, System.DateTime wdate, string Remark, string Version) { public EETGW_LicenseRow AddEETGW_LicenseRow(string gcode, bool expire, string name, string manu, string Supply, int qty, string uids, string sdate, string edate, string wuid, System.DateTime wdate, string Remark, string Version, string SerialNo, string MeterialNo) {
EETGW_LicenseRow rowEETGW_LicenseRow = ((EETGW_LicenseRow)(this.NewRow())); EETGW_LicenseRow rowEETGW_LicenseRow = ((EETGW_LicenseRow)(this.NewRow()));
object[] columnValuesArray = new object[] { object[] columnValuesArray = new object[] {
null, null,
@@ -1026,7 +1046,9 @@ namespace FED0000 {
wuid, wuid,
wdate, wdate,
Remark, Remark,
Version}; Version,
SerialNo,
MeterialNo};
rowEETGW_LicenseRow.ItemArray = columnValuesArray; rowEETGW_LicenseRow.ItemArray = columnValuesArray;
this.Rows.Add(rowEETGW_LicenseRow); this.Rows.Add(rowEETGW_LicenseRow);
return rowEETGW_LicenseRow; return rowEETGW_LicenseRow;
@@ -1070,6 +1092,8 @@ namespace FED0000 {
this.columnwdate = base.Columns["wdate"]; this.columnwdate = base.Columns["wdate"];
this.columnRemark = base.Columns["Remark"]; this.columnRemark = base.Columns["Remark"];
this.columnVersion = base.Columns["Version"]; this.columnVersion = base.Columns["Version"];
this.columnSerialNo = base.Columns["SerialNo"];
this.columnMeterialNo = base.Columns["MeterialNo"];
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1103,6 +1127,10 @@ namespace FED0000 {
base.Columns.Add(this.columnRemark); base.Columns.Add(this.columnRemark);
this.columnVersion = new global::System.Data.DataColumn("Version", typeof(string), null, global::System.Data.MappingType.Element); this.columnVersion = new global::System.Data.DataColumn("Version", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnVersion); base.Columns.Add(this.columnVersion);
this.columnSerialNo = new global::System.Data.DataColumn("SerialNo", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnSerialNo);
this.columnMeterialNo = new global::System.Data.DataColumn("MeterialNo", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMeterialNo);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true)); this.columnidx}, true));
this.columnidx.AutoIncrement = true; this.columnidx.AutoIncrement = true;
@@ -1124,6 +1152,8 @@ namespace FED0000 {
this.columnwdate.AllowDBNull = false; this.columnwdate.AllowDBNull = false;
this.columnRemark.MaxLength = 255; this.columnRemark.MaxLength = 255;
this.columnVersion.MaxLength = 100; this.columnVersion.MaxLength = 100;
this.columnSerialNo.MaxLength = 100;
this.columnMeterialNo.MaxLength = 20;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1863,6 +1893,38 @@ namespace FED0000 {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string SerialNo {
get {
if (this.IsSerialNoNull()) {
return string.Empty;
}
else {
return ((string)(this[this.tableEETGW_License.SerialNoColumn]));
}
}
set {
this[this.tableEETGW_License.SerialNoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string MeterialNo {
get {
if (this.IsMeterialNoNull()) {
return string.Empty;
}
else {
return ((string)(this[this.tableEETGW_License.MeterialNoColumn]));
}
}
set {
this[this.tableEETGW_License.MeterialNoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsexpireNull() { public bool IsexpireNull() {
@@ -1982,6 +2044,30 @@ namespace FED0000 {
public void SetVersionNull() { public void SetVersionNull() {
this[this.tableEETGW_License.VersionColumn] = global::System.Convert.DBNull; this[this.tableEETGW_License.VersionColumn] = global::System.Convert.DBNull;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsSerialNoNull() {
return this.IsNull(this.tableEETGW_License.SerialNoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetSerialNoNull() {
this[this.tableEETGW_License.SerialNoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsMeterialNoNull() {
return this.IsNull(this.tableEETGW_License.MeterialNoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetMeterialNoNull() {
this[this.tableEETGW_License.MeterialNoColumn] = global::System.Convert.DBNull;
}
} }
/// <summary> /// <summary>
@@ -3104,10 +3190,12 @@ SELECT idx, gcode, sdate, edate, title, edutype, proposal, target, eduoffice, me
tableMapping.ColumnMappings.Add("wdate", "wdate"); tableMapping.ColumnMappings.Add("wdate", "wdate");
tableMapping.ColumnMappings.Add("Remark", "Remark"); tableMapping.ColumnMappings.Add("Remark", "Remark");
tableMapping.ColumnMappings.Add("Version", "Version"); tableMapping.ColumnMappings.Add("Version", "Version");
tableMapping.ColumnMappings.Add("SerialNo", "SerialNo");
tableMapping.ColumnMappings.Add("MeterialNo", "MeterialNo");
this._adapter.TableMappings.Add(tableMapping); this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [EETGW_License] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_expire = 1 AND [expire] IS NULL) OR ([expire] = @Original_expire)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_Supply = 1 AND [Supply] IS NULL) OR ([Supply] = @Original_Supply)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_uids = 1 AND [uids] IS NULL) OR ([uids] = @Original_uids)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_Version = 1 AND [Version] IS NULL) OR ([Version] = @Original_Version)))"; this._adapter.DeleteCommand.CommandText = @"DELETE FROM [EETGW_License] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_expire = 1 AND [expire] IS NULL) OR ([expire] = @Original_expire)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_Supply = 1 AND [Supply] IS NULL) OR ([Supply] = @Original_Supply)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_uids = 1 AND [uids] IS NULL) OR ([uids] = @Original_uids)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_Version = 1 AND [Version] IS NULL) OR ([Version] = @Original_Version)) AND ((@IsNull_SerialNo = 1 AND [SerialNo] IS NULL) OR ([SerialNo] = @Original_SerialNo)) AND ((@IsNull_MeterialNo = 1 AND [MeterialNo] IS NULL) OR ([MeterialNo] = @Original_MeterialNo)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -3133,10 +3221,14 @@ SELECT idx, gcode, sdate, edate, title, edutype, proposal, target, eduoffice, me
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_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Version", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Version", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Version", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Version", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Version", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Version", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Version", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Version", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SerialNo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SerialNo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SerialNo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SerialNo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MeterialNo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MeterialNo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MeterialNo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MeterialNo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_License] ([gcode], [expire], [name], [manu], [Supply], [qty], [uids], [sdate], [edate], [Remark], [wuid], [wdate], [Version]) VALUES (@gcode, @expire, @name, @manu, @Supply, @qty, @uids, @sdate, @edate, @Remark, @wuid, @wdate, @Version); this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_License] ([gcode], [expire], [name], [manu], [Supply], [qty], [uids], [sdate], [edate], [Remark], [wuid], [wdate], [Version], [SerialNo], [MeterialNo]) VALUES (@gcode, @expire, @name, @manu, @Supply, @qty, @uids, @sdate, @edate, @Remark, @wuid, @wdate, @Version, @SerialNo, @MeterialNo);
SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version FROM EETGW_License WHERE (idx = SCOPE_IDENTITY()) ORDER BY expire, name, sdate"; SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version, SerialNo, MeterialNo FROM EETGW_License WHERE (idx = SCOPE_IDENTITY()) ORDER BY expire, name, sdate";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@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("@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("@expire", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "expire", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@expire", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "expire", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -3151,10 +3243,30 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
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("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@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("@Version", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Version", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Version", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Version", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SerialNo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SerialNo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MeterialNo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MeterialNo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE [EETGW_License] SET [gcode] = @gcode, [expire] = @expire, [name] = @name, [manu] = @manu, [Supply] = @Supply, [qty] = @qty, [uids] = @uids, [sdate] = @sdate, [edate] = @edate, [Remark] = @Remark, [wuid] = @wuid, [wdate] = @wdate, [Version] = @Version WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_expire = 1 AND [expire] IS NULL) OR ([expire] = @Original_expire)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_Supply = 1 AND [Supply] IS NULL) OR ([Supply] = @Original_Supply)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_uids = 1 AND [uids] IS NULL) OR ([uids] = @Original_uids)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_Version = 1 AND [Version] IS NULL) OR ([Version] = @Original_Version))); this._adapter.UpdateCommand.CommandText = "UPDATE [EETGW_License] SET [gcode] = @gcode, [expire] = @expire, [name] = @name, " +
SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version FROM EETGW_License WHERE (idx = @idx) ORDER BY expire, name, sdate"; "[manu] = @manu, [Supply] = @Supply, [qty] = @qty, [uids] = @uids, [sdate] = @sda" +
"te, [edate] = @edate, [Remark] = @Remark, [wuid] = @wuid, [wdate] = @wdate, [Ver" +
"sion] = @Version, [SerialNo] = @SerialNo, [MeterialNo] = @MeterialNo WHERE (([id" +
"x] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_expire = 1 AND" +
" [expire] IS NULL) OR ([expire] = @Original_expire)) AND ((@IsNull_name = 1 AND " +
"[name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_manu = 1 AND [manu] " +
"IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_Supply = 1 AND [Supply] IS " +
"NULL) OR ([Supply] = @Original_Supply)) AND ((@IsNull_qty = 1 AND [qty] IS NULL)" +
" OR ([qty] = @Original_qty)) AND ((@IsNull_uids = 1 AND [uids] IS NULL) OR ([uid" +
"s] = @Original_uids)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] =" +
" @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @O" +
"riginal_edate)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @O" +
"riginal_Remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) A" +
"ND ((@IsNull_Version = 1 AND [Version] IS NULL) OR ([Version] = @Original_Versio" +
"n)) AND ((@IsNull_SerialNo = 1 AND [SerialNo] IS NULL) OR ([SerialNo] = @Origina" +
"l_SerialNo)) AND ((@IsNull_MeterialNo = 1 AND [MeterialNo] IS NULL) OR ([Meteria" +
"lNo] = @Original_MeterialNo)));\r\nSELECT idx, gcode, expire, name, manu, Supply, " +
"qty, uids, sdate, edate, Remark, wuid, wdate, Version, SerialNo, MeterialNo FROM" +
" EETGW_License WHERE (idx = @idx) ORDER BY expire, name, sdate";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@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("@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("@expire", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "expire", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@expire", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "expire", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -3169,6 +3281,8 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
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("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@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("@Version", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Version", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Version", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Version", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SerialNo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SerialNo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MeterialNo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MeterialNo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_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_expire", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "expire", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_expire", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "expire", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -3193,6 +3307,10 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
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_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Version", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Version", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Version", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Version", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Version", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Version", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Version", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Version", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SerialNo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SerialNo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SerialNo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SerialNo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MeterialNo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MeterialNo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MeterialNo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MeterialNo", 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, "", "", "")); 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, "", "", ""));
} }
@@ -3210,8 +3328,8 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, " + this._commandCollection[0].CommandText = "SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, " +
"wuid, wdate, Version\r\nFROM EETGW_License\r\nWHERE (gcode = @gcode)\r\nORDER BY " + "wuid, wdate, Version, SerialNo, MeterialNo\r\nFROM EETGW_License\r\nWHERE (gcod" +
"expire, name, sdate"; "e = @gcode)\r\nORDER BY expire, name, sdate";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
} }
@@ -3285,7 +3403,23 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int Original_idx, string Original_gcode, global::System.Nullable<bool> Original_expire, string Original_name, string Original_manu, string Original_Supply, global::System.Nullable<int> Original_qty, string Original_uids, string Original_sdate, string Original_edate, string Original_Remark, string Original_wuid, System.DateTime Original_wdate, string Original_Version) { public virtual int Delete(
int Original_idx,
string Original_gcode,
global::System.Nullable<bool> Original_expire,
string Original_name,
string Original_manu,
string Original_Supply,
global::System.Nullable<int> Original_qty,
string Original_uids,
string Original_sdate,
string Original_edate,
string Original_Remark,
string Original_wuid,
System.DateTime Original_wdate,
string Original_Version,
string Original_SerialNo,
string Original_MeterialNo) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
if ((Original_gcode == null)) { if ((Original_gcode == null)) {
throw new global::System.ArgumentNullException("Original_gcode"); throw new global::System.ArgumentNullException("Original_gcode");
@@ -3380,6 +3514,22 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[23].Value = ((string)(Original_Version)); this.Adapter.DeleteCommand.Parameters[23].Value = ((string)(Original_Version));
} }
if ((Original_SerialNo == null)) {
this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[25].Value = ((string)(Original_SerialNo));
}
if ((Original_MeterialNo == null)) {
this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[27].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[27].Value = ((string)(Original_MeterialNo));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) { != global::System.Data.ConnectionState.Open)) {
@@ -3400,7 +3550,7 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string gcode, global::System.Nullable<bool> expire, string name, string manu, string Supply, global::System.Nullable<int> qty, string uids, string sdate, string edate, string Remark, string wuid, System.DateTime wdate, string Version) { public virtual int Insert(string gcode, global::System.Nullable<bool> expire, string name, string manu, string Supply, global::System.Nullable<int> qty, string uids, string sdate, string edate, string Remark, string wuid, System.DateTime wdate, string Version, string SerialNo, string MeterialNo) {
if ((gcode == null)) { if ((gcode == null)) {
throw new global::System.ArgumentNullException("gcode"); throw new global::System.ArgumentNullException("gcode");
} }
@@ -3474,6 +3624,18 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
else { else {
this.Adapter.InsertCommand.Parameters[12].Value = ((string)(Version)); this.Adapter.InsertCommand.Parameters[12].Value = ((string)(Version));
} }
if ((SerialNo == null)) {
this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[13].Value = ((string)(SerialNo));
}
if ((MeterialNo == null)) {
this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[14].Value = ((string)(MeterialNo));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) { != global::System.Data.ConnectionState.Open)) {
@@ -3508,6 +3670,8 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
string wuid, string wuid,
System.DateTime wdate, System.DateTime wdate,
string Version, string Version,
string SerialNo,
string MeterialNo,
int Original_idx, int Original_idx,
string Original_gcode, string Original_gcode,
global::System.Nullable<bool> Original_expire, global::System.Nullable<bool> Original_expire,
@@ -3522,6 +3686,8 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
string Original_wuid, string Original_wuid,
System.DateTime Original_wdate, System.DateTime Original_wdate,
string Original_Version, string Original_Version,
string Original_SerialNo,
string Original_MeterialNo,
int idx) { int idx) {
if ((gcode == null)) { if ((gcode == null)) {
throw new global::System.ArgumentNullException("gcode"); throw new global::System.ArgumentNullException("gcode");
@@ -3596,101 +3762,129 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
else { else {
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Version)); this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Version));
} }
this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_idx)); if ((SerialNo == null)) {
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(SerialNo));
}
if ((MeterialNo == null)) {
this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(MeterialNo));
}
this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_idx));
if ((Original_gcode == null)) { if ((Original_gcode == null)) {
throw new global::System.ArgumentNullException("Original_gcode"); throw new global::System.ArgumentNullException("Original_gcode");
} }
else { else {
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_gcode)); this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_gcode));
} }
if ((Original_expire.HasValue == true)) { if ((Original_expire.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[16].Value = ((bool)(Original_expire.Value)); this.Adapter.UpdateCommand.Parameters[18].Value = ((bool)(Original_expire.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
}
if ((Original_name == null)) {
this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
} }
else { if ((Original_name == null)) {
this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_name));
}
if ((Original_manu == null)) {
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
} }
else { else {
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_manu)); this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_name));
} }
if ((Original_Supply == null)) { if ((Original_manu == null)) {
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
} }
else { else {
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_Supply)); this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_manu));
} }
if ((Original_qty.HasValue == true)) { if ((Original_Supply == null)) {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[24].Value = ((int)(Original_qty.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
} }
if ((Original_uids == null)) { else {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_Supply));
}
if ((Original_qty.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(Original_qty.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
} }
else { if ((Original_uids == null)) {
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_uids));
}
if ((Original_sdate == null)) {
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
} }
else { else {
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_sdate)); this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_uids));
} }
if ((Original_edate == null)) { if ((Original_sdate == null)) {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
} }
else { else {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_edate)); this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_sdate));
} }
if ((Original_Remark == null)) { if ((Original_edate == null)) {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
} }
else { else {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_Remark)); this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_edate));
}
if ((Original_Remark == 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_Remark));
} }
if ((Original_wuid == null)) { if ((Original_wuid == null)) {
throw new global::System.ArgumentNullException("Original_wuid"); throw new global::System.ArgumentNullException("Original_wuid");
} }
else { else {
this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_wuid)); this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_wuid));
} }
this.Adapter.UpdateCommand.Parameters[34].Value = ((System.DateTime)(Original_wdate)); this.Adapter.UpdateCommand.Parameters[36].Value = ((System.DateTime)(Original_wdate));
if ((Original_Version == null)) { if ((Original_Version == null)) {
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
} }
else { else {
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_Version)); this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_Version));
} }
this.Adapter.UpdateCommand.Parameters[37].Value = ((int)(idx)); if ((Original_SerialNo == 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_SerialNo));
}
if ((Original_MeterialNo == null)) {
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_MeterialNo));
}
this.Adapter.UpdateCommand.Parameters[43].Value = ((int)(idx));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) { != global::System.Data.ConnectionState.Open)) {
@@ -3725,6 +3919,8 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
string wuid, string wuid,
System.DateTime wdate, System.DateTime wdate,
string Version, string Version,
string SerialNo,
string MeterialNo,
int Original_idx, int Original_idx,
string Original_gcode, string Original_gcode,
global::System.Nullable<bool> Original_expire, global::System.Nullable<bool> Original_expire,
@@ -3738,8 +3934,10 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
string Original_Remark, string Original_Remark,
string Original_wuid, string Original_wuid,
System.DateTime Original_wdate, System.DateTime Original_wdate,
string Original_Version) { string Original_Version,
return this.Update(gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version, Original_idx, Original_gcode, Original_expire, Original_name, Original_manu, Original_Supply, Original_qty, Original_uids, Original_sdate, Original_edate, Original_Remark, Original_wuid, Original_wdate, Original_Version, Original_idx); string Original_SerialNo,
string Original_MeterialNo) {
return this.Update(gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version, SerialNo, MeterialNo, Original_idx, Original_gcode, Original_expire, Original_name, Original_manu, Original_Supply, Original_qty, Original_uids, Original_sdate, Original_edate, Original_Remark, Original_wuid, Original_wdate, Original_Version, Original_SerialNo, Original_MeterialNo, Original_idx);
} }
} }

View File

@@ -160,7 +160,7 @@ SELECT idx, gcode, sdate, edate, title, edutype, proposal, target, eduoffice, me
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.EETGW_License" 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.EETGW_License" 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> <DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false"> <DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [EETGW_License] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_expire = 1 AND [expire] IS NULL) OR ([expire] = @Original_expire)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_Supply = 1 AND [Supply] IS NULL) OR ([Supply] = @Original_Supply)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_uids = 1 AND [uids] IS NULL) OR ([uids] = @Original_uids)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_Version = 1 AND [Version] IS NULL) OR ([Version] = @Original_Version)))</CommandText> <CommandText>DELETE FROM [EETGW_License] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_expire = 1 AND [expire] IS NULL) OR ([expire] = @Original_expire)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_Supply = 1 AND [Supply] IS NULL) OR ([Supply] = @Original_Supply)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_uids = 1 AND [uids] IS NULL) OR ([uids] = @Original_uids)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_Version = 1 AND [Version] IS NULL) OR ([Version] = @Original_Version)) AND ((@IsNull_SerialNo = 1 AND [SerialNo] IS NULL) OR ([SerialNo] = @Original_SerialNo)) AND ((@IsNull_MeterialNo = 1 AND [MeterialNo] IS NULL) OR ([MeterialNo] = @Original_MeterialNo)))</CommandText>
<Parameters> <Parameters>
<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="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="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="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" />
@@ -186,13 +186,17 @@ SELECT idx, gcode, sdate, edate, title, edutype, proposal, target, eduoffice, me
<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="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Version" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Version" SourceColumnNullMapping="true" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Version" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Version" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Version" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Version" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Version" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Version" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SerialNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SerialNo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SerialNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SerialNo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MeterialNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MeterialNo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MeterialNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MeterialNo" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters> </Parameters>
</DbCommand> </DbCommand>
</DeleteCommand> </DeleteCommand>
<InsertCommand> <InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false"> <DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [EETGW_License] ([gcode], [expire], [name], [manu], [Supply], [qty], [uids], [sdate], [edate], [Remark], [wuid], [wdate], [Version]) VALUES (@gcode, @expire, @name, @manu, @Supply, @qty, @uids, @sdate, @edate, @Remark, @wuid, @wdate, @Version); <CommandText>INSERT INTO [EETGW_License] ([gcode], [expire], [name], [manu], [Supply], [qty], [uids], [sdate], [edate], [Remark], [wuid], [wdate], [Version], [SerialNo], [MeterialNo]) VALUES (@gcode, @expire, @name, @manu, @Supply, @qty, @uids, @sdate, @edate, @Remark, @wuid, @wdate, @Version, @SerialNo, @MeterialNo);
SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version FROM EETGW_License WHERE (idx = SCOPE_IDENTITY()) ORDER BY expire, name, sdate</CommandText> SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version, SerialNo, MeterialNo FROM EETGW_License WHERE (idx = SCOPE_IDENTITY()) ORDER BY expire, name, sdate</CommandText>
<Parameters> <Parameters>
<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="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="@expire" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="expire" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@expire" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="expire" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -207,12 +211,14 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
<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="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" 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="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Version" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Version" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Version" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Version" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SerialNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SerialNo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MeterialNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MeterialNo" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters> </Parameters>
</DbCommand> </DbCommand>
</InsertCommand> </InsertCommand>
<SelectCommand> <SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false"> <DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version <CommandText>SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version, SerialNo, MeterialNo
FROM EETGW_License FROM EETGW_License
WHERE (gcode = @gcode) WHERE (gcode = @gcode)
ORDER BY expire, name, sdate</CommandText> ORDER BY expire, name, sdate</CommandText>
@@ -223,8 +229,8 @@ ORDER BY expire, name, sdate</CommandText>
</SelectCommand> </SelectCommand>
<UpdateCommand> <UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false"> <DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [EETGW_License] SET [gcode] = @gcode, [expire] = @expire, [name] = @name, [manu] = @manu, [Supply] = @Supply, [qty] = @qty, [uids] = @uids, [sdate] = @sdate, [edate] = @edate, [Remark] = @Remark, [wuid] = @wuid, [wdate] = @wdate, [Version] = @Version WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_expire = 1 AND [expire] IS NULL) OR ([expire] = @Original_expire)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_Supply = 1 AND [Supply] IS NULL) OR ([Supply] = @Original_Supply)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_uids = 1 AND [uids] IS NULL) OR ([uids] = @Original_uids)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_Version = 1 AND [Version] IS NULL) OR ([Version] = @Original_Version))); <CommandText>UPDATE [EETGW_License] SET [gcode] = @gcode, [expire] = @expire, [name] = @name, [manu] = @manu, [Supply] = @Supply, [qty] = @qty, [uids] = @uids, [sdate] = @sdate, [edate] = @edate, [Remark] = @Remark, [wuid] = @wuid, [wdate] = @wdate, [Version] = @Version, [SerialNo] = @SerialNo, [MeterialNo] = @MeterialNo WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_expire = 1 AND [expire] IS NULL) OR ([expire] = @Original_expire)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_Supply = 1 AND [Supply] IS NULL) OR ([Supply] = @Original_Supply)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_uids = 1 AND [uids] IS NULL) OR ([uids] = @Original_uids)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_Version = 1 AND [Version] IS NULL) OR ([Version] = @Original_Version)) AND ((@IsNull_SerialNo = 1 AND [SerialNo] IS NULL) OR ([SerialNo] = @Original_SerialNo)) AND ((@IsNull_MeterialNo = 1 AND [MeterialNo] IS NULL) OR ([MeterialNo] = @Original_MeterialNo)));
SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version FROM EETGW_License WHERE (idx = @idx) ORDER BY expire, name, sdate</CommandText> SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark, wuid, wdate, Version, SerialNo, MeterialNo FROM EETGW_License WHERE (idx = @idx) ORDER BY expire, name, sdate</CommandText>
<Parameters> <Parameters>
<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="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="@expire" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="expire" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@expire" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="expire" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -239,6 +245,8 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
<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="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" 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="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Version" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Version" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Version" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Version" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SerialNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SerialNo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MeterialNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MeterialNo" SourceColumnNullMapping="false" SourceVersion="Current" />
<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="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="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="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_expire" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="expire" SourceColumnNullMapping="true" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_expire" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="expire" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -263,6 +271,10 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
<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="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Version" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Version" SourceColumnNullMapping="true" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Version" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Version" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Version" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Version" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Version" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Version" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SerialNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SerialNo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SerialNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SerialNo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MeterialNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MeterialNo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MeterialNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MeterialNo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.EETGW_License" 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.EETGW_License" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters> </Parameters>
</DbCommand> </DbCommand>
@@ -284,6 +296,8 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
<Mapping SourceColumn="wdate" DataSetColumn="wdate" /> <Mapping SourceColumn="wdate" DataSetColumn="wdate" />
<Mapping SourceColumn="Remark" DataSetColumn="Remark" /> <Mapping SourceColumn="Remark" DataSetColumn="Remark" />
<Mapping SourceColumn="Version" DataSetColumn="Version" /> <Mapping SourceColumn="Version" DataSetColumn="Version" />
<Mapping SourceColumn="SerialNo" DataSetColumn="SerialNo" />
<Mapping SourceColumn="MeterialNo" DataSetColumn="MeterialNo" />
</Mappings> </Mappings>
<Sources /> <Sources />
</TableAdapter> </TableAdapter>
@@ -295,7 +309,7 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
<xs:element name="EEDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="EEDataSet" msprop:Generator_UserDSName="EEDataSet"> <xs:element name="EEDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="EEDataSet" msprop:Generator_UserDSName="EEDataSet">
<xs:complexType> <xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="EETGW_EducationList" msprop:Generator_TableClassName="EETGW_EducationListDataTable" msprop:Generator_TableVarName="tableEETGW_EducationList" msprop:Generator_RowChangedName="EETGW_EducationListRowChanged" msprop:Generator_TablePropName="EETGW_EducationList" msprop:Generator_RowDeletingName="EETGW_EducationListRowDeleting" msprop:Generator_RowChangingName="EETGW_EducationListRowChanging" msprop:Generator_RowEvHandlerName="EETGW_EducationListRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_EducationListRowDeleted" msprop:Generator_RowClassName="EETGW_EducationListRow" msprop:Generator_UserTableName="EETGW_EducationList" msprop:Generator_RowEvArgName="EETGW_EducationListRowChangeEvent"> <xs:element name="EETGW_EducationList" msprop:Generator_TableClassName="EETGW_EducationListDataTable" msprop:Generator_TableVarName="tableEETGW_EducationList" msprop:Generator_TablePropName="EETGW_EducationList" msprop:Generator_RowDeletingName="EETGW_EducationListRowDeleting" msprop:Generator_RowChangingName="EETGW_EducationListRowChanging" msprop:Generator_RowEvHandlerName="EETGW_EducationListRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_EducationListRowDeleted" msprop:Generator_UserTableName="EETGW_EducationList" msprop:Generator_RowChangedName="EETGW_EducationListRowChanged" msprop:Generator_RowEvArgName="EETGW_EducationListRowChangeEvent" msprop:Generator_RowClassName="EETGW_EducationListRow">
<xs:complexType> <xs:complexType>
<xs:sequence> <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" /> <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" />
@@ -383,7 +397,7 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="EETGW_License" msprop:Generator_TableClassName="EETGW_LicenseDataTable" msprop:Generator_TableVarName="tableEETGW_License" msprop:Generator_RowChangedName="EETGW_LicenseRowChanged" msprop:Generator_TablePropName="EETGW_License" msprop:Generator_RowDeletingName="EETGW_LicenseRowDeleting" msprop:Generator_RowChangingName="EETGW_LicenseRowChanging" msprop:Generator_RowEvHandlerName="EETGW_LicenseRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_LicenseRowDeleted" msprop:Generator_RowClassName="EETGW_LicenseRow" msprop:Generator_UserTableName="EETGW_License" msprop:Generator_RowEvArgName="EETGW_LicenseRowChangeEvent"> <xs:element name="EETGW_License" msprop:Generator_TableClassName="EETGW_LicenseDataTable" msprop:Generator_TableVarName="tableEETGW_License" msprop:Generator_TablePropName="EETGW_License" msprop:Generator_RowDeletingName="EETGW_LicenseRowDeleting" msprop:Generator_RowChangingName="EETGW_LicenseRowChanging" msprop:Generator_RowEvHandlerName="EETGW_LicenseRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_LicenseRowDeleted" msprop:Generator_UserTableName="EETGW_License" msprop:Generator_RowChangedName="EETGW_LicenseRowChanged" msprop:Generator_RowEvArgName="EETGW_LicenseRowChangeEvent" msprop:Generator_RowClassName="EETGW_LicenseRow">
<xs:complexType> <xs:complexType>
<xs:sequence> <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" /> <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" />
@@ -460,6 +474,20 @@ SELECT idx, gcode, expire, name, manu, Supply, qty, uids, sdate, edate, Remark,
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="SerialNo" msprop:Generator_ColumnVarNameInTable="columnSerialNo" msprop:Generator_ColumnPropNameInRow="SerialNo" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInTable="SerialNoColumn" msprop:Generator_UserColumnName="SerialNo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MeterialNo" msprop:Generator_ColumnVarNameInTable="columnMeterialNo" msprop:Generator_ColumnPropNameInRow="MeterialNo" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInTable="MeterialNoColumn" msprop:Generator_UserColumnName="MeterialNo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>

View File

@@ -35,9 +35,14 @@
<Prefer32Bit>false</Prefer32Bit> <Prefer32Bit>false</Prefer32Bit>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="arControl.Net4, Version=18.7.27.1500, Culture=neutral, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
<HintPath>bin\Debug\arControl.Net4.dll</HintPath>
</Reference>
<Reference Include="ArSetting.Net4"> <Reference Include="ArSetting.Net4">
<HintPath>..\..\DLL\ArSetting.Net4.dll</HintPath> <HintPath>..\..\DLL\ArSetting.Net4.dll</HintPath>
</Reference> </Reference>
<Reference Include="CarlosAg.ExcelXmlWriter, Version=1.0.0.6, Culture=neutral, PublicKeyToken=null" />
<Reference Include="FarPoint.CalcEngine, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> <Reference Include="FarPoint.CalcEngine, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" />
<Reference Include="FarPoint.Excel, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> <Reference Include="FarPoint.Excel, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" />
<Reference Include="FarPoint.Localization, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" /> <Reference Include="FarPoint.Localization, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" />

View File

@@ -28,92 +28,87 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLicenseList)); this.components = new System.ComponentModel.Container();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLicenseList));
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); this.dsPurchase = new FED0000.EEDataSet();
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); this.bs = new System.Windows.Forms.BindingSource(this.components);
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); this.tam = new FED0000.EEDataSetTableAdapters.TableAdapterManager();
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); this.bn = new System.Windows.Forms.BindingNavigator(this.components);
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
this.dsPurchase = new FED0000.EEDataSet(); this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
this.bs = new System.Windows.Forms.BindingSource(); this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.tam = new FED0000.EEDataSetTableAdapters.TableAdapterManager(); this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
this.bn = new System.Windows.Forms.BindingNavigator(); this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); this.btAdd = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); this.btCopy = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); this.btEdit = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); this.btDel = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.btSave = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
this.btAdd = new System.Windows.Forms.ToolStripButton(); this.tbFind = new System.Windows.Forms.ToolStripTextBox();
this.btCopy = new System.Windows.Forms.ToolStripButton(); this.btFind = new System.Windows.Forms.ToolStripButton();
this.btEdit = new System.Windows.Forms.ToolStripButton(); this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.btDel = new System.Windows.Forms.ToolStripButton(); this.exportDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.btSave = new System.Windows.Forms.ToolStripButton(); this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.btSearch = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.tbFind = new System.Windows.Forms.ToolStripTextBox(); this.label1 = new System.Windows.Forms.Label();
this.btFind = new System.Windows.Forms.ToolStripButton(); this.ta = new FED0000.EEDataSetTableAdapters.EETGW_LicenseTableAdapter();
this.cm1 = new System.Windows.Forms.ContextMenuStrip(); this.dv1 = new arCtl.arDatagridView();
this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.expireDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.versionDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.MeterialNo = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.supplyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); this.qtyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.exportDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.uidsDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.SerialNo = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.btSearch = new System.Windows.Forms.ToolStripButton(); this.remarkDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.sdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); this.manuDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
this.ta = new FED0000.EEDataSetTableAdapters.EETGW_LicenseTableAdapter(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); this.cm1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); this.toolStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
this.bn.SuspendLayout(); this.SuspendLayout();
this.cm1.SuspendLayout(); //
this.toolStrip1.SuspendLayout(); // dsPurchase
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); //
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); this.dsPurchase.DataSetName = "EEDataSet";
this.SuspendLayout(); this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
// //
// dsPurchase // bs
// //
this.dsPurchase.DataSetName = "EEDataSet"; this.bs.DataMember = "EETGW_License";
this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; this.bs.DataSource = this.dsPurchase;
// this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
// bs //
// // tam
this.bs.DataMember = "EETGW_License"; //
this.bs.DataSource = this.dsPurchase; this.tam.BackupDataSetBeforeUpdate = true;
this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); this.tam.Connection = null;
// this.tam.EETGW_EducationListTableAdapter = null;
// tam this.tam.EETGW_LicenseTableAdapter = null;
// this.tam.UpdateOrder = FED0000.EEDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
this.tam.BackupDataSetBeforeUpdate = true; //
this.tam.Connection = null; // bn
this.tam.EETGW_EducationListTableAdapter = null; //
this.tam.EETGW_LicenseTableAdapter = null; this.bn.AddNewItem = null;
this.tam.UpdateOrder = FED0000.EEDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; this.bn.BindingSource = this.bs;
// this.bn.CountItem = this.bindingNavigatorCountItem;
// bn this.bn.DeleteItem = null;
// this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
this.bn.AddNewItem = null; this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
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.bindingNavigatorMoveFirstItem,
this.bindingNavigatorMovePreviousItem, this.bindingNavigatorMovePreviousItem,
this.bindingNavigatorSeparator, this.bindingNavigatorSeparator,
@@ -133,409 +128,370 @@
this.toolStripLabel2, this.toolStripLabel2,
this.tbFind, this.tbFind,
this.btFind}); this.btFind});
this.bn.Location = new System.Drawing.Point(0, 645); this.bn.Location = new System.Drawing.Point(0, 645);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.bn.Name = "bn"; this.bn.Name = "bn";
this.bn.PositionItem = this.bindingNavigatorPositionItem; this.bn.PositionItem = this.bindingNavigatorPositionItem;
this.bn.Size = new System.Drawing.Size(1244, 25); this.bn.Size = new System.Drawing.Size(1244, 25);
this.bn.TabIndex = 0; this.bn.TabIndex = 0;
this.bn.Text = "bindingNavigator1"; this.bn.Text = "bindingNavigator1";
// //
// bindingNavigatorCountItem // bindingNavigatorCountItem
// //
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
this.bindingNavigatorCountItem.Text = "/{0}"; this.bindingNavigatorCountItem.Text = "/{0}";
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
// //
// bindingNavigatorMoveFirstItem // bindingNavigatorMoveFirstItem
// //
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22); this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
// //
// bindingNavigatorMovePreviousItem // bindingNavigatorMovePreviousItem
// //
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22); this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
// //
// bindingNavigatorSeparator // bindingNavigatorSeparator
// //
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
// //
// bindingNavigatorPositionItem // bindingNavigatorPositionItem
// //
this.bindingNavigatorPositionItem.AccessibleName = "위치"; this.bindingNavigatorPositionItem.AccessibleName = "위치";
this.bindingNavigatorPositionItem.AutoSize = false; this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0"; this.bindingNavigatorPositionItem.Text = "0";
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
// //
// bindingNavigatorSeparator1 // bindingNavigatorSeparator1
// //
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
// //
// bindingNavigatorMoveNextItem // bindingNavigatorMoveNextItem
// //
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22); this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
// //
// bindingNavigatorMoveLastItem // bindingNavigatorMoveLastItem
// //
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22); this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
// //
// bindingNavigatorSeparator2 // bindingNavigatorSeparator2
// //
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
// //
// btAdd // btAdd
// //
this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image"))); this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image")));
this.btAdd.Name = "btAdd"; this.btAdd.Name = "btAdd";
this.btAdd.RightToLeftAutoMirrorImage = true; this.btAdd.RightToLeftAutoMirrorImage = true;
this.btAdd.Size = new System.Drawing.Size(67, 22); this.btAdd.Size = new System.Drawing.Size(67, 22);
this.btAdd.Text = "추가(&A)"; this.btAdd.Text = "추가(&A)";
this.btAdd.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click); this.btAdd.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
// //
// btCopy // btCopy
// //
this.btCopy.Image = ((System.Drawing.Image)(resources.GetObject("btCopy.Image"))); this.btCopy.Image = ((System.Drawing.Image)(resources.GetObject("btCopy.Image")));
this.btCopy.ImageTransparentColor = System.Drawing.Color.Magenta; this.btCopy.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btCopy.Name = "btCopy"; this.btCopy.Name = "btCopy";
this.btCopy.Size = new System.Drawing.Size(67, 22); this.btCopy.Size = new System.Drawing.Size(67, 22);
this.btCopy.Text = "복사(&C)"; this.btCopy.Text = "복사(&C)";
this.btCopy.Visible = false; this.btCopy.Visible = false;
// //
// btEdit // btEdit
// //
this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image"))); this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image")));
this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta; this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btEdit.Name = "btEdit"; this.btEdit.Name = "btEdit";
this.btEdit.Size = new System.Drawing.Size(65, 22); this.btEdit.Size = new System.Drawing.Size(65, 22);
this.btEdit.Text = "편집(&E)"; this.btEdit.Text = "편집(&E)";
this.btEdit.Visible = false; this.btEdit.Visible = false;
this.btEdit.Click += new System.EventHandler(this.toolStripButton2_Click); this.btEdit.Click += new System.EventHandler(this.toolStripButton2_Click);
// //
// btDel // btDel
// //
this.btDel.Image = ((System.Drawing.Image)(resources.GetObject("btDel.Image"))); this.btDel.Image = ((System.Drawing.Image)(resources.GetObject("btDel.Image")));
this.btDel.Name = "btDel"; this.btDel.Name = "btDel";
this.btDel.RightToLeftAutoMirrorImage = true; this.btDel.RightToLeftAutoMirrorImage = true;
this.btDel.Size = new System.Drawing.Size(68, 22); this.btDel.Size = new System.Drawing.Size(68, 22);
this.btDel.Text = "삭제(&D)"; this.btDel.Text = "삭제(&D)";
this.btDel.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click); this.btDel.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click);
// //
// btSave // btSave
// //
this.btSave.Image = global::FED0000.Properties.Resources.action_save; this.btSave.Image = global::FED0000.Properties.Resources.action_save;
this.btSave.ImageTransparentColor = System.Drawing.Color.Magenta; this.btSave.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btSave.Name = "btSave"; this.btSave.Name = "btSave";
this.btSave.Size = new System.Drawing.Size(66, 22); this.btSave.Size = new System.Drawing.Size(66, 22);
this.btSave.Text = "저장(&S)"; this.btSave.Text = "저장(&S)";
this.btSave.Click += new System.EventHandler(this.btSave_Click); this.btSave.Click += new System.EventHandler(this.btSave_Click);
// //
// toolStripButton1 // toolStripButton1
// //
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(75, 22); this.toolStripButton1.Size = new System.Drawing.Size(75, 22);
this.toolStripButton1.Text = "폴더열기"; this.toolStripButton1.Text = "폴더열기";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
// //
// toolStripSeparator1 // toolStripSeparator1
// //
this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
// //
// toolStripLabel2 // toolStripLabel2
// //
this.toolStripLabel2.Name = "toolStripLabel2"; this.toolStripLabel2.Name = "toolStripLabel2";
this.toolStripLabel2.Size = new System.Drawing.Size(31, 22); this.toolStripLabel2.Size = new System.Drawing.Size(31, 22);
this.toolStripLabel2.Text = "검색"; this.toolStripLabel2.Text = "검색";
// //
// tbFind // tbFind
// //
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F); this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.tbFind.Name = "tbFind"; this.tbFind.Name = "tbFind";
this.tbFind.Size = new System.Drawing.Size(100, 25); this.tbFind.Size = new System.Drawing.Size(100, 25);
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown); this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
// //
// btFind // btFind
// //
this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image"))); this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image")));
this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta; this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btFind.Name = "btFind"; this.btFind.Name = "btFind";
this.btFind.Size = new System.Drawing.Size(23, 22); this.btFind.Size = new System.Drawing.Size(23, 22);
this.btFind.Text = "toolStripButton2"; this.btFind.Text = "toolStripButton2";
this.btFind.Click += new System.EventHandler(this.btFind_Click); this.btFind.Click += new System.EventHandler(this.btFind_Click);
// //
// cm1 // cm1
// //
this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F); this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F);
this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.columnSizeToolStripMenuItem,
this.toolStripMenuItem3,
this.exportDataToolStripMenuItem}); this.exportDataToolStripMenuItem});
this.cm1.Name = "contextMenuStrip1"; this.cm1.Name = "contextMenuStrip1";
this.cm1.Size = new System.Drawing.Size(314, 94); this.cm1.Size = new System.Drawing.Size(314, 46);
// //
// columnSizeToolStripMenuItem // exportDataToolStripMenuItem
// //
this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.exportDataToolStripMenuItem.Name = "exportDataToolStripMenuItem";
this.autoToolStripMenuItem, this.exportDataToolStripMenuItem.Size = new System.Drawing.Size(313, 42);
this.resetToolStripMenuItem, this.exportDataToolStripMenuItem.Text = "목록 내보내기(xls)";
this.saveToolStripMenuItem, this.exportDataToolStripMenuItem.Click += new System.EventHandler(this.exportDataToolStripMenuItem_Click);
this.loadToolStripMenuItem}); //
this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem"; // toolStrip1
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(313, 42); //
this.columnSizeToolStripMenuItem.Text = "Column Size"; this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30);
// this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
// autoToolStripMenuItem
//
this.autoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("autoToolStripMenuItem.Image")));
this.autoToolStripMenuItem.Name = "autoToolStripMenuItem";
this.autoToolStripMenuItem.Size = new System.Drawing.Size(159, 42);
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(159, 42);
this.resetToolStripMenuItem.Text = "Reset";
this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click);
//
// saveToolStripMenuItem
//
this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
this.saveToolStripMenuItem.Size = new System.Drawing.Size(159, 42);
this.saveToolStripMenuItem.Text = "Save";
this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
//
// loadToolStripMenuItem
//
this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image")));
this.loadToolStripMenuItem.Name = "loadToolStripMenuItem";
this.loadToolStripMenuItem.Size = new System.Drawing.Size(159, 42);
this.loadToolStripMenuItem.Text = "Load";
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
//
// toolStripMenuItem3
//
this.toolStripMenuItem3.Name = "toolStripMenuItem3";
this.toolStripMenuItem3.Size = new System.Drawing.Size(310, 6);
//
// exportDataToolStripMenuItem
//
this.exportDataToolStripMenuItem.Name = "exportDataToolStripMenuItem";
this.exportDataToolStripMenuItem.Size = new System.Drawing.Size(313, 42);
this.exportDataToolStripMenuItem.Text = "목록 내보내기(xls)";
this.exportDataToolStripMenuItem.Click += new System.EventHandler(this.exportDataToolStripMenuItem_Click);
//
// toolStrip1
//
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30);
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.btSearch, this.btSearch,
this.toolStripSeparator5, this.toolStripSeparator5,
this.toolStripButton2}); this.toolStripButton2});
this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1244, 37); this.toolStrip1.Size = new System.Drawing.Size(1244, 37);
this.toolStrip1.TabIndex = 3; this.toolStrip1.TabIndex = 3;
this.toolStrip1.Text = "toolStrip1"; this.toolStrip1.Text = "toolStrip1";
// //
// btSearch // btSearch
// //
this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image"))); this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta; this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btSearch.Name = "btSearch"; this.btSearch.Name = "btSearch";
this.btSearch.Size = new System.Drawing.Size(80, 34); this.btSearch.Size = new System.Drawing.Size(80, 34);
this.btSearch.Text = "조회(&R)"; this.btSearch.Text = "조회(&R)";
this.btSearch.Click += new System.EventHandler(this.btSearch_Click); this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
// //
// toolStripSeparator5 // toolStripSeparator5
// //
this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Name = "toolStripSeparator5";
this.toolStripSeparator5.Size = new System.Drawing.Size(6, 37); this.toolStripSeparator5.Size = new System.Drawing.Size(6, 37);
// //
// toolStripButton2 // toolStripButton2
// //
this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton2.Name = "toolStripButton2"; this.toolStripButton2.Name = "toolStripButton2";
this.toolStripButton2.Size = new System.Drawing.Size(65, 34); this.toolStripButton2.Size = new System.Drawing.Size(65, 34);
this.toolStripButton2.Text = "닫기"; this.toolStripButton2.Text = "닫기";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1); this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1);
// //
// label1 // label1
// //
this.label1.Dock = System.Windows.Forms.DockStyle.Bottom; this.label1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label1.Location = new System.Drawing.Point(0, 622); this.label1.Location = new System.Drawing.Point(0, 622);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
this.label1.Size = new System.Drawing.Size(1244, 23); this.label1.Size = new System.Drawing.Size(1244, 23);
this.label1.TabIndex = 6; this.label1.TabIndex = 6;
this.label1.Text = "--"; this.label1.Text = "--";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// //
// ta // ta
// //
this.ta.ClearBeforeFill = true; this.ta.ClearBeforeFill = true;
// //
// fpSpread1 // dv1
// //
this.fpSpread1.AccessibleDescription = "fpSpread1, Sheet1"; this.dv1.A_DelCurrentCell = true;
this.fpSpread1.ContextMenuStrip = this.cm1; this.dv1.A_EnterToTab = true;
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; this.dv1.A_KoreanField = null;
this.fpSpread1.Location = new System.Drawing.Point(0, 37); this.dv1.A_UpperField = null;
this.fpSpread1.Name = "fpSpread1"; this.dv1.A_ViewRownumOnHeader = true;
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.dv1.AllowUserToAddRows = false;
this.fpSpread1_Sheet1}); this.dv1.AutoGenerateColumns = false;
this.fpSpread1.Size = new System.Drawing.Size(1244, 585); this.dv1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
this.fpSpread1.TabIndex = 4; this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.fpSpread1.EditModeOff += new System.EventHandler(this.fpSpread1_EditModeOff); this.dv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
// this.expireDataGridViewCheckBoxColumn,
// fpSpread1_Sheet1 this.nameDataGridViewTextBoxColumn,
// this.versionDataGridViewTextBoxColumn,
this.fpSpread1_Sheet1.Reset(); this.MeterialNo,
this.fpSpread1_Sheet1.SheetName = "Sheet1"; this.supplyDataGridViewTextBoxColumn,
// Formulas and custom names must be loaded with R1C1 reference style this.qtyDataGridViewTextBoxColumn,
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1; this.uidsDataGridViewTextBoxColumn,
this.fpSpread1_Sheet1.ColumnCount = 9; this.SerialNo,
this.fpSpread1_Sheet1.ActiveColumnIndex = -1; this.remarkDataGridViewTextBoxColumn,
this.fpSpread1_Sheet1.ActiveRowIndex = -1; this.sdateDataGridViewTextBoxColumn,
this.fpSpread1_Sheet1.AutoGenerateColumns = false; this.manuDataGridViewTextBoxColumn});
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "만료"; this.dv1.ContextMenuStrip = this.cm1;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "이름"; this.dv1.DataSource = this.bs;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "버젼"; this.dv1.Dock = System.Windows.Forms.DockStyle.Fill;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "제조사"; this.dv1.Location = new System.Drawing.Point(0, 37);
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "공급처"; this.dv1.Name = "dv1";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "수량"; this.dv1.RowTemplate.Height = 23;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "실사용자"; this.dv1.Size = new System.Drawing.Size(1244, 585);
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "구매일"; this.dv1.TabIndex = 7;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "비고"; //
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 40F; // expireDataGridViewCheckBoxColumn
this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); //
this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType1; this.expireDataGridViewCheckBoxColumn.DataPropertyName = "expire";
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "expire"; this.expireDataGridViewCheckBoxColumn.HeaderText = "만료";
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.expireDataGridViewCheckBoxColumn.Name = "expireDataGridViewCheckBoxColumn";
this.fpSpread1_Sheet1.Columns.Get(0).Label = "만료"; this.expireDataGridViewCheckBoxColumn.Width = 35;
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; //
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1; // nameDataGridViewTextBoxColumn
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "name"; //
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.nameDataGridViewTextBoxColumn.DataPropertyName = "name";
this.fpSpread1_Sheet1.Columns.Get(1).Label = "이름"; this.nameDataGridViewTextBoxColumn.HeaderText = "품명";
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.nameDataGridViewTextBoxColumn.Name = "nameDataGridViewTextBoxColumn";
this.fpSpread1_Sheet1.Columns.Get(1).Width = 151F; this.nameDataGridViewTextBoxColumn.Width = 54;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; //
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "Version"; // versionDataGridViewTextBoxColumn
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; //
this.fpSpread1_Sheet1.Columns.Get(2).Label = "버젼"; this.versionDataGridViewTextBoxColumn.DataPropertyName = "Version";
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.versionDataGridViewTextBoxColumn.HeaderText = "버젼";
this.fpSpread1_Sheet1.Columns.Get(2).Width = 122F; this.versionDataGridViewTextBoxColumn.Name = "versionDataGridViewTextBoxColumn";
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; this.versionDataGridViewTextBoxColumn.Width = 54;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "manu"; //
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; // MeterialNo
this.fpSpread1_Sheet1.Columns.Get(3).Label = "제조사"; //
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.MeterialNo.DataPropertyName = "MeterialNo";
this.fpSpread1_Sheet1.Columns.Get(3).Width = 151F; this.MeterialNo.HeaderText = "SID";
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; this.MeterialNo.Name = "MeterialNo";
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "Supply"; this.MeterialNo.Width = 49;
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; //
this.fpSpread1_Sheet1.Columns.Get(4).Label = "공급처"; // supplyDataGridViewTextBoxColumn
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; //
this.fpSpread1_Sheet1.Columns.Get(4).Width = 151F; this.supplyDataGridViewTextBoxColumn.DataPropertyName = "Supply";
numberCellType1.DecimalPlaces = 0; this.supplyDataGridViewTextBoxColumn.HeaderText = "공급";
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; this.supplyDataGridViewTextBoxColumn.Name = "supplyDataGridViewTextBoxColumn";
numberCellType1.MaximumValue = 2147483647D; this.supplyDataGridViewTextBoxColumn.Width = 54;
numberCellType1.MinimumValue = -2147483648D; //
this.fpSpread1_Sheet1.Columns.Get(5).CellType = numberCellType1; // qtyDataGridViewTextBoxColumn
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "qty"; //
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.qtyDataGridViewTextBoxColumn.DataPropertyName = "qty";
this.fpSpread1_Sheet1.Columns.Get(5).Label = "수량"; this.qtyDataGridViewTextBoxColumn.HeaderText = "수량";
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.qtyDataGridViewTextBoxColumn.Name = "qtyDataGridViewTextBoxColumn";
this.fpSpread1_Sheet1.Columns.Get(5).Width = 77F; this.qtyDataGridViewTextBoxColumn.Width = 54;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5; //
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "uids"; // uidsDataGridViewTextBoxColumn
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; //
this.fpSpread1_Sheet1.Columns.Get(6).Label = "실사용자"; this.uidsDataGridViewTextBoxColumn.DataPropertyName = "uids";
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.uidsDataGridViewTextBoxColumn.HeaderText = "사용자";
this.fpSpread1_Sheet1.Columns.Get(6).Width = 151F; this.uidsDataGridViewTextBoxColumn.Name = "uidsDataGridViewTextBoxColumn";
this.fpSpread1_Sheet1.Columns.Get(7).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.uidsDataGridViewTextBoxColumn.Width = 66;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6; //
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "sdate"; // SerialNo
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; //
this.fpSpread1_Sheet1.Columns.Get(7).Label = "구매일"; this.SerialNo.DataPropertyName = "SerialNo";
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.SerialNo.HeaderText = "S/N";
this.fpSpread1_Sheet1.Columns.Get(7).Width = 151F; this.SerialNo.Name = "SerialNo";
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7; this.SerialNo.Width = 53;
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "Remark"; //
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; // remarkDataGridViewTextBoxColumn
this.fpSpread1_Sheet1.Columns.Get(8).Label = "비고"; //
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.remarkDataGridViewTextBoxColumn.DataPropertyName = "Remark";
this.fpSpread1_Sheet1.Columns.Get(8).Width = 249F; this.remarkDataGridViewTextBoxColumn.HeaderText = "비고";
this.fpSpread1_Sheet1.DataAutoSizeColumns = false; this.remarkDataGridViewTextBoxColumn.Name = "remarkDataGridViewTextBoxColumn";
this.fpSpread1_Sheet1.DataSource = this.bs; this.remarkDataGridViewTextBoxColumn.Width = 54;
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; //
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; // sdateDataGridViewTextBoxColumn
// //
// fLicenseList this.sdateDataGridViewTextBoxColumn.DataPropertyName = "sdate";
// this.sdateDataGridViewTextBoxColumn.HeaderText = "구매일";
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.sdateDataGridViewTextBoxColumn.Name = "sdateDataGridViewTextBoxColumn";
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.sdateDataGridViewTextBoxColumn.Width = 66;
this.ClientSize = new System.Drawing.Size(1244, 670); //
this.Controls.Add(this.fpSpread1); // manuDataGridViewTextBoxColumn
this.Controls.Add(this.label1); //
this.Controls.Add(this.toolStrip1); this.manuDataGridViewTextBoxColumn.DataPropertyName = "manu";
this.Controls.Add(this.bn); this.manuDataGridViewTextBoxColumn.HeaderText = "제조";
this.DoubleBuffered = true; this.manuDataGridViewTextBoxColumn.Name = "manuDataGridViewTextBoxColumn";
this.Name = "fLicenseList"; this.manuDataGridViewTextBoxColumn.Width = 54;
this.Text = "라이선스 목록"; //
this.Load += new System.EventHandler(this.@__Load); // fLicenseList
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit(); //
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.bn.ResumeLayout(false); this.ClientSize = new System.Drawing.Size(1244, 670);
this.bn.PerformLayout(); this.Controls.Add(this.dv1);
this.cm1.ResumeLayout(false); this.Controls.Add(this.label1);
this.toolStrip1.ResumeLayout(false); this.Controls.Add(this.toolStrip1);
this.toolStrip1.PerformLayout(); this.Controls.Add(this.bn);
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); this.DoubleBuffered = true;
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); this.Name = "fLicenseList";
this.ResumeLayout(false); this.Text = "라이선스 목록";
this.PerformLayout(); this.Load += new System.EventHandler(this.@__Load);
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
this.bn.ResumeLayout(false);
this.bn.PerformLayout();
this.cm1.ResumeLayout(false);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
} }
@@ -564,21 +520,25 @@
private System.Windows.Forms.ToolStripLabel toolStripLabel2; private System.Windows.Forms.ToolStripLabel toolStripLabel2;
private System.Windows.Forms.ToolStripTextBox tbFind; private System.Windows.Forms.ToolStripTextBox tbFind;
private System.Windows.Forms.ToolStripButton btFind; private System.Windows.Forms.ToolStripButton btFind;
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.ToolStripButton btEdit; private System.Windows.Forms.ToolStripButton btEdit;
private System.Windows.Forms.ToolStripMenuItem exportDataToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem exportDataToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem3;
private System.Windows.Forms.ToolStripButton btCopy; private System.Windows.Forms.ToolStripButton btCopy;
private System.Windows.Forms.ToolStripButton toolStripButton2; private System.Windows.Forms.ToolStripButton toolStripButton2;
private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label1;
private EEDataSetTableAdapters.EETGW_LicenseTableAdapter ta; private EEDataSetTableAdapters.EETGW_LicenseTableAdapter ta;
private System.Windows.Forms.ToolStripButton toolStripButton1; private System.Windows.Forms.ToolStripButton toolStripButton1;
private FarPoint.Win.Spread.FpSpread fpSpread1; private arCtl.arDatagridView dv1;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; private System.Windows.Forms.DataGridViewCheckBoxColumn expireDataGridViewCheckBoxColumn;
} private System.Windows.Forms.DataGridViewTextBoxColumn nameDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn versionDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn MeterialNo;
private System.Windows.Forms.DataGridViewTextBoxColumn supplyDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn qtyDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn uidsDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn SerialNo;
private System.Windows.Forms.DataGridViewTextBoxColumn remarkDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn sdateDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn manuDataGridViewTextBoxColumn;
}
} }

View File

@@ -11,429 +11,435 @@ using util = FCOMMON.Util;
namespace FED0000 namespace FED0000
{ {
public partial class fLicenseList : FCOMMON.fBase public partial class fLicenseList : FCOMMON.fBase
{ {
string fn_fpcolsize = ""; string fn_fpcolsize = "";
public fLicenseList() public fLicenseList()
{ {
InitializeComponent(); InitializeComponent();
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS; Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS; Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS;
fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini"); fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
this.dsPurchase.EETGW_License.TableNewRow += Purchase_TableNewRow; this.dsPurchase.EETGW_License.TableNewRow += Purchase_TableNewRow;
this.FormClosing += FPurchase_FormClosing; this.FormClosing += FPurchase_FormClosing;
this.FormClosed += __Closed; this.FormClosed += __Closed;
} }
private void FPurchase_FormClosing(object sender, FormClosingEventArgs e) private void FPurchase_FormClosing(object sender, FormClosingEventArgs e)
{ {
if (dsPurchase.HasChanges()) if (dsPurchase.HasChanges())
{ {
var dlg = FCOMMON.Util.MsgQ("변경된 자료가 있습니다. 화면을 닫을까요? 닫으면 변경된 자료는 손실 됩니다"); var dlg = FCOMMON.Util.MsgQ("변경된 자료가 있습니다. 화면을 닫을까요? 닫으면 변경된 자료는 손실 됩니다");
if (dlg != DialogResult.Yes) if (dlg != DialogResult.Yes)
{ {
e.Cancel = true; e.Cancel = true;
return; return;
} }
} }
} }
void __Closed(object sender, FormClosedEventArgs e) void __Closed(object sender, FormClosedEventArgs e)
{ {
} }
void Purchase_TableNewRow(object sender, DataTableNewRowEventArgs e) void Purchase_TableNewRow(object sender, DataTableNewRowEventArgs e)
{ {
e.Row["gcode"] = FCOMMON.info.Login.gcode; e.Row["gcode"] = FCOMMON.info.Login.gcode;
e.Row["sdate"] = DateTime.Now.ToShortDateString(); e.Row["sdate"] = DateTime.Now.ToShortDateString();
e.Row["wuid"] = FCOMMON.info.Login.no; e.Row["wuid"] = FCOMMON.info.Login.no;
e.Row["wdate"] = DateTime.Now; e.Row["wdate"] = DateTime.Now;
} }
private void __Load(object sender, EventArgs e) private void __Load(object sender, EventArgs e)
{ {
refreshData(); refreshData();
} }
private void refreshData() private void refreshData()
{ {
try try
{ {
this.ta.Fill(this.dsPurchase.EETGW_License, FCOMMON.info.Login.gcode); this.ta.Fill(this.dsPurchase.EETGW_License, FCOMMON.info.Login.gcode);
FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize); //FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
} }
catch (System.Exception ex) catch (System.Exception ex)
{ {
System.Windows.Forms.MessageBox.Show(ex.Message); System.Windows.Forms.MessageBox.Show(ex.Message);
} }
FormattingData(); FormattingData();
} }
void FormattingData() void FormattingData()
{ {
} }
Font fBase = new Font("맑은 고딕", 9); Font fBase = new Font("맑은 고딕", 9);
Font fBold = new Font("맑은 고딕", 9, FontStyle.Bold); Font fBold = new Font("맑은 고딕", 9, FontStyle.Bold);
private void saveData(Boolean prompt) private void saveData(Boolean prompt)
{ {
this.Validate(); this.Validate();
this.bs.EndEdit(); this.bs.EndEdit();
try try
{ {
var cnt = this.ta.Update(this.dsPurchase); var cnt = this.ta.Update(this.dsPurchase);
if (prompt) FCOMMON.Util.MsgI(string.Format("{0}건의 자료가 저장 되었습니다.", cnt)); if (prompt) FCOMMON.Util.MsgI(string.Format("{0}건의 자료가 저장 되었습니다.", cnt));
} }
catch (Exception ex) catch (Exception ex)
{ {
FCOMMON.Util.MsgE("저장 실패\n" + ex.Message); FCOMMON.Util.MsgE("저장 실패\n" + ex.Message);
} }
} }
private void btSearch_Click(object sender, EventArgs e) private void btSearch_Click(object sender, EventArgs e)
{ {
refreshData(); refreshData();
} }
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
{ {
func_add(); func_add();
} }
private void tbRequest_KeyDown(object sender, KeyEventArgs e) private void tbRequest_KeyDown(object sender, KeyEventArgs e)
{ {
if (e.KeyCode == Keys.Enter) if (e.KeyCode == Keys.Enter)
btSearch.PerformClick(); btSearch.PerformClick();
} }
private void btSave_Click(object sender, EventArgs e) private void btSave_Click(object sender, EventArgs e)
{ {
saveData(true); saveData(true);
} }
private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e) private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e)
{ {
func_delete(); func_delete();
} }
void func_add() void func_add()
{ {
var newdr = this.bs.AddNew(); var newdr = this.bs.AddNew();
this.bs.Position = this.bs.Count - 1; this.bs.Position = this.bs.Count - 1;
} }
void func_delete() void func_delete()
{ {
var drv = bs.Current as DataRowView; var drv = bs.Current as DataRowView;
if (drv == null) return; if (drv == null) return;
//var dlg = FCOMMON.Util.MsgQ("현재 선택된 데이터를 삭제 하시겠습니까?"); //var dlg = FCOMMON.Util.MsgQ("현재 선택된 데이터를 삭제 하시겠습니까?");
//if (dlg != DialogResult.Yes) return; //if (dlg != DialogResult.Yes) return;
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.purchase)); int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.purchase));
var dr = drv.Row as EEDataSet.EETGW_EducationListRow; var dr = drv.Row as EEDataSet.EETGW_EducationListRow;
var dlg = FCOMMON.Util.MsgQ("현재 선택된 자료를 삭제하시겠습니까?"); var dlg = FCOMMON.Util.MsgQ("현재 선택된 자료를 삭제하시겠습니까?");
if (dlg != System.Windows.Forms.DialogResult.Yes) return; if (dlg != System.Windows.Forms.DialogResult.Yes) return;
bs.RemoveCurrent(); bs.RemoveCurrent();
bs.EndEdit(); bs.EndEdit();
} }
private void btFind_Click(object sender, EventArgs e) private void btFind_Click(object sender, EventArgs e)
{ {
var search = tbFind.Text.Trim(); var dv = this.dv1;
search = search.Replace("*", "x"); var cols = new List<string>();
if (tbFind.Text != search) tbFind.Text = search; foreach (DataGridViewColumn col in dv.Columns)
try {
{ if (col.Visible == false || col.DataPropertyName.isEmpty()) continue;
if (search.isEmpty()) if (col.ValueType == typeof(bool)) continue;
{ if (col.ValueType == typeof(Int32)) continue;
this.bs.Filter = ""; cols.Add(col.DataPropertyName);
tbFind.BackColor = Color.White; }
}
else var search = tbFind.Text.Trim();
{ search = search.Replace("*", "x");
var cols = new List<string>(); string filter = string.Empty;
cols.Add("title like ?"); if (tbFind.Text != search) tbFind.Text = search;
cols.Add("proposal like ?"); try
cols.Add("target like ?"); {
cols.Add("eduoffice like ?"); if (search.isEmpty())
cols.Add("location like ?"); {
this.bs.Filter = "";
search = search.Replace("'", "''"); tbFind.BackColor = Color.White;
string filter = string.Join(" or ", cols.ToArray()); }
filter = filter.Replace("?", "'%" + search + "%'"); else
this.bs.Filter = filter; {
tbFind.BackColor = Color.Lime; search = search.Replace("'", "''");
} filter = string.Join(" like ? or ", cols.ToArray());
tbFind.SelectAll(); filter = filter.Replace("?", "'%" + search + "%'");
tbFind.Focus(); filter += " like '%" + search + "%'";
} this.bs.Filter = filter;
catch (Exception ex) tbFind.BackColor = Color.Lime;
{ }
this.tbFind.BackColor = Color.Tomato; tbFind.SelectAll();
FCOMMON.Util.MsgE(ex.Message); tbFind.Focus();
} }
} catch (Exception ex)
{
private void tbFind_KeyDown(object sender, KeyEventArgs e) this.tbFind.BackColor = Color.Tomato;
{ FCOMMON.Util.MsgE(ex.Message + "\n" + filter);
if (e.KeyCode == Keys.Enter) btFind.PerformClick(); }
} }
private void editDataToolStripMenuItem_Click(object sender, EventArgs e) private void tbFind_KeyDown(object sender, KeyEventArgs e)
{ {
Func_Edit(); if (e.KeyCode == Keys.Enter) btFind.PerformClick();
} }
void Func_Edit()
{ private void editDataToolStripMenuItem_Click(object sender, EventArgs e)
{
Func_Edit();
} }
void Func_Edit()
private void autoToolStripMenuItem_Click(object sender, EventArgs e) {
{
FCOMMON.Util.FPColSizeAuto(this.fpSpread1);
//this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true; }
//for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) private void autoToolStripMenuItem_Click(object sender, EventArgs e)
// this.fpSpread1.ActiveSheet.SetRowHeight(i, 25); {
//dv1.AutoResizeColumns(); // FCOMMON.Util.FPColSizeAuto(this.fpSpread1);
} //this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true;
private void resetToolStripMenuItem_Click(object sender, EventArgs e) //for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++)
{ // this.fpSpread1.ActiveSheet.SetRowHeight(i, 25);
foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns) //dv1.AutoResizeColumns();
{ }
col.Width = 100;
} private void resetToolStripMenuItem_Click(object sender, EventArgs e)
} {
//foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns)
private void saveToolStripMenuItem_Click(object sender, EventArgs e) //{
{ // col.Width = 100;
FCOMMON.Util.FPColsizeSave(this.fpSpread1, fn_fpcolsize); //}
} }
private void loadToolStripMenuItem_Click(object sender, EventArgs e) private void saveToolStripMenuItem_Click(object sender, EventArgs e)
{ {//
FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize); // FCOMMON.Util.FPColsizeSave(this.fpSpread1, fn_fpcolsize);
} }
private void toolStripButton2_Click(object sender, EventArgs e) private void loadToolStripMenuItem_Click(object sender, EventArgs e)
{ {
Func_Edit(); // FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
} }
private void toolStripButton2_Click(object sender, EventArgs e)
void dv1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e) {
{ Func_Edit();
//if (e.ColumnIndex < 0 || e.RowIndex < 0) return; }
//var state = this.dv1.Rows[e.RowIndex].Cells["dvc_state"].Value.ToString();
//switch (state)
//{ void dv1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
// case "00": //입력대기(미확인) {
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black; //if (e.ColumnIndex < 0 || e.RowIndex < 0) return;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray; //var state = this.dv1.Rows[e.RowIndex].Cells["dvc_state"].Value.ToString();
// break; //switch (state)
// case "01": //파트장 승인 기다림 //{
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkBlue; // case "00": //입력대기(미확인)
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White; // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
// break; // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray;
// case "03": //PO (협력업체 전달) // break;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkMagenta; // case "01": //파트장 승인 기다림
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White; // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkBlue;
// break; // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
// case "04": //자재 수령 // break;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White; // case "03": //PO (협력업체 전달)
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Green; // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkMagenta;
// break; // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
// case "05": //canceld (취소) // break;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray; // case "04": //자재 수령
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Red; // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
// break; // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Green;
// case "06": //cancel (취소됨) // break;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.HotPink; // case "05": //canceld (취소)
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black; // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray;
// break; // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Red;
// case "08": //문의 // break;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.Green; // case "06": //cancel (취소됨)
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.White; // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.HotPink;
// break; // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
// default: // break;
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White; // case "08": //문의
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black; // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.Green;
// break; // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.White;
//} // break;
} // default:
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
private void updateSCToolStripMenuItem_Click(object sender, EventArgs e) // this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
{ // break;
var dlg = FCOMMON.Util.MsgQ("#SC가 없는 자료에 한하여 일괄 기록을 실행 합니다."); //}
if (dlg == System.Windows.Forms.DialogResult.Yes) }
{
private void updateSCToolStripMenuItem_Click(object sender, EventArgs e)
} {
} var dlg = FCOMMON.Util.MsgQ("#SC가 없는 자료에 한하여 일괄 기록을 실행 합니다.");
if (dlg == System.Windows.Forms.DialogResult.Yes)
private void exportDataToolStripMenuItem_Click(object sender, EventArgs e) {
{
SaveFileDialog sd = new SaveFileDialog(); }
sd.Filter = "excel|*.xls"; }
sd.FileName = "edulist.xls";
if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK) private void exportDataToolStripMenuItem_Click(object sender, EventArgs e)
{ {
fpSpread1.SaveExcel(sd.FileName, SaveFileDialog sd = new SaveFileDialog();
FarPoint.Excel.ExcelSaveFlags.SaveAsViewed sd.Filter = "csv|*.csv";
| FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered sd.FileName = "edulist.csv";
| FarPoint.Excel.ExcelSaveFlags.NoFormulas if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
| FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders); {
FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + sd.FileName); dv1.ExportData(sd.FileName, false);
} //fpSpread1.SaveExcel(sd.FileName,
// FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
} // | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered
// | FarPoint.Excel.ExcelSaveFlags.NoFormulas
// | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + sd.FileName);
private void btViewDel_Click(object sender, EventArgs e) }
{
refreshData(); }
}
private void copyToolStripMenuItem_Click(object sender, EventArgs e) private void btViewDel_Click(object sender, EventArgs e)
{ {
refreshData();
} }
void func_copy()
{ private void copyToolStripMenuItem_Click(object sender, EventArgs e)
var drv = this.bs.Current as DataRowView; {
if (drv == null) return;
var dr = drv.Row as EEDataSet.EETGW_LicenseRow; }
//현재 데이터를 입력하여 신규 추가를 한다. void func_copy()
var newdr = this.dsPurchase.EETGW_EducationList.NewEETGW_EducationListRow(); {
FCOMMON.Util.CopyData((System.Data.DataRow)dr, (System.Data.DataRow)newdr); var drv = this.bs.Current as DataRowView;
newdr.sdate = DateTime.Now.ToShortDateString(); if (drv == null) return;
newdr.edate = DateTime.Now.ToShortDateString(); var dr = drv.Row as EEDataSet.EETGW_LicenseRow;
newdr.wdate = DateTime.Now; //현재 데이터를 입력하여 신규 추가를 한다.
newdr.wuid = FCOMMON.info.Login.no; var newdr = this.dsPurchase.EETGW_EducationList.NewEETGW_EducationListRow();
newdr.EndEdit(); FCOMMON.Util.CopyData((System.Data.DataRow)dr, (System.Data.DataRow)newdr);
newdr.sdate = DateTime.Now.ToShortDateString();
this.dsPurchase.EETGW_EducationList.AddEETGW_EducationListRow(newdr); newdr.edate = DateTime.Now.ToShortDateString();
}
newdr.wdate = DateTime.Now;
newdr.wuid = FCOMMON.info.Login.no;
newdr.EndEdit();
private void bs_CurrentChanged(object sender, EventArgs e)
{ this.dsPurchase.EETGW_EducationList.AddEETGW_EducationListRow(newdr);
var drv = this.bs.Current as DataRowView; }
if (drv == null)
{
this.label1.Text = "데이터가 선택되지 않았습니다";
return; private void bs_CurrentChanged(object sender, EventArgs e)
} {
var dr = drv.Row as EEDataSet.EETGW_EducationListRow; var drv = this.bs.Current as DataRowView;
// this.label1.Text = string.Format("{0}", dr.bigo.Replace("\r", "").Replace("\n", "")); if (drv == null)
} {
this.label1.Text = "데이터가 선택되지 않았습니다";
private void toolStripButton4_Click(object sender, EventArgs e) return;
{ }
var dr = drv.Row as EEDataSet.EETGW_EducationListRow;
} // this.label1.Text = string.Format("{0}", dr.bigo.Replace("\r", "").Replace("\n", ""));
}
string getmaxstr(string src, int len = 30)
{ private void toolStripButton4_Click(object sender, EventArgs e)
if (src.Length > len) return src.Substring(0, len) + "..."; {
else return src;
} }
List<string> ChangeMailAddress(List<string> userid) string getmaxstr(string src, int len = 30)
{ {
var db = new DataClasses1DataContext(); if (src.Length > len) return src.Substring(0, len) + "...";
else return src;
List<string> retval = new List<string>(); }
foreach (var id in userid)
{ List<string> ChangeMailAddress(List<string> userid)
UInt32 userno; {
if (UInt32.TryParse(id, out userno) == true) var db = new DataClasses1DataContext();
{
var user = db.Users.Where(t => t.id == id).FirstOrDefault(); List<string> retval = new List<string>();
if (user != null) foreach (var id in userid)
{ {
var data = string.Format("{0}<{1}>", user.name, user.email); UInt32 userno;
if (retval.Contains(data) == false) if (UInt32.TryParse(id, out userno) == true)
retval.Add(data); {
} var user = db.Users.Where(t => t.id == id).FirstOrDefault();
} if (user != null)
else {
{ var data = string.Format("{0}<{1}>", user.name, user.email);
if (retval.Contains(id) == false) if (retval.Contains(data) == false)
retval.Add(id); retval.Add(data);
} }
} }
return retval; else
} {
if (retval.Contains(id) == false)
private void toolStripButton3_Click_1(object sender, EventArgs e) retval.Add(id);
{ }
var fn = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "PurcManual.pdf"); }
if (System.IO.File.Exists(fn)) return retval;
{ }
FCOMMON.Util.RunExplorer(fn);
} private void toolStripButton3_Click_1(object sender, EventArgs e)
else FCOMMON.Util.MsgE("설명서 파일(manual.pdf)이 없습니다. 개발자 문의 해주세요(chikyun.kim@amkor.co.kr)"); {
} var fn = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "PurcManual.pdf");
if (System.IO.File.Exists(fn))
private void fpSpread1_EditModeOff(object sender, EventArgs e) {
{ FCOMMON.Util.RunExplorer(fn);
}
} else FCOMMON.Util.MsgE("설명서 파일(manual.pdf)이 없습니다. 개발자 문의 해주세요(chikyun.kim@amkor.co.kr)");
}
private void toolStripButton2_Click_1(object sender, EventArgs e)
{ private void fpSpread1_EditModeOff(object sender, EventArgs e)
this.Close(); {
}
}
private void toolStripButton1_Click(object sender, EventArgs e)
{ private void toolStripButton2_Click_1(object sender, EventArgs e)
//open path {
this.Close();
var drv = this.bs.Current as DataRowView; }
if (drv == null) return;
var dr = drv.Row as EEDataSet.EETGW_LicenseRow; private void toolStripButton1_Click(object sender, EventArgs e)
if (dr.RowState == DataRowState.Added || dr.RowState == DataRowState.Detached) {
{ //open path
FCOMMON.Util.MsgE("자료가 저장된 후 폴더열기를 사용할 수 있습니다");
return; var drv = this.bs.Current as DataRowView;
} if (drv == null) return;
var dr = drv.Row as EEDataSet.EETGW_LicenseRow;
FCOMMON.Util.OpenSharedPath(null, "Data", "License", dr.idx.ToString()); if (dr.RowState == DataRowState.Added || dr.RowState == DataRowState.Detached)
{
} FCOMMON.Util.MsgE("자료가 저장된 후 폴더열기를 사용할 수 있습니다");
} return;
}
FCOMMON.Util.OpenSharedPath(null, "Data", "License", dr.idx.ToString());
}
}
} }

View File

@@ -220,18 +220,18 @@
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKWSURBVDhPzZNdSFNhGMdfSfq48qouSpSgi9KsbDqlDINA YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKYSURBVDhPzZNbSFNxHMf/knR58qmgC0rQQ2lWNp1Shg+R
vOtKhZIiJSu1NBMhk/zCnErqaC2p0JabmZ+FJWmBKJSmqVutWn6ESxOnuTO3ebadnXP+nc1TLejCyx7O +BZ0hZKkJCu1VipCJnnDnErqcF6o0JabmtfEsiuIQmmam9aq5SVcmjjNbW7zbDs753w7m6da0IOP/Thf
n3Pew/n9nue5OOT/qE/PJFpjTwLzrTfJJ4nMZHf09FT7vm3TLZKAv/JSEtDXF+sv4oToWqROnucA8MLl zvkfzufz+/0eDvk/6tNj0bC+6wj97ekxrxylx7oiJsZbd22YaBL5/ZWXIr/u7ihfASdE3SB2cBwLgOMv
ydqz27GIub501+xgivNX5kezHcbBHKPh6cFEESdE3xlp4VkHnHPVWP0qx+pMA2hjG3g3Jbjs4FmbkJW1 d5afXfY5THcnOqf64hy/MjMksev7UvS6jr0nBJwQbXuYmWPscEyXYOmrDEuTtaD0LeBcJt5lA8dY+Swu
s9sM2r7iMnRI9SJOyERTuJVjVgRYAfvULVg/FmN5OB2LI5mgPpSBel8ESpsP83iekBxhMhMmOiJsIi4I n11GWBeNTl2bWCvghIzWh1hYepGH5bCNl8PyMQcLA4mYG0yG6UM+TO+zYRrOgFGTzieFn8yA0bZQq4Dz
WiMZN70ASq+AeUwGU/8V0Ka3Qler2N1zt/yewLOernW/Q8Q9E0Qx3v05pxAaYFe9IEsb4JxXwDFbhrzm guYw2kXNwqSVw6iWwtCTCsrwlu9qEbq77+bfE7jX0zTvtgu4e4Jw2rM/6+BDAcySB2QoHRwzctin8pHe
GJxtCIfdkAzW/hk6ta+gTuriWRqsdQhuqgfMjza4Fu4LYBXomQLQU5m4pI5AcdcJJNXtBmvTQqf0Eeju GInztSGw6WLB2D5Do/QWVIidHEOBsfTDZXoO+kcLnLP3eLAY1GQmqPFkXFGGIqfzFE5WbwdjHYam3Eug
Sp0cYwWz3AWXSS10vY0szRFkqaNx4WEEUusPoKAzAS0jcuS2Hke8fDu0Nb4C4cAzlACr4Pwuh8NYjIzG viN2sLQF9EInnAYl37UCEtUBSJQRuPQgFPE1e5DZfhxNgzKkNR9GjGwTNKVeAveBo008rIDjuwx2fQ6S
KDwZU6J9VOEFm0dqUfsqF6rBSpzXxCG6fDMIiJ9X8KUibJ626C1L+kecfbIetgklUoV9PXB1bxYqXmSg 6sLxSF2J1iG5B2wcLEPZqzQo+opwURWNiIK1ICA+HsGXwuAZyqw1z440sLaxGlhHKxHP7+uGS15IUPgs
rDsNRV1nUPL8HOoGSpH8IAaBecTlFRhuhGYbZHub9OUhi+OyMIcnJ+/twePhWmiGbkL1phL1r2WCJB13 CfldCcjuPIvcJxdQ3ZuH2PuR2JhKnB6B7lbQVZ10Z722IHBOIw22u3P67g48HCiDqv82FG+KUPNayksS
BkqQpomH5Lq/OfAy2eIV/Kvi7+zkjsp3cLE1W7nDVQHcqYZDUPYXIaUxDkEFRLfrItkkfrq+Ci31Wzqt UdWbiwRVDEQ3fY1brpF1HsG/6lDVVjZKtpmNKl3P7i/2Y8/U7kNlTzbO1UXDP5OMbLtM1gifrqyC8nzm
OobgfPIupJBsFF+vv4KvkqWgaxtACsmfn4gQ8hPkkfO+Q+IluQAAAABJRU5ErkJggg== 4xQHEZBB3gVmkdXC65VXwHUy739jFUgW+fMTEUJ+Av3G82Xe6HqeAAAAAElFTkSuQmCC
</value> </value>
</data> </data>
<data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -248,45 +248,6 @@
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>440, 17</value> <value>440, 17</value>
</metadata> </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="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>334, 17</value> <value>334, 17</value>
</metadata> </metadata>
@@ -314,8 +275,11 @@
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>667, 17</value> <value>667, 17</value>
</metadata> </metadata>
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="MeterialNo.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>729, 17</value> <value>True</value>
</metadata>
<metadata name="SerialNo.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata> </metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>65</value> <value>65</value>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -231,33 +231,33 @@
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIwSURBVDhPpZL/SxNxHMbvPwoClVIsFrTKUtcmLY0WGChF YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIwSURBVDhPpZL/SxNxHMbvPwoClVIsFrTKUtcmLY0WGChF
SKESs3bThpqMigpL15TLXCprrcWoLLd0MjVtaUv6al9mX7Zbm9taWxnd091nh+6WP9ULHg7u/TwPbz68 SKESs3bThpqMigpL15RLXSlrrcWoLLd0MjVtaUv6al9mX7Zbm9taWxnd091nh+6WP9ULHg7u/TwPbz68
qf/G6PiI9psBGKzvoR9cwMn+N9Ayrx6JYwl9Y1Fd7+jSYu/DCMyuMLofhEEl07+Qq3p6gBMzEhh39Huu qf/G6PiI9psBGKzvoR9cwMmBN9Ayrx6JYwl9Y1Fd7+jSYu/DCMyuMLofhEEl07+Qq3q6nxMzEhh39Huu
lzrtbYHBo4N+VIsTrkbys870DGJGQo/7K5n3z18B478M8+xFUMhBMBy6NLdmgWkkTObZUBZPCNkSDAcv lzrtbYHBo4N+VIsTrkbys870DGJGQo/7K5kPzF8B478M8+xFUMhBMBy6NLdmgWkkTObZUBZPCNkSDAcv
+CQFVRaFqoLZhbIuOdTdComfsk4Exa4M4XgamrPTKwVVllKVki7hmkea0DbWjPJzO0hQYHA8mCmwT4Vg +CQFVRaFqoLZhbIuOdTdComfsk4Exa4M4XgamrPTKwVVllKVki7hmkea0DbWjPJzO0hQYHA8mCmwT4Vg
nwzCORPE2y8J7O2YJAXqvlKVgt7Oae/WY4+pHMWnCiBv3YIhbwhWQRPs3xu8/hRHRasXKmZnZRkt5xqd nwzCORPE2y8J7O2YJAXqvlKVgt7Oae/WY4+pHMWnCiBv3YIhbwhWQRPs3xu8/hRHRasXKmZnZRkt5xqd
dZDRhVwRnbfNeGsR8dQybFMs8dr5LykgW/Ab2HjVWA9A2VOC6uv7cNRxGJvpDdxGev1WYaM22wfEkstw dZDRhVwRnbfNeGsR8dQybFMs8dr5LykgW/Ab2HjVWA9A2VOC6mv7cNRxGJvpDdxGev1WYaM22wfEkstw
TLO4PZMRNfyERSK1+rKaq5XQu7U4Yq9BMV3A5TdlwgItQ++w9O0n7vgyG9yf5Q/J+ZhFttRdSsjaC1Gk TLO4PZMRNfyERSK1+rKaq5XQu7U4Yq9BMV3A5TdlwgItQ++w9O0n7vgyG9yf5Q/J+ZhFttRdSsjaC1Gk
z0P+8XUrYQHdwAIpGOaDQpgU3OAfIpsXgRg0Ru+ad6C99hJRvsD1NEy8bj9fIARytanD/VvMSGhgniOS z0P+8XUrYQHd9QVSMMwHhTApuME/RDYvAjFojN4170Db/xJRvsD1NEy8bj9fIARytanD/VvMSGhgniOS
+AE2lsbnSAoBNglqt8GDXMka7tnFjIRj5vnx2k5/srZzDtXnfdh/ZvVe/hGK+gPucyysxdb5pQAAAABJ +AE2lsbnSAoBNglqt8GDXMka7tnFjIRj5vnx2k5/srZzDtXnfdh/ZvVe/hGK+gPglyyoGjPLOgAAAABJ
RU5ErkJggg== RU5ErkJggg==
</value> </value>
</data> </data>
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJ0SURBVDhPpZFLTNNwHMd78M7NuwcvIhJFpjcOJiYmHjwZ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJ1SURBVDhPpZFLTNNwHMd78M7NuwcvIhJFpjcOJiYmHjwZ
Eg8mGi9gosGEgwcqMSBiguGhJpNgFOQtKEPCZsiCgW2AMGQVx9hmN8akE+ho18e6rl//G1XUxMTHN/2m Eg8mGi9gosGEgwcqGhA1wfBQk0kwCvIWlCFhM2TBwDZAGLKJZWyzG2PSCXS062Nd16//jSpqYuLjm37T
j/w/39+j1H9rebRkMTJyVov+4tWxk6HgiyP7Q/0lBT/5TUmB01m2z8QpytNpUQ0jC8AgV867zxklgZiz R/6f7+9R6r+1NFKyEBk+rUV/8cro8VDwxaG9ob6Sgp/8pqTA6SzbY+IU5emwqIaRBWCQK+ed54ySQMxZ
Ir3mvqB+c3z+mhJxV0X8r46dN3GKYoZLk4auQI01QQo3Q2KfQI4MwsjwJCsFQxeJd3bfM9vgOC7tH7Iw kV51n1O/OT53RYm4qyLMqyNnTZyi/EOlSUNXoMYaIYWbILFPIEcGYGR4kpWCoYvE2zvvmS1wHJdmBi1+
Jk5Rge6jQlbbIXAbUsFWCB9qsTVbgcTcVfC+OvBLt8Av3sS2t5q4inTGITB0XDRxEjBQqmXkDfBMG7YX E6eoQNdhIattE7gVqWALhA+12JypQGL2MnhfHfjFG+AXrmPLW01cRTrjEBg8Kpo4Cegv1TLyOnh/K7bm
GsBN3oDMzZCqglk9d09+7yA3nnegWDHxXAcntPz8WZVYBnQpD+qyH2r8ARimDzaXBx0TLHqm1uHwRpHb G8BNXIPMTZOqglk9d09+7yA3nre/WDHxXAfHtPz8WZVYBnQpD+oyAzX+AH5/L2wuD9rHWXRPrsHhjSK3
m4mTgDZL2tBl6IIHGd4ObXMQ6Y12KGv34FvqxOg8h9XPEj5tqpgJCRhf/IIRG62bOPkLVoua1QRoWzak NxMnAa2WtKHL0AUPMrwd2sYA0uttUFbvwbfYgZE5DiufJXzaUDEdEjC28AXDNlo3cfIXrBY1qwnQNm1I
ua58VSVaBzlcjX5XHMsxEbOsDFdYwjSxL66i9y0LE6co7/1ixdB4Aj+Fut4MJVJL4CpIgcv5toMJFa5Q c535qkq0DnK4Gn2uOJZiImZYGa6whCliX1xFz1sWJk5R3vvFiqHxBH4Kda0JSqSWwFWQAhfzbQcTKlyh
ClPBFCb8IuajKromY3sBK3eL4nKSSXqcPdnUagfEwEOI/iaIH+vRS2ZeXpcwGdiFc363psI6trIX4K8v FCaDKYwzIuaiKjonYrsBy3eK4nLSn5x0dmdTK+0QAw8hMo0QP9ajh8y8tCZhIrAD5/xuVYV1dHk3gKkv
vO5vONzN3DmU8DYUKT/69TCtzwQFLBDIzSqYI9Vt70XQdL1hrzl10Yz4vVrs7AGrg6UHyC76puN47HBm vMo0HOzy3z6Q8DYUKT/69RCtTwcFzBPIzSqYJdVt70XQ9E3DXnPivBnxezXb2X1WB0v3k130TsXx2OHM
abrR8I23w9NaLjyvLCw3j/65XtacueJ+dIkP21swdrtMMj//nZ5VHiwfp0/LjsZze7v4N1HUV7Y0I6k6 0nS94Rtrg6elXHheWVhuHv1zvaw5dcn96AIftjdj9FaZZH7+Oz2r3F8+Rp+UHXfP7O7i30RRXwGoxCOd
NvpGAAAAAElFTkSuQmCC rElI4AAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -431,7 +431,7 @@
AABJRU5ErkJggg== AABJRU5ErkJggg==
</value> </value>
</data> </data>
<data name="chk완료.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="chk완료보고.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKrSURBVDhPrZPbS5NxHMbfv6DrubX3LQ0vMi+KUVQK6UWE YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKrSURBVDhPrZPbS5NxHMbfv6DrubX3LQ0vMi+KUVQK6UWE
@@ -449,7 +449,7 @@
AABJRU5ErkJggg== AABJRU5ErkJggg==
</value> </value>
</data> </data>
<data name="chk완료보고.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="chk완료.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKrSURBVDhPrZPbS5NxHMbfv6DrubX3LQ0vMi+KUVQK6UWE YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKrSURBVDhPrZPbS5NxHMbfv6DrubX3LQ0vMi+KUVQK6UWE