This commit is contained in:
ChiKyun Kim
2025-09-23 15:41:16 +09:00
parent 02028afc27
commit b037dd53e6
74 changed files with 4269 additions and 7917 deletions

View File

@@ -390,9 +390,7 @@ namespace Project
private void tmDisplay_Tick(object sender, EventArgs e)
{
tabControl4.TabPages[0].Text = $"({axisIndex}) JOG";
if (PUB.joypad != null && PUB.joypad.IsOpen)
this.Text = "MODEL(MOTION) SETTING - JOYSTICK GROUP:" + PUB.Result.JoystickAxisGroup.ToString();
else
this.Text = "MODEL(MOTION) SETTING";
if (PUB.mot.IsInit == false)

View File

@@ -136,12 +136,6 @@ namespace Project.Dialog
private void tmDisplay_Tick(object sender, EventArgs e)
{
//this.lbMotPos.Text = $"X:{Pub.mot.GetActPos((int)eAxis.X1_TOP}";
//tabControl4.TabPages[0].Text = $"({axisIndex}) JOG";
if (PUB.joypad != null && PUB.joypad.IsOpen)
this.Text = "MODEL(MOTION) SETTING - JOYSTICK GROUP:" + PUB.Result.JoystickAxisGroup.ToString();
else
this.Text = "MODEL(MOTION) SETTING";
if (PUB.mot.IsInit == false)

View File

@@ -29,14 +29,19 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Model_Operation));
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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Model_Operation));
this.dv = new arCtl.arDatagridView();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_title = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Code = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.BSave = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.ds1 = new Project.DataSet1();
this.tmDisplay = new System.Windows.Forms.Timer(this.components);
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.checkBox31 = new System.Windows.Forms.CheckBox();
@@ -135,10 +140,9 @@
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.arLabel2 = new arCtl.arLabel();
this.arLabel18 = new arCtl.arLabel();
this.dvc_title = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.ds1 = new Project.DataSet1();
((System.ComponentModel.ISupportInitialize)(this.dv)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ds1)).BeginInit();
this.panel5.SuspendLayout();
this.panel4.SuspendLayout();
this.panel1.SuspendLayout();
@@ -154,8 +158,6 @@
this.tableLayoutPanel1.SuspendLayout();
this.panel3.SuspendLayout();
this.toolStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ds1)).BeginInit();
this.SuspendLayout();
//
// dv
@@ -175,24 +177,25 @@
this.dv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column1,
this.dvc_title,
this.Code});
this.Code,
this.BSave});
this.dv.DataSource = this.bs;
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle4.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle4.Padding = new System.Windows.Forms.Padding(5);
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dv.DefaultCellStyle = dataGridViewCellStyle4;
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;
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(502, 425);
this.dv.Size = new System.Drawing.Size(639, 425);
this.dv.TabIndex = 1;
this.dv.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dv_DataError);
//
@@ -206,6 +209,15 @@
this.Column1.Name = "Column1";
this.Column1.Width = 50;
//
// dvc_title
//
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;
this.dvc_title.HeaderText = "Description";
this.dvc_title.Name = "dvc_title";
//
// Code
//
this.Code.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
@@ -215,6 +227,26 @@
this.Code.HeaderText = "Customer Code";
this.Code.Name = "Code";
//
// BSave
//
this.BSave.DataPropertyName = "BSave";
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.BSave.DefaultCellStyle = dataGridViewCellStyle4;
this.BSave.HeaderText = "Mem";
this.BSave.Name = "BSave";
this.BSave.Width = 79;
//
// bs
//
this.bs.DataMember = "OPModel";
this.bs.DataSource = this.ds1;
this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged_1);
//
// ds1
//
this.ds1.DataSetName = "DataSet1";
this.ds1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// tmDisplay
//
this.tmDisplay.Interval = 500;
@@ -227,7 +259,7 @@
this.checkBox31.Dock = System.Windows.Forms.DockStyle.Left;
this.checkBox31.Location = new System.Drawing.Point(409, 0);
this.checkBox31.Name = "checkBox31";
this.checkBox31.Size = new System.Drawing.Size(148, 34);
this.checkBox31.Size = new System.Drawing.Size(223, 34);
this.checkBox31.TabIndex = 8;
this.checkBox31.Text = "Exclude Undefined Barcodes";
this.toolTip1.SetToolTip(this.checkBox31, "Excludes data not in barcode rules..");
@@ -238,9 +270,10 @@
this.chkOwnZPL.AutoSize = true;
this.chkOwnZPL.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.bs, "bOwnZPL", true));
this.chkOwnZPL.Dock = System.Windows.Forms.DockStyle.Right;
this.chkOwnZPL.Location = new System.Drawing.Point(519, 0);
this.chkOwnZPL.Font = new System.Drawing.Font("맑은 고딕", 10.5F);
this.chkOwnZPL.Location = new System.Drawing.Point(494, 0);
this.chkOwnZPL.Name = "chkOwnZPL";
this.chkOwnZPL.Size = new System.Drawing.Size(133, 34);
this.chkOwnZPL.Size = new System.Drawing.Size(158, 34);
this.chkOwnZPL.TabIndex = 17;
this.chkOwnZPL.Text = "Individual Print Code";
this.toolTip1.SetToolTip(this.chkOwnZPL, "Excludes data not in barcode rules..");
@@ -253,7 +286,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(1231, 689);
this.panel5.Size = new System.Drawing.Size(1368, 689);
this.panel5.TabIndex = 3;
//
// panel4
@@ -267,7 +300,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(1231, 636);
this.panel4.Size = new System.Drawing.Size(1368, 636);
this.panel4.TabIndex = 3;
//
// panel1
@@ -278,7 +311,7 @@
this.panel1.Controls.Add(this.panel6);
this.panel1.Controls.Add(this.panel2);
this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
this.panel1.Location = new System.Drawing.Point(502, 136);
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, 425);
@@ -305,11 +338,11 @@
this.chkSIDCHK.AutoSize = true;
this.chkSIDCHK.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.bs, "CheckSIDExsit", true));
this.chkSIDCHK.Dock = System.Windows.Forms.DockStyle.Left;
this.chkSIDCHK.Font = new System.Drawing.Font("맑은 고딕", 12F);
this.chkSIDCHK.Font = new System.Drawing.Font("맑은 고딕", 10.5F);
this.chkSIDCHK.ForeColor = System.Drawing.Color.Red;
this.chkSIDCHK.Location = new System.Drawing.Point(300, 0);
this.chkSIDCHK.Location = new System.Drawing.Point(292, 0);
this.chkSIDCHK.Name = "chkSIDCHK";
this.chkSIDCHK.Size = new System.Drawing.Size(117, 34);
this.chkSIDCHK.Size = new System.Drawing.Size(155, 34);
this.chkSIDCHK.TabIndex = 16;
this.chkSIDCHK.Tag = "0";
this.chkSIDCHK.Text = "SID Existence Check";
@@ -320,11 +353,11 @@
this.checkBox32.AutoSize = true;
this.checkBox32.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.bs, "DisablePrinter", true));
this.checkBox32.Dock = System.Windows.Forms.DockStyle.Left;
this.checkBox32.Font = new System.Drawing.Font("맑은 고딕", 12F);
this.checkBox32.Font = new System.Drawing.Font("맑은 고딕", 10.5F);
this.checkBox32.ForeColor = System.Drawing.Color.Red;
this.checkBox32.Location = new System.Drawing.Point(147, 0);
this.checkBox32.Location = new System.Drawing.Point(148, 0);
this.checkBox32.Name = "checkBox32";
this.checkBox32.Size = new System.Drawing.Size(153, 34);
this.checkBox32.Size = new System.Drawing.Size(144, 34);
this.checkBox32.TabIndex = 15;
this.checkBox32.Tag = "0";
this.checkBox32.Text = "Do not use printer";
@@ -336,11 +369,11 @@
this.chkEnbCamera.AutoSize = true;
this.chkEnbCamera.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.bs, "DisableCamera", true));
this.chkEnbCamera.Dock = System.Windows.Forms.DockStyle.Left;
this.chkEnbCamera.Font = new System.Drawing.Font("맑은 고딕", 12F);
this.chkEnbCamera.Font = new System.Drawing.Font("맑은 고딕", 10.5F);
this.chkEnbCamera.ForeColor = System.Drawing.Color.Red;
this.chkEnbCamera.Location = new System.Drawing.Point(10, 0);
this.chkEnbCamera.Name = "chkEnbCamera";
this.chkEnbCamera.Size = new System.Drawing.Size(137, 34);
this.chkEnbCamera.Size = new System.Drawing.Size(138, 34);
this.chkEnbCamera.TabIndex = 14;
this.chkEnbCamera.Tag = "0";
this.chkEnbCamera.Text = "Do not use vision";
@@ -393,7 +426,7 @@
this.chkApplySidInfo.ForeColor = System.Drawing.Color.Gray;
this.chkApplySidInfo.Location = new System.Drawing.Point(13, 202);
this.chkApplySidInfo.Name = "chkApplySidInfo";
this.chkApplySidInfo.Size = new System.Drawing.Size(419, 25);
this.chkApplySidInfo.Size = new System.Drawing.Size(431, 25);
this.chkApplySidInfo.TabIndex = 33;
this.chkApplySidInfo.Tag = "6";
this.chkApplySidInfo.Text = "Automatically record data using SID information table";
@@ -407,10 +440,10 @@
this.chkApplyJobInfo.ForeColor = System.Drawing.Color.Gray;
this.chkApplyJobInfo.Location = new System.Drawing.Point(13, 170);
this.chkApplyJobInfo.Name = "chkApplyJobInfo";
this.chkApplyJobInfo.Size = new System.Drawing.Size(423, 25);
this.chkApplyJobInfo.Size = new System.Drawing.Size(424, 25);
this.chkApplyJobInfo.TabIndex = 32;
this.chkApplyJobInfo.Tag = "5";
this.chkApplyJobInfo.Text = "Automatically record data using today's work history";
this.chkApplyJobInfo.Text = "Automatically record data using today\'s work history";
this.chkApplyJobInfo.UseVisualStyleBackColor = true;
this.chkApplyJobInfo.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -421,7 +454,7 @@
this.chkApplySIDConvData.ForeColor = System.Drawing.Color.Gray;
this.chkApplySIDConvData.Location = new System.Drawing.Point(13, 234);
this.chkApplySIDConvData.Name = "chkApplySIDConvData";
this.chkApplySIDConvData.Size = new System.Drawing.Size(425, 25);
this.chkApplySIDConvData.Size = new System.Drawing.Size(426, 25);
this.chkApplySIDConvData.TabIndex = 31;
this.chkApplySIDConvData.Tag = "7";
this.chkApplySIDConvData.Text = "Automatically record data using SID conversion table";
@@ -435,7 +468,7 @@
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(435, 25);
this.chkUserConfirm.Size = new System.Drawing.Size(444, 25);
this.chkUserConfirm.TabIndex = 13;
this.chkUserConfirm.Tag = "0";
this.chkUserConfirm.Text = "User confirms final print values (no automatic progress)";
@@ -449,7 +482,7 @@
this.chkSIDConv.ForeColor = System.Drawing.Color.Gray;
this.chkSIDConv.Location = new System.Drawing.Point(13, 138);
this.chkSIDConv.Name = "chkSIDConv";
this.chkSIDConv.Size = new System.Drawing.Size(409, 25);
this.chkSIDConv.Size = new System.Drawing.Size(372, 25);
this.chkSIDConv.TabIndex = 28;
this.chkSIDConv.Tag = "4";
this.chkSIDConv.Text = "Convert SID values using SID conversion table";
@@ -463,7 +496,7 @@
this.chkQtyServer.ForeColor = System.Drawing.Color.Gray;
this.chkQtyServer.Location = new System.Drawing.Point(13, 43);
this.chkQtyServer.Name = "chkQtyServer";
this.chkQtyServer.Size = new System.Drawing.Size(444, 25);
this.chkQtyServer.Size = new System.Drawing.Size(388, 25);
this.chkQtyServer.TabIndex = 13;
this.chkQtyServer.Tag = "1";
this.chkQtyServer.Text = "Query and use server quantity based on Reel ID";
@@ -477,7 +510,7 @@
this.chkQtyMRQ.ForeColor = System.Drawing.Color.Gray;
this.chkQtyMRQ.Location = new System.Drawing.Point(13, 106);
this.chkQtyMRQ.Name = "chkQtyMRQ";
this.chkQtyMRQ.Size = new System.Drawing.Size(405, 25);
this.chkQtyMRQ.Size = new System.Drawing.Size(453, 25);
this.chkQtyMRQ.TabIndex = 27;
this.chkQtyMRQ.Tag = "3";
this.chkQtyMRQ.Text = "Enter quantity directly (automatic progress if RQ is read)";
@@ -491,7 +524,7 @@
this.chkNew.ForeColor = System.Drawing.Color.Gray;
this.chkNew.Location = new System.Drawing.Point(13, 75);
this.chkNew.Name = "chkNew";
this.chkNew.Size = new System.Drawing.Size(247, 24);
this.chkNew.Size = new System.Drawing.Size(159, 24);
this.chkNew.TabIndex = 24;
this.chkNew.Tag = "2";
this.chkNew.Text = "Create new Reel ID";
@@ -543,7 +576,7 @@
this.chkSave2.ForeColor = System.Drawing.Color.Tomato;
this.chkSave2.Location = new System.Drawing.Point(431, 51);
this.chkSave2.Name = "chkSave2";
this.chkSave2.Size = new System.Drawing.Size(230, 23);
this.chkSave2.Size = new System.Drawing.Size(282, 23);
this.chkSave2.TabIndex = 39;
this.chkSave2.Tag = "11";
this.chkSave2.Text = "Record change information to server";
@@ -603,7 +636,7 @@
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(84, 15);
this.label6.TabIndex = 29;
this.label6.Text = "Query Target";
//
@@ -614,7 +647,7 @@
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(83, 15);
this.label7.TabIndex = 29;
this.label7.Text = "Apply Target";
//
@@ -751,7 +784,7 @@
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(84, 15);
this.label3.TabIndex = 29;
this.label3.Text = "Query Target";
//
@@ -762,7 +795,7 @@
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(83, 15);
this.label2.TabIndex = 29;
this.label2.Text = "Apply Target";
//
@@ -928,7 +961,7 @@
this.chkSave1.ForeColor = System.Drawing.Color.Tomato;
this.chkSave1.Location = new System.Drawing.Point(431, 50);
this.chkSave1.Name = "chkSave1";
this.chkSave1.Size = new System.Drawing.Size(230, 23);
this.chkSave1.Size = new System.Drawing.Size(282, 23);
this.chkSave1.TabIndex = 33;
this.chkSave1.Tag = "8";
this.chkSave1.Text = "Record change information to server";
@@ -952,7 +985,7 @@
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(84, 15);
this.label4.TabIndex = 29;
this.label4.Text = "Query Target";
//
@@ -963,7 +996,7 @@
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(83, 15);
this.label5.TabIndex = 29;
this.label5.Text = "Apply Target";
//
@@ -1194,7 +1227,7 @@
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 1;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(1231, 100);
this.tableLayoutPanel1.Size = new System.Drawing.Size(1368, 100);
this.tableLayoutPanel1.TabIndex = 31;
//
// btConvOk
@@ -1203,7 +1236,7 @@
this.btConvOk.Font = new System.Drawing.Font("맑은 고딕", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btConvOk.Location = new System.Drawing.Point(3, 3);
this.btConvOk.Name = "btConvOk";
this.btConvOk.Size = new System.Drawing.Size(609, 94);
this.btConvOk.Size = new System.Drawing.Size(678, 94);
this.btConvOk.TabIndex = 0;
this.btConvOk.Text = "Conveyor ON";
this.btConvOk.UseVisualStyleBackColor = true;
@@ -1213,9 +1246,9 @@
//
this.btConvOff.Dock = System.Windows.Forms.DockStyle.Fill;
this.btConvOff.Font = new System.Drawing.Font("맑은 고딕", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btConvOff.Location = new System.Drawing.Point(618, 3);
this.btConvOff.Location = new System.Drawing.Point(687, 3);
this.btConvOff.Name = "btConvOff";
this.btConvOff.Size = new System.Drawing.Size(610, 94);
this.btConvOff.Size = new System.Drawing.Size(678, 94);
this.btConvOff.TabIndex = 0;
this.btConvOff.Text = "Conveyor OFF";
this.btConvOff.UseVisualStyleBackColor = true;
@@ -1235,7 +1268,7 @@
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, 561);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(1231, 20);
this.panel3.Size = new System.Drawing.Size(1368, 20);
this.panel3.TabIndex = 29;
//
// label15
@@ -1344,7 +1377,7 @@
this.toolStripSeparator1});
this.toolStrip1.Location = new System.Drawing.Point(0, 581);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1231, 55);
this.toolStrip1.Size = new System.Drawing.Size(1368, 55);
this.toolStrip1.TabIndex = 8;
this.toolStrip1.Text = "toolStrip1";
//
@@ -1353,7 +1386,7 @@
this.btAdd.Image = global::Project.Properties.Resources.icons8_add_40;
this.btAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btAdd.Name = "btAdd";
this.btAdd.Size = new System.Drawing.Size(99, 52);
this.btAdd.Size = new System.Drawing.Size(97, 52);
this.btAdd.Text = "Add(&A)";
this.btAdd.Click += new System.EventHandler(this.toolStripButton4_Click);
//
@@ -1362,7 +1395,7 @@
this.btDel.Image = global::Project.Properties.Resources.icons8_delete_40;
this.btDel.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btDel.Name = "btDel";
this.btDel.Size = new System.Drawing.Size(100, 52);
this.btDel.Size = new System.Drawing.Size(110, 52);
this.btDel.Text = "Delete(&D)";
this.btDel.Click += new System.EventHandler(this.toolStripButton5_Click);
//
@@ -1370,7 +1403,7 @@
//
this.btSave.Image = ((System.Drawing.Image)(resources.GetObject("btSave.Image")));
this.btSave.Name = "btSave";
this.btSave.Size = new System.Drawing.Size(98, 52);
this.btSave.Size = new System.Drawing.Size(99, 52);
this.btSave.Text = "Save(&S)";
this.btSave.Click += new System.EventHandler(this.toolStripButton9_Click);
//
@@ -1379,7 +1412,7 @@
this.btCopy.Image = ((System.Drawing.Image)(resources.GetObject("btCopy.Image")));
this.btCopy.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btCopy.Name = "btCopy";
this.btCopy.Size = new System.Drawing.Size(83, 52);
this.btCopy.Size = new System.Drawing.Size(87, 52);
this.btCopy.Text = "Copy";
this.btCopy.Click += new System.EventHandler(this.toolStripButton8_Click);
//
@@ -1439,7 +1472,7 @@
this.arLabel2.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.arLabel2.SignColor = System.Drawing.Color.Yellow;
this.arLabel2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel2.Size = new System.Drawing.Size(1231, 36);
this.arLabel2.Size = new System.Drawing.Size(1368, 36);
this.arLabel2.TabIndex = 7;
this.arLabel2.Text = "Description";
this.arLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1484,38 +1517,18 @@
this.arLabel18.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.arLabel18.SignColor = System.Drawing.Color.Yellow;
this.arLabel18.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel18.Size = new System.Drawing.Size(1231, 53);
this.arLabel18.Size = new System.Drawing.Size(1368, 53);
this.arLabel18.TabIndex = 5;
this.arLabel18.Text = "--";
this.arLabel18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel18.TextShadow = true;
this.arLabel18.TextVisible = true;
//
// dvc_title
//
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;
this.dvc_title.HeaderText = "Description";
this.dvc_title.Name = "dvc_title";
//
// bs
//
this.bs.DataMember = "OPModel";
this.bs.DataSource = this.ds1;
this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged_1);
//
// ds1
//
this.ds1.DataSetName = "DataSet1";
this.ds1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// Model_Operation
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(1233, 691);
this.ClientSize = new System.Drawing.Size(1370, 691);
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")));
@@ -1525,6 +1538,8 @@
this.Text = "Model Selection";
this.Load += new System.EventHandler(this.@__Load);
((System.ComponentModel.ISupportInitialize)(this.dv)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ds1)).EndInit();
this.panel5.ResumeLayout(false);
this.panel4.ResumeLayout(false);
this.panel4.PerformLayout();
@@ -1549,8 +1564,6 @@
this.panel3.ResumeLayout(false);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ds1)).EndInit();
this.ResumeLayout(false);
}
@@ -1648,9 +1661,6 @@
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.Button btConvOk;
private System.Windows.Forms.Button btConvOff;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_title;
private System.Windows.Forms.DataGridViewTextBoxColumn Code;
private System.Windows.Forms.Panel panel7;
private System.Windows.Forms.CheckBox chkEnbCamera;
private System.Windows.Forms.CheckBox checkBox32;
@@ -1661,5 +1671,9 @@
private System.Windows.Forms.CheckBox chkSave2;
private System.Windows.Forms.CheckBox chkOwnZPL;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_title;
private System.Windows.Forms.DataGridViewTextBoxColumn Code;
private System.Windows.Forms.DataGridViewTextBoxColumn BSave;
}
}

View File

@@ -558,7 +558,7 @@ namespace Project
var idx = dr.idx;
var fn = UTIL.MakePath("Model", idx.ToString(), "zpl.txt");
var fnBase = UTIL.MakePath("zpl.txt");
var fnBase = UTIL.MakePath("Data","zpl.txt");
if (System.IO.File.Exists(fnBase) && System.IO.File.Exists(fn) == false)
{
UTIL.MsgI("Dedicated output file (ZPL.TXT) does not exist, copying from default");

View File

@@ -123,6 +123,9 @@
<metadata name="Code.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="BSave.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>292, 17</value>
</metadata>

View File

@@ -55,6 +55,8 @@
this.button16 = new System.Windows.Forms.Button();
this.button17 = new System.Windows.Forms.Button();
this.button19 = new System.Windows.Forms.Button();
this.btLCyl = new System.Windows.Forms.Button();
this.btRCyl = new System.Windows.Forms.Button();
this.panel2 = new System.Windows.Forms.Panel();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
@@ -70,8 +72,6 @@
this.button9 = new System.Windows.Forms.Button();
this.button11 = new System.Windows.Forms.Button();
this.button18 = new System.Windows.Forms.Button();
this.btLCyl = new System.Windows.Forms.Button();
this.btRCyl = new System.Windows.Forms.Button();
this.panBG.SuspendLayout();
this.groupBox1.SuspendLayout();
this.tableLayoutPanel2.SuspendLayout();
@@ -480,27 +480,55 @@
// button17
//
this.button17.Dock = System.Windows.Forms.DockStyle.Fill;
this.button17.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button17.ForeColor = System.Drawing.Color.Black;
this.button17.Location = new System.Drawing.Point(3, 248);
this.button17.Name = "button17";
this.button17.Size = new System.Drawing.Size(63, 47);
this.button17.TabIndex = 62;
this.button17.Text = "L Conveyor";
this.button17.Text = "L\r\nConv";
this.button17.UseVisualStyleBackColor = true;
this.button17.Click += new System.EventHandler(this.button17_Click);
//
// button19
//
this.button19.Dock = System.Windows.Forms.DockStyle.Fill;
this.button19.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button19.ForeColor = System.Drawing.Color.Black;
this.button19.Location = new System.Drawing.Point(210, 248);
this.button19.Name = "button19";
this.button19.Size = new System.Drawing.Size(63, 47);
this.button19.TabIndex = 62;
this.button19.Text = "R Conveyor";
this.button19.Text = "R\r\nConv";
this.button19.UseVisualStyleBackColor = true;
this.button19.Click += new System.EventHandler(this.button19_Click);
//
// btLCyl
//
this.btLCyl.Dock = System.Windows.Forms.DockStyle.Fill;
this.btLCyl.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btLCyl.ForeColor = System.Drawing.Color.Black;
this.btLCyl.Location = new System.Drawing.Point(72, 248);
this.btLCyl.Name = "btLCyl";
this.btLCyl.Size = new System.Drawing.Size(63, 47);
this.btLCyl.TabIndex = 63;
this.btLCyl.Text = "L\r\nCylinder";
this.btLCyl.UseVisualStyleBackColor = true;
this.btLCyl.Click += new System.EventHandler(this.button20_Click);
//
// btRCyl
//
this.btRCyl.Dock = System.Windows.Forms.DockStyle.Fill;
this.btRCyl.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btRCyl.ForeColor = System.Drawing.Color.Black;
this.btRCyl.Location = new System.Drawing.Point(141, 248);
this.btRCyl.Name = "btRCyl";
this.btRCyl.Size = new System.Drawing.Size(63, 47);
this.btRCyl.TabIndex = 63;
this.btRCyl.Text = "R\r\nCylinder";
this.btRCyl.UseVisualStyleBackColor = true;
this.btRCyl.Click += new System.EventHandler(this.button21_Click);
//
// panel2
//
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
@@ -771,30 +799,6 @@
this.button18.UseVisualStyleBackColor = false;
this.button18.Click += new System.EventHandler(this.button9_Click);
//
// btLCyl
//
this.btLCyl.Dock = System.Windows.Forms.DockStyle.Fill;
this.btLCyl.ForeColor = System.Drawing.Color.Black;
this.btLCyl.Location = new System.Drawing.Point(72, 248);
this.btLCyl.Name = "btLCyl";
this.btLCyl.Size = new System.Drawing.Size(63, 47);
this.btLCyl.TabIndex = 63;
this.btLCyl.Text = "L Cylinder";
this.btLCyl.UseVisualStyleBackColor = true;
this.btLCyl.Click += new System.EventHandler(this.button20_Click);
//
// btRCyl
//
this.btRCyl.Dock = System.Windows.Forms.DockStyle.Fill;
this.btRCyl.ForeColor = System.Drawing.Color.Black;
this.btRCyl.Location = new System.Drawing.Point(141, 248);
this.btRCyl.Name = "btRCyl";
this.btRCyl.Size = new System.Drawing.Size(63, 47);
this.btRCyl.TabIndex = 63;
this.btRCyl.Text = "R Cylinder";
this.btRCyl.UseVisualStyleBackColor = true;
this.btRCyl.Click += new System.EventHandler(this.button21_Click);
//
// Quick_Control
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 17F);

View File

@@ -1,451 +0,0 @@
namespace Project.Dialog
{
partial class RegExPrintRule
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RegExPrintRule));
this.dataSet1 = new Project.DataSet1();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.tam = new Project.DataSet1TableAdapters.TableAdapterManager();
this.ta = new Project.DataSet1TableAdapters.K4EE_Component_Reel_PrintRegExRuleTableAdapter();
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.component_Reel_RegExRuleBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.component_Reel_RegExRuleDataGridView = new System.Windows.Forms.DataGridView();
this.idDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.seqDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.custCodeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.descriptionDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.symbolDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.patternDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.groupsDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.isEnableDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.isTrustDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.isAmkStdDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.isIgnoreDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.component_Reel_RegExRuleDataGridView)).BeginInit();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// dataSet1
//
this.dataSet1.DataSetName = "DataSet1";
this.dataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// bs
//
this.bs.DataMember = "K4EE_Component_Reel_PrintRegExRule";
this.bs.DataSource = this.dataSet1;
this.bs.Sort = "CustCode,Seq";
//
// tam
//
this.tam.BackupDataSetBeforeUpdate = false;
this.tam.K4EE_Component_Reel_CustInfoTableAdapter = null;
this.tam.K4EE_Component_Reel_PreSetTableAdapter = null;
this.tam.K4EE_Component_Reel_Print_InformationTableAdapter = null;
this.tam.K4EE_Component_Reel_PrintRegExRuleTableAdapter = this.ta;
this.tam.K4EE_Component_Reel_RegExRuleTableAdapter = null;
this.tam.K4EE_Component_Reel_ResultTableAdapter = null;
this.tam.K4EE_Component_Reel_SID_ConvertTableAdapter = null;
this.tam.K4EE_Component_Reel_SID_InformationTableAdapter = null;
this.tam.UpdateOrder = Project.DataSet1TableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
//
// ta
//
this.ta.ClearBeforeFill = true;
//
// bn
//
this.bn.AddNewItem = this.bindingNavigatorAddNewItem;
this.bn.BindingSource = this.bs;
this.bn.CountItem = this.bindingNavigatorCountItem;
this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.bindingNavigatorMoveFirstItem,
this.bindingNavigatorMovePreviousItem,
this.bindingNavigatorSeparator,
this.bindingNavigatorPositionItem,
this.bindingNavigatorCountItem,
this.bindingNavigatorSeparator1,
this.bindingNavigatorMoveNextItem,
this.bindingNavigatorMoveLastItem,
this.bindingNavigatorSeparator2,
this.bindingNavigatorAddNewItem,
this.bindingNavigatorDeleteItem,
this.component_Reel_RegExRuleBindingNavigatorSaveItem,
this.toolStripButton1});
this.bn.Location = new System.Drawing.Point(0, 536);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.bn.Name = "bn";
this.bn.PositionItem = this.bindingNavigatorPositionItem;
this.bn.Size = new System.Drawing.Size(784, 25);
this.bn.TabIndex = 0;
this.bn.Text = "bindingNavigator1";
//
// bindingNavigatorAddNewItem
//
this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorAddNewItem.Text = "Add New";
//
// bindingNavigatorCountItem
//
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
this.bindingNavigatorCountItem.Text = "/{0}";
this.bindingNavigatorCountItem.ToolTipText = "Total item count";
//
// bindingNavigatorDeleteItem
//
this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorDeleteItem.Text = "Delete";
//
// bindingNavigatorMoveFirstItem
//
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveFirstItem.Text = "Move to first";
//
// bindingNavigatorMovePreviousItem
//
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMovePreviousItem.Text = "Move to previous";
//
// bindingNavigatorSeparator
//
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
//
// bindingNavigatorPositionItem
//
this.bindingNavigatorPositionItem.AccessibleName = "Position";
this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0";
this.bindingNavigatorPositionItem.ToolTipText = "Current position";
//
// bindingNavigatorSeparator1
//
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
//
// bindingNavigatorMoveNextItem
//
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveNextItem.Text = "Move to next";
//
// bindingNavigatorMoveLastItem
//
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveLastItem.Text = "Move to last";
//
// bindingNavigatorSeparator2
//
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
//
// component_Reel_RegExRuleBindingNavigatorSaveItem
//
this.component_Reel_RegExRuleBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.component_Reel_RegExRuleBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("component_Reel_RegExRuleBindingNavigatorSaveItem.Image")));
this.component_Reel_RegExRuleBindingNavigatorSaveItem.Name = "component_Reel_RegExRuleBindingNavigatorSaveItem";
this.component_Reel_RegExRuleBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22);
this.component_Reel_RegExRuleBindingNavigatorSaveItem.Text = "Save Data";
this.component_Reel_RegExRuleBindingNavigatorSaveItem.Click += new System.EventHandler(this.component_Reel_RegExRuleBindingNavigatorSaveItem_Click);
//
// toolStripButton1
//
this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(66, 22);
this.toolStripButton1.Text = "Refresh";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// component_Reel_RegExRuleDataGridView
//
this.component_Reel_RegExRuleDataGridView.AutoGenerateColumns = false;
this.component_Reel_RegExRuleDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.component_Reel_RegExRuleDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.idDataGridViewTextBoxColumn,
this.seqDataGridViewTextBoxColumn,
this.custCodeDataGridViewTextBoxColumn,
this.descriptionDataGridViewTextBoxColumn,
this.symbolDataGridViewTextBoxColumn,
this.patternDataGridViewTextBoxColumn,
this.groupsDataGridViewTextBoxColumn,
this.isEnableDataGridViewCheckBoxColumn,
this.isTrustDataGridViewCheckBoxColumn,
this.isAmkStdDataGridViewCheckBoxColumn,
this.isIgnoreDataGridViewCheckBoxColumn});
this.component_Reel_RegExRuleDataGridView.DataSource = this.bs;
this.component_Reel_RegExRuleDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
this.component_Reel_RegExRuleDataGridView.Location = new System.Drawing.Point(0, 0);
this.component_Reel_RegExRuleDataGridView.Name = "component_Reel_RegExRuleDataGridView";
this.component_Reel_RegExRuleDataGridView.RowTemplate.Height = 23;
this.component_Reel_RegExRuleDataGridView.Size = new System.Drawing.Size(784, 486);
this.component_Reel_RegExRuleDataGridView.TabIndex = 2;
//
// idDataGridViewTextBoxColumn
//
this.idDataGridViewTextBoxColumn.DataPropertyName = "Id";
this.idDataGridViewTextBoxColumn.HeaderText = "Id";
this.idDataGridViewTextBoxColumn.Name = "idDataGridViewTextBoxColumn";
this.idDataGridViewTextBoxColumn.ReadOnly = true;
//
// seqDataGridViewTextBoxColumn
//
this.seqDataGridViewTextBoxColumn.DataPropertyName = "Seq";
this.seqDataGridViewTextBoxColumn.HeaderText = "Seq";
this.seqDataGridViewTextBoxColumn.Name = "seqDataGridViewTextBoxColumn";
//
// custCodeDataGridViewTextBoxColumn
//
this.custCodeDataGridViewTextBoxColumn.DataPropertyName = "CustCode";
this.custCodeDataGridViewTextBoxColumn.HeaderText = "CustCode";
this.custCodeDataGridViewTextBoxColumn.Name = "custCodeDataGridViewTextBoxColumn";
//
// descriptionDataGridViewTextBoxColumn
//
this.descriptionDataGridViewTextBoxColumn.DataPropertyName = "Description";
this.descriptionDataGridViewTextBoxColumn.HeaderText = "Description";
this.descriptionDataGridViewTextBoxColumn.Name = "descriptionDataGridViewTextBoxColumn";
//
// symbolDataGridViewTextBoxColumn
//
this.symbolDataGridViewTextBoxColumn.DataPropertyName = "Symbol";
this.symbolDataGridViewTextBoxColumn.HeaderText = "Symbol";
this.symbolDataGridViewTextBoxColumn.Name = "symbolDataGridViewTextBoxColumn";
//
// patternDataGridViewTextBoxColumn
//
this.patternDataGridViewTextBoxColumn.DataPropertyName = "Pattern";
this.patternDataGridViewTextBoxColumn.HeaderText = "Pattern";
this.patternDataGridViewTextBoxColumn.Name = "patternDataGridViewTextBoxColumn";
//
// groupsDataGridViewTextBoxColumn
//
this.groupsDataGridViewTextBoxColumn.DataPropertyName = "Groups";
this.groupsDataGridViewTextBoxColumn.HeaderText = "Groups";
this.groupsDataGridViewTextBoxColumn.Name = "groupsDataGridViewTextBoxColumn";
//
// isEnableDataGridViewCheckBoxColumn
//
this.isEnableDataGridViewCheckBoxColumn.DataPropertyName = "IsEnable";
this.isEnableDataGridViewCheckBoxColumn.HeaderText = "IsEnable";
this.isEnableDataGridViewCheckBoxColumn.Name = "isEnableDataGridViewCheckBoxColumn";
//
// isTrustDataGridViewCheckBoxColumn
//
this.isTrustDataGridViewCheckBoxColumn.DataPropertyName = "IsTrust";
this.isTrustDataGridViewCheckBoxColumn.HeaderText = "IsTrust";
this.isTrustDataGridViewCheckBoxColumn.Name = "isTrustDataGridViewCheckBoxColumn";
//
// isAmkStdDataGridViewCheckBoxColumn
//
this.isAmkStdDataGridViewCheckBoxColumn.DataPropertyName = "IsAmkStd";
this.isAmkStdDataGridViewCheckBoxColumn.HeaderText = "IsAmkStd";
this.isAmkStdDataGridViewCheckBoxColumn.Name = "isAmkStdDataGridViewCheckBoxColumn";
//
// isIgnoreDataGridViewCheckBoxColumn
//
this.isIgnoreDataGridViewCheckBoxColumn.DataPropertyName = "IsIgnore";
this.isIgnoreDataGridViewCheckBoxColumn.HeaderText = "IsIgnore";
this.isIgnoreDataGridViewCheckBoxColumn.Name = "isIgnoreDataGridViewCheckBoxColumn";
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 2;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 122F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.label2, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.textBox1, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.textBox2, 1, 1);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 486);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 2;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(784, 50);
this.tableLayoutPanel1.TabIndex = 4;
//
// label1
//
this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
this.label1.Location = new System.Drawing.Point(3, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(116, 25);
this.label1.TabIndex = 0;
this.label1.Text = "Pattern";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.Dock = System.Windows.Forms.DockStyle.Fill;
this.label2.Location = new System.Drawing.Point(3, 25);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(116, 25);
this.label2.TabIndex = 0;
this.label2.Text = "Groups";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// textBox1
//
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "Pattern", true));
this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.textBox1.Location = new System.Drawing.Point(125, 3);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(656, 21);
this.textBox1.TabIndex = 1;
//
// textBox2
//
this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "Groups", true));
this.textBox2.Dock = System.Windows.Forms.DockStyle.Fill;
this.textBox2.Location = new System.Drawing.Point(125, 28);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(656, 21);
this.textBox2.TabIndex = 1;
//
// RegExPrintRule
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(784, 561);
this.Controls.Add(this.component_Reel_RegExRuleDataGridView);
this.Controls.Add(this.tableLayoutPanel1);
this.Controls.Add(this.bn);
this.Name = "RegExPrintRule";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "RegExRule";
this.Load += new System.EventHandler(this.RegExRule_Load);
((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
this.bn.ResumeLayout(false);
this.bn.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.component_Reel_RegExRuleDataGridView)).EndInit();
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private DataSet1 dataSet1;
private System.Windows.Forms.BindingSource bs;
private DataSet1TableAdapters.TableAdapterManager tam;
private System.Windows.Forms.BindingNavigator bn;
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
private System.Windows.Forms.ToolStripButton component_Reel_RegExRuleBindingNavigatorSaveItem;
private System.Windows.Forms.DataGridView component_Reel_RegExRuleDataGridView;
private System.Windows.Forms.ToolStripButton toolStripButton1;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.TextBox textBox2;
private DataSet1TableAdapters.K4EE_Component_Reel_PrintRegExRuleTableAdapter ta;
private System.Windows.Forms.DataGridViewTextBoxColumn idDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn seqDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn custCodeDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn descriptionDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn symbolDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn patternDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn groupsDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewCheckBoxColumn isEnableDataGridViewCheckBoxColumn;
private System.Windows.Forms.DataGridViewCheckBoxColumn isTrustDataGridViewCheckBoxColumn;
private System.Windows.Forms.DataGridViewCheckBoxColumn isAmkStdDataGridViewCheckBoxColumn;
private System.Windows.Forms.DataGridViewCheckBoxColumn isIgnoreDataGridViewCheckBoxColumn;
}
}

View File

@@ -1,63 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Project.Dialog
{
public partial class RegExPrintRule : Form
{
public RegExPrintRule()
{
InitializeComponent();
this.KeyPreview = true;
this.KeyDown += (s1, e1) =>
{
if (e1.KeyCode == Keys.Escape) this.Close();
};
}
private void RegExRule_Load(object sender, EventArgs e)
{
RefreshList();
}
private void component_Reel_RegExRuleBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
this.Validate();
this.bs.EndEdit();
this.tam.UpdateAll(this.dataSet1);
var modelName = PUB.Result.vModel.Title;
PUB.Result.BCDPrintPattern = PUB.GetPrintPatterns();
PUB.log.Add($"Model print pattern loading: {PUB.Result.BCDPrintPattern.Count}");
}
private void RefreshList()
{
try
{
this.ta.Fill(this.dataSet1.K4EE_Component_Reel_PrintRegExRule);
component_Reel_RegExRuleDataGridView.AutoResizeColumns();
}
catch (System.Exception ex)
{
System.Windows.Forms.MessageBox.Show(ex.Message);
}
}
private void toolStripButton1_Click(object sender, EventArgs e)
{
RefreshList();
}
}
}

View File

@@ -1,222 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="dataSet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>117, 17</value>
</metadata>
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>181, 17</value>
</metadata>
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>320, 17</value>
</metadata>
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>254, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
rkJggg==
</value>
</data>
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
</value>
</data>
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
</value>
</data>
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
</value>
</data>
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
oAc0QjgAAAAASUVORK5CYII=
</value>
</data>
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
</value>
</data>
<data name="component_Reel_RegExRuleBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
</root>

View File

@@ -180,7 +180,6 @@
//
this.bindingNavigatorPositionItem.AccessibleName = "Position";
this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0";
@@ -439,7 +438,6 @@
this.tam.K4EE_Component_Reel_CustInfoTableAdapter = null;
this.tam.K4EE_Component_Reel_PreSetTableAdapter = null;
this.tam.K4EE_Component_Reel_Print_InformationTableAdapter = null;
this.tam.K4EE_Component_Reel_PrintRegExRuleTableAdapter = null;
this.tam.K4EE_Component_Reel_RegExRuleTableAdapter = this.ta;
this.tam.K4EE_Component_Reel_ResultTableAdapter = null;
this.tam.K4EE_Component_Reel_SID_ConvertTableAdapter = null;

View File

@@ -4,11 +4,9 @@ using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.Entity.Infrastructure.MappingViews;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
@@ -105,6 +103,7 @@ namespace Project.Dialog
{
try
{
if (cust == "ALL")
{
dvcModelName.Visible = true;
@@ -137,7 +136,9 @@ namespace Project.Dialog
private void toolStripButton1_Click(object sender, EventArgs e)
{
RefreshList(PUB.Result.vModel.Title);
var title = cmbModelList.Text;
if (title.isEmpty()) title = PUB.Result.vModel.Title;
RefreshList(title);
}
private void bs_CurrentChanged(object sender, EventArgs e)
@@ -232,6 +233,71 @@ namespace Project.Dialog
RefreshList(title);
}
private string ChoiceModelName()
{
var cmb = new ComboBox();
cmb.Items.Clear();
foreach (var dr in PUB.mdm.dataSet.OPModel.OrderBy(t => t.Title))
cmb.Items.Add(dr.Title);
using (var f = new Form())
{
var lb = new Label()
{
Text = "Select Model",
Dock = DockStyle.Top
};
var pan = new Panel()
{
Dock = DockStyle.Bottom,
Height = 50,
};
var butok = new Button
{
Text = "OK",
Width = 160,
Dock = DockStyle.Fill,
};
var butng = new Button
{
Text = "Cancel",
Width = 160,
Dock = DockStyle.Right,
};
butok.Click += (s1, e1) => {
f.DialogResult = DialogResult.OK;
};
butng.Click += (s1, e1) => {
f.DialogResult = DialogResult.Cancel;
};
pan.Controls.Add(butok);
pan.Controls.Add(butng);
cmb.DropDownStyle = ComboBoxStyle.DropDownList;
cmb.Dock = DockStyle.Top;
f.StartPosition = FormStartPosition.CenterScreen;
f.Width = 320;
f.Height = 160;
f.Text = "Select Model";
f.MinimizeBox = false;
f.MaximizeBox = false;
f.Padding = new Padding(10);
f.Controls.Add(pan);
f.Controls.Add(cmb);
f.Controls.Add(lb);
if (f.ShowDialog() == DialogResult.OK)
{
return cmb.Text;
}
else return string.Empty;
}
}
private void btCopy_Click(object sender, EventArgs e)
{
try
@@ -246,13 +312,13 @@ namespace Project.Dialog
var sourceRow = drv.Row as DataSet1.K4EE_Component_Reel_RegExRuleRow;
if (sourceRow == null) return;
var inputDialog = AR.UTIL.InputBox("Input ModelName", sourceRow.IsCustCodeNull() ? "" : sourceRow.CustCode);
if (inputDialog.Item1 == false) return;
var newModelName = inputDialog.Item2;
var inputDialog = ChoiceModelName(); // AR.UTIL.InputBox("Input ModelName", sourceRow.IsCustCodeNull() ? "" : sourceRow.CustCode);
if (inputDialog.isEmpty()) return;
var newModelName = inputDialog;
var inputDialog2 = AR.UTIL.InputBox("Input Description", sourceRow.IsDescriptionNull() ? "" : sourceRow.Description);
if (inputDialog2.Item1 == false) return;
var newDescription = inputDialog2.Item2;
//var inputDialog2 = AR.UTIL.InputBox("Input Description", sourceRow.IsDescriptionNull() ? "" : sourceRow.Description);
//if (inputDialog2.Item1 == false) return;
var newDescription = sourceRow.IsDescriptionNull() ? "" : sourceRow.Description;// inputDialog2.Item2;
var tacheck = new DataSet1TableAdapters.K4EE_Component_Reel_RegExRuleTableAdapter();
if (tacheck.CheckExsist(newModelName, newDescription) > 0)

View File

@@ -201,20 +201,20 @@
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL6SURBVDhPhZLbT9NgGMZ3pX+CQS+8NBqF4IwavVAmh4HG
MwpBZMAYBARdYB4SFTOmqIiCBJaoMRKNF2qMhzHUATLGZIvDeJyKiMjJgM6NdW23tvPxa7cwTEh8k1++
i6/PL32fViZOynGrakudw7LtguN3Rq2DIScrUS+eTnZbXR+bcc7+fr3O1rgs8848KTR70k/32qb87K9J
LyV4AkF4qBi//CIsPk74ceLRCFSXPtHKcvP8aDQym8/apzzTtNA3zMH5nYdzhIdjmIf9WwjWL0E8cQcQ
5AHTJwYnHnxH4WU3848kzWBlpukQ+kcFvBrlycnjpSQJoWcwiGdumgjC6J8Q4BznYDCPQHGs67YUzqpP
GtpTm/lH07ILhc270fy0FTX366GojkcSQWlYhxT9ajSYGqRVKJbHpJdGyrEeXhLsrVPc63rXhraBa2h2
VEmSvKYMVN3KRUVrNtTG7SgwFsD0ZhJt7yk8fjsNH+kpVd/LSgJlo3L+1jMHBcfnbtx8p8d5a7kkUbVs
JuEdKLlSDNtgQFqlc4CBhfTgDXBIrXkREYiTfraH1V7Ph2vQDqPzMGo7KpFVvwmqpky4hmm4SLFiwbav
kU48RJCinyXYcLKaW3N0MXIblej/2gdDdyn0Zi2yLyaj1foQr8d4uEixfd84vCBM+TkoTkUFK3VxGrlu
ESpu5GBfSzpyGtIkidacC939YvImyRDv+0cEvBQ/McFPilx3xB4RyHULxuS6heShOMir4rDzfDLKrubD
5rbAYDmK0rv5ULfshYsInOTfcBABy4WxWmuNrbDxSC874WPxZkyQ6Pk8jkPXS1BEghpjNipvHJi5E6FD
AhIPPosJ1lRa2VFPTPA/AmSFhGJzTLBW+5wemPD9mevhuaCYYHhFnomKxkmRJR1D49O0f+CHPzz0k8HQ
FIPBKD8pTkJsnmIFeCk2HAyFfEv2t3+IxmWyVSVPyxLUTzoSNRZPgqaNnaEoQnyRKYLaxC5Vt3uXF7R3
xuebC2UymewvcCKiNqMNhYIAAAAASUVORK5CYII=
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL4SURBVDhPhZLrS1NhHMf3qv6EsF70UohSSiupF5WpTQ3s
ZipleZlTLLWhK4PMmJNMW2iiQkUkRS8qonRObV6ac7nRjEwzM++38DJ1l3Me3Tnz23PORisI+sGH58Vz
vh/O73uORJjIG4aU4xVmfdxd87K01MzSk4hohNNC4ip6SMwd08BBpbFqR/yLTWLoz4ku7TYuOMjST5ud
t7nWYHP6WXIIEHybc6CoYQoXNEOMNEe32Rf1TmyZaWFxxcn3TLhhmeRgmeJgnuBgGl+H4ccaWgZdWOMA
7RCLojeTSL8/wP4liVJ1snZmHb3TPD5Nc/Tk8FGUrKNrZA3vBhkq8KB3jodl1g21bgrh1zuei+FEzZGx
s6XxG/La00ivOYOa1nqUvNYgvDgIRyhS9QFEqvahUlspruIkHOZXGERe6+JEQUJF+KuO/iY0DT9CjblA
lFysjkHBs2Tk1idBVncCaXVp0PbNo2nAicYvdqzSnqJU3UQUSKukm4+r83jz9/d42q9CuSFHlKTUxtLw
SWQ9yIRxxCWu0j7MQk97WHG5EVXywSsQJrqsiygep8I6YkKd5Sput+UjUXMUKdXxsE4wsNJihYKNo95O
bFQQqfpDcOhmsXt/4XYkV0nRO9oD9ftsqHQKJN2LQL3hLT7PcLDSYnvG3fhAWXC4EX7LJ9ijDJCHKLch
98k5nK+NxrnKY6JEoUuG8nUmfZMICPe9Uzw+Cp+Y4qBFhilNXkGIcstMiHIrfSgAIQUBOFUegUsPU2Ec
1EOtL0T2y1TIahNgpQIL/TfMVEDcHoTmGfwrHFZ2k7lVgr4ZXqTr+yyuPM5CBg3K65KQ/+Ty7zsBZp1H
cF6LX7BXYSDTNr/gf7joCsGZWr8gTNHJDM0sb/zr4X9hd7GeXRe1Tl+cFpnVNjZtZxxDs6uesUUWYwss
RnwsOt0iQvNOwsNmZzwsIauBF5q/+uISSWhW66VgWUvbbrneFixvJL/J8BKU0eBF1kACZc0rO9Oa24NS
dekSiUTyC9B/oc2h827VAAAAAElFTkSuQmCC
</value>
</data>
<metadata name="IsIgnore.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

View File

@@ -57,14 +57,14 @@ namespace Project.Dialog
{
var reel = new Class.Reel(textBox1.Text);
PUB.PrinterL.Print(reel, true, AR.SETTING.Data.DrawOutbox);
PUB.log.Add("임시프린트L:" + textBox1.Text);
PUB.log.Add("Temporary print L:" + textBox1.Text);
}
private void button3_Click(object sender, EventArgs e)
{
var reel = new Class.Reel(textBox2.Text);
PUB.PrinterR.Print(reel, true, AR.SETTING.Data.DrawOutbox);
PUB.log.Add("임시프린트R:" + textBox2.Text);
PUB.log.Add("Temporary print R:" + textBox2.Text);
}
private void button4_Click(object sender, EventArgs e)

View File

@@ -49,7 +49,6 @@
this.btSearch = new System.Windows.Forms.Button();
this.cm = new System.Windows.Forms.ContextMenuStrip(this.components);
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.viewXMLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
this.sendDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.tbFind = new System.Windows.Forms.TextBox();
@@ -191,8 +190,7 @@
// cm
//
this.cm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem,
this.viewXMLToolStripMenuItem,
this.ToolStripMenuItem,
this.toolStripMenuItem1,
this.sendDataToolStripMenuItem});
this.cm.Name = "cm";
@@ -206,13 +204,6 @@
this.ToolStripMenuItem.Text = "Export";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// viewXMLToolStripMenuItem
//
this.viewXMLToolStripMenuItem.Name = "viewXMLToolStripMenuItem";
this.viewXMLToolStripMenuItem.Size = new System.Drawing.Size(128, 22);
this.viewXMLToolStripMenuItem.Text = "View XML";
this.viewXMLToolStripMenuItem.Click += new System.EventHandler(this.viewXMLToolStripMenuItem_Click);
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
@@ -299,7 +290,6 @@
this.dv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dv.Size = new System.Drawing.Size(954, 468);
this.dv.TabIndex = 2;
this.dv.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dv_CellDoubleClick);
//
// sTIMEDataGridViewTextBoxColumn
//
@@ -527,7 +517,6 @@
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem sendDataToolStripMenuItem;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripMenuItem viewXMLToolStripMenuItem;
private DataSet1TableAdapters.K4EE_Component_Reel_ResultTableAdapter ta;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Button button1;

View File

@@ -65,47 +65,6 @@ namespace Project.Dialog
}
//public void ApplyZplCode()
//{
// string zplfil = string.Empty;
// var basedir = new System.IO.DirectoryInfo(Util.CurrentPath);
// if (SETTING.Data.PrinterForm7)
// {
// zplfil = System.IO.Path.Combine(basedir.Parent.FullName, "zpl7.txt");
// }
// else
// {
// zplfil = System.IO.Path.Combine(basedir.Parent.FullName, "zpl.txt");
// }
// if (System.IO.File.Exists(zplfil))
// {
// PrinterL.baseZPL = System.IO.File.ReadAllText(zplfil, System.Text.Encoding.Default);
// }
// else
// {
// Pub.log.AddAT("기본 ZPL파일이 없어 설정파일의 내용을 사용합니다");
// if (SETTING.Data.PrinterForm7)
// {
// PrinterL.baseZPL = Properties.Settings.Default.ZPL7;
// }
// else
// {
// PrinterL.baseZPL = Properties.Settings.Default.ZPL;
// }
// }
//}
private void checkBox5_CheckedChanged(object sender, EventArgs e)
{
// cmbUser.Enabled = checkBox5.Checked;
// if(cmbUser.Enabled && cmbUser.Text.isEmpty())
// {
// cmbUser.Text = string.Format("{0}({1})", Pub.LoginName, Pub.LoginNo);
// }
}
void refreshList()
{
//검색일자 검색
@@ -247,23 +206,6 @@ namespace Project.Dialog
saveXLS();
}
private void label2_Click(object sender, EventArgs e)
{
}
private void viewXMLToolStripMenuItem_Click(object sender, EventArgs e)
{
}
private void dv_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
{
}
private void sendDataToolStripMenuItem_Click(object sender, EventArgs e)
{
var drv = this.bs.Current as DataRowView;
@@ -275,9 +217,7 @@ namespace Project.Dialog
f.ShowDialog();
}
}
private void button1_Click(object sender, EventArgs e)
{

View File

@@ -907,7 +907,7 @@ namespace Project.Dialog
//If numbers are different?
if (UTIL.MsgQ(string.Format("Do you want to change the quantity?\nCurrent: {0}\nServer: {1}", tbQTY.Text, newCnt)) == DialogResult.Yes)
{
PUB.log.Add($"수량업데이트 {tbQTY.Text}->{newCnt}");
PUB.log.Add($"Quantity updated {tbQTY.Text}->{newCnt}");
tbQTY.Text = newCnt.ToString();
}
}
@@ -1248,13 +1248,13 @@ namespace Project.Dialog
if (amksid.isEmpty() == false)
{
PUB.log.Add(string.Format("amkor SId찾기 code={0},part={1},sid={2}", custcode, partno, amksid));
PUB.log.Add(string.Format("Amkor SID search code={0},part={1},sid={2}", custcode, partno, amksid));
tbSID.Text = amksid;
UpdateSID();
}
else
{
PUB.log.Add(string.Format("검색된 SID가 없어 sid찾기가 실패 했습니다\n" +
PUB.log.Add(string.Format("SID search failed - no SID found\n" +
"Cust:{0}\n" +
"PartNo:{1}", custcode, partno));
}
@@ -1307,7 +1307,7 @@ namespace Project.Dialog
{
this.tbCustName.Text = f.CustName;
this.TbCustCode.Text = f.CustCode;
PUB.log.Add(string.Format("사용자가 Customer 를 직접 선택함 {0}:{1}", tbCustName.Text, TbCustCode.Text));
PUB.log.Add(string.Format("User directly selected Customer {0}:{1}", tbCustName.Text, TbCustCode.Text));
}
}
@@ -1368,7 +1368,7 @@ namespace Project.Dialog
{
if (item.Value.Data == bcddata)
{
PUB.log.Add(string.Format("회전 기준 바코드값 {0}", item.Value.Data));
PUB.log.Add(string.Format("Rotation reference barcode value {0}", item.Value.Data));
item.Value.UserActive = true;
}
else item.Value.UserActive = false;
@@ -1564,7 +1564,7 @@ namespace Project.Dialog
if (VAR.BOOL[eVarBool.Opt_Conv_Apply_QtyMax]) columns.Add("qtymax", tbQtyMax.Text);
if (VAR.BOOL[eVarBool.Opt_Conv_Apply_SID]) columns.Add("SIDFrom", lbSID0.Text.Trim()); //250106
PUB.log.Add($"sid변환정보 저장컬럼:{string.Join(",", columns)},where:{string.Join("',", wheres)}");
PUB.log.Add($"SID conversion info save columns:{string.Join(",", columns)},where:{string.Join("',", wheres)}");
ServerWriteCONVINF(columns, wheres);
}
else PUB.log.AddI($"Seed conversion information(detailed) will not be saved");
@@ -2165,7 +2165,7 @@ namespace Project.Dialog
{
msg += (msg.isEmpty() ? "" : "\n") + string.Format("QTY:{0}=>{1}", tbQTY.Text, amk.QTY);
PUB.log.Add($"수량업데이트 {tbQTY.Text}->{amk.QTY}");
PUB.log.Add($"Quantity updated {tbQTY.Text}->{amk.QTY}");
tbQTY.Text = amk.QTY.ToString();
}
@@ -2301,7 +2301,7 @@ namespace Project.Dialog
if (tbBatch.Text.isEmpty())
{
tbBatch.Text = batch;
PUB.log.Add($"사용자 바코드 입력으로 batch값을 설정 합니다:{batch}");
PUB.log.Add($"Set batch value from user barcode input:{batch}");
}
@@ -2309,7 +2309,7 @@ namespace Project.Dialog
{
tbSID.Text = sid;
tbpartno.Text = cpn;
PUB.log.Add($"사용자 바코드로 SID/파트번호를 입력입니다 값:{sid}{cpn}");
PUB.log.Add($"Enter SID/Part number from user barcode, value:{sid}{cpn}");
}
else
{
@@ -2320,7 +2320,7 @@ namespace Project.Dialog
{
//맞다
tbpartno.Text = cpn;
PUB.log.Add($"사용자 바코드로 파트번호를 입력입니다 값:{cpn}");
PUB.log.Add($"Enter part number from user barcode, value:{cpn}");
}
else
{
@@ -2334,7 +2334,7 @@ namespace Project.Dialog
tbSID.Tag = tbSID.Text.Trim();
tbSID.Text = sid;
tbpartno.Text = cpn;
PUB.log.Add($"사용자 바코드로 SID/파트번호를 입력입니다 값:{sid}{cpn}");
PUB.log.Add($"Enter SID/Part number from user barcode, value:{sid}{cpn}");
}
}
}

View File

@@ -9,7 +9,6 @@ using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.UI.WebControls.WebParts;
using System.Windows.Forms;
using System.Windows.Forms.VisualStyles;