This commit is contained in:
atvstdla
2025-09-29 17:38:12 +09:00
parent 1ebbb83866
commit 5a2eeed3c4
24 changed files with 1698 additions and 1490 deletions

View File

@@ -29,11 +29,11 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Model_Operation));
this.dv = new arCtl.arDatagridView();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -63,6 +63,7 @@
this.button1 = new System.Windows.Forms.Button();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.chkApplyWMSInfo = new System.Windows.Forms.CheckBox();
this.chkApplySidInfo = new System.Windows.Forms.CheckBox();
this.chkApplyJobInfo = new System.Windows.Forms.CheckBox();
this.chkApplySIDConvData = new System.Windows.Forms.CheckBox();
@@ -100,7 +101,6 @@
this.checkBox5 = new System.Windows.Forms.CheckBox();
this.checkBox4 = new System.Windows.Forms.CheckBox();
this.grpApplySidinfo = new System.Windows.Forms.GroupBox();
this.checkBox33 = new System.Windows.Forms.CheckBox();
this.checkBox28 = new System.Windows.Forms.CheckBox();
this.checkBox26 = new System.Windows.Forms.CheckBox();
this.checkBox27 = new System.Windows.Forms.CheckBox();
@@ -115,6 +115,18 @@
this.checkBox15 = new System.Windows.Forms.CheckBox();
this.checkBox16 = new System.Windows.Forms.CheckBox();
this.checkBox17 = new System.Windows.Forms.CheckBox();
this.grpApplyWMSinfo = new System.Windows.Forms.GroupBox();
this.checkBox36 = new System.Windows.Forms.CheckBox();
this.checkBox38 = new System.Windows.Forms.CheckBox();
this.label22 = new System.Windows.Forms.Label();
this.label23 = new System.Windows.Forms.Label();
this.checkBox41 = new System.Windows.Forms.CheckBox();
this.checkBox42 = new System.Windows.Forms.CheckBox();
this.checkBox43 = new System.Windows.Forms.CheckBox();
this.checkBox44 = new System.Windows.Forms.CheckBox();
this.checkBox45 = new System.Windows.Forms.CheckBox();
this.checkBox46 = new System.Windows.Forms.CheckBox();
this.checkBox47 = new System.Windows.Forms.CheckBox();
this.panel6 = new System.Windows.Forms.Panel();
this.tbDefDate = new System.Windows.Forms.TextBox();
this.label18 = new System.Windows.Forms.Label();
@@ -161,6 +173,7 @@
this.GrpSidConvData.SuspendLayout();
this.grpapplyjob.SuspendLayout();
this.grpApplySidinfo.SuspendLayout();
this.grpApplyWMSinfo.SuspendLayout();
this.panel6.SuspendLayout();
this.panel2.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
@@ -188,22 +201,22 @@
this.Code,
this.dvc_bsave});
this.dv.DataSource = this.bs;
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle5.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle5.Padding = new System.Windows.Forms.Padding(5);
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dv.DefaultCellStyle = dataGridViewCellStyle5;
dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle20.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle20.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
dataGridViewCellStyle20.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle20.Padding = new System.Windows.Forms.Padding(5);
dataGridViewCellStyle20.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle20.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dv.DefaultCellStyle = dataGridViewCellStyle20;
this.dv.Dock = System.Windows.Forms.DockStyle.Fill;
this.dv.Location = new System.Drawing.Point(0, 136);
this.dv.MultiSelect = false;
this.dv.Name = "dv";
this.dv.RowHeadersVisible = false;
this.dv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
this.dv.Size = new System.Drawing.Size(639, 473);
this.dv.Size = new System.Drawing.Size(639, 555);
this.dv.TabIndex = 1;
this.dv.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dv_DataError);
//
@@ -211,8 +224,8 @@
//
this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.Column1.DataPropertyName = "idx";
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.Column1.DefaultCellStyle = dataGridViewCellStyle1;
dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.Column1.DefaultCellStyle = dataGridViewCellStyle16;
this.Column1.HeaderText = "*";
this.Column1.Name = "Column1";
this.Column1.Width = 50;
@@ -221,8 +234,8 @@
//
this.dvc_title.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dvc_title.DataPropertyName = "Title";
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dvc_title.DefaultCellStyle = dataGridViewCellStyle2;
dataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dvc_title.DefaultCellStyle = dataGridViewCellStyle17;
this.dvc_title.HeaderText = "Description";
this.dvc_title.Name = "dvc_title";
//
@@ -230,16 +243,16 @@
//
this.Code.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.Code.DataPropertyName = "Code";
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.Code.DefaultCellStyle = dataGridViewCellStyle3;
dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.Code.DefaultCellStyle = dataGridViewCellStyle18;
this.Code.HeaderText = "Customer Code";
this.Code.Name = "Code";
//
// dvc_bsave
//
this.dvc_bsave.DataPropertyName = "BSave";
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.dvc_bsave.DefaultCellStyle = dataGridViewCellStyle4;
dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.dvc_bsave.DefaultCellStyle = dataGridViewCellStyle19;
this.dvc_bsave.HeaderText = "BLoad";
this.dvc_bsave.Name = "dvc_bsave";
this.dvc_bsave.Width = 86;
@@ -294,7 +307,7 @@
this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel5.Location = new System.Drawing.Point(1, 1);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(1368, 737);
this.panel5.Size = new System.Drawing.Size(1368, 819);
this.panel5.TabIndex = 3;
//
// panel4
@@ -308,7 +321,7 @@
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel4.Location = new System.Drawing.Point(0, 53);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(1368, 684);
this.panel4.Size = new System.Drawing.Size(1368, 766);
this.panel4.TabIndex = 3;
//
// panel1
@@ -323,7 +336,7 @@
this.panel1.Location = new System.Drawing.Point(639, 136);
this.panel1.Name = "panel1";
this.panel1.Padding = new System.Windows.Forms.Padding(10);
this.panel1.Size = new System.Drawing.Size(729, 473);
this.panel1.Size = new System.Drawing.Size(729, 555);
this.panel1.TabIndex = 28;
//
// panel8
@@ -502,11 +515,12 @@
this.tabControl1.Location = new System.Drawing.Point(10, 169);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(709, 294);
this.tabControl1.Size = new System.Drawing.Size(709, 376);
this.tabControl1.TabIndex = 27;
//
// tabPage1
//
this.tabPage1.Controls.Add(this.chkApplyWMSInfo);
this.tabPage1.Controls.Add(this.chkApplySidInfo);
this.tabPage1.Controls.Add(this.chkApplyJobInfo);
this.tabPage1.Controls.Add(this.chkApplySIDConvData);
@@ -518,17 +532,31 @@
this.tabPage1.Location = new System.Drawing.Point(4, 26);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(10);
this.tabPage1.Size = new System.Drawing.Size(701, 264);
this.tabPage1.Size = new System.Drawing.Size(701, 346);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "Options";
this.tabPage1.UseVisualStyleBackColor = true;
//
// chkApplyWMSInfo
//
this.chkApplyWMSInfo.AutoSize = true;
this.chkApplyWMSInfo.Font = new System.Drawing.Font("맑은 고딕", 12F);
this.chkApplyWMSInfo.ForeColor = System.Drawing.Color.Gray;
this.chkApplyWMSInfo.Location = new System.Drawing.Point(13, 298);
this.chkApplyWMSInfo.Name = "chkApplyWMSInfo";
this.chkApplyWMSInfo.Size = new System.Drawing.Size(446, 25);
this.chkApplyWMSInfo.TabIndex = 34;
this.chkApplyWMSInfo.Tag = "8";
this.chkApplyWMSInfo.Text = "Automatically record data using WMS information table";
this.chkApplyWMSInfo.UseVisualStyleBackColor = true;
this.chkApplyWMSInfo.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
// chkApplySidInfo
//
this.chkApplySidInfo.AutoSize = true;
this.chkApplySidInfo.Font = new System.Drawing.Font("맑은 고딕", 12F);
this.chkApplySidInfo.ForeColor = System.Drawing.Color.Gray;
this.chkApplySidInfo.Location = new System.Drawing.Point(13, 202);
this.chkApplySidInfo.Location = new System.Drawing.Point(13, 226);
this.chkApplySidInfo.Name = "chkApplySidInfo";
this.chkApplySidInfo.Size = new System.Drawing.Size(431, 25);
this.chkApplySidInfo.TabIndex = 33;
@@ -542,7 +570,7 @@
this.chkApplyJobInfo.AutoSize = true;
this.chkApplyJobInfo.Font = new System.Drawing.Font("맑은 고딕", 12F);
this.chkApplyJobInfo.ForeColor = System.Drawing.Color.Gray;
this.chkApplyJobInfo.Location = new System.Drawing.Point(13, 170);
this.chkApplyJobInfo.Location = new System.Drawing.Point(13, 190);
this.chkApplyJobInfo.Name = "chkApplyJobInfo";
this.chkApplyJobInfo.Size = new System.Drawing.Size(424, 25);
this.chkApplyJobInfo.TabIndex = 32;
@@ -556,7 +584,7 @@
this.chkApplySIDConvData.AutoSize = true;
this.chkApplySIDConvData.Font = new System.Drawing.Font("맑은 고딕", 12F);
this.chkApplySIDConvData.ForeColor = System.Drawing.Color.Gray;
this.chkApplySIDConvData.Location = new System.Drawing.Point(13, 234);
this.chkApplySIDConvData.Location = new System.Drawing.Point(13, 262);
this.chkApplySIDConvData.Name = "chkApplySIDConvData";
this.chkApplySIDConvData.Size = new System.Drawing.Size(426, 25);
this.chkApplySIDConvData.TabIndex = 31;
@@ -572,10 +600,10 @@
this.chkUserConfirm.ForeColor = System.Drawing.Color.Gray;
this.chkUserConfirm.Location = new System.Drawing.Point(13, 11);
this.chkUserConfirm.Name = "chkUserConfirm";
this.chkUserConfirm.Size = new System.Drawing.Size(444, 25);
this.chkUserConfirm.Size = new System.Drawing.Size(316, 25);
this.chkUserConfirm.TabIndex = 13;
this.chkUserConfirm.Tag = "0";
this.chkUserConfirm.Text = "User confirms final print values (no automatic progress)";
this.chkUserConfirm.Text = "User confirms (no automatic progress)";
this.chkUserConfirm.UseVisualStyleBackColor = true;
this.chkUserConfirm.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -584,7 +612,7 @@
this.chkSIDConv.AutoSize = true;
this.chkSIDConv.Font = new System.Drawing.Font("맑은 고딕", 12F);
this.chkSIDConv.ForeColor = System.Drawing.Color.Gray;
this.chkSIDConv.Location = new System.Drawing.Point(13, 138);
this.chkSIDConv.Location = new System.Drawing.Point(13, 154);
this.chkSIDConv.Name = "chkSIDConv";
this.chkSIDConv.Size = new System.Drawing.Size(372, 25);
this.chkSIDConv.TabIndex = 28;
@@ -598,12 +626,12 @@
this.chkQtyServer.AutoSize = true;
this.chkQtyServer.Font = new System.Drawing.Font("맑은 고딕", 12F);
this.chkQtyServer.ForeColor = System.Drawing.Color.Gray;
this.chkQtyServer.Location = new System.Drawing.Point(13, 43);
this.chkQtyServer.Location = new System.Drawing.Point(13, 47);
this.chkQtyServer.Name = "chkQtyServer";
this.chkQtyServer.Size = new System.Drawing.Size(388, 25);
this.chkQtyServer.Size = new System.Drawing.Size(307, 25);
this.chkQtyServer.TabIndex = 13;
this.chkQtyServer.Tag = "1";
this.chkQtyServer.Text = "Query and use server quantity based on Reel ID";
this.chkQtyServer.Text = "Use server quantity based on Reel ID";
this.chkQtyServer.UseVisualStyleBackColor = true;
this.chkQtyServer.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -612,7 +640,7 @@
this.chkQtyMRQ.AutoSize = true;
this.chkQtyMRQ.Font = new System.Drawing.Font("맑은 고딕", 12F);
this.chkQtyMRQ.ForeColor = System.Drawing.Color.Gray;
this.chkQtyMRQ.Location = new System.Drawing.Point(13, 106);
this.chkQtyMRQ.Location = new System.Drawing.Point(13, 118);
this.chkQtyMRQ.Name = "chkQtyMRQ";
this.chkQtyMRQ.Size = new System.Drawing.Size(453, 25);
this.chkQtyMRQ.TabIndex = 27;
@@ -626,7 +654,7 @@
this.chkNew.AutoSize = true;
this.chkNew.Font = new System.Drawing.Font("맑은 고딕", 11F);
this.chkNew.ForeColor = System.Drawing.Color.Gray;
this.chkNew.Location = new System.Drawing.Point(13, 75);
this.chkNew.Location = new System.Drawing.Point(13, 83);
this.chkNew.Name = "chkNew";
this.chkNew.Size = new System.Drawing.Size(159, 24);
this.chkNew.TabIndex = 24;
@@ -640,10 +668,11 @@
this.tabPage2.Controls.Add(this.GrpSidConvData);
this.tabPage2.Controls.Add(this.grpapplyjob);
this.tabPage2.Controls.Add(this.grpApplySidinfo);
this.tabPage2.Controls.Add(this.grpApplyWMSinfo);
this.tabPage2.Location = new System.Drawing.Point(4, 26);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(10);
this.tabPage2.Size = new System.Drawing.Size(701, 264);
this.tabPage2.Size = new System.Drawing.Size(701, 346);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "Option Data";
this.tabPage2.UseVisualStyleBackColor = true;
@@ -666,7 +695,7 @@
this.GrpSidConvData.Controls.Add(this.checkBox25);
this.GrpSidConvData.Dock = System.Windows.Forms.DockStyle.Top;
this.GrpSidConvData.Font = new System.Drawing.Font("맑은 고딕", 10F);
this.GrpSidConvData.Location = new System.Drawing.Point(10, 174);
this.GrpSidConvData.Location = new System.Drawing.Point(10, 256);
this.GrpSidConvData.Name = "GrpSidConvData";
this.GrpSidConvData.Size = new System.Drawing.Size(681, 82);
this.GrpSidConvData.TabIndex = 34;
@@ -851,7 +880,7 @@
this.grpapplyjob.Dock = System.Windows.Forms.DockStyle.Top;
this.grpapplyjob.Enabled = false;
this.grpapplyjob.Font = new System.Drawing.Font("맑은 고딕", 10F);
this.grpapplyjob.Location = new System.Drawing.Point(10, 92);
this.grpapplyjob.Location = new System.Drawing.Point(10, 174);
this.grpapplyjob.Name = "grpapplyjob";
this.grpapplyjob.Size = new System.Drawing.Size(681, 82);
this.grpapplyjob.TabIndex = 33;
@@ -985,7 +1014,6 @@
//
// grpApplySidinfo
//
this.grpApplySidinfo.Controls.Add(this.checkBox33);
this.grpApplySidinfo.Controls.Add(this.checkBox28);
this.grpApplySidinfo.Controls.Add(this.checkBox26);
this.grpApplySidinfo.Controls.Add(this.checkBox27);
@@ -1003,25 +1031,13 @@
this.grpApplySidinfo.Dock = System.Windows.Forms.DockStyle.Top;
this.grpApplySidinfo.Enabled = false;
this.grpApplySidinfo.Font = new System.Drawing.Font("맑은 고딕", 10F);
this.grpApplySidinfo.Location = new System.Drawing.Point(10, 10);
this.grpApplySidinfo.Location = new System.Drawing.Point(10, 92);
this.grpApplySidinfo.Name = "grpApplySidinfo";
this.grpApplySidinfo.Size = new System.Drawing.Size(681, 82);
this.grpApplySidinfo.TabIndex = 33;
this.grpApplySidinfo.TabStop = false;
this.grpApplySidinfo.Text = "SID Information Application";
//
// checkBox33
//
this.checkBox33.AutoSize = true;
this.checkBox33.ForeColor = System.Drawing.Color.Blue;
this.checkBox33.Location = new System.Drawing.Point(379, 50);
this.checkBox33.Name = "checkBox33";
this.checkBox33.Size = new System.Drawing.Size(50, 23);
this.checkBox33.TabIndex = 38;
this.checkBox33.Tag = "12";
this.checkBox33.Text = "MC";
this.checkBox33.UseVisualStyleBackColor = true;
//
// checkBox28
//
this.checkBox28.AutoSize = true;
@@ -1184,6 +1200,155 @@
this.checkBox17.Text = "Part No";
this.checkBox17.UseVisualStyleBackColor = true;
//
// grpApplyWMSinfo
//
this.grpApplyWMSinfo.Controls.Add(this.checkBox36);
this.grpApplyWMSinfo.Controls.Add(this.checkBox38);
this.grpApplyWMSinfo.Controls.Add(this.label22);
this.grpApplyWMSinfo.Controls.Add(this.label23);
this.grpApplyWMSinfo.Controls.Add(this.checkBox41);
this.grpApplyWMSinfo.Controls.Add(this.checkBox42);
this.grpApplyWMSinfo.Controls.Add(this.checkBox43);
this.grpApplyWMSinfo.Controls.Add(this.checkBox44);
this.grpApplyWMSinfo.Controls.Add(this.checkBox45);
this.grpApplyWMSinfo.Controls.Add(this.checkBox46);
this.grpApplyWMSinfo.Controls.Add(this.checkBox47);
this.grpApplyWMSinfo.Dock = System.Windows.Forms.DockStyle.Top;
this.grpApplyWMSinfo.Enabled = false;
this.grpApplyWMSinfo.Font = new System.Drawing.Font("맑은 고딕", 10F);
this.grpApplyWMSinfo.Location = new System.Drawing.Point(10, 10);
this.grpApplyWMSinfo.Name = "grpApplyWMSinfo";
this.grpApplyWMSinfo.Size = new System.Drawing.Size(681, 82);
this.grpApplyWMSinfo.TabIndex = 35;
this.grpApplyWMSinfo.TabStop = false;
this.grpApplyWMSinfo.Text = "WMS Information Application";
//
// checkBox36
//
this.checkBox36.AutoSize = true;
this.checkBox36.ForeColor = System.Drawing.Color.Blue;
this.checkBox36.Location = new System.Drawing.Point(311, 51);
this.checkBox36.Name = "checkBox36";
this.checkBox36.Size = new System.Drawing.Size(62, 23);
this.checkBox36.TabIndex = 37;
this.checkBox36.Tag = "11";
this.checkBox36.Text = "VLOT";
this.checkBox36.UseVisualStyleBackColor = true;
//
// checkBox38
//
this.checkBox38.AutoSize = true;
this.checkBox38.ForeColor = System.Drawing.Color.Green;
this.checkBox38.Location = new System.Drawing.Point(431, 24);
this.checkBox38.Name = "checkBox38";
this.checkBox38.Size = new System.Drawing.Size(63, 23);
this.checkBox38.TabIndex = 35;
this.checkBox38.Tag = "9";
this.checkBox38.Text = "Batch";
this.checkBox38.UseVisualStyleBackColor = true;
//
// label22
//
this.label22.AutoSize = true;
this.label22.Font = new System.Drawing.Font("맑은 고딕", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
this.label22.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
this.label22.Location = new System.Drawing.Point(6, 54);
this.label22.Name = "label22";
this.label22.Size = new System.Drawing.Size(41, 15);
this.label22.TabIndex = 29;
this.label22.Text = "Query";
//
// label23
//
this.label23.AutoSize = true;
this.label23.Font = new System.Drawing.Font("맑은 고딕", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
this.label23.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
this.label23.Location = new System.Drawing.Point(7, 28);
this.label23.Name = "label23";
this.label23.Size = new System.Drawing.Size(40, 15);
this.label23.TabIndex = 29;
this.label23.Text = "Apply";
//
// checkBox41
//
this.checkBox41.AutoSize = true;
this.checkBox41.Location = new System.Drawing.Point(311, 24);
this.checkBox41.Name = "checkBox41";
this.checkBox41.Size = new System.Drawing.Size(114, 23);
this.checkBox41.TabIndex = 28;
this.checkBox41.Tag = "3";
this.checkBox41.Text = "Vender Name";
this.checkBox41.UseVisualStyleBackColor = true;
//
// checkBox42
//
this.checkBox42.AutoSize = true;
this.checkBox42.ForeColor = System.Drawing.Color.Blue;
this.checkBox42.Location = new System.Drawing.Point(255, 50);
this.checkBox42.Name = "checkBox42";
this.checkBox42.Size = new System.Drawing.Size(50, 23);
this.checkBox42.TabIndex = 27;
this.checkBox42.Tag = "7";
this.checkBox42.Text = "SID";
this.checkBox42.UseVisualStyleBackColor = true;
//
// checkBox43
//
this.checkBox43.AutoSize = true;
this.checkBox43.ForeColor = System.Drawing.Color.Blue;
this.checkBox43.Location = new System.Drawing.Point(156, 50);
this.checkBox43.Name = "checkBox43";
this.checkBox43.Size = new System.Drawing.Size(93, 23);
this.checkBox43.TabIndex = 25;
this.checkBox43.Tag = "6";
this.checkBox43.Text = "Cust Code";
this.checkBox43.UseVisualStyleBackColor = true;
//
// checkBox44
//
this.checkBox44.AutoSize = true;
this.checkBox44.ForeColor = System.Drawing.Color.Blue;
this.checkBox44.Location = new System.Drawing.Point(73, 50);
this.checkBox44.Name = "checkBox44";
this.checkBox44.Size = new System.Drawing.Size(77, 23);
this.checkBox44.TabIndex = 25;
this.checkBox44.Tag = "5";
this.checkBox44.Text = "Part No";
this.checkBox44.UseVisualStyleBackColor = true;
//
// checkBox45
//
this.checkBox45.AutoSize = true;
this.checkBox45.Location = new System.Drawing.Point(255, 24);
this.checkBox45.Name = "checkBox45";
this.checkBox45.Size = new System.Drawing.Size(50, 23);
this.checkBox45.TabIndex = 26;
this.checkBox45.Tag = "2";
this.checkBox45.Text = "SID";
this.checkBox45.UseVisualStyleBackColor = true;
//
// checkBox46
//
this.checkBox46.AutoSize = true;
this.checkBox46.Location = new System.Drawing.Point(156, 24);
this.checkBox46.Name = "checkBox46";
this.checkBox46.Size = new System.Drawing.Size(93, 23);
this.checkBox46.TabIndex = 25;
this.checkBox46.Tag = "1";
this.checkBox46.Text = "Cust Code";
this.checkBox46.UseVisualStyleBackColor = true;
//
// checkBox47
//
this.checkBox47.AutoSize = true;
this.checkBox47.Location = new System.Drawing.Point(73, 24);
this.checkBox47.Name = "checkBox47";
this.checkBox47.Size = new System.Drawing.Size(77, 23);
this.checkBox47.TabIndex = 25;
this.checkBox47.Tag = "0";
this.checkBox47.Text = "Part No";
this.checkBox47.UseVisualStyleBackColor = true;
//
// panel6
//
this.panel6.BackColor = System.Drawing.Color.Gainsboro;
@@ -1372,7 +1537,7 @@
this.panel3.Controls.Add(this.label8);
this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel3.Font = new System.Drawing.Font("Consolas", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.panel3.Location = new System.Drawing.Point(0, 609);
this.panel3.Location = new System.Drawing.Point(0, 691);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(1368, 20);
this.panel3.TabIndex = 29;
@@ -1481,7 +1646,7 @@
this.btCopy,
this.toolStripButton10,
this.toolStripSeparator1});
this.toolStrip1.Location = new System.Drawing.Point(0, 629);
this.toolStrip1.Location = new System.Drawing.Point(0, 711);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1368, 55);
this.toolStrip1.TabIndex = 8;
@@ -1634,7 +1799,7 @@
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(1370, 739);
this.ClientSize = new System.Drawing.Size(1370, 821);
this.Controls.Add(this.panel5);
this.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
@@ -1664,6 +1829,8 @@
this.grpapplyjob.PerformLayout();
this.grpApplySidinfo.ResumeLayout(false);
this.grpApplySidinfo.PerformLayout();
this.grpApplyWMSinfo.ResumeLayout(false);
this.grpApplyWMSinfo.PerformLayout();
this.panel6.ResumeLayout(false);
this.panel6.PerformLayout();
this.panel2.ResumeLayout(false);
@@ -1773,7 +1940,6 @@
private System.Windows.Forms.CheckBox chkEnbCamera;
private System.Windows.Forms.CheckBox checkBox32;
private System.Windows.Forms.CheckBox chkSIDCHK;
private System.Windows.Forms.CheckBox checkBox33;
private System.Windows.Forms.CheckBox checkBox34;
private System.Windows.Forms.CheckBox checkBox35;
private System.Windows.Forms.CheckBox chkSave2;
@@ -1790,5 +1956,18 @@
private System.Windows.Forms.Label label21;
private System.Windows.Forms.TextBox tbAutoOutSec;
private System.Windows.Forms.Label label20;
private System.Windows.Forms.CheckBox chkApplyWMSInfo;
private System.Windows.Forms.GroupBox grpApplyWMSinfo;
private System.Windows.Forms.CheckBox checkBox36;
private System.Windows.Forms.CheckBox checkBox38;
private System.Windows.Forms.Label label22;
private System.Windows.Forms.Label label23;
private System.Windows.Forms.CheckBox checkBox41;
private System.Windows.Forms.CheckBox checkBox42;
private System.Windows.Forms.CheckBox checkBox43;
private System.Windows.Forms.CheckBox checkBox44;
private System.Windows.Forms.CheckBox checkBox45;
private System.Windows.Forms.CheckBox checkBox46;
private System.Windows.Forms.CheckBox checkBox47;
}
}

View File

@@ -120,6 +120,13 @@ namespace Project
if (chk.Tag == null) continue;
chk.Click += Chk_Option_Check;
}
foreach (var c in grpApplyWMSinfo.Controls)
{
if (c.GetType() != typeof(CheckBox)) continue;
var chk = c as CheckBox;
if (chk.Tag == null) continue;
chk.Click += Chk_WMSinfo_Check;
}
foreach (var c in grpApplySidinfo.Controls)
{
if (c.GetType() != typeof(CheckBox)) continue;
@@ -154,6 +161,17 @@ namespace Project
bs_CurrentChanged_1(null, null);
}
private void Chk_WMSinfo_Check(object sender, EventArgs e)
{
var drv = bs.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as DataSet1.OPModelRow;
var chk = sender as CheckBox;
dr.vWMSInfo = UTIL.SetBitState(dr.vWMSInfo, int.Parse(chk.Tag.ToString()), chk.Checked);
dr.EndEdit();
bs_CurrentChanged_1(null, null);
}
private void Chk_Sidinfo_Check(object sender, EventArgs e)
{
var drv = bs.Current as DataRowView;
@@ -427,6 +445,14 @@ namespace Project
var val = UTIL.GetBitState(dr.vOption, int.Parse(chk.Tag.ToString()));
if (chk.Checked != val) chk.Checked = val;
}
foreach (var c in grpApplyWMSinfo.Controls)
{
if (c.GetType() != typeof(CheckBox)) continue;
var chk = c as CheckBox;
if (chk.Tag == null) continue;
var val = UTIL.GetBitState(dr.vWMSInfo, int.Parse(chk.Tag.ToString()));
if (chk.Checked != val) chk.Checked = val;
}
foreach (var c in grpApplySidinfo.Controls)
{
if (c.GetType() != typeof(CheckBox)) continue;
@@ -515,6 +541,10 @@ namespace Project
{
grpapplyjob.Enabled = chk.Checked;
}
if (chk.Name.Equals(chkApplyWMSInfo.Name))
{
grpApplyWMSinfo.Enabled = chk.Checked;
}
if (chk.Name.Equals(chkApplySidInfo.Name))
{
grpApplySidinfo.Enabled = chk.Checked;
@@ -523,6 +553,7 @@ namespace Project
{
GrpSidConvData.Enabled = chk.Checked;
}
}
private void btConvOk_Click(object sender, EventArgs e)

View File

@@ -132,6 +132,9 @@
<metadata name="ds1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="ds1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="tmDisplay.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>88, 17</value>
</metadata>

View File

@@ -97,6 +97,19 @@
this.btCancle = new arCtl.arLabel();
this.dataSet11 = new Project.DataSet1();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.chkApplyWMSInfo = new System.Windows.Forms.CheckBox();
this.grpApplyWMSinfo = new System.Windows.Forms.GroupBox();
this.checkBox36 = new System.Windows.Forms.CheckBox();
this.chkWMSApplyBatch = new System.Windows.Forms.CheckBox();
this.label22 = new System.Windows.Forms.Label();
this.label23 = new System.Windows.Forms.Label();
this.checkBox41 = new System.Windows.Forms.CheckBox();
this.checkBox42 = new System.Windows.Forms.CheckBox();
this.checkBox43 = new System.Windows.Forms.CheckBox();
this.checkBox44 = new System.Windows.Forms.CheckBox();
this.checkBox45 = new System.Windows.Forms.CheckBox();
this.checkBox46 = new System.Windows.Forms.CheckBox();
this.checkBox47 = new System.Windows.Forms.CheckBox();
this.panel2.SuspendLayout();
this.panel5.SuspendLayout();
this.tabControl1.SuspendLayout();
@@ -108,6 +121,7 @@
this.tabPage3.SuspendLayout();
this.tableLayoutPanel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit();
this.grpApplyWMSinfo.SuspendLayout();
this.SuspendLayout();
//
// panel2
@@ -123,7 +137,7 @@
this.panel2.Location = new System.Drawing.Point(0, 0);
this.panel2.Name = "panel2";
this.panel2.Padding = new System.Windows.Forms.Padding(9, 5, 9, 7);
this.panel2.Size = new System.Drawing.Size(751, 701);
this.panel2.Size = new System.Drawing.Size(751, 761);
this.panel2.TabIndex = 136;
//
// panel5
@@ -133,7 +147,7 @@
this.panel5.Controls.Add(this.panel1);
this.panel5.Controls.Add(this.button1);
this.panel5.Dock = System.Windows.Forms.DockStyle.Top;
this.panel5.Location = new System.Drawing.Point(9, 224);
this.panel5.Location = new System.Drawing.Point(9, 200);
this.panel5.Name = "panel5";
this.panel5.Padding = new System.Windows.Forms.Padding(5);
this.panel5.Size = new System.Drawing.Size(733, 73);
@@ -173,7 +187,7 @@
// progressBar1
//
this.progressBar1.Dock = System.Windows.Forms.DockStyle.Top;
this.progressBar1.Location = new System.Drawing.Point(9, 214);
this.progressBar1.Location = new System.Drawing.Point(9, 190);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(733, 10);
this.progressBar1.TabIndex = 27;
@@ -183,7 +197,7 @@
this.label1.BackColor = System.Drawing.Color.SkyBlue;
this.label1.Dock = System.Windows.Forms.DockStyle.Top;
this.label1.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label1.Location = new System.Drawing.Point(9, 164);
this.label1.Location = new System.Drawing.Point(9, 140);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(733, 50);
this.label1.TabIndex = 17;
@@ -207,7 +221,7 @@
this.lbMsgCamoff.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.lbMsgCamoff.GradientRepeatBG = false;
this.lbMsgCamoff.isButton = false;
this.lbMsgCamoff.Location = new System.Drawing.Point(9, 115);
this.lbMsgCamoff.Location = new System.Drawing.Point(9, 91);
this.lbMsgCamoff.MouseDownColor = System.Drawing.Color.Yellow;
this.lbMsgCamoff.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.lbMsgCamoff.msg = null;
@@ -246,7 +260,7 @@
this.lbTitle.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.lbTitle.Cursor = System.Windows.Forms.Cursors.Arrow;
this.lbTitle.Dock = System.Windows.Forms.DockStyle.Top;
this.lbTitle.Font = new System.Drawing.Font("맑은 고딕", 35F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.lbTitle.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.lbTitle.ForeColor = System.Drawing.Color.DarkCyan;
this.lbTitle.GradientEnable = true;
this.lbTitle.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
@@ -273,7 +287,7 @@
this.lbTitle.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.lbTitle.SignColor = System.Drawing.Color.Yellow;
this.lbTitle.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbTitle.Size = new System.Drawing.Size(733, 110);
this.lbTitle.Size = new System.Drawing.Size(733, 86);
this.lbTitle.TabIndex = 60;
this.lbTitle.Text = "Please select work method";
this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -288,14 +302,15 @@
this.tabControl1.Controls.Add(this.tabPage3);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.tabControl1.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tabControl1.Location = new System.Drawing.Point(9, 297);
this.tabControl1.Location = new System.Drawing.Point(9, 278);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(733, 296);
this.tabControl1.Size = new System.Drawing.Size(733, 375);
this.tabControl1.TabIndex = 26;
//
// tabPage1
//
this.tabPage1.Controls.Add(this.chkApplyWMSInfo);
this.tabPage1.Controls.Add(this.chkApplySidInfo);
this.tabPage1.Controls.Add(this.chkApplyJobInfo);
this.tabPage1.Controls.Add(this.chkApplySIDConv);
@@ -307,7 +322,7 @@
this.tabPage1.Location = new System.Drawing.Point(4, 26);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(10);
this.tabPage1.Size = new System.Drawing.Size(725, 266);
this.tabPage1.Size = new System.Drawing.Size(725, 345);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "Options";
this.tabPage1.UseVisualStyleBackColor = true;
@@ -317,9 +332,9 @@
this.chkApplySidInfo.AutoSize = true;
this.chkApplySidInfo.Font = new System.Drawing.Font("맑은 고딕", 12F);
this.chkApplySidInfo.ForeColor = System.Drawing.Color.Gray;
this.chkApplySidInfo.Location = new System.Drawing.Point(13, 199);
this.chkApplySidInfo.Location = new System.Drawing.Point(13, 229);
this.chkApplySidInfo.Name = "chkApplySidInfo";
this.chkApplySidInfo.Size = new System.Drawing.Size(423, 25);
this.chkApplySidInfo.Size = new System.Drawing.Size(435, 25);
this.chkApplySidInfo.TabIndex = 33;
this.chkApplySidInfo.Tag = "6";
this.chkApplySidInfo.Text = "Automatically record data using SID information table.";
@@ -331,9 +346,9 @@
this.chkApplyJobInfo.AutoSize = true;
this.chkApplyJobInfo.Font = new System.Drawing.Font("맑은 고딕", 12F);
this.chkApplyJobInfo.ForeColor = System.Drawing.Color.Gray;
this.chkApplyJobInfo.Location = new System.Drawing.Point(13, 167);
this.chkApplyJobInfo.Location = new System.Drawing.Point(13, 192);
this.chkApplyJobInfo.Name = "chkApplyJobInfo";
this.chkApplyJobInfo.Size = new System.Drawing.Size(427, 25);
this.chkApplyJobInfo.Size = new System.Drawing.Size(409, 25);
this.chkApplyJobInfo.TabIndex = 32;
this.chkApplyJobInfo.Tag = "5";
this.chkApplyJobInfo.Text = "Automatically record data using daily work history.";
@@ -345,9 +360,9 @@
this.chkApplySIDConv.AutoSize = true;
this.chkApplySIDConv.Font = new System.Drawing.Font("맑은 고딕", 12F);
this.chkApplySIDConv.ForeColor = System.Drawing.Color.Gray;
this.chkApplySIDConv.Location = new System.Drawing.Point(13, 231);
this.chkApplySIDConv.Location = new System.Drawing.Point(13, 266);
this.chkApplySIDConv.Name = "chkApplySIDConv";
this.chkApplySIDConv.Size = new System.Drawing.Size(425, 25);
this.chkApplySIDConv.Size = new System.Drawing.Size(426, 25);
this.chkApplySIDConv.TabIndex = 31;
this.chkApplySIDConv.Tag = "7";
this.chkApplySIDConv.Text = "Automatically record data using SID conversion table";
@@ -361,10 +376,10 @@
this.chkUserConfirm.ForeColor = System.Drawing.Color.Gray;
this.chkUserConfirm.Location = new System.Drawing.Point(13, 8);
this.chkUserConfirm.Name = "chkUserConfirm";
this.chkUserConfirm.Size = new System.Drawing.Size(435, 25);
this.chkUserConfirm.Size = new System.Drawing.Size(316, 25);
this.chkUserConfirm.TabIndex = 13;
this.chkUserConfirm.Tag = "0";
this.chkUserConfirm.Text = "User confirms final print values (no automatic progress)";
this.chkUserConfirm.Text = "User confirms (no automatic progress)";
this.chkUserConfirm.UseVisualStyleBackColor = true;
this.chkUserConfirm.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
@@ -373,9 +388,9 @@
this.chkSIDConv.AutoSize = true;
this.chkSIDConv.Font = new System.Drawing.Font("맑은 고딕", 12F);
this.chkSIDConv.ForeColor = System.Drawing.Color.Gray;
this.chkSIDConv.Location = new System.Drawing.Point(13, 135);
this.chkSIDConv.Location = new System.Drawing.Point(13, 155);
this.chkSIDConv.Name = "chkSIDConv";
this.chkSIDConv.Size = new System.Drawing.Size(413, 25);
this.chkSIDConv.Size = new System.Drawing.Size(376, 25);
this.chkSIDConv.TabIndex = 28;
this.chkSIDConv.Tag = "4";
this.chkSIDConv.Text = "Convert SID values using SID conversion table.";
@@ -387,12 +402,12 @@
this.chkQtyServer.AutoSize = true;
this.chkQtyServer.Font = new System.Drawing.Font("맑은 고딕", 12F);
this.chkQtyServer.ForeColor = System.Drawing.Color.Gray;
this.chkQtyServer.Location = new System.Drawing.Point(13, 40);
this.chkQtyServer.Location = new System.Drawing.Point(13, 45);
this.chkQtyServer.Name = "chkQtyServer";
this.chkQtyServer.Size = new System.Drawing.Size(448, 25);
this.chkQtyServer.Size = new System.Drawing.Size(307, 25);
this.chkQtyServer.TabIndex = 13;
this.chkQtyServer.Tag = "1";
this.chkQtyServer.Text = "Query and use server quantities based on Reel ID.";
this.chkQtyServer.Text = "Use server quantity based on Reel ID";
this.chkQtyServer.UseVisualStyleBackColor = true;
this.chkQtyServer.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
@@ -401,9 +416,9 @@
this.chkQtyMRQ.AutoSize = true;
this.chkQtyMRQ.Font = new System.Drawing.Font("맑은 고딕", 12F);
this.chkQtyMRQ.ForeColor = System.Drawing.Color.Gray;
this.chkQtyMRQ.Location = new System.Drawing.Point(13, 103);
this.chkQtyMRQ.Location = new System.Drawing.Point(13, 118);
this.chkQtyMRQ.Name = "chkQtyMRQ";
this.chkQtyMRQ.Size = new System.Drawing.Size(405, 25);
this.chkQtyMRQ.Size = new System.Drawing.Size(424, 25);
this.chkQtyMRQ.TabIndex = 27;
this.chkQtyMRQ.Tag = "3";
this.chkQtyMRQ.Text = "Enter quantity manually (auto-proceed if RQ is read).";
@@ -415,9 +430,9 @@
this.chkNew.AutoSize = true;
this.chkNew.Font = new System.Drawing.Font("맑은 고딕", 11F);
this.chkNew.ForeColor = System.Drawing.Color.Gray;
this.chkNew.Location = new System.Drawing.Point(13, 72);
this.chkNew.Location = new System.Drawing.Point(13, 82);
this.chkNew.Name = "chkNew";
this.chkNew.Size = new System.Drawing.Size(247, 24);
this.chkNew.Size = new System.Drawing.Size(162, 24);
this.chkNew.TabIndex = 24;
this.chkNew.Tag = "2";
this.chkNew.Text = "Create new Reel ID.";
@@ -429,10 +444,11 @@
this.tabPage2.Controls.Add(this.GrpSidConvData);
this.tabPage2.Controls.Add(this.grpapplyjob);
this.tabPage2.Controls.Add(this.grpApplySidinfo);
this.tabPage2.Controls.Add(this.grpApplyWMSinfo);
this.tabPage2.Location = new System.Drawing.Point(4, 26);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(10);
this.tabPage2.Size = new System.Drawing.Size(725, 266);
this.tabPage2.Size = new System.Drawing.Size(725, 345);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "Option Data";
this.tabPage2.UseVisualStyleBackColor = true;
@@ -455,7 +471,7 @@
this.GrpSidConvData.Dock = System.Windows.Forms.DockStyle.Top;
this.GrpSidConvData.Enabled = false;
this.GrpSidConvData.Font = new System.Drawing.Font("맑은 고딕", 10F);
this.GrpSidConvData.Location = new System.Drawing.Point(10, 174);
this.GrpSidConvData.Location = new System.Drawing.Point(10, 256);
this.GrpSidConvData.Name = "GrpSidConvData";
this.GrpSidConvData.Size = new System.Drawing.Size(705, 82);
this.GrpSidConvData.TabIndex = 34;
@@ -469,10 +485,10 @@
this.chkCVSave.ForeColor = System.Drawing.Color.Tomato;
this.chkCVSave.Location = new System.Drawing.Point(431, 47);
this.chkCVSave.Name = "chkCVSave";
this.chkCVSave.Size = new System.Drawing.Size(230, 23);
this.chkCVSave.Size = new System.Drawing.Size(216, 23);
this.chkCVSave.TabIndex = 51;
this.chkCVSave.Tag = "11";
this.chkCVSave.Text = "Record change information to server";
this.chkCVSave.Text = "Record change information";
this.chkCVSave.UseVisualStyleBackColor = true;
//
// chkCVApplyBatch
@@ -597,9 +613,9 @@
this.label6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
this.label6.Location = new System.Drawing.Point(6, 54);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(55, 15);
this.label6.Size = new System.Drawing.Size(41, 15);
this.label6.TabIndex = 29;
this.label6.Text = "Query Target";
this.label6.Text = "Query";
//
// label7
//
@@ -608,9 +624,9 @@
this.label7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
this.label7.Location = new System.Drawing.Point(7, 28);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(55, 15);
this.label7.Size = new System.Drawing.Size(40, 15);
this.label7.TabIndex = 29;
this.label7.Text = "Apply Target";
this.label7.Text = "Apply";
//
// grpapplyjob
//
@@ -628,7 +644,7 @@
this.grpapplyjob.Dock = System.Windows.Forms.DockStyle.Top;
this.grpapplyjob.Enabled = false;
this.grpapplyjob.Font = new System.Drawing.Font("맑은 고딕", 10F);
this.grpapplyjob.Location = new System.Drawing.Point(10, 92);
this.grpapplyjob.Location = new System.Drawing.Point(10, 174);
this.grpapplyjob.Name = "grpapplyjob";
this.grpapplyjob.Size = new System.Drawing.Size(705, 82);
this.grpapplyjob.TabIndex = 33;
@@ -665,9 +681,9 @@
this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
this.label3.Location = new System.Drawing.Point(6, 54);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(55, 15);
this.label3.Size = new System.Drawing.Size(41, 15);
this.label3.TabIndex = 29;
this.label3.Text = "Query Target";
this.label3.Text = "Query";
//
// label2
//
@@ -676,9 +692,9 @@
this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
this.label2.Location = new System.Drawing.Point(7, 28);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(55, 15);
this.label2.Size = new System.Drawing.Size(40, 15);
this.label2.TabIndex = 29;
this.label2.Text = "Apply Target";
this.label2.Text = "Apply";
//
// chkDayApplyVender
//
@@ -778,7 +794,7 @@
this.grpApplySidinfo.Dock = System.Windows.Forms.DockStyle.Top;
this.grpApplySidinfo.Enabled = false;
this.grpApplySidinfo.Font = new System.Drawing.Font("맑은 고딕", 10F);
this.grpApplySidinfo.Location = new System.Drawing.Point(10, 10);
this.grpApplySidinfo.Location = new System.Drawing.Point(10, 92);
this.grpApplySidinfo.Name = "grpApplySidinfo";
this.grpApplySidinfo.Size = new System.Drawing.Size(705, 82);
this.grpApplySidinfo.TabIndex = 33;
@@ -816,10 +832,10 @@
this.chkInfoSave.ForeColor = System.Drawing.Color.Tomato;
this.chkInfoSave.Location = new System.Drawing.Point(431, 50);
this.chkInfoSave.Name = "chkInfoSave";
this.chkInfoSave.Size = new System.Drawing.Size(230, 23);
this.chkInfoSave.Size = new System.Drawing.Size(216, 23);
this.chkInfoSave.TabIndex = 32;
this.chkInfoSave.Tag = "8";
this.chkInfoSave.Text = "Record change information to server";
this.chkInfoSave.Text = "Record change information";
this.chkInfoSave.UseVisualStyleBackColor = true;
//
// chkInfoApplyPrint
@@ -840,9 +856,9 @@
this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
this.label4.Location = new System.Drawing.Point(6, 54);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(55, 15);
this.label4.Size = new System.Drawing.Size(41, 15);
this.label4.TabIndex = 29;
this.label4.Text = "Query Target";
this.label4.Text = "Query";
//
// label5
//
@@ -851,9 +867,9 @@
this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
this.label5.Location = new System.Drawing.Point(7, 28);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(55, 15);
this.label5.Size = new System.Drawing.Size(40, 15);
this.label5.TabIndex = 29;
this.label5.Text = "Apply Target";
this.label5.Text = "Apply";
//
// chkInfoApplyVender
//
@@ -963,7 +979,7 @@
this.tableLayoutPanel3.Controls.Add(this.btOK, 1, 0);
this.tableLayoutPanel3.Controls.Add(this.btCancle, 0, 0);
this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Bottom;
this.tableLayoutPanel3.Location = new System.Drawing.Point(9, 593);
this.tableLayoutPanel3.Location = new System.Drawing.Point(9, 653);
this.tableLayoutPanel3.Name = "tableLayoutPanel3";
this.tableLayoutPanel3.RowCount = 1;
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
@@ -1066,11 +1082,174 @@
this.dataSet11.DataSetName = "DataSet1";
this.dataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// chkApplyWMSInfo
//
this.chkApplyWMSInfo.AutoSize = true;
this.chkApplyWMSInfo.Font = new System.Drawing.Font("맑은 고딕", 12F);
this.chkApplyWMSInfo.ForeColor = System.Drawing.Color.Gray;
this.chkApplyWMSInfo.Location = new System.Drawing.Point(13, 303);
this.chkApplyWMSInfo.Name = "chkApplyWMSInfo";
this.chkApplyWMSInfo.Size = new System.Drawing.Size(446, 25);
this.chkApplyWMSInfo.TabIndex = 35;
this.chkApplyWMSInfo.Tag = "8";
this.chkApplyWMSInfo.Text = "Automatically record data using WMS information table";
this.chkApplyWMSInfo.UseVisualStyleBackColor = true;
this.chkApplyWMSInfo.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
// grpApplyWMSinfo
//
this.grpApplyWMSinfo.Controls.Add(this.checkBox36);
this.grpApplyWMSinfo.Controls.Add(this.chkWMSApplyBatch);
this.grpApplyWMSinfo.Controls.Add(this.label22);
this.grpApplyWMSinfo.Controls.Add(this.label23);
this.grpApplyWMSinfo.Controls.Add(this.checkBox41);
this.grpApplyWMSinfo.Controls.Add(this.checkBox42);
this.grpApplyWMSinfo.Controls.Add(this.checkBox43);
this.grpApplyWMSinfo.Controls.Add(this.checkBox44);
this.grpApplyWMSinfo.Controls.Add(this.checkBox45);
this.grpApplyWMSinfo.Controls.Add(this.checkBox46);
this.grpApplyWMSinfo.Controls.Add(this.checkBox47);
this.grpApplyWMSinfo.Dock = System.Windows.Forms.DockStyle.Top;
this.grpApplyWMSinfo.Enabled = false;
this.grpApplyWMSinfo.Font = new System.Drawing.Font("맑은 고딕", 10F);
this.grpApplyWMSinfo.Location = new System.Drawing.Point(10, 10);
this.grpApplyWMSinfo.Name = "grpApplyWMSinfo";
this.grpApplyWMSinfo.Size = new System.Drawing.Size(705, 82);
this.grpApplyWMSinfo.TabIndex = 36;
this.grpApplyWMSinfo.TabStop = false;
this.grpApplyWMSinfo.Text = "WMS Information Application";
//
// checkBox36
//
this.checkBox36.AutoSize = true;
this.checkBox36.ForeColor = System.Drawing.Color.Blue;
this.checkBox36.Location = new System.Drawing.Point(311, 51);
this.checkBox36.Name = "checkBox36";
this.checkBox36.Size = new System.Drawing.Size(62, 23);
this.checkBox36.TabIndex = 37;
this.checkBox36.Tag = "11";
this.checkBox36.Text = "VLOT";
this.checkBox36.UseVisualStyleBackColor = true;
//
// chkWMSApplyBatch
//
this.chkWMSApplyBatch.AutoSize = true;
this.chkWMSApplyBatch.ForeColor = System.Drawing.Color.Green;
this.chkWMSApplyBatch.Location = new System.Drawing.Point(431, 24);
this.chkWMSApplyBatch.Name = "chkWMSApplyBatch";
this.chkWMSApplyBatch.Size = new System.Drawing.Size(63, 23);
this.chkWMSApplyBatch.TabIndex = 35;
this.chkWMSApplyBatch.Tag = "9";
this.chkWMSApplyBatch.Text = "Batch";
this.chkWMSApplyBatch.UseVisualStyleBackColor = true;
//
// label22
//
this.label22.AutoSize = true;
this.label22.Font = new System.Drawing.Font("맑은 고딕", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
this.label22.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
this.label22.Location = new System.Drawing.Point(6, 54);
this.label22.Name = "label22";
this.label22.Size = new System.Drawing.Size(41, 15);
this.label22.TabIndex = 29;
this.label22.Text = "Query";
//
// label23
//
this.label23.AutoSize = true;
this.label23.Font = new System.Drawing.Font("맑은 고딕", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
this.label23.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
this.label23.Location = new System.Drawing.Point(7, 28);
this.label23.Name = "label23";
this.label23.Size = new System.Drawing.Size(40, 15);
this.label23.TabIndex = 29;
this.label23.Text = "Apply";
//
// checkBox41
//
this.checkBox41.AutoSize = true;
this.checkBox41.Location = new System.Drawing.Point(311, 24);
this.checkBox41.Name = "checkBox41";
this.checkBox41.Size = new System.Drawing.Size(114, 23);
this.checkBox41.TabIndex = 28;
this.checkBox41.Tag = "3";
this.checkBox41.Text = "Vender Name";
this.checkBox41.UseVisualStyleBackColor = true;
//
// checkBox42
//
this.checkBox42.AutoSize = true;
this.checkBox42.ForeColor = System.Drawing.Color.Blue;
this.checkBox42.Location = new System.Drawing.Point(255, 50);
this.checkBox42.Name = "checkBox42";
this.checkBox42.Size = new System.Drawing.Size(50, 23);
this.checkBox42.TabIndex = 27;
this.checkBox42.Tag = "7";
this.checkBox42.Text = "SID";
this.checkBox42.UseVisualStyleBackColor = true;
//
// checkBox43
//
this.checkBox43.AutoSize = true;
this.checkBox43.ForeColor = System.Drawing.Color.Blue;
this.checkBox43.Location = new System.Drawing.Point(156, 50);
this.checkBox43.Name = "checkBox43";
this.checkBox43.Size = new System.Drawing.Size(93, 23);
this.checkBox43.TabIndex = 25;
this.checkBox43.Tag = "6";
this.checkBox43.Text = "Cust Code";
this.checkBox43.UseVisualStyleBackColor = true;
//
// checkBox44
//
this.checkBox44.AutoSize = true;
this.checkBox44.ForeColor = System.Drawing.Color.Blue;
this.checkBox44.Location = new System.Drawing.Point(73, 50);
this.checkBox44.Name = "checkBox44";
this.checkBox44.Size = new System.Drawing.Size(77, 23);
this.checkBox44.TabIndex = 25;
this.checkBox44.Tag = "5";
this.checkBox44.Text = "Part No";
this.checkBox44.UseVisualStyleBackColor = true;
//
// checkBox45
//
this.checkBox45.AutoSize = true;
this.checkBox45.Location = new System.Drawing.Point(255, 24);
this.checkBox45.Name = "checkBox45";
this.checkBox45.Size = new System.Drawing.Size(50, 23);
this.checkBox45.TabIndex = 26;
this.checkBox45.Tag = "2";
this.checkBox45.Text = "SID";
this.checkBox45.UseVisualStyleBackColor = true;
//
// checkBox46
//
this.checkBox46.AutoSize = true;
this.checkBox46.Location = new System.Drawing.Point(156, 24);
this.checkBox46.Name = "checkBox46";
this.checkBox46.Size = new System.Drawing.Size(93, 23);
this.checkBox46.TabIndex = 25;
this.checkBox46.Tag = "1";
this.checkBox46.Text = "Cust Code";
this.checkBox46.UseVisualStyleBackColor = true;
//
// checkBox47
//
this.checkBox47.AutoSize = true;
this.checkBox47.Location = new System.Drawing.Point(73, 24);
this.checkBox47.Name = "checkBox47";
this.checkBox47.Size = new System.Drawing.Size(77, 23);
this.checkBox47.TabIndex = 25;
this.checkBox47.Tag = "0";
this.checkBox47.Text = "Part No";
this.checkBox47.UseVisualStyleBackColor = true;
//
// fSelectJob
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(751, 701);
this.ClientSize = new System.Drawing.Size(751, 761);
this.Controls.Add(this.panel2);
this.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
@@ -1098,6 +1277,8 @@
this.tabPage3.PerformLayout();
this.tableLayoutPanel3.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit();
this.grpApplyWMSinfo.ResumeLayout(false);
this.grpApplyWMSinfo.PerformLayout();
this.ResumeLayout(false);
}
@@ -1170,5 +1351,18 @@
private System.Windows.Forms.CheckBox chkCVApplySID;
private System.Windows.Forms.CheckBox chkCVApplyCust;
private System.Windows.Forms.CheckBox chkCVApplyPartno;
private System.Windows.Forms.CheckBox chkApplyWMSInfo;
private System.Windows.Forms.GroupBox grpApplyWMSinfo;
private System.Windows.Forms.CheckBox checkBox36;
private System.Windows.Forms.CheckBox chkWMSApplyBatch;
private System.Windows.Forms.Label label22;
private System.Windows.Forms.Label label23;
private System.Windows.Forms.CheckBox checkBox41;
private System.Windows.Forms.CheckBox checkBox42;
private System.Windows.Forms.CheckBox checkBox43;
private System.Windows.Forms.CheckBox checkBox44;
private System.Windows.Forms.CheckBox checkBox45;
private System.Windows.Forms.CheckBox checkBox46;
private System.Windows.Forms.CheckBox checkBox47;
}
}

View File

@@ -174,6 +174,21 @@ namespace Project.Dialog
return;
}
}
if (grpApplyWMSinfo.Enabled)
{
//검색조건확인
var v = CheckDataIn(grpApplyWMSinfo);
if (v.Item1 < 1)
{
UTIL.MsgE("Target item is not specified among WMS information items");
return;
}
if (v.Item2 < 1)
{
UTIL.MsgE("Search item is not specified among WMS information items");
return;
}
}
if (grpApplySidinfo.Enabled)
{
//검색조건확인
@@ -244,6 +259,7 @@ namespace Project.Dialog
VAR.BOOL[eVarBool.Opt_ApplySIDConv] = chkApplySIDConv.Checked;
VAR.BOOL[eVarBool.Opt_ApplyJobInfo] = chkApplyJobInfo.Checked;
VAR.BOOL[eVarBool.Opt_ApplyWMSInfo] = chkApplyWMSInfo.Checked;
VAR.BOOL[eVarBool.Opt_ApplySIDInfo] = chkApplySidInfo.Checked;
VAR.BOOL[eVarBool.Opt_CheckSIDExist] = PUB.Result.vModel.CheckSIDExsit;
@@ -255,15 +271,31 @@ namespace Project.Dialog
if (SETTING.Data.SystemBypass) VAR.BOOL[eVarBool.Opt_DisablePrinter] = true;
else VAR.BOOL[eVarBool.Opt_DisablePrinter] = PUB.Result.vModel.DisablePrinter || (SETTING.Data.Disable_PrinterL && SETTING.Data.Disable_PrinterR);
//WMS Information
VAR.BOOL[eVarBool.Opt_WMS_Apply_PartNo] = checkBox47.Checked;
VAR.BOOL[eVarBool.Opt_WMS_Apply_CustCode] = checkBox46.Checked;
VAR.BOOL[eVarBool.Opt_WMS_Apply_SID] = checkBox45.Checked;
VAR.BOOL[eVarBool.Opt_WMS_Apply_VenderName] = checkBox41.Checked;
VAR.BOOL[eVarBool.Opt_WMS_Apply_batch] = chkWMSApplyBatch.Checked;
VAR.BOOL[eVarBool.Opt_WMS_Apply_qty] = false;// chkInfoApplyQty.Checked;
VAR.BOOL[eVarBool.Opt_WMS_Where_PartNo] = checkBox44.Checked;
VAR.BOOL[eVarBool.Opt_WMS_Where_CustCode] = checkBox43.Checked;
VAR.BOOL[eVarBool.Opt_WMS_Where_SID] = checkBox42.Checked;
VAR.BOOL[eVarBool.Opt_WMS_Where_VLOT] = checkBox36.Checked;
VAR.BOOL[eVarBool.Opt_WMS_Where_MC] = false;// chkInfoWhereMC.Checked;
VAR.BOOL[eVarBool.Opt_WMS_WriteServer] = false;// chkInfoSave.Checked;
//SID Information
VAR.BOOL[eVarBool.Opt_SID_Apply_PartNo] = chkInfoApplyPart.Checked;
VAR.BOOL[eVarBool.Opt_SID_Apply_CustCode] = chkInfoApplyCust.Checked;
VAR.BOOL[eVarBool.Opt_SID_Apply_SID] = chkInfoApplySID.Checked;
VAR.BOOL[eVarBool.Opt_SID_Apply_VenderName] = chkInfoApplyVender.Checked;
VAR.BOOL[eVarBool.Opt_SID_Apply_PrintPos] = chkInfoApplyPrint.Checked;
///22092[
VAR.BOOL[eVarBool.Opt_SID_Apply_batch] = chkInfoApplyBatch.Checked;
VAR.BOOL[eVarBool.Opt_SID_Apply_qty] = false;// chkInfoApplyQty.Checked;
VAR.BOOL[eVarBool.Opt_SID_Where_PartNo] = chkInfoWherePart.Checked;
VAR.BOOL[eVarBool.Opt_SID_Where_CustCode] = chkInfoWhereCust.Checked;
VAR.BOOL[eVarBool.Opt_SID_Where_SID] = chkInfoWhereSID.Checked;
@@ -375,6 +407,13 @@ namespace Project.Dialog
if (chk.Tag == null) continue;
chk.Checked = UTIL.GetBitState(dr.vOption, int.Parse(chk.Tag.ToString()));
}
foreach (var c in grpApplyWMSinfo.Controls)
{
if (c.GetType() != typeof(CheckBox)) continue;
var chk = c as CheckBox;
if (chk.Tag == null) continue;
chk.Checked = UTIL.GetBitState(dr.vWMSInfo, int.Parse(chk.Tag.ToString()));
}
foreach (var c in grpApplySidinfo.Controls)
{
if (c.GetType() != typeof(CheckBox)) continue;
@@ -418,6 +457,10 @@ namespace Project.Dialog
{
grpapplyjob.Enabled = chk.Checked;
}
if(chk.Name.Equals(chkApplyWMSInfo.Name))
{
grpApplyWMSinfo.Enabled = chk.Checked;
}
if (chk.Name.Equals(chkApplySidInfo.Name))
{
grpApplySidinfo.Enabled = chk.Checked;
@@ -474,6 +517,13 @@ namespace Project.Dialog
if (chk.Tag == null) continue;
dr.vOption = UTIL.SetBitState((ushort)dr.vOption, int.Parse(chk.Tag.ToString()), chk.Checked);
}
foreach (var c in grpApplyWMSinfo.Controls)
{
if (c.GetType() != typeof(CheckBox)) continue;
var chk = c as CheckBox;
if (chk.Tag == null) continue;
dr.vWMSInfo = UTIL.SetBitState((ushort)dr.vWMSInfo, int.Parse(chk.Tag.ToString()), chk.Checked);
}
foreach (var c in grpApplySidinfo.Controls)
{
if (c.GetType() != typeof(CheckBox)) continue;
@@ -535,8 +585,8 @@ namespace Project.Dialog
void UpdateHeight()
{
if (this.tabControl1.Visible) this.Height = 740;
else this.Height = 445;
if (this.tabControl1.Visible) this.Height = 755;
else this.Height = 380;
}
private void btOK_Click(object sender, EventArgs e)