From 2ed5840a3edf274558c9a23c5f9b6f64b02aea24 Mon Sep 17 00:00:00 2001 From: KwakJooYoung Date: Thu, 20 Nov 2025 14:05:12 +0900 Subject: [PATCH] =?UTF-8?q?Optimum=20=EB=AA=A8=EB=8D=B8=20=EC=9D=B4?= =?UTF-8?q?=ED=9B=84=EB=B6=80=ED=84=B0=20=EC=8B=A0=EA=B7=9C=20=EC=8B=9C?= =?UTF-8?q?=EB=A6=AC=EC=96=BC=EB=B2=88=ED=98=B8=20=EB=B6=80=EC=97=AC=20?= =?UTF-8?q?=EC=B2=B4=EA=B3=84=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MAXIMUM_Product_Program/MainForm.Designer.vb | 1264 ++++++++---------- MAXIMUM_Product_Program/MainForm.vb | 415 +++--- MAXIMUM_Product_Program/SqlAddressModule.vb | 4 + 3 files changed, 707 insertions(+), 976 deletions(-) diff --git a/MAXIMUM_Product_Program/MainForm.Designer.vb b/MAXIMUM_Product_Program/MainForm.Designer.vb index b4c4459..d42c9f4 100644 --- a/MAXIMUM_Product_Program/MainForm.Designer.vb +++ b/MAXIMUM_Product_Program/MainForm.Designer.vb @@ -251,6 +251,9 @@ Partial Class MainForm Me.btnRegADel = New System.Windows.Forms.Button() Me.btnRegDel = New System.Windows.Forms.Button() Me.gbOpReg = New System.Windows.Forms.GroupBox() + Me.pnRegVersion = New System.Windows.Forms.Panel() + Me.cboRegVersion = New System.Windows.Forms.ComboBox() + Me.lbRegVersion = New System.Windows.Forms.Label() Me.pnRegClass = New System.Windows.Forms.Panel() Me.cboRegClass = New System.Windows.Forms.ComboBox() Me.lbRegClass = New System.Windows.Forms.Label() @@ -285,6 +288,7 @@ Partial Class MainForm Me.dfAgency = New System.Windows.Forms.DataGridViewTextBoxColumn() Me.dfColor = New System.Windows.Forms.DataGridViewTextBoxColumn() Me.dfClass = New System.Windows.Forms.DataGridViewTextBoxColumn() + Me.dfVersion = New System.Windows.Forms.DataGridViewTextBoxColumn() Me.gbDBServer = New System.Windows.Forms.GroupBox() Me.pnMain.SuspendLayout() Me.pnSerial.SuspendLayout() @@ -361,6 +365,7 @@ Partial Class MainForm CType(Me.dgvPrinter, System.ComponentModel.ISupportInitialize).BeginInit() Me.GroupBox2.SuspendLayout() Me.gbOpReg.SuspendLayout() + Me.pnRegVersion.SuspendLayout() Me.pnRegClass.SuspendLayout() Me.pnRegColor.SuspendLayout() Me.pnRegAgency.SuspendLayout() @@ -385,9 +390,8 @@ Partial Class MainForm Me.pnMain.Controls.Add(Me.pnMaxInput) Me.pnMain.Controls.Add(Me.pnRecycle) Me.pnMain.Location = New System.Drawing.Point(0, 0) - Me.pnMain.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) Me.pnMain.Name = "pnMain" - Me.pnMain.Size = New System.Drawing.Size(2194, 1275) + Me.pnMain.Size = New System.Drawing.Size(1920, 1020) Me.pnMain.TabIndex = 0 ' 'pnSerial @@ -398,18 +402,16 @@ Partial Class MainForm Me.pnSerial.Controls.Add(Me.btnEnter) Me.pnSerial.Controls.Add(Me.txbPVSN) Me.pnSerial.Controls.Add(Me.lbPVSN) - Me.pnSerial.Location = New System.Drawing.Point(6, 125) - Me.pnSerial.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnSerial.Location = New System.Drawing.Point(5, 100) Me.pnSerial.Name = "pnSerial" - Me.pnSerial.Size = New System.Drawing.Size(2183, 225) + Me.pnSerial.Size = New System.Drawing.Size(1910, 180) Me.pnSerial.TabIndex = 118 ' 'Button2 ' - Me.Button2.Location = New System.Drawing.Point(353, 11) - Me.Button2.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.Button2.Location = New System.Drawing.Point(309, 9) Me.Button2.Name = "Button2" - Me.Button2.Size = New System.Drawing.Size(145, 56) + Me.Button2.Size = New System.Drawing.Size(127, 45) Me.Button2.TabIndex = 122 Me.Button2.Text = "Button2" Me.Button2.UseVisualStyleBackColor = True @@ -417,10 +419,9 @@ Partial Class MainForm ' 'Button1 ' - Me.Button1.Location = New System.Drawing.Point(201, 11) - Me.Button1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.Button1.Location = New System.Drawing.Point(176, 9) Me.Button1.Name = "Button1" - Me.Button1.Size = New System.Drawing.Size(145, 56) + Me.Button1.Size = New System.Drawing.Size(127, 45) Me.Button1.TabIndex = 121 Me.Button1.Text = "Button1" Me.Button1.UseVisualStyleBackColor = True @@ -428,10 +429,9 @@ Partial Class MainForm ' 'RichTextBox1 ' - Me.RichTextBox1.Location = New System.Drawing.Point(9, 11) - Me.RichTextBox1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.RichTextBox1.Location = New System.Drawing.Point(8, 9) Me.RichTextBox1.Name = "RichTextBox1" - Me.RichTextBox1.Size = New System.Drawing.Size(189, 203) + Me.RichTextBox1.Size = New System.Drawing.Size(166, 163) Me.RichTextBox1.TabIndex = 120 Me.RichTextBox1.Text = "" Me.RichTextBox1.Visible = False @@ -439,10 +439,9 @@ Partial Class MainForm 'btnEnter ' Me.btnEnter.Font = New System.Drawing.Font("함초롬바탕", 24.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.btnEnter.Location = New System.Drawing.Point(1703, 34) - Me.btnEnter.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnEnter.Location = New System.Drawing.Point(1490, 27) Me.btnEnter.Name = "btnEnter" - Me.btnEnter.Size = New System.Drawing.Size(229, 150) + Me.btnEnter.Size = New System.Drawing.Size(200, 120) Me.btnEnter.TabIndex = 119 Me.btnEnter.Text = "검색" Me.btnEnter.UseVisualStyleBackColor = True @@ -453,10 +452,9 @@ Partial Class MainForm Me.txbPVSN.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper Me.txbPVSN.Font = New System.Drawing.Font("함초롬바탕", 68.24999!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) Me.txbPVSN.ImeMode = System.Windows.Forms.ImeMode.Disable - Me.txbPVSN.Location = New System.Drawing.Point(754, 31) - Me.txbPVSN.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPVSN.Location = New System.Drawing.Point(660, 25) Me.txbPVSN.Name = "txbPVSN" - Me.txbPVSN.Size = New System.Drawing.Size(942, 155) + Me.txbPVSN.Size = New System.Drawing.Size(825, 126) Me.txbPVSN.TabIndex = 67 Me.txbPVSN.Text = "301234567890" Me.txbPVSN.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -465,9 +463,9 @@ Partial Class MainForm ' Me.lbPVSN.AutoSize = True Me.lbPVSN.Font = New System.Drawing.Font("함초롬바탕", 68.24999!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbPVSN.Location = New System.Drawing.Point(189, 35) + Me.lbPVSN.Location = New System.Drawing.Point(165, 28) Me.lbPVSN.Name = "lbPVSN" - Me.lbPVSN.Size = New System.Drawing.Size(617, 148) + Me.lbPVSN.Size = New System.Drawing.Size(490, 118) Me.lbPVSN.TabIndex = 68 Me.lbPVSN.Text = "바코드번호" ' @@ -477,11 +475,9 @@ Partial Class MainForm Me.gpbTime.Controls.Add(Me.lblTime) Me.gpbTime.Font = New System.Drawing.Font("함초롬바탕", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) Me.gpbTime.ForeColor = System.Drawing.Color.Black - Me.gpbTime.Location = New System.Drawing.Point(6, 6) - Me.gpbTime.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gpbTime.Location = New System.Drawing.Point(5, 5) Me.gpbTime.Name = "gpbTime" - Me.gpbTime.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gpbTime.Size = New System.Drawing.Size(320, 112) + Me.gpbTime.Size = New System.Drawing.Size(280, 90) Me.gpbTime.TabIndex = 117 Me.gpbTime.TabStop = False Me.gpbTime.Text = "현재시간" @@ -491,9 +487,9 @@ Partial Class MainForm Me.lblTime.AutoSize = True Me.lblTime.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) Me.lblTime.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer)) - Me.lblTime.Location = New System.Drawing.Point(11, 48) + Me.lblTime.Location = New System.Drawing.Point(10, 38) Me.lblTime.Name = "lblTime" - Me.lblTime.Size = New System.Drawing.Size(341, 35) + Me.lblTime.Size = New System.Drawing.Size(270, 27) Me.lblTime.TabIndex = 18 Me.lblTime.Text = "2015-00-00 오전 00:00:00" ' @@ -507,11 +503,9 @@ Partial Class MainForm Me.gbSerial.Controls.Add(Me.cmdSerial) Me.gbSerial.Font = New System.Drawing.Font("함초롬바탕", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) Me.gbSerial.ForeColor = System.Drawing.Color.Black - Me.gbSerial.Location = New System.Drawing.Point(331, 6) - Me.gbSerial.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbSerial.Location = New System.Drawing.Point(290, 5) Me.gbSerial.Name = "gbSerial" - Me.gbSerial.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbSerial.Size = New System.Drawing.Size(514, 112) + Me.gbSerial.Size = New System.Drawing.Size(450, 90) Me.gbSerial.TabIndex = 116 Me.gbSerial.TabStop = False Me.gbSerial.Text = "시리얼 통신설정" @@ -520,19 +514,18 @@ Partial Class MainForm ' Me.lbState.AutoSize = True Me.lbState.BackColor = System.Drawing.Color.Red - Me.lbState.Location = New System.Drawing.Point(440, 50) + Me.lbState.Location = New System.Drawing.Point(385, 40) Me.lbState.Name = "lbState" - Me.lbState.Size = New System.Drawing.Size(51, 26) + Me.lbState.Size = New System.Drawing.Size(42, 21) Me.lbState.TabIndex = 21 Me.lbState.Text = "OFF" ' 'txbState ' Me.txbState.BackColor = System.Drawing.Color.Red - Me.txbState.Location = New System.Drawing.Point(423, 25) - Me.txbState.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbState.Location = New System.Drawing.Point(370, 20) Me.txbState.Name = "txbState" - Me.txbState.Size = New System.Drawing.Size(79, 74) + Me.txbState.Size = New System.Drawing.Size(70, 60) Me.txbState.TabIndex = 20 Me.txbState.Text = "" ' @@ -542,29 +535,28 @@ Partial Class MainForm Me.cboComPort.Font = New System.Drawing.Font("함초롬바탕", 15.75!, CType((System.Drawing.FontStyle.Bold Or System.Drawing.FontStyle.Italic), System.Drawing.FontStyle), System.Drawing.GraphicsUnit.Point, CType(129, Byte)) Me.cboComPort.ForeColor = System.Drawing.Color.Black Me.cboComPort.FormattingEnabled = True - Me.cboComPort.Location = New System.Drawing.Point(109, 44) + Me.cboComPort.Location = New System.Drawing.Point(95, 35) Me.cboComPort.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2) Me.cboComPort.Name = "cboComPort" - Me.cboComPort.Size = New System.Drawing.Size(215, 42) + Me.cboComPort.Size = New System.Drawing.Size(189, 35) Me.cboComPort.TabIndex = 19 ' 'lbSerial ' Me.lbSerial.AutoSize = True Me.lbSerial.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbSerial.Location = New System.Drawing.Point(6, 48) + Me.lbSerial.Location = New System.Drawing.Point(5, 38) Me.lbSerial.Name = "lbSerial" - Me.lbSerial.Size = New System.Drawing.Size(119, 35) + Me.lbSerial.Size = New System.Drawing.Size(92, 27) Me.lbSerial.TabIndex = 17 Me.lbSerial.Text = "통신포트" ' 'cmdSerial ' Me.cmdSerial.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.cmdSerial.Location = New System.Drawing.Point(331, 40) - Me.cmdSerial.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.cmdSerial.Location = New System.Drawing.Point(290, 32) Me.cmdSerial.Name = "cmdSerial" - Me.cmdSerial.Size = New System.Drawing.Size(80, 50) + Me.cmdSerial.Size = New System.Drawing.Size(70, 40) Me.cmdSerial.TabIndex = 16 Me.cmdSerial.Text = "스캔" Me.cmdSerial.UseVisualStyleBackColor = True @@ -580,11 +572,9 @@ Partial Class MainForm Me.gbMode.Controls.Add(Me.rdbCSearch) Me.gbMode.Font = New System.Drawing.Font("함초롬바탕", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) Me.gbMode.ForeColor = System.Drawing.Color.Black - Me.gbMode.Location = New System.Drawing.Point(853, 6) - Me.gbMode.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbMode.Location = New System.Drawing.Point(746, 5) Me.gbMode.Name = "gbMode" - Me.gbMode.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbMode.Size = New System.Drawing.Size(518, 112) + Me.gbMode.Size = New System.Drawing.Size(453, 90) Me.gbMode.TabIndex = 115 Me.gbMode.TabStop = False Me.gbMode.Text = "입력설정" @@ -592,10 +582,9 @@ Partial Class MainForm 'rdbRecycle ' Me.rdbRecycle.AutoSize = True - Me.rdbRecycle.Location = New System.Drawing.Point(370, 69) - Me.rdbRecycle.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.rdbRecycle.Location = New System.Drawing.Point(324, 55) Me.rdbRecycle.Name = "rdbRecycle" - Me.rdbRecycle.Size = New System.Drawing.Size(123, 30) + Me.rdbRecycle.Size = New System.Drawing.Size(104, 25) Me.rdbRecycle.TabIndex = 5 Me.rdbRecycle.Text = "TD 재사용" Me.rdbRecycle.UseVisualStyleBackColor = True @@ -604,10 +593,9 @@ Partial Class MainForm ' Me.rdbCheck.AutoSize = True Me.rdbCheck.Enabled = False - Me.rdbCheck.Location = New System.Drawing.Point(26, 69) - Me.rdbCheck.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.rdbCheck.Location = New System.Drawing.Point(23, 55) Me.rdbCheck.Name = "rdbCheck" - Me.rdbCheck.Size = New System.Drawing.Size(109, 30) + Me.rdbCheck.Size = New System.Drawing.Size(92, 25) Me.rdbCheck.TabIndex = 4 Me.rdbCheck.Text = "제품확인" Me.rdbCheck.UseVisualStyleBackColor = True @@ -616,10 +604,9 @@ Partial Class MainForm ' Me.rdbManager.AutoSize = True Me.rdbManager.Enabled = False - Me.rdbManager.Location = New System.Drawing.Point(173, 69) - Me.rdbManager.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.rdbManager.Location = New System.Drawing.Point(151, 55) Me.rdbManager.Name = "rdbManager" - Me.rdbManager.Size = New System.Drawing.Size(178, 30) + Me.rdbManager.Size = New System.Drawing.Size(150, 25) Me.rdbManager.TabIndex = 2 Me.rdbManager.Text = "주파수입력(수동)" Me.rdbManager.UseVisualStyleBackColor = True @@ -627,10 +614,9 @@ Partial Class MainForm 'rdbPD1 ' Me.rdbPD1.AutoSize = True - Me.rdbPD1.Location = New System.Drawing.Point(173, 31) - Me.rdbPD1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.rdbPD1.Location = New System.Drawing.Point(151, 25) Me.rdbPD1.Name = "rdbPD1" - Me.rdbPD1.Size = New System.Drawing.Size(155, 30) + Me.rdbPD1.Size = New System.Drawing.Size(131, 25) Me.rdbPD1.TabIndex = 3 Me.rdbPD1.Text = "TD주파수입력" Me.rdbPD1.UseVisualStyleBackColor = True @@ -639,10 +625,9 @@ Partial Class MainForm ' Me.rdbPD2.AutoSize = True Me.rdbPD2.Enabled = False - Me.rdbPD2.Location = New System.Drawing.Point(370, 31) - Me.rdbPD2.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.rdbPD2.Location = New System.Drawing.Point(324, 25) Me.rdbPD2.Name = "rdbPD2" - Me.rdbPD2.Size = New System.Drawing.Size(109, 30) + Me.rdbPD2.Size = New System.Drawing.Size(92, 25) Me.rdbPD2.TabIndex = 1 Me.rdbPD2.Text = "제품입력" Me.rdbPD2.UseVisualStyleBackColor = True @@ -651,10 +636,9 @@ Partial Class MainForm ' Me.rdbCSearch.AutoSize = True Me.rdbCSearch.Checked = True - Me.rdbCSearch.Location = New System.Drawing.Point(26, 31) - Me.rdbCSearch.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.rdbCSearch.Location = New System.Drawing.Point(23, 25) Me.rdbCSearch.Name = "rdbCSearch" - Me.rdbCSearch.Size = New System.Drawing.Size(104, 30) + Me.rdbCSearch.Size = New System.Drawing.Size(87, 25) Me.rdbCSearch.TabIndex = 0 Me.rdbCSearch.TabStop = True Me.rdbCSearch.Text = "C값입력" @@ -665,10 +649,9 @@ Partial Class MainForm Me.btnOption.BackColor = System.Drawing.Color.Silver Me.btnOption.DialogResult = System.Windows.Forms.DialogResult.Cancel Me.btnOption.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.btnOption.Location = New System.Drawing.Point(1773, 6) - Me.btnOption.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnOption.Location = New System.Drawing.Point(1551, 5) Me.btnOption.Name = "btnOption" - Me.btnOption.Size = New System.Drawing.Size(208, 112) + Me.btnOption.Size = New System.Drawing.Size(182, 90) Me.btnOption.TabIndex = 64 Me.btnOption.Text = "설정" Me.btnOption.UseVisualStyleBackColor = False @@ -682,11 +665,9 @@ Partial Class MainForm Me.gpbConfig.Controls.Add(Me.chbUseBarcode) Me.gpbConfig.Font = New System.Drawing.Font("함초롬바탕", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) Me.gpbConfig.ForeColor = System.Drawing.Color.Black - Me.gpbConfig.Location = New System.Drawing.Point(1377, 6) - Me.gpbConfig.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gpbConfig.Location = New System.Drawing.Point(1205, 5) Me.gpbConfig.Name = "gpbConfig" - Me.gpbConfig.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gpbConfig.Size = New System.Drawing.Size(394, 112) + Me.gpbConfig.Size = New System.Drawing.Size(345, 90) Me.gpbConfig.TabIndex = 63 Me.gpbConfig.TabStop = False Me.gpbConfig.Text = "설정" @@ -697,10 +678,9 @@ Partial Class MainForm Me.ckbAutoFunc.Checked = True Me.ckbAutoFunc.CheckState = System.Windows.Forms.CheckState.Checked Me.ckbAutoFunc.Font = New System.Drawing.Font("함초롬바탕", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.ckbAutoFunc.Location = New System.Drawing.Point(229, 62) - Me.ckbAutoFunc.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.ckbAutoFunc.Location = New System.Drawing.Point(200, 50) Me.ckbAutoFunc.Name = "ckbAutoFunc" - Me.ckbAutoFunc.Size = New System.Drawing.Size(128, 36) + Me.ckbAutoFunc.Size = New System.Drawing.Size(101, 28) Me.ckbAutoFunc.TabIndex = 80 Me.ckbAutoFunc.Text = "자동삭제" Me.ckbAutoFunc.UseVisualStyleBackColor = True @@ -711,10 +691,9 @@ Partial Class MainForm Me.ckbPrintUse.Checked = True Me.ckbPrintUse.CheckState = System.Windows.Forms.CheckState.Checked Me.ckbPrintUse.Font = New System.Drawing.Font("함초롬바탕", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.ckbPrintUse.Location = New System.Drawing.Point(229, 25) - Me.ckbPrintUse.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.ckbPrintUse.Location = New System.Drawing.Point(200, 20) Me.ckbPrintUse.Name = "ckbPrintUse" - Me.ckbPrintUse.Size = New System.Drawing.Size(151, 36) + Me.ckbPrintUse.Size = New System.Drawing.Size(119, 28) Me.ckbPrintUse.TabIndex = 79 Me.ckbPrintUse.Text = "프린터사용" Me.ckbPrintUse.UseVisualStyleBackColor = True @@ -725,10 +704,9 @@ Partial Class MainForm Me.chbAutoMeasure.Checked = True Me.chbAutoMeasure.CheckState = System.Windows.Forms.CheckState.Checked Me.chbAutoMeasure.Font = New System.Drawing.Font("함초롬바탕", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.chbAutoMeasure.Location = New System.Drawing.Point(51, 62) - Me.chbAutoMeasure.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.chbAutoMeasure.Location = New System.Drawing.Point(45, 50) Me.chbAutoMeasure.Name = "chbAutoMeasure" - Me.chbAutoMeasure.Size = New System.Drawing.Size(128, 36) + Me.chbAutoMeasure.Size = New System.Drawing.Size(101, 28) Me.chbAutoMeasure.TabIndex = 78 Me.chbAutoMeasure.Text = "자동측정" Me.chbAutoMeasure.UseVisualStyleBackColor = True @@ -739,10 +717,9 @@ Partial Class MainForm Me.chbUseBarcode.Checked = True Me.chbUseBarcode.CheckState = System.Windows.Forms.CheckState.Checked Me.chbUseBarcode.Font = New System.Drawing.Font("함초롬바탕", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.chbUseBarcode.Location = New System.Drawing.Point(51, 25) - Me.chbUseBarcode.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.chbUseBarcode.Location = New System.Drawing.Point(45, 20) Me.chbUseBarcode.Name = "chbUseBarcode" - Me.chbUseBarcode.Size = New System.Drawing.Size(151, 36) + Me.chbUseBarcode.Size = New System.Drawing.Size(119, 28) Me.chbUseBarcode.TabIndex = 77 Me.chbUseBarcode.Text = "바코드사용" Me.chbUseBarcode.UseVisualStyleBackColor = True @@ -752,10 +729,9 @@ Partial Class MainForm Me.btnExit.BackColor = System.Drawing.Color.Silver Me.btnExit.DialogResult = System.Windows.Forms.DialogResult.Cancel Me.btnExit.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.btnExit.Location = New System.Drawing.Point(1983, 6) - Me.btnExit.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnExit.Location = New System.Drawing.Point(1735, 5) Me.btnExit.Name = "btnExit" - Me.btnExit.Size = New System.Drawing.Size(208, 112) + Me.btnExit.Size = New System.Drawing.Size(182, 90) Me.btnExit.TabIndex = 62 Me.btnExit.Text = "종료" Me.btnExit.UseVisualStyleBackColor = False @@ -770,10 +746,9 @@ Partial Class MainForm Me.pnMaxInput.Controls.Add(Me.btnTrayEnd) Me.pnMaxInput.Controls.Add(Me.btnReset) Me.pnMaxInput.Controls.Add(Me.gbInputTD) - Me.pnMaxInput.Location = New System.Drawing.Point(6, 356) - Me.pnMaxInput.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnMaxInput.Location = New System.Drawing.Point(5, 285) Me.pnMaxInput.Name = "pnMaxInput" - Me.pnMaxInput.Size = New System.Drawing.Size(2183, 912) + Me.pnMaxInput.Size = New System.Drawing.Size(1910, 730) Me.pnMaxInput.TabIndex = 128 ' 'GroupBox3 @@ -787,11 +762,9 @@ Partial Class MainForm Me.GroupBox3.Controls.Add(Me.cmbYear) Me.GroupBox3.Controls.Add(Me.Label1) Me.GroupBox3.Font = New System.Drawing.Font("함초롬바탕", 20.0!, System.Drawing.FontStyle.Bold) - Me.GroupBox3.Location = New System.Drawing.Point(477, 639) - Me.GroupBox3.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.GroupBox3.Location = New System.Drawing.Point(417, 511) Me.GroupBox3.Name = "GroupBox3" - Me.GroupBox3.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.GroupBox3.Size = New System.Drawing.Size(437, 270) + Me.GroupBox3.Size = New System.Drawing.Size(382, 216) Me.GroupBox3.TabIndex = 129 Me.GroupBox3.TabStop = False Me.GroupBox3.Text = "제조일자 입력" @@ -800,10 +773,9 @@ Partial Class MainForm ' Me.txtManufactureDate.Font = New System.Drawing.Font("함초롬바탕", 24.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) Me.txtManufactureDate.ForeColor = System.Drawing.Color.Black - Me.txtManufactureDate.Location = New System.Drawing.Point(13, 198) - Me.txtManufactureDate.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txtManufactureDate.Location = New System.Drawing.Point(11, 158) Me.txtManufactureDate.Name = "txtManufactureDate" - Me.txtManufactureDate.Size = New System.Drawing.Size(410, 59) + Me.txtManufactureDate.Size = New System.Drawing.Size(359, 49) Me.txtManufactureDate.TabIndex = 6 Me.txtManufactureDate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' @@ -811,9 +783,9 @@ Partial Class MainForm ' Me.Label4.AutoSize = True Me.Label4.Font = New System.Drawing.Font("함초롬바탕", 19.0!, System.Drawing.FontStyle.Bold) - Me.Label4.Location = New System.Drawing.Point(9, 153) + Me.Label4.Location = New System.Drawing.Point(8, 122) Me.Label4.Name = "Label4" - Me.Label4.Size = New System.Drawing.Size(183, 41) + Me.Label4.Size = New System.Drawing.Size(148, 34) Me.Label4.TabIndex = 6 Me.Label4.Text = "선택된 날짜" ' @@ -821,9 +793,9 @@ Partial Class MainForm ' Me.Label3.AutoSize = True Me.Label3.Font = New System.Drawing.Font("함초롬바탕", 10.0!, System.Drawing.FontStyle.Bold) - Me.Label3.Location = New System.Drawing.Point(400, 98) + Me.Label3.Location = New System.Drawing.Point(350, 78) Me.Label3.Name = "Label3" - Me.Label3.Size = New System.Drawing.Size(26, 22) + Me.Label3.Size = New System.Drawing.Size(22, 18) Me.Label3.TabIndex = 9 Me.Label3.Text = "일" ' @@ -831,43 +803,46 @@ Partial Class MainForm ' Me.Label2.AutoSize = True Me.Label2.Font = New System.Drawing.Font("함초롬바탕", 10.0!, System.Drawing.FontStyle.Bold) - Me.Label2.Location = New System.Drawing.Point(274, 98) + Me.Label2.Location = New System.Drawing.Point(240, 78) Me.Label2.Name = "Label2" - Me.Label2.Size = New System.Drawing.Size(26, 22) + Me.Label2.Size = New System.Drawing.Size(22, 18) Me.Label2.TabIndex = 8 Me.Label2.Text = "월" ' 'cmbMonth ' Me.cmbMonth.FormattingEnabled = True - Me.cmbMonth.Location = New System.Drawing.Point(175, 74) + Me.cmbMonth.Location = New System.Drawing.Point(153, 59) + Me.cmbMonth.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2) Me.cmbMonth.Name = "cmbMonth" - Me.cmbMonth.Size = New System.Drawing.Size(93, 51) + Me.cmbMonth.Size = New System.Drawing.Size(82, 43) Me.cmbMonth.TabIndex = 7 ' 'cmbDay ' Me.cmbDay.FormattingEnabled = True - Me.cmbDay.Location = New System.Drawing.Point(303, 74) + Me.cmbDay.Location = New System.Drawing.Point(265, 59) + Me.cmbDay.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2) Me.cmbDay.Name = "cmbDay" - Me.cmbDay.Size = New System.Drawing.Size(89, 51) + Me.cmbDay.Size = New System.Drawing.Size(78, 43) Me.cmbDay.TabIndex = 6 ' 'cmbYear ' Me.cmbYear.FormattingEnabled = True - Me.cmbYear.Location = New System.Drawing.Point(16, 75) + Me.cmbYear.Location = New System.Drawing.Point(14, 60) + Me.cmbYear.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2) Me.cmbYear.Name = "cmbYear" - Me.cmbYear.Size = New System.Drawing.Size(121, 51) + Me.cmbYear.Size = New System.Drawing.Size(106, 43) Me.cmbYear.TabIndex = 5 ' 'Label1 ' Me.Label1.AutoSize = True Me.Label1.Font = New System.Drawing.Font("함초롬바탕", 10.0!, System.Drawing.FontStyle.Bold) - Me.Label1.Location = New System.Drawing.Point(143, 98) + Me.Label1.Location = New System.Drawing.Point(125, 78) Me.Label1.Name = "Label1" - Me.Label1.Size = New System.Drawing.Size(26, 22) + Me.Label1.Size = New System.Drawing.Size(22, 18) Me.Label1.TabIndex = 4 Me.Label1.Text = "년" ' @@ -876,11 +851,9 @@ Partial Class MainForm Me.gbChoice.Controls.Add(Me.gbNowTray) Me.gbChoice.Controls.Add(Me.pnNowNum) Me.gbChoice.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.gbChoice.Location = New System.Drawing.Point(921, 646) - Me.gbChoice.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbChoice.Location = New System.Drawing.Point(806, 517) Me.gbChoice.Name = "gbChoice" - Me.gbChoice.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbChoice.Size = New System.Drawing.Size(565, 140) + Me.gbChoice.Size = New System.Drawing.Size(494, 112) Me.gbChoice.TabIndex = 131 Me.gbChoice.TabStop = False Me.gbChoice.Text = "측정번호 확인" @@ -890,11 +863,9 @@ Partial Class MainForm Me.gbNowTray.Controls.Add(Me.txbTrayMax) Me.gbNowTray.Controls.Add(Me.lbTrayNow) Me.gbNowTray.Controls.Add(Me.txbTrayMin) - Me.gbNowTray.Location = New System.Drawing.Point(264, 19) - Me.gbNowTray.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbNowTray.Location = New System.Drawing.Point(231, 15) Me.gbNowTray.Name = "gbNowTray" - Me.gbNowTray.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbNowTray.Size = New System.Drawing.Size(294, 106) + Me.gbNowTray.Size = New System.Drawing.Size(257, 85) Me.gbNowTray.TabIndex = 1 Me.gbNowTray.TabStop = False Me.gbNowTray.Text = "Tray번호" @@ -903,11 +874,10 @@ Partial Class MainForm ' Me.txbTrayMax.BackColor = System.Drawing.SystemColors.Window Me.txbTrayMax.ForeColor = System.Drawing.Color.Black - Me.txbTrayMax.Location = New System.Drawing.Point(170, 46) - Me.txbTrayMax.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbTrayMax.Location = New System.Drawing.Point(149, 37) Me.txbTrayMax.Name = "txbTrayMax" Me.txbTrayMax.ReadOnly = True - Me.txbTrayMax.Size = New System.Drawing.Size(98, 42) + Me.txbTrayMax.Size = New System.Drawing.Size(86, 35) Me.txbTrayMax.TabIndex = 2 Me.txbTrayMax.Text = "0" Me.txbTrayMax.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -915,9 +885,9 @@ Partial Class MainForm 'lbTrayNow ' Me.lbTrayNow.AutoSize = True - Me.lbTrayNow.Location = New System.Drawing.Point(127, 52) + Me.lbTrayNow.Location = New System.Drawing.Point(111, 42) Me.lbTrayNow.Name = "lbTrayNow" - Me.lbTrayNow.Size = New System.Drawing.Size(41, 35) + Me.lbTrayNow.Size = New System.Drawing.Size(32, 27) Me.lbTrayNow.TabIndex = 1 Me.lbTrayNow.Text = "→" ' @@ -925,11 +895,10 @@ Partial Class MainForm ' Me.txbTrayMin.BackColor = System.Drawing.SystemColors.Window Me.txbTrayMin.ForeColor = System.Drawing.Color.Black - Me.txbTrayMin.Location = New System.Drawing.Point(22, 46) - Me.txbTrayMin.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbTrayMin.Location = New System.Drawing.Point(19, 37) Me.txbTrayMin.Name = "txbTrayMin" Me.txbTrayMin.ReadOnly = True - Me.txbTrayMin.Size = New System.Drawing.Size(98, 42) + Me.txbTrayMin.Size = New System.Drawing.Size(86, 35) Me.txbTrayMin.TabIndex = 0 Me.txbTrayMin.Text = "0" Me.txbTrayMin.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -939,20 +908,18 @@ Partial Class MainForm Me.pnNowNum.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D Me.pnNowNum.Controls.Add(Me.txbNowNum) Me.pnNowNum.Controls.Add(Me.lbNowNum) - Me.pnNowNum.Location = New System.Drawing.Point(7, 38) - Me.pnNowNum.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnNowNum.Location = New System.Drawing.Point(6, 30) Me.pnNowNum.Name = "pnNowNum" - Me.pnNowNum.Size = New System.Drawing.Size(251, 86) + Me.pnNowNum.Size = New System.Drawing.Size(220, 70) Me.pnNowNum.TabIndex = 0 ' 'txbNowNum ' Me.txbNowNum.BackColor = System.Drawing.SystemColors.Window - Me.txbNowNum.Location = New System.Drawing.Point(118, 25) - Me.txbNowNum.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbNowNum.Location = New System.Drawing.Point(103, 20) Me.txbNowNum.Name = "txbNowNum" Me.txbNowNum.ReadOnly = True - Me.txbNowNum.Size = New System.Drawing.Size(123, 42) + Me.txbNowNum.Size = New System.Drawing.Size(108, 35) Me.txbNowNum.TabIndex = 1 Me.txbNowNum.Text = "0" Me.txbNowNum.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -960,9 +927,9 @@ Partial Class MainForm 'lbNowNum ' Me.lbNowNum.AutoSize = True - Me.lbNowNum.Location = New System.Drawing.Point(6, 31) + Me.lbNowNum.Location = New System.Drawing.Point(5, 25) Me.lbNowNum.Name = "lbNowNum" - Me.lbNowNum.Size = New System.Drawing.Size(119, 35) + Me.lbNowNum.Size = New System.Drawing.Size(92, 27) Me.lbNowNum.TabIndex = 0 Me.lbNowNum.Text = "현재번호" ' @@ -970,12 +937,11 @@ Partial Class MainForm ' Me.dgvNowReg.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize Me.dgvNowReg.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.dfCode, Me.dfDate, Me.dfTime}) - Me.dgvNowReg.Location = New System.Drawing.Point(921, 794) - Me.dgvNowReg.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.dgvNowReg.Location = New System.Drawing.Point(806, 635) Me.dgvNowReg.Name = "dgvNowReg" Me.dgvNowReg.RowHeadersWidth = 51 Me.dgvNowReg.RowTemplate.Height = 23 - Me.dgvNowReg.Size = New System.Drawing.Size(565, 106) + Me.dgvNowReg.Size = New System.Drawing.Size(494, 85) Me.dgvNowReg.TabIndex = 130 ' 'dfCode @@ -1010,11 +976,9 @@ Partial Class MainForm Me.gbInputPD.Controls.Add(Me.pnPDModel) Me.gbInputPD.Controls.Add(Me.pnPDNum) Me.gbInputPD.Font = New System.Drawing.Font("함초롬바탕", 20.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.gbInputPD.Location = New System.Drawing.Point(1103, 6) - Me.gbInputPD.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbInputPD.Location = New System.Drawing.Point(965, 5) Me.gbInputPD.Name = "gbInputPD" - Me.gbInputPD.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbInputPD.Size = New System.Drawing.Size(1069, 625) + Me.gbInputPD.Size = New System.Drawing.Size(935, 500) Me.gbInputPD.TabIndex = 129 Me.gbInputPD.TabStop = False Me.gbInputPD.Text = "Product Data" @@ -1023,10 +987,9 @@ Partial Class MainForm ' Me.pnPDInfo.Controls.Add(Me.cboPDInfo) Me.pnPDInfo.Controls.Add(Me.lbPDInfo) - Me.pnPDInfo.Location = New System.Drawing.Point(6, 506) - Me.pnPDInfo.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPDInfo.Location = New System.Drawing.Point(5, 405) Me.pnPDInfo.Name = "pnPDInfo" - Me.pnPDInfo.Size = New System.Drawing.Size(1051, 88) + Me.pnPDInfo.Size = New System.Drawing.Size(920, 70) Me.pnPDInfo.TabIndex = 7 ' 'cboPDInfo @@ -1034,18 +997,17 @@ Partial Class MainForm Me.cboPDInfo.BackColor = System.Drawing.Color.Yellow Me.cboPDInfo.Font = New System.Drawing.Font("함초롬바탕", 26.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) Me.cboPDInfo.FormattingEnabled = True - Me.cboPDInfo.Location = New System.Drawing.Point(171, 12) - Me.cboPDInfo.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.cboPDInfo.Location = New System.Drawing.Point(150, 10) Me.cboPDInfo.Name = "cboPDInfo" - Me.cboPDInfo.Size = New System.Drawing.Size(857, 65) + Me.cboPDInfo.Size = New System.Drawing.Size(750, 53) Me.cboPDInfo.TabIndex = 1 ' 'lbPDInfo ' Me.lbPDInfo.AutoSize = True - Me.lbPDInfo.Location = New System.Drawing.Point(24, 19) + Me.lbPDInfo.Location = New System.Drawing.Point(21, 15) Me.lbPDInfo.Name = "lbPDInfo" - Me.lbPDInfo.Size = New System.Drawing.Size(151, 44) + Me.lbPDInfo.Size = New System.Drawing.Size(119, 35) Me.lbPDInfo.TabIndex = 0 Me.lbPDInfo.Text = "등록정보" ' @@ -1053,21 +1015,19 @@ Partial Class MainForm ' Me.pnPDColor.Controls.Add(Me.txbPDColor) Me.pnPDColor.Controls.Add(Me.lbPDColor) - Me.pnPDColor.Location = New System.Drawing.Point(531, 406) - Me.pnPDColor.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPDColor.Location = New System.Drawing.Point(465, 325) Me.pnPDColor.Name = "pnPDColor" - Me.pnPDColor.Size = New System.Drawing.Size(526, 88) + Me.pnPDColor.Size = New System.Drawing.Size(460, 70) Me.pnPDColor.TabIndex = 6 ' 'txbPDColor ' Me.txbPDColor.BackColor = System.Drawing.SystemColors.Window Me.txbPDColor.Font = New System.Drawing.Font("함초롬바탕", 26.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbPDColor.Location = New System.Drawing.Point(171, 12) - Me.txbPDColor.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPDColor.Location = New System.Drawing.Point(150, 10) Me.txbPDColor.Name = "txbPDColor" Me.txbPDColor.ReadOnly = True - Me.txbPDColor.Size = New System.Drawing.Size(331, 64) + Me.txbPDColor.Size = New System.Drawing.Size(290, 53) Me.txbPDColor.TabIndex = 3 Me.txbPDColor.Text = "2024-10-25" Me.txbPDColor.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1075,9 +1035,9 @@ Partial Class MainForm 'lbPDColor ' Me.lbPDColor.AutoSize = True - Me.lbPDColor.Location = New System.Drawing.Point(54, 19) + Me.lbPDColor.Location = New System.Drawing.Point(47, 15) Me.lbPDColor.Name = "lbPDColor" - Me.lbPDColor.Size = New System.Drawing.Size(118, 44) + Me.lbPDColor.Size = New System.Drawing.Size(93, 35) Me.lbPDColor.TabIndex = 1 Me.lbPDColor.Text = "색상명" ' @@ -1085,19 +1045,17 @@ Partial Class MainForm ' Me.pnPDCP.Controls.Add(Me.txbPDCP) Me.pnPDCP.Controls.Add(Me.lbPDCP) - Me.pnPDCP.Location = New System.Drawing.Point(6, 406) - Me.pnPDCP.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPDCP.Location = New System.Drawing.Point(5, 325) Me.pnPDCP.Name = "pnPDCP" - Me.pnPDCP.Size = New System.Drawing.Size(526, 88) + Me.pnPDCP.Size = New System.Drawing.Size(460, 70) Me.pnPDCP.TabIndex = 5 ' 'txbPDCP ' Me.txbPDCP.Font = New System.Drawing.Font("함초롬바탕", 26.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbPDCP.Location = New System.Drawing.Point(171, 12) - Me.txbPDCP.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPDCP.Location = New System.Drawing.Point(150, 10) Me.txbPDCP.Name = "txbPDCP" - Me.txbPDCP.Size = New System.Drawing.Size(331, 64) + Me.txbPDCP.Size = New System.Drawing.Size(290, 53) Me.txbPDCP.TabIndex = 2 Me.txbPDCP.Text = "2024-02-10" Me.txbPDCP.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1105,9 +1063,9 @@ Partial Class MainForm 'lbPDCP ' Me.lbPDCP.AutoSize = True - Me.lbPDCP.Location = New System.Drawing.Point(24, 19) + Me.lbPDCP.Location = New System.Drawing.Point(21, 15) Me.lbPDCP.Name = "lbPDCP" - Me.lbPDCP.Size = New System.Drawing.Size(151, 44) + Me.lbPDCP.Size = New System.Drawing.Size(119, 35) Me.lbPDCP.TabIndex = 0 Me.lbPDCP.Text = "제조사명" ' @@ -1115,19 +1073,17 @@ Partial Class MainForm ' Me.pnPDAgency.Controls.Add(Me.txbPDAgency) Me.pnPDAgency.Controls.Add(Me.lbPDAgency) - Me.pnPDAgency.Location = New System.Drawing.Point(531, 306) - Me.pnPDAgency.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPDAgency.Location = New System.Drawing.Point(465, 245) Me.pnPDAgency.Name = "pnPDAgency" - Me.pnPDAgency.Size = New System.Drawing.Size(526, 88) + Me.pnPDAgency.Size = New System.Drawing.Size(460, 70) Me.pnPDAgency.TabIndex = 4 ' 'txbPDAgency ' Me.txbPDAgency.Font = New System.Drawing.Font("함초롬바탕", 26.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbPDAgency.Location = New System.Drawing.Point(171, 12) - Me.txbPDAgency.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPDAgency.Location = New System.Drawing.Point(150, 10) Me.txbPDAgency.Name = "txbPDAgency" - Me.txbPDAgency.Size = New System.Drawing.Size(331, 64) + Me.txbPDAgency.Size = New System.Drawing.Size(290, 53) Me.txbPDAgency.TabIndex = 2 Me.txbPDAgency.Text = "302412002445" Me.txbPDAgency.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1135,9 +1091,9 @@ Partial Class MainForm 'lbPDAgency ' Me.lbPDAgency.AutoSize = True - Me.lbPDAgency.Location = New System.Drawing.Point(-6, 19) + Me.lbPDAgency.Location = New System.Drawing.Point(-5, 15) Me.lbPDAgency.Name = "lbPDAgency" - Me.lbPDAgency.Size = New System.Drawing.Size(184, 44) + Me.lbPDAgency.Size = New System.Drawing.Size(145, 35) Me.lbPDAgency.TabIndex = 1 Me.lbPDAgency.Text = "대리점코드" ' @@ -1145,21 +1101,19 @@ Partial Class MainForm ' Me.pnPDCC.Controls.Add(Me.txbPDCC) Me.pnPDCC.Controls.Add(Me.lbPDCC) - Me.pnPDCC.Location = New System.Drawing.Point(6, 306) - Me.pnPDCC.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPDCC.Location = New System.Drawing.Point(5, 245) Me.pnPDCC.Name = "pnPDCC" - Me.pnPDCC.Size = New System.Drawing.Size(526, 88) + Me.pnPDCC.Size = New System.Drawing.Size(460, 70) Me.pnPDCC.TabIndex = 3 ' 'txbPDCC ' Me.txbPDCC.BackColor = System.Drawing.SystemColors.Window Me.txbPDCC.Font = New System.Drawing.Font("함초롬바탕", 26.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbPDCC.Location = New System.Drawing.Point(171, 12) - Me.txbPDCC.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPDCC.Location = New System.Drawing.Point(150, 10) Me.txbPDCC.Name = "txbPDCC" Me.txbPDCC.ReadOnly = True - Me.txbPDCC.Size = New System.Drawing.Size(331, 64) + Me.txbPDCC.Size = New System.Drawing.Size(290, 53) Me.txbPDCC.TabIndex = 2 Me.txbPDCC.Text = "-0.06" Me.txbPDCC.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1167,9 +1121,9 @@ Partial Class MainForm 'lbPDCC ' Me.lbPDCC.AutoSize = True - Me.lbPDCC.Location = New System.Drawing.Point(24, 19) + Me.lbPDCC.Location = New System.Drawing.Point(21, 15) Me.lbPDCC.Name = "lbPDCC" - Me.lbPDCC.Size = New System.Drawing.Size(151, 44) + Me.lbPDCC.Size = New System.Drawing.Size(119, 35) Me.lbPDCC.TabIndex = 0 Me.lbPDCC.Text = "국가코드" ' @@ -1177,21 +1131,19 @@ Partial Class MainForm ' Me.pnPDType.Controls.Add(Me.txbPDType) Me.pnPDType.Controls.Add(Me.lbPDType) - Me.pnPDType.Location = New System.Drawing.Point(531, 206) - Me.pnPDType.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPDType.Location = New System.Drawing.Point(465, 165) Me.pnPDType.Name = "pnPDType" - Me.pnPDType.Size = New System.Drawing.Size(526, 88) + Me.pnPDType.Size = New System.Drawing.Size(460, 70) Me.pnPDType.TabIndex = 2 ' 'txbPDType ' Me.txbPDType.BackColor = System.Drawing.SystemColors.Window Me.txbPDType.Font = New System.Drawing.Font("함초롬바탕", 26.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbPDType.Location = New System.Drawing.Point(171, 12) - Me.txbPDType.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPDType.Location = New System.Drawing.Point(150, 10) Me.txbPDType.Name = "txbPDType" Me.txbPDType.ReadOnly = True - Me.txbPDType.Size = New System.Drawing.Size(331, 64) + Me.txbPDType.Size = New System.Drawing.Size(290, 53) Me.txbPDType.TabIndex = 3 Me.txbPDType.Text = "PRO" Me.txbPDType.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1199,9 +1151,9 @@ Partial Class MainForm 'lbPDType ' Me.lbPDType.AutoSize = True - Me.lbPDType.Location = New System.Drawing.Point(83, 19) + Me.lbPDType.Location = New System.Drawing.Point(73, 15) Me.lbPDType.Name = "lbPDType" - Me.lbPDType.Size = New System.Drawing.Size(85, 44) + Me.lbPDType.Size = New System.Drawing.Size(67, 35) Me.lbPDType.TabIndex = 2 Me.lbPDType.Text = "타입" ' @@ -1209,10 +1161,9 @@ Partial Class MainForm ' Me.pnPDModel.Controls.Add(Me.txbPDModel) Me.pnPDModel.Controls.Add(Me.lbPDModel) - Me.pnPDModel.Location = New System.Drawing.Point(6, 206) - Me.pnPDModel.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPDModel.Location = New System.Drawing.Point(5, 165) Me.pnPDModel.Name = "pnPDModel" - Me.pnPDModel.Size = New System.Drawing.Size(526, 88) + Me.pnPDModel.Size = New System.Drawing.Size(460, 70) Me.pnPDModel.TabIndex = 1 ' 'txbPDModel @@ -1220,11 +1171,10 @@ Partial Class MainForm Me.txbPDModel.BackColor = System.Drawing.SystemColors.Window Me.txbPDModel.Font = New System.Drawing.Font("함초롬바탕", 26.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) Me.txbPDModel.ForeColor = System.Drawing.SystemColors.WindowText - Me.txbPDModel.Location = New System.Drawing.Point(171, 12) - Me.txbPDModel.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPDModel.Location = New System.Drawing.Point(150, 10) Me.txbPDModel.Name = "txbPDModel" Me.txbPDModel.ReadOnly = True - Me.txbPDModel.Size = New System.Drawing.Size(331, 64) + Me.txbPDModel.Size = New System.Drawing.Size(290, 53) Me.txbPDModel.TabIndex = 1 Me.txbPDModel.Text = "7080" Me.txbPDModel.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1233,9 +1183,9 @@ Partial Class MainForm ' Me.lbPDModel.AutoSize = True Me.lbPDModel.Font = New System.Drawing.Font("함초롬바탕", 21.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbPDModel.Location = New System.Drawing.Point(77, 19) + Me.lbPDModel.Location = New System.Drawing.Point(67, 15) Me.lbPDModel.Name = "lbPDModel" - Me.lbPDModel.Size = New System.Drawing.Size(94, 49) + Me.lbPDModel.Size = New System.Drawing.Size(73, 38) Me.lbPDModel.TabIndex = 0 Me.lbPDModel.Text = "모델" ' @@ -1244,21 +1194,19 @@ Partial Class MainForm Me.pnPDNum.BackColor = System.Drawing.SystemColors.Info Me.pnPDNum.Controls.Add(Me.txbPDNum) Me.pnPDNum.Controls.Add(Me.lbPDNum) - Me.pnPDNum.Location = New System.Drawing.Point(6, 56) - Me.pnPDNum.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPDNum.Location = New System.Drawing.Point(5, 45) Me.pnPDNum.Name = "pnPDNum" - Me.pnPDNum.Size = New System.Drawing.Size(1051, 138) + Me.pnPDNum.Size = New System.Drawing.Size(920, 110) Me.pnPDNum.TabIndex = 0 ' 'txbPDNum ' Me.txbPDNum.BackColor = System.Drawing.SystemColors.Window Me.txbPDNum.Font = New System.Drawing.Font("함초롬바탕", 48.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbPDNum.Location = New System.Drawing.Point(299, 12) - Me.txbPDNum.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPDNum.Location = New System.Drawing.Point(262, 10) Me.txbPDNum.Name = "txbPDNum" Me.txbPDNum.ReadOnly = True - Me.txbPDNum.Size = New System.Drawing.Size(729, 111) + Me.txbPDNum.Size = New System.Drawing.Size(638, 91) Me.txbPDNum.TabIndex = 1 Me.txbPDNum.Text = "DITI123456" Me.txbPDNum.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1267,9 +1215,9 @@ Partial Class MainForm ' Me.lbPDNum.AutoSize = True Me.lbPDNum.Font = New System.Drawing.Font("함초롬바탕", 39.74999!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbPDNum.Location = New System.Drawing.Point(18, 26) + Me.lbPDNum.Location = New System.Drawing.Point(16, 21) Me.lbPDNum.Name = "lbPDNum" - Me.lbPDNum.Size = New System.Drawing.Size(317, 87) + Me.lbPDNum.Size = New System.Drawing.Size(250, 69) Me.lbPDNum.TabIndex = 0 Me.lbPDNum.Text = "제품 번호" ' @@ -1282,11 +1230,9 @@ Partial Class MainForm Me.gbPDCount.Controls.Add(Me.txbAllCount) Me.gbPDCount.Controls.Add(Me.lbAllCount) Me.gbPDCount.Font = New System.Drawing.Font("함초롬바탕", 24.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.gbPDCount.Location = New System.Drawing.Point(11, 638) - Me.gbPDCount.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbPDCount.Location = New System.Drawing.Point(10, 510) Me.gbPDCount.Name = "gbPDCount" - Me.gbPDCount.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbPDCount.Size = New System.Drawing.Size(461, 270) + Me.gbPDCount.Size = New System.Drawing.Size(403, 216) Me.gbPDCount.TabIndex = 128 Me.gbPDCount.TabStop = False Me.gbPDCount.Text = "금일수량" @@ -1295,10 +1241,9 @@ Partial Class MainForm ' Me.txbFailCount.Font = New System.Drawing.Font("함초롬바탕", 24.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) Me.txbFailCount.ForeColor = System.Drawing.Color.Red - Me.txbFailCount.Location = New System.Drawing.Point(203, 200) - Me.txbFailCount.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbFailCount.Location = New System.Drawing.Point(178, 160) Me.txbFailCount.Name = "txbFailCount" - Me.txbFailCount.Size = New System.Drawing.Size(205, 59) + Me.txbFailCount.Size = New System.Drawing.Size(180, 49) Me.txbFailCount.TabIndex = 5 Me.txbFailCount.Text = "0" Me.txbFailCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1307,9 +1252,9 @@ Partial Class MainForm ' Me.lbFailCount.AutoSize = True Me.lbFailCount.Font = New System.Drawing.Font("함초롬바탕", 21.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbFailCount.Location = New System.Drawing.Point(21, 200) + Me.lbFailCount.Location = New System.Drawing.Point(18, 160) Me.lbFailCount.Name = "lbFailCount" - Me.lbFailCount.Size = New System.Drawing.Size(166, 49) + Me.lbFailCount.Size = New System.Drawing.Size(129, 38) Me.lbFailCount.TabIndex = 4 Me.lbFailCount.Text = "불량수량" ' @@ -1317,10 +1262,9 @@ Partial Class MainForm ' Me.txbSucCount.Font = New System.Drawing.Font("함초롬바탕", 24.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) Me.txbSucCount.ForeColor = System.Drawing.Color.Blue - Me.txbSucCount.Location = New System.Drawing.Point(203, 126) - Me.txbSucCount.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbSucCount.Location = New System.Drawing.Point(178, 101) Me.txbSucCount.Name = "txbSucCount" - Me.txbSucCount.Size = New System.Drawing.Size(205, 59) + Me.txbSucCount.Size = New System.Drawing.Size(180, 49) Me.txbSucCount.TabIndex = 3 Me.txbSucCount.Text = "0" Me.txbSucCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1329,9 +1273,9 @@ Partial Class MainForm ' Me.lbSucCount.AutoSize = True Me.lbSucCount.Font = New System.Drawing.Font("함초롬바탕", 21.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbSucCount.Location = New System.Drawing.Point(21, 133) + Me.lbSucCount.Location = New System.Drawing.Point(18, 106) Me.lbSucCount.Name = "lbSucCount" - Me.lbSucCount.Size = New System.Drawing.Size(166, 49) + Me.lbSucCount.Size = New System.Drawing.Size(129, 38) Me.lbSucCount.TabIndex = 2 Me.lbSucCount.Text = "양품수량" ' @@ -1339,11 +1283,10 @@ Partial Class MainForm ' Me.txbAllCount.BackColor = System.Drawing.SystemColors.Window Me.txbAllCount.Font = New System.Drawing.Font("함초롬바탕", 27.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbAllCount.Location = New System.Drawing.Point(203, 43) - Me.txbAllCount.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbAllCount.Location = New System.Drawing.Point(178, 34) Me.txbAllCount.Name = "txbAllCount" Me.txbAllCount.ReadOnly = True - Me.txbAllCount.Size = New System.Drawing.Size(205, 68) + Me.txbAllCount.Size = New System.Drawing.Size(180, 56) Me.txbAllCount.TabIndex = 1 Me.txbAllCount.Text = "100" Me.txbAllCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1352,19 +1295,18 @@ Partial Class MainForm ' Me.lbAllCount.AutoSize = True Me.lbAllCount.Font = New System.Drawing.Font("함초롬바탕", 26.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbAllCount.Location = New System.Drawing.Point(7, 51) + Me.lbAllCount.Location = New System.Drawing.Point(6, 41) Me.lbAllCount.Name = "lbAllCount" - Me.lbAllCount.Size = New System.Drawing.Size(197, 57) + Me.lbAllCount.Size = New System.Drawing.Size(156, 45) Me.lbAllCount.TabIndex = 0 Me.lbAllCount.Text = "금일수량" ' 'btnTrayEnd ' Me.btnTrayEnd.Font = New System.Drawing.Font("함초롬바탕", 24.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.btnTrayEnd.Location = New System.Drawing.Point(1829, 662) - Me.btnTrayEnd.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnTrayEnd.Location = New System.Drawing.Point(1600, 530) Me.btnTrayEnd.Name = "btnTrayEnd" - Me.btnTrayEnd.Size = New System.Drawing.Size(331, 238) + Me.btnTrayEnd.Size = New System.Drawing.Size(290, 190) Me.btnTrayEnd.TabIndex = 127 Me.btnTrayEnd.Text = "Tray 마감" Me.btnTrayEnd.UseVisualStyleBackColor = True @@ -1372,10 +1314,9 @@ Partial Class MainForm 'btnReset ' Me.btnReset.Font = New System.Drawing.Font("함초롬바탕", 24.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.btnReset.Location = New System.Drawing.Point(1497, 662) - Me.btnReset.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnReset.Location = New System.Drawing.Point(1310, 530) Me.btnReset.Name = "btnReset" - Me.btnReset.Size = New System.Drawing.Size(331, 238) + Me.btnReset.Size = New System.Drawing.Size(290, 190) Me.btnReset.TabIndex = 126 Me.btnReset.Text = "초기화" Me.btnReset.UseVisualStyleBackColor = True @@ -1391,11 +1332,9 @@ Partial Class MainForm Me.gbInputTD.Controls.Add(Me.pnTDFreq) Me.gbInputTD.Controls.Add(Me.pnTDNum) Me.gbInputTD.Font = New System.Drawing.Font("함초롬바탕", 20.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.gbInputTD.Location = New System.Drawing.Point(11, 6) - Me.gbInputTD.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbInputTD.Location = New System.Drawing.Point(10, 5) Me.gbInputTD.Name = "gbInputTD" - Me.gbInputTD.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbInputTD.Size = New System.Drawing.Size(1069, 625) + Me.gbInputTD.Size = New System.Drawing.Size(935, 500) Me.gbInputTD.TabIndex = 122 Me.gbInputTD.TabStop = False Me.gbInputTD.Text = "Transducer Data" @@ -1404,21 +1343,19 @@ Partial Class MainForm ' Me.pnTDStep.Controls.Add(Me.txbTDStep) Me.pnTDStep.Controls.Add(Me.lbTDStep) - Me.pnTDStep.Location = New System.Drawing.Point(6, 506) - Me.pnTDStep.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnTDStep.Location = New System.Drawing.Point(5, 405) Me.pnTDStep.Name = "pnTDStep" - Me.pnTDStep.Size = New System.Drawing.Size(1051, 88) + Me.pnTDStep.Size = New System.Drawing.Size(920, 70) Me.pnTDStep.TabIndex = 7 ' 'txbTDStep ' Me.txbTDStep.BackColor = System.Drawing.SystemColors.Window Me.txbTDStep.Font = New System.Drawing.Font("함초롬바탕", 26.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbTDStep.Location = New System.Drawing.Point(171, 12) - Me.txbTDStep.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbTDStep.Location = New System.Drawing.Point(150, 10) Me.txbTDStep.Name = "txbTDStep" Me.txbTDStep.ReadOnly = True - Me.txbTDStep.Size = New System.Drawing.Size(857, 64) + Me.txbTDStep.Size = New System.Drawing.Size(750, 53) Me.txbTDStep.TabIndex = 2 Me.txbTDStep.Text = "HIFU 검사 완료" Me.txbTDStep.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1426,9 +1363,9 @@ Partial Class MainForm 'lbTDStep ' Me.lbTDStep.AutoSize = True - Me.lbTDStep.Location = New System.Drawing.Point(24, 19) + Me.lbTDStep.Location = New System.Drawing.Point(21, 15) Me.lbTDStep.Name = "lbTDStep" - Me.lbTDStep.Size = New System.Drawing.Size(151, 44) + Me.lbTDStep.Size = New System.Drawing.Size(119, 35) Me.lbTDStep.TabIndex = 0 Me.lbTDStep.Text = "공정단계" ' @@ -1436,21 +1373,19 @@ Partial Class MainForm ' Me.pnPDVersion.Controls.Add(Me.txbPDVersion) Me.pnPDVersion.Controls.Add(Me.lbPDVersion) - Me.pnPDVersion.Location = New System.Drawing.Point(531, 406) - Me.pnPDVersion.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPDVersion.Location = New System.Drawing.Point(465, 325) Me.pnPDVersion.Name = "pnPDVersion" - Me.pnPDVersion.Size = New System.Drawing.Size(526, 88) + Me.pnPDVersion.Size = New System.Drawing.Size(460, 70) Me.pnPDVersion.TabIndex = 6 ' 'txbPDVersion ' Me.txbPDVersion.BackColor = System.Drawing.SystemColors.Window Me.txbPDVersion.Font = New System.Drawing.Font("함초롬바탕", 26.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbPDVersion.Location = New System.Drawing.Point(171, 12) - Me.txbPDVersion.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPDVersion.Location = New System.Drawing.Point(150, 10) Me.txbPDVersion.Name = "txbPDVersion" Me.txbPDVersion.ReadOnly = True - Me.txbPDVersion.Size = New System.Drawing.Size(331, 64) + Me.txbPDVersion.Size = New System.Drawing.Size(290, 53) Me.txbPDVersion.TabIndex = 2 Me.txbPDVersion.Text = "2024-10-25" Me.txbPDVersion.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1458,9 +1393,9 @@ Partial Class MainForm 'lbPDVersion ' Me.lbPDVersion.AutoSize = True - Me.lbPDVersion.Location = New System.Drawing.Point(54, 19) + Me.lbPDVersion.Location = New System.Drawing.Point(47, 15) Me.lbPDVersion.Name = "lbPDVersion" - Me.lbPDVersion.Size = New System.Drawing.Size(118, 44) + Me.lbPDVersion.Size = New System.Drawing.Size(93, 35) Me.lbPDVersion.TabIndex = 1 Me.lbPDVersion.Text = "펌웨어" ' @@ -1468,21 +1403,19 @@ Partial Class MainForm ' Me.pnTDIDate.Controls.Add(Me.txbTDIDate) Me.pnTDIDate.Controls.Add(Me.lbTDIDate) - Me.pnTDIDate.Location = New System.Drawing.Point(6, 406) - Me.pnTDIDate.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnTDIDate.Location = New System.Drawing.Point(5, 325) Me.pnTDIDate.Name = "pnTDIDate" - Me.pnTDIDate.Size = New System.Drawing.Size(526, 88) + Me.pnTDIDate.Size = New System.Drawing.Size(460, 70) Me.pnTDIDate.TabIndex = 5 ' 'txbTDIDate ' Me.txbTDIDate.BackColor = System.Drawing.SystemColors.Window Me.txbTDIDate.Font = New System.Drawing.Font("함초롬바탕", 26.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbTDIDate.Location = New System.Drawing.Point(171, 12) - Me.txbTDIDate.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbTDIDate.Location = New System.Drawing.Point(150, 10) Me.txbTDIDate.Name = "txbTDIDate" Me.txbTDIDate.ReadOnly = True - Me.txbTDIDate.Size = New System.Drawing.Size(331, 64) + Me.txbTDIDate.Size = New System.Drawing.Size(290, 53) Me.txbTDIDate.TabIndex = 2 Me.txbTDIDate.Text = "2024-02-10" Me.txbTDIDate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1490,9 +1423,9 @@ Partial Class MainForm 'lbTDIDate ' Me.lbTDIDate.AutoSize = True - Me.lbTDIDate.Location = New System.Drawing.Point(54, 19) + Me.lbTDIDate.Location = New System.Drawing.Point(47, 15) Me.lbTDIDate.Name = "lbTDIDate" - Me.lbTDIDate.Size = New System.Drawing.Size(118, 44) + Me.lbTDIDate.Size = New System.Drawing.Size(93, 35) Me.lbTDIDate.TabIndex = 0 Me.lbTDIDate.Text = "입고일" ' @@ -1500,21 +1433,19 @@ Partial Class MainForm ' Me.pnTDDepth.Controls.Add(Me.txbTDDepth) Me.pnTDDepth.Controls.Add(Me.lbTDDepth) - Me.pnTDDepth.Location = New System.Drawing.Point(531, 306) - Me.pnTDDepth.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnTDDepth.Location = New System.Drawing.Point(465, 245) Me.pnTDDepth.Name = "pnTDDepth" - Me.pnTDDepth.Size = New System.Drawing.Size(526, 88) + Me.pnTDDepth.Size = New System.Drawing.Size(460, 70) Me.pnTDDepth.TabIndex = 4 ' 'txbTDDepth ' Me.txbTDDepth.BackColor = System.Drawing.SystemColors.Window Me.txbTDDepth.Font = New System.Drawing.Font("함초롬바탕", 26.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbTDDepth.Location = New System.Drawing.Point(171, 12) - Me.txbTDDepth.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbTDDepth.Location = New System.Drawing.Point(150, 10) Me.txbTDDepth.Name = "txbTDDepth" Me.txbTDDepth.ReadOnly = True - Me.txbTDDepth.Size = New System.Drawing.Size(331, 64) + Me.txbTDDepth.Size = New System.Drawing.Size(290, 53) Me.txbTDDepth.TabIndex = 2 Me.txbTDDepth.Text = "-5" Me.txbTDDepth.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1522,9 +1453,9 @@ Partial Class MainForm 'lbTDDepth ' Me.lbTDDepth.AutoSize = True - Me.lbTDDepth.Location = New System.Drawing.Point(83, 19) + Me.lbTDDepth.Location = New System.Drawing.Point(73, 15) Me.lbTDDepth.Name = "lbTDDepth" - Me.lbTDDepth.Size = New System.Drawing.Size(85, 44) + Me.lbTDDepth.Size = New System.Drawing.Size(67, 35) Me.lbTDDepth.TabIndex = 1 Me.lbTDDepth.Text = "깊이" ' @@ -1532,21 +1463,19 @@ Partial Class MainForm ' Me.pnTDPower.Controls.Add(Me.txbTDPower) Me.pnTDPower.Controls.Add(Me.lbTDPower) - Me.pnTDPower.Location = New System.Drawing.Point(6, 306) - Me.pnTDPower.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnTDPower.Location = New System.Drawing.Point(5, 245) Me.pnTDPower.Name = "pnTDPower" - Me.pnTDPower.Size = New System.Drawing.Size(526, 88) + Me.pnTDPower.Size = New System.Drawing.Size(460, 70) Me.pnTDPower.TabIndex = 3 ' 'txbTDPower ' Me.txbTDPower.BackColor = System.Drawing.SystemColors.Window Me.txbTDPower.Font = New System.Drawing.Font("함초롬바탕", 26.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbTDPower.Location = New System.Drawing.Point(171, 12) - Me.txbTDPower.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbTDPower.Location = New System.Drawing.Point(150, 10) Me.txbTDPower.Name = "txbTDPower" Me.txbTDPower.ReadOnly = True - Me.txbTDPower.Size = New System.Drawing.Size(331, 64) + Me.txbTDPower.Size = New System.Drawing.Size(290, 53) Me.txbTDPower.TabIndex = 2 Me.txbTDPower.Text = "-0.06" Me.txbTDPower.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1554,9 +1483,9 @@ Partial Class MainForm 'lbTDPower ' Me.lbTDPower.AutoSize = True - Me.lbTDPower.Location = New System.Drawing.Point(83, 19) + Me.lbTDPower.Location = New System.Drawing.Point(73, 15) Me.lbTDPower.Name = "lbTDPower" - Me.lbTDPower.Size = New System.Drawing.Size(85, 44) + Me.lbTDPower.Size = New System.Drawing.Size(67, 35) Me.lbTDPower.TabIndex = 0 Me.lbTDPower.Text = "파워" ' @@ -1564,21 +1493,19 @@ Partial Class MainForm ' Me.pnTDGrade.Controls.Add(Me.txbTDGrade) Me.pnTDGrade.Controls.Add(Me.lbTDGrade) - Me.pnTDGrade.Location = New System.Drawing.Point(531, 206) - Me.pnTDGrade.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnTDGrade.Location = New System.Drawing.Point(465, 165) Me.pnTDGrade.Name = "pnTDGrade" - Me.pnTDGrade.Size = New System.Drawing.Size(526, 88) + Me.pnTDGrade.Size = New System.Drawing.Size(460, 70) Me.pnTDGrade.TabIndex = 2 ' 'txbTDGrade ' Me.txbTDGrade.BackColor = System.Drawing.SystemColors.Window Me.txbTDGrade.Font = New System.Drawing.Font("함초롬바탕", 26.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbTDGrade.Location = New System.Drawing.Point(171, 12) - Me.txbTDGrade.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbTDGrade.Location = New System.Drawing.Point(150, 10) Me.txbTDGrade.Name = "txbTDGrade" Me.txbTDGrade.ReadOnly = True - Me.txbTDGrade.Size = New System.Drawing.Size(331, 64) + Me.txbTDGrade.Size = New System.Drawing.Size(290, 53) Me.txbTDGrade.TabIndex = 3 Me.txbTDGrade.Text = "PRO" Me.txbTDGrade.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1586,9 +1513,9 @@ Partial Class MainForm 'lbTDGrade ' Me.lbTDGrade.AutoSize = True - Me.lbTDGrade.Location = New System.Drawing.Point(83, 19) + Me.lbTDGrade.Location = New System.Drawing.Point(73, 15) Me.lbTDGrade.Name = "lbTDGrade" - Me.lbTDGrade.Size = New System.Drawing.Size(85, 44) + Me.lbTDGrade.Size = New System.Drawing.Size(67, 35) Me.lbTDGrade.TabIndex = 2 Me.lbTDGrade.Text = "등급" ' @@ -1596,21 +1523,19 @@ Partial Class MainForm ' Me.pnTDFreq.Controls.Add(Me.txbTDFreq) Me.pnTDFreq.Controls.Add(Me.lbTDFreq) - Me.pnTDFreq.Location = New System.Drawing.Point(6, 206) - Me.pnTDFreq.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnTDFreq.Location = New System.Drawing.Point(5, 165) Me.pnTDFreq.Name = "pnTDFreq" - Me.pnTDFreq.Size = New System.Drawing.Size(526, 88) + Me.pnTDFreq.Size = New System.Drawing.Size(460, 70) Me.pnTDFreq.TabIndex = 1 ' 'txbTDFreq ' Me.txbTDFreq.BackColor = System.Drawing.SystemColors.Window Me.txbTDFreq.Font = New System.Drawing.Font("함초롬바탕", 26.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbTDFreq.Location = New System.Drawing.Point(171, 12) - Me.txbTDFreq.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbTDFreq.Location = New System.Drawing.Point(150, 10) Me.txbTDFreq.Name = "txbTDFreq" Me.txbTDFreq.ReadOnly = True - Me.txbTDFreq.Size = New System.Drawing.Size(331, 64) + Me.txbTDFreq.Size = New System.Drawing.Size(290, 53) Me.txbTDFreq.TabIndex = 1 Me.txbTDFreq.Text = "7080" Me.txbTDFreq.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1619,9 +1544,9 @@ Partial Class MainForm ' Me.lbTDFreq.AutoSize = True Me.lbTDFreq.Font = New System.Drawing.Font("함초롬바탕", 21.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbTDFreq.Location = New System.Drawing.Point(45, 19) + Me.lbTDFreq.Location = New System.Drawing.Point(39, 15) Me.lbTDFreq.Name = "lbTDFreq" - Me.lbTDFreq.Size = New System.Drawing.Size(130, 49) + Me.lbTDFreq.Size = New System.Drawing.Size(101, 38) Me.lbTDFreq.TabIndex = 0 Me.lbTDFreq.Text = "주파수" ' @@ -1630,21 +1555,19 @@ Partial Class MainForm Me.pnTDNum.BackColor = System.Drawing.SystemColors.Info Me.pnTDNum.Controls.Add(Me.txbTDNum) Me.pnTDNum.Controls.Add(Me.lbTDNum) - Me.pnTDNum.Location = New System.Drawing.Point(6, 56) - Me.pnTDNum.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnTDNum.Location = New System.Drawing.Point(5, 45) Me.pnTDNum.Name = "pnTDNum" - Me.pnTDNum.Size = New System.Drawing.Size(1051, 138) + Me.pnTDNum.Size = New System.Drawing.Size(920, 110) Me.pnTDNum.TabIndex = 0 ' 'txbTDNum ' Me.txbTDNum.BackColor = System.Drawing.SystemColors.Window Me.txbTDNum.Font = New System.Drawing.Font("함초롬바탕", 48.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbTDNum.Location = New System.Drawing.Point(299, 12) - Me.txbTDNum.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbTDNum.Location = New System.Drawing.Point(262, 10) Me.txbTDNum.Name = "txbTDNum" Me.txbTDNum.ReadOnly = True - Me.txbTDNum.Size = New System.Drawing.Size(729, 111) + Me.txbTDNum.Size = New System.Drawing.Size(638, 91) Me.txbTDNum.TabIndex = 1 Me.txbTDNum.Text = "DITI123456" Me.txbTDNum.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1653,9 +1576,9 @@ Partial Class MainForm ' Me.lbTDNum.AutoSize = True Me.lbTDNum.Font = New System.Drawing.Font("함초롬바탕", 39.74999!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbTDNum.Location = New System.Drawing.Point(40, 25) + Me.lbTDNum.Location = New System.Drawing.Point(35, 20) Me.lbTDNum.Name = "lbTDNum" - Me.lbTDNum.Size = New System.Drawing.Size(279, 87) + Me.lbTDNum.Size = New System.Drawing.Size(221, 69) Me.lbTDNum.TabIndex = 0 Me.lbTDNum.Text = "TD 번호" ' @@ -1665,10 +1588,9 @@ Partial Class MainForm Me.pnRecycle.Controls.Add(Me.pcbImage1) Me.pnRecycle.Controls.Add(Me.gbData) Me.pnRecycle.Controls.Add(Me.btnReDel) - Me.pnRecycle.Location = New System.Drawing.Point(6, 356) - Me.pnRecycle.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnRecycle.Location = New System.Drawing.Point(5, 285) Me.pnRecycle.Name = "pnRecycle" - Me.pnRecycle.Size = New System.Drawing.Size(2183, 912) + Me.pnRecycle.Size = New System.Drawing.Size(1910, 730) Me.pnRecycle.TabIndex = 119 ' 'gbRunCount @@ -1676,11 +1598,9 @@ Partial Class MainForm Me.gbRunCount.Controls.Add(Me.txbDayCount) Me.gbRunCount.Controls.Add(Me.lbDayCount) Me.gbRunCount.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.gbRunCount.Location = New System.Drawing.Point(1202, 731) - Me.gbRunCount.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbRunCount.Location = New System.Drawing.Point(1052, 585) Me.gbRunCount.Name = "gbRunCount" - Me.gbRunCount.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbRunCount.Size = New System.Drawing.Size(376, 169) + Me.gbRunCount.Size = New System.Drawing.Size(329, 135) Me.gbRunCount.TabIndex = 125 Me.gbRunCount.TabStop = False Me.gbRunCount.Text = "금일 측정 수량" @@ -1689,11 +1609,10 @@ Partial Class MainForm ' Me.txbDayCount.BackColor = System.Drawing.SystemColors.Window Me.txbDayCount.Font = New System.Drawing.Font("함초롬바탕", 24.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbDayCount.Location = New System.Drawing.Point(192, 62) - Me.txbDayCount.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbDayCount.Location = New System.Drawing.Point(168, 50) Me.txbDayCount.Name = "txbDayCount" Me.txbDayCount.ReadOnly = True - Me.txbDayCount.Size = New System.Drawing.Size(133, 59) + Me.txbDayCount.Size = New System.Drawing.Size(117, 49) Me.txbDayCount.TabIndex = 1 Me.txbDayCount.Text = "0" Me.txbDayCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1702,19 +1621,18 @@ Partial Class MainForm ' Me.lbDayCount.AutoSize = True Me.lbDayCount.Font = New System.Drawing.Font("함초롬바탕", 20.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbDayCount.Location = New System.Drawing.Point(49, 69) + Me.lbDayCount.Location = New System.Drawing.Point(43, 55) Me.lbDayCount.Name = "lbDayCount" - Me.lbDayCount.Size = New System.Drawing.Size(151, 44) + Me.lbDayCount.Size = New System.Drawing.Size(119, 35) Me.lbDayCount.TabIndex = 0 Me.lbDayCount.Text = "작업수량" ' 'pcbImage1 ' Me.pcbImage1.Image = Global.MAXIMUM_Product_Program.My.Resources.Resources.MAXIMUM - Me.pcbImage1.Location = New System.Drawing.Point(1664, 18) - Me.pcbImage1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pcbImage1.Location = New System.Drawing.Point(1456, 14) Me.pcbImage1.Name = "pcbImage1" - Me.pcbImage1.Size = New System.Drawing.Size(441, 711) + Me.pcbImage1.Size = New System.Drawing.Size(386, 569) Me.pcbImage1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom Me.pcbImage1.TabIndex = 127 Me.pcbImage1.TabStop = False @@ -1731,11 +1649,9 @@ Partial Class MainForm Me.gbData.Controls.Add(Me.pnReFreq) Me.gbData.Controls.Add(Me.pnReGrade) Me.gbData.Font = New System.Drawing.Font("굴림", 20.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.gbData.Location = New System.Drawing.Point(91, 18) - Me.gbData.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbData.Location = New System.Drawing.Point(80, 14) Me.gbData.Name = "gbData" - Me.gbData.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbData.Size = New System.Drawing.Size(1487, 711) + Me.gbData.Size = New System.Drawing.Size(1301, 569) Me.gbData.TabIndex = 126 Me.gbData.TabStop = False Me.gbData.Text = "검색 결과" @@ -1744,21 +1660,19 @@ Partial Class MainForm ' Me.pnReTest.Controls.Add(Me.txbReTest) Me.pnReTest.Controls.Add(Me.lbReTest) - Me.pnReTest.Location = New System.Drawing.Point(714, 425) - Me.pnReTest.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnReTest.Location = New System.Drawing.Point(625, 340) Me.pnReTest.Name = "pnReTest" - Me.pnReTest.Size = New System.Drawing.Size(663, 94) + Me.pnReTest.Size = New System.Drawing.Size(580, 75) Me.pnReTest.TabIndex = 8 ' 'txbReTest ' Me.txbReTest.BackColor = System.Drawing.SystemColors.Window Me.txbReTest.Font = New System.Drawing.Font("함초롬바탕", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbReTest.Location = New System.Drawing.Point(251, 6) - Me.txbReTest.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbReTest.Location = New System.Drawing.Point(220, 5) Me.txbReTest.Name = "txbReTest" Me.txbReTest.ReadOnly = True - Me.txbReTest.Size = New System.Drawing.Size(399, 85) + Me.txbReTest.Size = New System.Drawing.Size(350, 70) Me.txbReTest.TabIndex = 1 Me.txbReTest.Text = "2408-99-45" Me.txbReTest.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1767,9 +1681,9 @@ Partial Class MainForm ' Me.lbReTest.AutoSize = True Me.lbReTest.Font = New System.Drawing.Font("함초롬바탕", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbReTest.Location = New System.Drawing.Point(23, 12) + Me.lbReTest.Location = New System.Drawing.Point(20, 10) Me.lbReTest.Name = "lbReTest" - Me.lbReTest.Size = New System.Drawing.Size(207, 78) + Me.lbReTest.Size = New System.Drawing.Size(168, 62) Me.lbReTest.TabIndex = 0 Me.lbReTest.Text = "측정일" ' @@ -1777,21 +1691,19 @@ Partial Class MainForm ' Me.pnReInput.Controls.Add(Me.txbReInput) Me.pnReInput.Controls.Add(Me.lbReInput) - Me.pnReInput.Location = New System.Drawing.Point(40, 425) - Me.pnReInput.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnReInput.Location = New System.Drawing.Point(35, 340) Me.pnReInput.Name = "pnReInput" - Me.pnReInput.Size = New System.Drawing.Size(663, 94) + Me.pnReInput.Size = New System.Drawing.Size(580, 75) Me.pnReInput.TabIndex = 7 ' 'txbReInput ' Me.txbReInput.BackColor = System.Drawing.SystemColors.Window Me.txbReInput.Font = New System.Drawing.Font("함초롬바탕", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbReInput.Location = New System.Drawing.Point(251, 6) - Me.txbReInput.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbReInput.Location = New System.Drawing.Point(220, 5) Me.txbReInput.Name = "txbReInput" Me.txbReInput.ReadOnly = True - Me.txbReInput.Size = New System.Drawing.Size(399, 85) + Me.txbReInput.Size = New System.Drawing.Size(350, 70) Me.txbReInput.TabIndex = 1 Me.txbReInput.Text = "2024-88-05" Me.txbReInput.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1800,9 +1712,9 @@ Partial Class MainForm ' Me.lbReInput.AutoSize = True Me.lbReInput.Font = New System.Drawing.Font("함초롬바탕", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbReInput.Location = New System.Drawing.Point(23, 12) + Me.lbReInput.Location = New System.Drawing.Point(20, 10) Me.lbReInput.Name = "lbReInput" - Me.lbReInput.Size = New System.Drawing.Size(207, 78) + Me.lbReInput.Size = New System.Drawing.Size(168, 62) Me.lbReInput.TabIndex = 0 Me.lbReInput.Text = "입고일" ' @@ -1810,21 +1722,19 @@ Partial Class MainForm ' Me.pnReSerial.Controls.Add(Me.txbReSerial) Me.pnReSerial.Controls.Add(Me.lbReSerial) - Me.pnReSerial.Location = New System.Drawing.Point(714, 69) - Me.pnReSerial.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnReSerial.Location = New System.Drawing.Point(625, 55) Me.pnReSerial.Name = "pnReSerial" - Me.pnReSerial.Size = New System.Drawing.Size(663, 94) + Me.pnReSerial.Size = New System.Drawing.Size(580, 75) Me.pnReSerial.TabIndex = 6 ' 'txbReSerial ' Me.txbReSerial.BackColor = System.Drawing.SystemColors.Window Me.txbReSerial.Font = New System.Drawing.Font("함초롬바탕", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbReSerial.Location = New System.Drawing.Point(251, 6) - Me.txbReSerial.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbReSerial.Location = New System.Drawing.Point(220, 5) Me.txbReSerial.Name = "txbReSerial" Me.txbReSerial.ReadOnly = True - Me.txbReSerial.Size = New System.Drawing.Size(399, 85) + Me.txbReSerial.Size = New System.Drawing.Size(350, 70) Me.txbReSerial.TabIndex = 1 Me.txbReSerial.Text = "180" Me.txbReSerial.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1833,9 +1743,9 @@ Partial Class MainForm ' Me.lbReSerial.AutoSize = True Me.lbReSerial.Font = New System.Drawing.Font("함초롬바탕", 32.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbReSerial.Location = New System.Drawing.Point(23, 12) + Me.lbReSerial.Location = New System.Drawing.Point(20, 10) Me.lbReSerial.Name = "lbReSerial" - Me.lbReSerial.Size = New System.Drawing.Size(209, 70) + Me.lbReSerial.Size = New System.Drawing.Size(168, 56) Me.lbReSerial.TabIndex = 0 Me.lbReSerial.Text = "TD번호" ' @@ -1843,21 +1753,19 @@ Partial Class MainForm ' Me.pnReCValue.Controls.Add(Me.txbReCValue) Me.pnReCValue.Controls.Add(Me.lbReCValue) - Me.pnReCValue.Location = New System.Drawing.Point(40, 188) - Me.pnReCValue.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnReCValue.Location = New System.Drawing.Point(35, 150) Me.pnReCValue.Name = "pnReCValue" - Me.pnReCValue.Size = New System.Drawing.Size(663, 94) + Me.pnReCValue.Size = New System.Drawing.Size(580, 75) Me.pnReCValue.TabIndex = 5 ' 'txbReCValue ' Me.txbReCValue.BackColor = System.Drawing.SystemColors.Window Me.txbReCValue.Font = New System.Drawing.Font("함초롬바탕", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbReCValue.Location = New System.Drawing.Point(251, 6) - Me.txbReCValue.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbReCValue.Location = New System.Drawing.Point(220, 5) Me.txbReCValue.Name = "txbReCValue" Me.txbReCValue.ReadOnly = True - Me.txbReCValue.Size = New System.Drawing.Size(399, 85) + Me.txbReCValue.Size = New System.Drawing.Size(350, 70) Me.txbReCValue.TabIndex = 1 Me.txbReCValue.Text = "180" Me.txbReCValue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1866,9 +1774,9 @@ Partial Class MainForm ' Me.lbReCValue.AutoSize = True Me.lbReCValue.Font = New System.Drawing.Font("함초롬바탕", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbReCValue.Location = New System.Drawing.Point(93, 12) + Me.lbReCValue.Location = New System.Drawing.Point(81, 10) Me.lbReCValue.Name = "lbReCValue" - Me.lbReCValue.Size = New System.Drawing.Size(132, 78) + Me.lbReCValue.Size = New System.Drawing.Size(107, 62) Me.lbReCValue.TabIndex = 0 Me.lbReCValue.Text = "C값" ' @@ -1876,21 +1784,19 @@ Partial Class MainForm ' Me.pnReOrder.Controls.Add(Me.txbReOrder) Me.pnReOrder.Controls.Add(Me.lbReOrder) - Me.pnReOrder.Location = New System.Drawing.Point(40, 544) - Me.pnReOrder.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnReOrder.Location = New System.Drawing.Point(35, 435) Me.pnReOrder.Name = "pnReOrder" - Me.pnReOrder.Size = New System.Drawing.Size(1337, 94) + Me.pnReOrder.Size = New System.Drawing.Size(1170, 75) Me.pnReOrder.TabIndex = 4 ' 'txbReOrder ' Me.txbReOrder.BackColor = System.Drawing.SystemColors.Window Me.txbReOrder.Font = New System.Drawing.Font("함초롬바탕", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbReOrder.Location = New System.Drawing.Point(251, 6) - Me.txbReOrder.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbReOrder.Location = New System.Drawing.Point(220, 5) Me.txbReOrder.Name = "txbReOrder" Me.txbReOrder.ReadOnly = True - Me.txbReOrder.Size = New System.Drawing.Size(1074, 85) + Me.txbReOrder.Size = New System.Drawing.Size(940, 70) Me.txbReOrder.TabIndex = 1 Me.txbReOrder.Text = "HIFU 측정 완료" Me.txbReOrder.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1899,9 +1805,9 @@ Partial Class MainForm ' Me.lbReOrder.AutoSize = True Me.lbReOrder.Font = New System.Drawing.Font("함초롬바탕", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbReOrder.Location = New System.Drawing.Point(3, 12) + Me.lbReOrder.Location = New System.Drawing.Point(3, 10) Me.lbReOrder.Name = "lbReOrder" - Me.lbReOrder.Size = New System.Drawing.Size(265, 78) + Me.lbReOrder.Size = New System.Drawing.Size(215, 62) Me.lbReOrder.TabIndex = 0 Me.lbReOrder.Text = "공정순서" ' @@ -1909,21 +1815,19 @@ Partial Class MainForm ' Me.pnRePower.Controls.Add(Me.txbRePower) Me.pnRePower.Controls.Add(Me.lbRePower) - Me.pnRePower.Location = New System.Drawing.Point(40, 306) - Me.pnRePower.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnRePower.Location = New System.Drawing.Point(35, 245) Me.pnRePower.Name = "pnRePower" - Me.pnRePower.Size = New System.Drawing.Size(663, 94) + Me.pnRePower.Size = New System.Drawing.Size(580, 75) Me.pnRePower.TabIndex = 3 ' 'txbRePower ' Me.txbRePower.BackColor = System.Drawing.SystemColors.Window Me.txbRePower.Font = New System.Drawing.Font("함초롬바탕", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbRePower.Location = New System.Drawing.Point(251, 6) - Me.txbRePower.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbRePower.Location = New System.Drawing.Point(220, 5) Me.txbRePower.Name = "txbRePower" Me.txbRePower.ReadOnly = True - Me.txbRePower.Size = New System.Drawing.Size(399, 85) + Me.txbRePower.Size = New System.Drawing.Size(350, 70) Me.txbRePower.TabIndex = 1 Me.txbRePower.Text = "-0.06" Me.txbRePower.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1932,9 +1836,9 @@ Partial Class MainForm ' Me.lbRePower.AutoSize = True Me.lbRePower.Font = New System.Drawing.Font("함초롬바탕", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbRePower.Location = New System.Drawing.Point(77, 12) + Me.lbRePower.Location = New System.Drawing.Point(67, 10) Me.lbRePower.Name = "lbRePower" - Me.lbRePower.Size = New System.Drawing.Size(149, 78) + Me.lbRePower.Size = New System.Drawing.Size(121, 62) Me.lbRePower.TabIndex = 0 Me.lbRePower.Text = "파워" ' @@ -1942,21 +1846,19 @@ Partial Class MainForm ' Me.pnReMotor.Controls.Add(Me.txbReMotor) Me.pnReMotor.Controls.Add(Me.lbReMotor) - Me.pnReMotor.Location = New System.Drawing.Point(714, 306) - Me.pnReMotor.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnReMotor.Location = New System.Drawing.Point(625, 245) Me.pnReMotor.Name = "pnReMotor" - Me.pnReMotor.Size = New System.Drawing.Size(663, 94) + Me.pnReMotor.Size = New System.Drawing.Size(580, 75) Me.pnReMotor.TabIndex = 2 ' 'txbReMotor ' Me.txbReMotor.BackColor = System.Drawing.SystemColors.Window Me.txbReMotor.Font = New System.Drawing.Font("함초롬바탕", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbReMotor.Location = New System.Drawing.Point(251, 6) - Me.txbReMotor.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbReMotor.Location = New System.Drawing.Point(220, 5) Me.txbReMotor.Name = "txbReMotor" Me.txbReMotor.ReadOnly = True - Me.txbReMotor.Size = New System.Drawing.Size(399, 85) + Me.txbReMotor.Size = New System.Drawing.Size(350, 70) Me.txbReMotor.TabIndex = 1 Me.txbReMotor.Text = "-5" Me.txbReMotor.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1965,9 +1867,9 @@ Partial Class MainForm ' Me.lbReMotor.AutoSize = True Me.lbReMotor.Font = New System.Drawing.Font("함초롬바탕", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbReMotor.Location = New System.Drawing.Point(77, 12) + Me.lbReMotor.Location = New System.Drawing.Point(67, 10) Me.lbReMotor.Name = "lbReMotor" - Me.lbReMotor.Size = New System.Drawing.Size(149, 78) + Me.lbReMotor.Size = New System.Drawing.Size(121, 62) Me.lbReMotor.TabIndex = 0 Me.lbReMotor.Text = "모터" ' @@ -1975,21 +1877,19 @@ Partial Class MainForm ' Me.pnReFreq.Controls.Add(Me.txbReFreq) Me.pnReFreq.Controls.Add(Me.lbReFreq) - Me.pnReFreq.Location = New System.Drawing.Point(40, 69) - Me.pnReFreq.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnReFreq.Location = New System.Drawing.Point(35, 55) Me.pnReFreq.Name = "pnReFreq" - Me.pnReFreq.Size = New System.Drawing.Size(663, 94) + Me.pnReFreq.Size = New System.Drawing.Size(580, 75) Me.pnReFreq.TabIndex = 1 ' 'txbReFreq ' Me.txbReFreq.BackColor = System.Drawing.SystemColors.Window Me.txbReFreq.Font = New System.Drawing.Font("함초롬바탕", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbReFreq.Location = New System.Drawing.Point(251, 6) - Me.txbReFreq.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbReFreq.Location = New System.Drawing.Point(220, 5) Me.txbReFreq.Name = "txbReFreq" Me.txbReFreq.ReadOnly = True - Me.txbReFreq.Size = New System.Drawing.Size(399, 85) + Me.txbReFreq.Size = New System.Drawing.Size(350, 70) Me.txbReFreq.TabIndex = 1 Me.txbReFreq.Text = "7200" Me.txbReFreq.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -1998,9 +1898,9 @@ Partial Class MainForm ' Me.lbReFreq.AutoSize = True Me.lbReFreq.Font = New System.Drawing.Font("함초롬바탕", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbReFreq.Location = New System.Drawing.Point(34, 12) + Me.lbReFreq.Location = New System.Drawing.Point(30, 10) Me.lbReFreq.Name = "lbReFreq" - Me.lbReFreq.Size = New System.Drawing.Size(207, 78) + Me.lbReFreq.Size = New System.Drawing.Size(168, 62) Me.lbReFreq.TabIndex = 0 Me.lbReFreq.Text = "주파수" ' @@ -2008,21 +1908,19 @@ Partial Class MainForm ' Me.pnReGrade.Controls.Add(Me.txbReGrade) Me.pnReGrade.Controls.Add(Me.lbReGrade) - Me.pnReGrade.Location = New System.Drawing.Point(714, 188) - Me.pnReGrade.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnReGrade.Location = New System.Drawing.Point(625, 150) Me.pnReGrade.Name = "pnReGrade" - Me.pnReGrade.Size = New System.Drawing.Size(663, 94) + Me.pnReGrade.Size = New System.Drawing.Size(580, 75) Me.pnReGrade.TabIndex = 0 ' 'txbReGrade ' Me.txbReGrade.BackColor = System.Drawing.SystemColors.Window Me.txbReGrade.Font = New System.Drawing.Font("함초롬바탕", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbReGrade.Location = New System.Drawing.Point(251, 6) - Me.txbReGrade.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbReGrade.Location = New System.Drawing.Point(220, 5) Me.txbReGrade.Name = "txbReGrade" Me.txbReGrade.ReadOnly = True - Me.txbReGrade.Size = New System.Drawing.Size(399, 85) + Me.txbReGrade.Size = New System.Drawing.Size(350, 70) Me.txbReGrade.TabIndex = 1 Me.txbReGrade.Text = "PRO" Me.txbReGrade.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -2031,19 +1929,18 @@ Partial Class MainForm ' Me.lbReGrade.AutoSize = True Me.lbReGrade.Font = New System.Drawing.Font("함초롬바탕", 36.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbReGrade.Location = New System.Drawing.Point(77, 12) + Me.lbReGrade.Location = New System.Drawing.Point(67, 10) Me.lbReGrade.Name = "lbReGrade" - Me.lbReGrade.Size = New System.Drawing.Size(149, 78) + Me.lbReGrade.Size = New System.Drawing.Size(121, 62) Me.lbReGrade.TabIndex = 0 Me.lbReGrade.Text = "등급" ' 'btnReDel ' Me.btnReDel.Font = New System.Drawing.Font("함초롬바탕", 24.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.btnReDel.Location = New System.Drawing.Point(1600, 750) - Me.btnReDel.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnReDel.Location = New System.Drawing.Point(1400, 600) Me.btnReDel.Name = "btnReDel" - Me.btnReDel.Size = New System.Drawing.Size(571, 150) + Me.btnReDel.Size = New System.Drawing.Size(500, 120) Me.btnReDel.TabIndex = 124 Me.btnReDel.Text = "삭 제" Me.btnReDel.UseVisualStyleBackColor = True @@ -2056,10 +1953,9 @@ Partial Class MainForm ' Me.ckbDBServer.AutoSize = True Me.ckbDBServer.Font = New System.Drawing.Font("함초롬바탕", 18.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.ckbDBServer.Location = New System.Drawing.Point(22, 38) - Me.ckbDBServer.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.ckbDBServer.Location = New System.Drawing.Point(19, 30) Me.ckbDBServer.Name = "ckbDBServer" - Me.ckbDBServer.Size = New System.Drawing.Size(195, 43) + Me.ckbDBServer.Size = New System.Drawing.Size(159, 36) Me.ckbDBServer.TabIndex = 1 Me.ckbDBServer.Text = "TestServer" Me.ckbDBServer.UseVisualStyleBackColor = True @@ -2085,10 +1981,9 @@ Partial Class MainForm Me.pnOption.Controls.Add(Me.gbOpCompany) Me.pnOption.Controls.Add(Me.dgvDataSet) Me.pnOption.Controls.Add(Me.gbDBServer) - Me.pnOption.Location = New System.Drawing.Point(2194, 0) - Me.pnOption.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnOption.Location = New System.Drawing.Point(1920, 0) Me.pnOption.Name = "pnOption" - Me.pnOption.Size = New System.Drawing.Size(2194, 1275) + Me.pnOption.Size = New System.Drawing.Size(1920, 1020) Me.pnOption.TabIndex = 1 ' 'gbManager @@ -2097,11 +1992,9 @@ Partial Class MainForm Me.gbManager.Controls.Add(Me.ckbManager) Me.gbManager.Font = New System.Drawing.Font("함초롬바탕", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) Me.gbManager.ForeColor = System.Drawing.Color.Black - Me.gbManager.Location = New System.Drawing.Point(863, 6) - Me.gbManager.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbManager.Location = New System.Drawing.Point(755, 5) Me.gbManager.Name = "gbManager" - Me.gbManager.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbManager.Size = New System.Drawing.Size(221, 100) + Me.gbManager.Size = New System.Drawing.Size(193, 80) Me.gbManager.TabIndex = 130 Me.gbManager.TabStop = False Me.gbManager.Text = "관리자모드" @@ -2110,10 +2003,9 @@ Partial Class MainForm ' Me.ckbManager.AutoSize = True Me.ckbManager.Font = New System.Drawing.Font("함초롬바탕", 18.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.ckbManager.Location = New System.Drawing.Point(33, 38) - Me.ckbManager.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.ckbManager.Location = New System.Drawing.Point(29, 30) Me.ckbManager.Name = "ckbManager" - Me.ckbManager.Size = New System.Drawing.Size(184, 43) + Me.ckbManager.Size = New System.Drawing.Size(148, 36) Me.ckbManager.TabIndex = 1 Me.ckbManager.Text = "관리자모드" Me.ckbManager.UseVisualStyleBackColor = True @@ -2124,11 +2016,9 @@ Partial Class MainForm Me.gbOpAlto.Controls.Add(Me.ckbOpAlto) Me.gbOpAlto.Font = New System.Drawing.Font("함초롬바탕", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) Me.gbOpAlto.ForeColor = System.Drawing.Color.Black - Me.gbOpAlto.Location = New System.Drawing.Point(635, 6) - Me.gbOpAlto.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbOpAlto.Location = New System.Drawing.Point(556, 5) Me.gbOpAlto.Name = "gbOpAlto" - Me.gbOpAlto.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbOpAlto.Size = New System.Drawing.Size(221, 100) + Me.gbOpAlto.Size = New System.Drawing.Size(193, 80) Me.gbOpAlto.TabIndex = 129 Me.gbOpAlto.TabStop = False Me.gbOpAlto.Text = "Serial 생성여부" @@ -2137,10 +2027,9 @@ Partial Class MainForm ' Me.ckbOpAlto.AutoSize = True Me.ckbOpAlto.Font = New System.Drawing.Font("함초롬바탕", 18.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.ckbOpAlto.Location = New System.Drawing.Point(11, 39) - Me.ckbOpAlto.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.ckbOpAlto.Location = New System.Drawing.Point(10, 31) Me.ckbOpAlto.Name = "ckbOpAlto" - Me.ckbOpAlto.Size = New System.Drawing.Size(223, 43) + Me.ckbOpAlto.Size = New System.Drawing.Size(179, 36) Me.ckbOpAlto.TabIndex = 1 Me.ckbOpAlto.Text = "Alto 임의진행" Me.ckbOpAlto.UseVisualStyleBackColor = True @@ -2153,11 +2042,9 @@ Partial Class MainForm Me.gbPrintUse.Controls.Add(Me.gbPrintEach) Me.gbPrintUse.Font = New System.Drawing.Font("함초롬바탕", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) Me.gbPrintUse.ForeColor = System.Drawing.Color.Black - Me.gbPrintUse.Location = New System.Drawing.Point(1314, 6) - Me.gbPrintUse.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbPrintUse.Location = New System.Drawing.Point(1150, 5) Me.gbPrintUse.Name = "gbPrintUse" - Me.gbPrintUse.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbPrintUse.Size = New System.Drawing.Size(869, 100) + Me.gbPrintUse.Size = New System.Drawing.Size(760, 80) Me.gbPrintUse.TabIndex = 127 Me.gbPrintUse.TabStop = False Me.gbPrintUse.Text = "프린터 사용 설정" @@ -2166,10 +2053,9 @@ Partial Class MainForm ' Me.rdbEachPnt.AutoSize = True Me.rdbEachPnt.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.rdbEachPnt.Location = New System.Drawing.Point(234, 44) - Me.rdbEachPnt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.rdbEachPnt.Location = New System.Drawing.Point(205, 35) Me.rdbEachPnt.Name = "rdbEachPnt" - Me.rdbEachPnt.Size = New System.Drawing.Size(148, 39) + Me.rdbEachPnt.Size = New System.Drawing.Size(116, 31) Me.rdbEachPnt.TabIndex = 5 Me.rdbEachPnt.Text = "개별 인쇄" Me.rdbEachPnt.UseVisualStyleBackColor = True @@ -2179,10 +2065,9 @@ Partial Class MainForm Me.rdbAllPnt.AutoSize = True Me.rdbAllPnt.Checked = True Me.rdbAllPnt.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.rdbAllPnt.Location = New System.Drawing.Point(57, 44) - Me.rdbAllPnt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.rdbAllPnt.Location = New System.Drawing.Point(50, 35) Me.rdbAllPnt.Name = "rdbAllPnt" - Me.rdbAllPnt.Size = New System.Drawing.Size(148, 39) + Me.rdbAllPnt.Size = New System.Drawing.Size(116, 31) Me.rdbAllPnt.TabIndex = 4 Me.rdbAllPnt.TabStop = True Me.rdbAllPnt.Text = "전체 인쇄" @@ -2194,11 +2079,9 @@ Partial Class MainForm Me.gbPrintEach.Controls.Add(Me.ckbWarPnt) Me.gbPrintEach.Controls.Add(Me.ckbBoxPnt) Me.gbPrintEach.Enabled = False - Me.gbPrintEach.Location = New System.Drawing.Point(423, 0) - Me.gbPrintEach.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbPrintEach.Location = New System.Drawing.Point(370, 0) Me.gbPrintEach.Name = "gbPrintEach" - Me.gbPrintEach.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbPrintEach.Size = New System.Drawing.Size(448, 100) + Me.gbPrintEach.Size = New System.Drawing.Size(392, 80) Me.gbPrintEach.TabIndex = 3 Me.gbPrintEach.TabStop = False Me.gbPrintEach.Text = "개별 설정" @@ -2208,10 +2091,9 @@ Partial Class MainForm Me.ckbProdPnt.AutoSize = True Me.ckbProdPnt.Checked = True Me.ckbProdPnt.CheckState = System.Windows.Forms.CheckState.Checked - Me.ckbProdPnt.Location = New System.Drawing.Point(319, 45) - Me.ckbProdPnt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.ckbProdPnt.Location = New System.Drawing.Point(279, 36) Me.ckbProdPnt.Name = "ckbProdPnt" - Me.ckbProdPnt.Size = New System.Drawing.Size(110, 30) + Me.ckbProdPnt.Size = New System.Drawing.Size(93, 25) Me.ckbProdPnt.TabIndex = 4 Me.ckbProdPnt.Text = "제품라벨" Me.ckbProdPnt.UseVisualStyleBackColor = True @@ -2221,10 +2103,9 @@ Partial Class MainForm Me.ckbWarPnt.AutoSize = True Me.ckbWarPnt.Checked = True Me.ckbWarPnt.CheckState = System.Windows.Forms.CheckState.Checked - Me.ckbWarPnt.Location = New System.Drawing.Point(171, 45) - Me.ckbWarPnt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.ckbWarPnt.Location = New System.Drawing.Point(150, 36) Me.ckbWarPnt.Name = "ckbWarPnt" - Me.ckbWarPnt.Size = New System.Drawing.Size(129, 30) + Me.ckbWarPnt.Size = New System.Drawing.Size(109, 25) Me.ckbWarPnt.TabIndex = 3 Me.ckbWarPnt.Text = "워런티카드" Me.ckbWarPnt.UseVisualStyleBackColor = True @@ -2234,10 +2115,9 @@ Partial Class MainForm Me.ckbBoxPnt.AutoSize = True Me.ckbBoxPnt.Checked = True Me.ckbBoxPnt.CheckState = System.Windows.Forms.CheckState.Checked - Me.ckbBoxPnt.Location = New System.Drawing.Point(25, 46) - Me.ckbBoxPnt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.ckbBoxPnt.Location = New System.Drawing.Point(22, 37) Me.ckbBoxPnt.Name = "ckbBoxPnt" - Me.ckbBoxPnt.Size = New System.Drawing.Size(129, 30) + Me.ckbBoxPnt.Size = New System.Drawing.Size(109, 25) Me.ckbBoxPnt.TabIndex = 2 Me.ckbBoxPnt.Text = "박스바코드" Me.ckbBoxPnt.UseVisualStyleBackColor = True @@ -2251,11 +2131,9 @@ Partial Class MainForm Me.GroupBox1.Controls.Add(Me.btnPtRefresh) Me.GroupBox1.Controls.Add(Me.dgvPrinter) Me.GroupBox1.Font = New System.Drawing.Font("함초롬바탕", 18.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.GroupBox1.Location = New System.Drawing.Point(1315, 104) - Me.GroupBox1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.GroupBox1.Location = New System.Drawing.Point(1151, 83) Me.GroupBox1.Name = "GroupBox1" - Me.GroupBox1.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.GroupBox1.Size = New System.Drawing.Size(869, 955) + Me.GroupBox1.Size = New System.Drawing.Size(760, 764) Me.GroupBox1.TabIndex = 71 Me.GroupBox1.TabStop = False Me.GroupBox1.Text = "프린터 설정" @@ -2266,11 +2144,9 @@ Partial Class MainForm Me.gbPrintDefault.Controls.Add(Me.pnTray) Me.gbPrintDefault.Controls.Add(Me.pnPtCount) Me.gbPrintDefault.Font = New System.Drawing.Font("함초롬바탕", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.gbPrintDefault.Location = New System.Drawing.Point(7, 588) - Me.gbPrintDefault.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbPrintDefault.Location = New System.Drawing.Point(6, 470) Me.gbPrintDefault.Name = "gbPrintDefault" - Me.gbPrintDefault.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbPrintDefault.Size = New System.Drawing.Size(280, 356) + Me.gbPrintDefault.Size = New System.Drawing.Size(245, 285) Me.gbPrintDefault.TabIndex = 10 Me.gbPrintDefault.TabStop = False Me.gbPrintDefault.Text = "기본 옵션" @@ -2280,21 +2156,19 @@ Partial Class MainForm Me.pnSerialCheck.Controls.Add(Me.nudSerialCheck) Me.pnSerialCheck.Controls.Add(Me.lbSerialCheck) Me.pnSerialCheck.Font = New System.Drawing.Font("함초롬바탕", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.pnSerialCheck.Location = New System.Drawing.Point(7, 162) - Me.pnSerialCheck.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnSerialCheck.Location = New System.Drawing.Point(6, 130) Me.pnSerialCheck.Name = "pnSerialCheck" - Me.pnSerialCheck.Size = New System.Drawing.Size(266, 56) + Me.pnSerialCheck.Size = New System.Drawing.Size(233, 45) Me.pnSerialCheck.TabIndex = 11 Me.pnSerialCheck.Visible = False ' 'nudSerialCheck ' - Me.nudSerialCheck.Location = New System.Drawing.Point(121, 9) - Me.nudSerialCheck.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.nudSerialCheck.Location = New System.Drawing.Point(106, 7) Me.nudSerialCheck.Maximum = New Decimal(New Integer() {20, 0, 0, 0}) Me.nudSerialCheck.Minimum = New Decimal(New Integer() {1, 0, 0, 0}) Me.nudSerialCheck.Name = "nudSerialCheck" - Me.nudSerialCheck.Size = New System.Drawing.Size(129, 38) + Me.nudSerialCheck.Size = New System.Drawing.Size(113, 32) Me.nudSerialCheck.TabIndex = 1 Me.nudSerialCheck.TextAlign = System.Windows.Forms.HorizontalAlignment.Center Me.nudSerialCheck.Value = New Decimal(New Integer() {12, 0, 0, 0}) @@ -2302,9 +2176,9 @@ Partial Class MainForm 'lbSerialCheck ' Me.lbSerialCheck.AutoSize = True - Me.lbSerialCheck.Location = New System.Drawing.Point(7, 12) + Me.lbSerialCheck.Location = New System.Drawing.Point(6, 10) Me.lbSerialCheck.Name = "lbSerialCheck" - Me.lbSerialCheck.Size = New System.Drawing.Size(134, 32) + Me.lbSerialCheck.Size = New System.Drawing.Size(104, 24) Me.lbSerialCheck.TabIndex = 0 Me.lbSerialCheck.Text = "Serial 확인" ' @@ -2313,20 +2187,18 @@ Partial Class MainForm Me.pnTray.Controls.Add(Me.nudTray) Me.pnTray.Controls.Add(Me.lbTray) Me.pnTray.Font = New System.Drawing.Font("함초롬바탕", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.pnTray.Location = New System.Drawing.Point(7, 100) - Me.pnTray.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnTray.Location = New System.Drawing.Point(6, 80) Me.pnTray.Name = "pnTray" - Me.pnTray.Size = New System.Drawing.Size(266, 56) + Me.pnTray.Size = New System.Drawing.Size(233, 45) Me.pnTray.TabIndex = 10 ' 'nudTray ' - Me.nudTray.Location = New System.Drawing.Point(121, 9) - Me.nudTray.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.nudTray.Location = New System.Drawing.Point(106, 7) Me.nudTray.Maximum = New Decimal(New Integer() {12, 0, 0, 0}) Me.nudTray.Minimum = New Decimal(New Integer() {5, 0, 0, 0}) Me.nudTray.Name = "nudTray" - Me.nudTray.Size = New System.Drawing.Size(129, 38) + Me.nudTray.Size = New System.Drawing.Size(113, 32) Me.nudTray.TabIndex = 1 Me.nudTray.TextAlign = System.Windows.Forms.HorizontalAlignment.Center Me.nudTray.Value = New Decimal(New Integer() {12, 0, 0, 0}) @@ -2334,9 +2206,9 @@ Partial Class MainForm 'lbTray ' Me.lbTray.AutoSize = True - Me.lbTray.Location = New System.Drawing.Point(7, 12) + Me.lbTray.Location = New System.Drawing.Point(6, 10) Me.lbTray.Name = "lbTray" - Me.lbTray.Size = New System.Drawing.Size(119, 32) + Me.lbTray.Size = New System.Drawing.Size(94, 24) Me.lbTray.TabIndex = 0 Me.lbTray.Text = "Tray 수량" ' @@ -2345,20 +2217,18 @@ Partial Class MainForm Me.pnPtCount.Controls.Add(Me.nudPtCount) Me.pnPtCount.Controls.Add(Me.lbPtCount) Me.pnPtCount.Font = New System.Drawing.Font("함초롬바탕", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.pnPtCount.Location = New System.Drawing.Point(7, 38) - Me.pnPtCount.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPtCount.Location = New System.Drawing.Point(6, 30) Me.pnPtCount.Name = "pnPtCount" - Me.pnPtCount.Size = New System.Drawing.Size(266, 56) + Me.pnPtCount.Size = New System.Drawing.Size(233, 45) Me.pnPtCount.TabIndex = 9 ' 'nudPtCount ' - Me.nudPtCount.Location = New System.Drawing.Point(121, 9) - Me.nudPtCount.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.nudPtCount.Location = New System.Drawing.Point(106, 7) Me.nudPtCount.Maximum = New Decimal(New Integer() {3, 0, 0, 0}) Me.nudPtCount.Minimum = New Decimal(New Integer() {1, 0, 0, 0}) Me.nudPtCount.Name = "nudPtCount" - Me.nudPtCount.Size = New System.Drawing.Size(129, 38) + Me.nudPtCount.Size = New System.Drawing.Size(113, 32) Me.nudPtCount.TabIndex = 1 Me.nudPtCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center Me.nudPtCount.Value = New Decimal(New Integer() {1, 0, 0, 0}) @@ -2366,9 +2236,9 @@ Partial Class MainForm 'lbPtCount ' Me.lbPtCount.AutoSize = True - Me.lbPtCount.Location = New System.Drawing.Point(21, 12) + Me.lbPtCount.Location = New System.Drawing.Point(18, 10) Me.lbPtCount.Name = "lbPtCount" - Me.lbPtCount.Size = New System.Drawing.Size(106, 32) + Me.lbPtCount.Size = New System.Drawing.Size(82, 24) Me.lbPtCount.TabIndex = 0 Me.lbPtCount.Text = "인쇄매수" ' @@ -2382,11 +2252,9 @@ Partial Class MainForm Me.gbPtProd.Controls.Add(Me.btnPtProd_Ch1) Me.gbPtProd.Controls.Add(Me.pnPtProd_Name) Me.gbPtProd.Font = New System.Drawing.Font("함초롬바탕", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.gbPtProd.Location = New System.Drawing.Point(297, 588) - Me.gbPtProd.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbPtProd.Location = New System.Drawing.Point(260, 470) Me.gbPtProd.Name = "gbPtProd" - Me.gbPtProd.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbPtProd.Size = New System.Drawing.Size(566, 356) + Me.gbPtProd.Size = New System.Drawing.Size(495, 285) Me.gbPtProd.TabIndex = 5 Me.gbPtProd.TabStop = False Me.gbPtProd.Text = "제품 라벨" @@ -2395,18 +2263,16 @@ Partial Class MainForm ' Me.pnPtProd_Date.Controls.Add(Me.txbPtProd_Date) Me.pnPtProd_Date.Controls.Add(Me.lbPtProd_Date) - Me.pnPtProd_Date.Location = New System.Drawing.Point(6, 288) - Me.pnPtProd_Date.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPtProd_Date.Location = New System.Drawing.Point(5, 230) Me.pnPtProd_Date.Name = "pnPtProd_Date" - Me.pnPtProd_Date.Size = New System.Drawing.Size(474, 56) + Me.pnPtProd_Date.Size = New System.Drawing.Size(415, 45) Me.pnPtProd_Date.TabIndex = 10 ' 'txbPtProd_Date ' - Me.txbPtProd_Date.Location = New System.Drawing.Point(138, 9) - Me.txbPtProd_Date.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPtProd_Date.Location = New System.Drawing.Point(121, 7) Me.txbPtProd_Date.Name = "txbPtProd_Date" - Me.txbPtProd_Date.Size = New System.Drawing.Size(325, 38) + Me.txbPtProd_Date.Size = New System.Drawing.Size(285, 32) Me.txbPtProd_Date.TabIndex = 1 Me.txbPtProd_Date.Text = "Brother PT-P900W" Me.txbPtProd_Date.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -2414,18 +2280,17 @@ Partial Class MainForm 'lbPtProd_Date ' Me.lbPtProd_Date.AutoSize = True - Me.lbPtProd_Date.Location = New System.Drawing.Point(38, 12) + Me.lbPtProd_Date.Location = New System.Drawing.Point(33, 10) Me.lbPtProd_Date.Name = "lbPtProd_Date" - Me.lbPtProd_Date.Size = New System.Drawing.Size(106, 32) + Me.lbPtProd_Date.Size = New System.Drawing.Size(82, 24) Me.lbPtProd_Date.TabIndex = 0 Me.lbPtProd_Date.Text = "제조일자" ' 'btnPtProd_Ch2 ' - Me.btnPtProd_Ch2.Location = New System.Drawing.Point(480, 100) - Me.btnPtProd_Ch2.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnPtProd_Ch2.Location = New System.Drawing.Point(420, 80) Me.btnPtProd_Ch2.Name = "btnPtProd_Ch2" - Me.btnPtProd_Ch2.Size = New System.Drawing.Size(81, 56) + Me.btnPtProd_Ch2.Size = New System.Drawing.Size(71, 45) Me.btnPtProd_Ch2.TabIndex = 9 Me.btnPtProd_Ch2.Text = "변경" Me.btnPtProd_Ch2.UseVisualStyleBackColor = True @@ -2434,18 +2299,16 @@ Partial Class MainForm ' Me.pnPtProd_Val2.Controls.Add(Me.txbPtProd_Val2) Me.pnPtProd_Val2.Controls.Add(Me.lbPtProd_Val2) - Me.pnPtProd_Val2.Location = New System.Drawing.Point(6, 225) - Me.pnPtProd_Val2.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPtProd_Val2.Location = New System.Drawing.Point(5, 180) Me.pnPtProd_Val2.Name = "pnPtProd_Val2" - Me.pnPtProd_Val2.Size = New System.Drawing.Size(474, 56) + Me.pnPtProd_Val2.Size = New System.Drawing.Size(415, 45) Me.pnPtProd_Val2.TabIndex = 8 ' 'txbPtProd_Val2 ' - Me.txbPtProd_Val2.Location = New System.Drawing.Point(138, 9) - Me.txbPtProd_Val2.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPtProd_Val2.Location = New System.Drawing.Point(121, 7) Me.txbPtProd_Val2.Name = "txbPtProd_Val2" - Me.txbPtProd_Val2.Size = New System.Drawing.Size(325, 38) + Me.txbPtProd_Val2.Size = New System.Drawing.Size(285, 32) Me.txbPtProd_Val2.TabIndex = 1 Me.txbPtProd_Val2.Text = "Brother PT-P900W" Me.txbPtProd_Val2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -2453,9 +2316,9 @@ Partial Class MainForm 'lbPtProd_Val2 ' Me.lbPtProd_Val2.AutoSize = True - Me.lbPtProd_Val2.Location = New System.Drawing.Point(17, 12) + Me.lbPtProd_Val2.Location = New System.Drawing.Point(15, 10) Me.lbPtProd_Val2.Name = "lbPtProd_Val2" - Me.lbPtProd_Val2.Size = New System.Drawing.Size(129, 32) + Me.lbPtProd_Val2.Size = New System.Drawing.Size(100, 24) Me.lbPtProd_Val2.TabIndex = 0 Me.lbPtProd_Val2.Text = "텍스트변수" ' @@ -2463,18 +2326,16 @@ Partial Class MainForm ' Me.pnPtProd_Val1.Controls.Add(Me.txbPtProd_Val1) Me.pnPtProd_Val1.Controls.Add(Me.lbPtProd_Val1) - Me.pnPtProd_Val1.Location = New System.Drawing.Point(6, 162) - Me.pnPtProd_Val1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPtProd_Val1.Location = New System.Drawing.Point(5, 130) Me.pnPtProd_Val1.Name = "pnPtProd_Val1" - Me.pnPtProd_Val1.Size = New System.Drawing.Size(474, 56) + Me.pnPtProd_Val1.Size = New System.Drawing.Size(415, 45) Me.pnPtProd_Val1.TabIndex = 7 ' 'txbPtProd_Val1 ' - Me.txbPtProd_Val1.Location = New System.Drawing.Point(138, 9) - Me.txbPtProd_Val1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPtProd_Val1.Location = New System.Drawing.Point(121, 7) Me.txbPtProd_Val1.Name = "txbPtProd_Val1" - Me.txbPtProd_Val1.Size = New System.Drawing.Size(325, 38) + Me.txbPtProd_Val1.Size = New System.Drawing.Size(285, 32) Me.txbPtProd_Val1.TabIndex = 1 Me.txbPtProd_Val1.Text = "Brother PT-P900W" Me.txbPtProd_Val1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -2482,9 +2343,9 @@ Partial Class MainForm 'lbPtProd_Val1 ' Me.lbPtProd_Val1.AutoSize = True - Me.lbPtProd_Val1.Location = New System.Drawing.Point(17, 12) + Me.lbPtProd_Val1.Location = New System.Drawing.Point(15, 10) Me.lbPtProd_Val1.Name = "lbPtProd_Val1" - Me.lbPtProd_Val1.Size = New System.Drawing.Size(129, 32) + Me.lbPtProd_Val1.Size = New System.Drawing.Size(100, 24) Me.lbPtProd_Val1.TabIndex = 0 Me.lbPtProd_Val1.Text = "바코드변수" ' @@ -2492,18 +2353,16 @@ Partial Class MainForm ' Me.pnPtProd_Label.Controls.Add(Me.txbPtProd_Label) Me.pnPtProd_Label.Controls.Add(Me.lbPtProd_Label) - Me.pnPtProd_Label.Location = New System.Drawing.Point(6, 100) - Me.pnPtProd_Label.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPtProd_Label.Location = New System.Drawing.Point(5, 80) Me.pnPtProd_Label.Name = "pnPtProd_Label" - Me.pnPtProd_Label.Size = New System.Drawing.Size(474, 56) + Me.pnPtProd_Label.Size = New System.Drawing.Size(415, 45) Me.pnPtProd_Label.TabIndex = 6 ' 'txbPtProd_Label ' - Me.txbPtProd_Label.Location = New System.Drawing.Point(138, 9) - Me.txbPtProd_Label.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPtProd_Label.Location = New System.Drawing.Point(121, 7) Me.txbPtProd_Label.Name = "txbPtProd_Label" - Me.txbPtProd_Label.Size = New System.Drawing.Size(325, 38) + Me.txbPtProd_Label.Size = New System.Drawing.Size(285, 32) Me.txbPtProd_Label.TabIndex = 1 Me.txbPtProd_Label.Text = "Brother PT-P900W" Me.txbPtProd_Label.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -2511,18 +2370,17 @@ Partial Class MainForm 'lbPtProd_Label ' Me.lbPtProd_Label.AutoSize = True - Me.lbPtProd_Label.Location = New System.Drawing.Point(38, 12) + Me.lbPtProd_Label.Location = New System.Drawing.Point(33, 10) Me.lbPtProd_Label.Name = "lbPtProd_Label" - Me.lbPtProd_Label.Size = New System.Drawing.Size(106, 32) + Me.lbPtProd_Label.Size = New System.Drawing.Size(82, 24) Me.lbPtProd_Label.TabIndex = 0 Me.lbPtProd_Label.Text = "적용라벨" ' 'btnPtProd_Ch1 ' - Me.btnPtProd_Ch1.Location = New System.Drawing.Point(480, 36) - Me.btnPtProd_Ch1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnPtProd_Ch1.Location = New System.Drawing.Point(420, 29) Me.btnPtProd_Ch1.Name = "btnPtProd_Ch1" - Me.btnPtProd_Ch1.Size = New System.Drawing.Size(81, 56) + Me.btnPtProd_Ch1.Size = New System.Drawing.Size(71, 45) Me.btnPtProd_Ch1.TabIndex = 5 Me.btnPtProd_Ch1.Text = "변경" Me.btnPtProd_Ch1.UseVisualStyleBackColor = True @@ -2531,18 +2389,16 @@ Partial Class MainForm ' Me.pnPtProd_Name.Controls.Add(Me.txbPtProd_Name) Me.pnPtProd_Name.Controls.Add(Me.lbPtProd_Name) - Me.pnPtProd_Name.Location = New System.Drawing.Point(6, 38) - Me.pnPtProd_Name.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPtProd_Name.Location = New System.Drawing.Point(5, 30) Me.pnPtProd_Name.Name = "pnPtProd_Name" - Me.pnPtProd_Name.Size = New System.Drawing.Size(474, 56) + Me.pnPtProd_Name.Size = New System.Drawing.Size(415, 45) Me.pnPtProd_Name.TabIndex = 1 ' 'txbPtProd_Name ' - Me.txbPtProd_Name.Location = New System.Drawing.Point(138, 9) - Me.txbPtProd_Name.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPtProd_Name.Location = New System.Drawing.Point(121, 7) Me.txbPtProd_Name.Name = "txbPtProd_Name" - Me.txbPtProd_Name.Size = New System.Drawing.Size(325, 38) + Me.txbPtProd_Name.Size = New System.Drawing.Size(285, 32) Me.txbPtProd_Name.TabIndex = 1 Me.txbPtProd_Name.Text = "Brother PT-P900W" Me.txbPtProd_Name.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -2550,9 +2406,9 @@ Partial Class MainForm 'lbPtProd_Name ' Me.lbPtProd_Name.AutoSize = True - Me.lbPtProd_Name.Location = New System.Drawing.Point(39, 12) + Me.lbPtProd_Name.Location = New System.Drawing.Point(34, 10) Me.lbPtProd_Name.Name = "lbPtProd_Name" - Me.lbPtProd_Name.Size = New System.Drawing.Size(106, 32) + Me.lbPtProd_Name.Size = New System.Drawing.Size(82, 24) Me.lbPtProd_Name.TabIndex = 0 Me.lbPtProd_Name.Text = "프린터명" ' @@ -2564,21 +2420,18 @@ Partial Class MainForm Me.gbPtWar.Controls.Add(Me.btnPtWar_Ch1) Me.gbPtWar.Controls.Add(Me.pnPtWar_Name) Me.gbPtWar.Font = New System.Drawing.Font("함초롬바탕", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.gbPtWar.Location = New System.Drawing.Point(294, 344) - Me.gbPtWar.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbPtWar.Location = New System.Drawing.Point(257, 275) Me.gbPtWar.Name = "gbPtWar" - Me.gbPtWar.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbPtWar.Size = New System.Drawing.Size(566, 238) + Me.gbPtWar.Size = New System.Drawing.Size(495, 190) Me.gbPtWar.TabIndex = 4 Me.gbPtWar.TabStop = False Me.gbPtWar.Text = "워런티 카드" ' 'btnPtWar_Ch2 ' - Me.btnPtWar_Ch2.Location = New System.Drawing.Point(480, 100) - Me.btnPtWar_Ch2.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnPtWar_Ch2.Location = New System.Drawing.Point(420, 80) Me.btnPtWar_Ch2.Name = "btnPtWar_Ch2" - Me.btnPtWar_Ch2.Size = New System.Drawing.Size(81, 56) + Me.btnPtWar_Ch2.Size = New System.Drawing.Size(71, 45) Me.btnPtWar_Ch2.TabIndex = 9 Me.btnPtWar_Ch2.Text = "변경" Me.btnPtWar_Ch2.UseVisualStyleBackColor = True @@ -2587,18 +2440,16 @@ Partial Class MainForm ' Me.pnPtWar_Val1.Controls.Add(Me.txbPtWar_Val1) Me.pnPtWar_Val1.Controls.Add(Me.lbPtWar_Val1) - Me.pnPtWar_Val1.Location = New System.Drawing.Point(7, 162) - Me.pnPtWar_Val1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPtWar_Val1.Location = New System.Drawing.Point(6, 130) Me.pnPtWar_Val1.Name = "pnPtWar_Val1" - Me.pnPtWar_Val1.Size = New System.Drawing.Size(474, 56) + Me.pnPtWar_Val1.Size = New System.Drawing.Size(415, 45) Me.pnPtWar_Val1.TabIndex = 7 ' 'txbPtWar_Val1 ' - Me.txbPtWar_Val1.Location = New System.Drawing.Point(138, 9) - Me.txbPtWar_Val1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPtWar_Val1.Location = New System.Drawing.Point(121, 7) Me.txbPtWar_Val1.Name = "txbPtWar_Val1" - Me.txbPtWar_Val1.Size = New System.Drawing.Size(325, 38) + Me.txbPtWar_Val1.Size = New System.Drawing.Size(285, 32) Me.txbPtWar_Val1.TabIndex = 1 Me.txbPtWar_Val1.Text = "Brother PT-P900W" Me.txbPtWar_Val1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -2606,9 +2457,9 @@ Partial Class MainForm 'lbPtWar_Val1 ' Me.lbPtWar_Val1.AutoSize = True - Me.lbPtWar_Val1.Location = New System.Drawing.Point(17, 12) + Me.lbPtWar_Val1.Location = New System.Drawing.Point(15, 10) Me.lbPtWar_Val1.Name = "lbPtWar_Val1" - Me.lbPtWar_Val1.Size = New System.Drawing.Size(129, 32) + Me.lbPtWar_Val1.Size = New System.Drawing.Size(100, 24) Me.lbPtWar_Val1.TabIndex = 0 Me.lbPtWar_Val1.Text = "텍스트변수" ' @@ -2616,18 +2467,16 @@ Partial Class MainForm ' Me.pnPtWar_Label.Controls.Add(Me.txbPtWar_Label) Me.pnPtWar_Label.Controls.Add(Me.lbPtWar_Label) - Me.pnPtWar_Label.Location = New System.Drawing.Point(7, 100) - Me.pnPtWar_Label.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPtWar_Label.Location = New System.Drawing.Point(6, 80) Me.pnPtWar_Label.Name = "pnPtWar_Label" - Me.pnPtWar_Label.Size = New System.Drawing.Size(474, 56) + Me.pnPtWar_Label.Size = New System.Drawing.Size(415, 45) Me.pnPtWar_Label.TabIndex = 6 ' 'txbPtWar_Label ' - Me.txbPtWar_Label.Location = New System.Drawing.Point(138, 9) - Me.txbPtWar_Label.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPtWar_Label.Location = New System.Drawing.Point(121, 7) Me.txbPtWar_Label.Name = "txbPtWar_Label" - Me.txbPtWar_Label.Size = New System.Drawing.Size(325, 38) + Me.txbPtWar_Label.Size = New System.Drawing.Size(285, 32) Me.txbPtWar_Label.TabIndex = 1 Me.txbPtWar_Label.Text = "Brother PT-P900W" Me.txbPtWar_Label.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -2635,18 +2484,17 @@ Partial Class MainForm 'lbPtWar_Label ' Me.lbPtWar_Label.AutoSize = True - Me.lbPtWar_Label.Location = New System.Drawing.Point(38, 12) + Me.lbPtWar_Label.Location = New System.Drawing.Point(33, 10) Me.lbPtWar_Label.Name = "lbPtWar_Label" - Me.lbPtWar_Label.Size = New System.Drawing.Size(106, 32) + Me.lbPtWar_Label.Size = New System.Drawing.Size(82, 24) Me.lbPtWar_Label.TabIndex = 0 Me.lbPtWar_Label.Text = "적용라벨" ' 'btnPtWar_Ch1 ' - Me.btnPtWar_Ch1.Location = New System.Drawing.Point(480, 36) - Me.btnPtWar_Ch1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnPtWar_Ch1.Location = New System.Drawing.Point(420, 29) Me.btnPtWar_Ch1.Name = "btnPtWar_Ch1" - Me.btnPtWar_Ch1.Size = New System.Drawing.Size(81, 56) + Me.btnPtWar_Ch1.Size = New System.Drawing.Size(71, 45) Me.btnPtWar_Ch1.TabIndex = 5 Me.btnPtWar_Ch1.Text = "변경" Me.btnPtWar_Ch1.UseVisualStyleBackColor = True @@ -2655,18 +2503,16 @@ Partial Class MainForm ' Me.pnPtWar_Name.Controls.Add(Me.txbPtWar_Name) Me.pnPtWar_Name.Controls.Add(Me.lbPtWar_Name) - Me.pnPtWar_Name.Location = New System.Drawing.Point(6, 38) - Me.pnPtWar_Name.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPtWar_Name.Location = New System.Drawing.Point(5, 30) Me.pnPtWar_Name.Name = "pnPtWar_Name" - Me.pnPtWar_Name.Size = New System.Drawing.Size(474, 56) + Me.pnPtWar_Name.Size = New System.Drawing.Size(415, 45) Me.pnPtWar_Name.TabIndex = 1 ' 'txbPtWar_Name ' - Me.txbPtWar_Name.Location = New System.Drawing.Point(138, 9) - Me.txbPtWar_Name.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPtWar_Name.Location = New System.Drawing.Point(121, 7) Me.txbPtWar_Name.Name = "txbPtWar_Name" - Me.txbPtWar_Name.Size = New System.Drawing.Size(325, 38) + Me.txbPtWar_Name.Size = New System.Drawing.Size(285, 32) Me.txbPtWar_Name.TabIndex = 1 Me.txbPtWar_Name.Text = "Brother PT-P900W" Me.txbPtWar_Name.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -2674,9 +2520,9 @@ Partial Class MainForm 'lbPtWar_Name ' Me.lbPtWar_Name.AutoSize = True - Me.lbPtWar_Name.Location = New System.Drawing.Point(39, 12) + Me.lbPtWar_Name.Location = New System.Drawing.Point(34, 10) Me.lbPtWar_Name.Name = "lbPtWar_Name" - Me.lbPtWar_Name.Size = New System.Drawing.Size(106, 32) + Me.lbPtWar_Name.Size = New System.Drawing.Size(82, 24) Me.lbPtWar_Name.TabIndex = 0 Me.lbPtWar_Name.Text = "프린터명" ' @@ -2689,21 +2535,18 @@ Partial Class MainForm Me.gbPtBox.Controls.Add(Me.btnPtBox_Ch1) Me.gbPtBox.Controls.Add(Me.pnPtBox_Name) Me.gbPtBox.Font = New System.Drawing.Font("함초롬바탕", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.gbPtBox.Location = New System.Drawing.Point(294, 44) - Me.gbPtBox.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbPtBox.Location = New System.Drawing.Point(257, 35) Me.gbPtBox.Name = "gbPtBox" - Me.gbPtBox.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbPtBox.Size = New System.Drawing.Size(566, 294) + Me.gbPtBox.Size = New System.Drawing.Size(495, 235) Me.gbPtBox.TabIndex = 3 Me.gbPtBox.TabStop = False Me.gbPtBox.Text = "박스 바코드" ' 'btnPtBox_Ch2 ' - Me.btnPtBox_Ch2.Location = New System.Drawing.Point(480, 100) - Me.btnPtBox_Ch2.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnPtBox_Ch2.Location = New System.Drawing.Point(420, 80) Me.btnPtBox_Ch2.Name = "btnPtBox_Ch2" - Me.btnPtBox_Ch2.Size = New System.Drawing.Size(81, 56) + Me.btnPtBox_Ch2.Size = New System.Drawing.Size(71, 45) Me.btnPtBox_Ch2.TabIndex = 9 Me.btnPtBox_Ch2.Text = "변경" Me.btnPtBox_Ch2.UseVisualStyleBackColor = True @@ -2712,18 +2555,16 @@ Partial Class MainForm ' Me.pnPtBox_Val2.Controls.Add(Me.txbPtBox_Val2) Me.pnPtBox_Val2.Controls.Add(Me.lbPtBox_Val2) - Me.pnPtBox_Val2.Location = New System.Drawing.Point(7, 225) - Me.pnPtBox_Val2.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPtBox_Val2.Location = New System.Drawing.Point(6, 180) Me.pnPtBox_Val2.Name = "pnPtBox_Val2" - Me.pnPtBox_Val2.Size = New System.Drawing.Size(474, 56) + Me.pnPtBox_Val2.Size = New System.Drawing.Size(415, 45) Me.pnPtBox_Val2.TabIndex = 8 ' 'txbPtBox_Val2 ' - Me.txbPtBox_Val2.Location = New System.Drawing.Point(138, 9) - Me.txbPtBox_Val2.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPtBox_Val2.Location = New System.Drawing.Point(121, 7) Me.txbPtBox_Val2.Name = "txbPtBox_Val2" - Me.txbPtBox_Val2.Size = New System.Drawing.Size(325, 38) + Me.txbPtBox_Val2.Size = New System.Drawing.Size(285, 32) Me.txbPtBox_Val2.TabIndex = 1 Me.txbPtBox_Val2.Text = "Brother PT-P900W" Me.txbPtBox_Val2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -2731,9 +2572,9 @@ Partial Class MainForm 'lbPtBox_Val2 ' Me.lbPtBox_Val2.AutoSize = True - Me.lbPtBox_Val2.Location = New System.Drawing.Point(17, 12) + Me.lbPtBox_Val2.Location = New System.Drawing.Point(15, 10) Me.lbPtBox_Val2.Name = "lbPtBox_Val2" - Me.lbPtBox_Val2.Size = New System.Drawing.Size(129, 32) + Me.lbPtBox_Val2.Size = New System.Drawing.Size(100, 24) Me.lbPtBox_Val2.TabIndex = 0 Me.lbPtBox_Val2.Text = "텍스트변수" ' @@ -2741,18 +2582,16 @@ Partial Class MainForm ' Me.pnPtBox_Val1.Controls.Add(Me.txbPtBox_Val1) Me.pnPtBox_Val1.Controls.Add(Me.lbPtBox_Val1) - Me.pnPtBox_Val1.Location = New System.Drawing.Point(7, 162) - Me.pnPtBox_Val1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPtBox_Val1.Location = New System.Drawing.Point(6, 130) Me.pnPtBox_Val1.Name = "pnPtBox_Val1" - Me.pnPtBox_Val1.Size = New System.Drawing.Size(474, 56) + Me.pnPtBox_Val1.Size = New System.Drawing.Size(415, 45) Me.pnPtBox_Val1.TabIndex = 7 ' 'txbPtBox_Val1 ' - Me.txbPtBox_Val1.Location = New System.Drawing.Point(138, 9) - Me.txbPtBox_Val1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPtBox_Val1.Location = New System.Drawing.Point(121, 7) Me.txbPtBox_Val1.Name = "txbPtBox_Val1" - Me.txbPtBox_Val1.Size = New System.Drawing.Size(325, 38) + Me.txbPtBox_Val1.Size = New System.Drawing.Size(285, 32) Me.txbPtBox_Val1.TabIndex = 1 Me.txbPtBox_Val1.Text = "Brother PT-P900W" Me.txbPtBox_Val1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -2760,9 +2599,9 @@ Partial Class MainForm 'lbPtBox_Val1 ' Me.lbPtBox_Val1.AutoSize = True - Me.lbPtBox_Val1.Location = New System.Drawing.Point(17, 12) + Me.lbPtBox_Val1.Location = New System.Drawing.Point(15, 10) Me.lbPtBox_Val1.Name = "lbPtBox_Val1" - Me.lbPtBox_Val1.Size = New System.Drawing.Size(129, 32) + Me.lbPtBox_Val1.Size = New System.Drawing.Size(100, 24) Me.lbPtBox_Val1.TabIndex = 0 Me.lbPtBox_Val1.Text = "바코드변수" ' @@ -2770,18 +2609,16 @@ Partial Class MainForm ' Me.pnPtBox_Label.Controls.Add(Me.txbPtBox_Label) Me.pnPtBox_Label.Controls.Add(Me.lbPtBox_Label) - Me.pnPtBox_Label.Location = New System.Drawing.Point(7, 100) - Me.pnPtBox_Label.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPtBox_Label.Location = New System.Drawing.Point(6, 80) Me.pnPtBox_Label.Name = "pnPtBox_Label" - Me.pnPtBox_Label.Size = New System.Drawing.Size(474, 56) + Me.pnPtBox_Label.Size = New System.Drawing.Size(415, 45) Me.pnPtBox_Label.TabIndex = 6 ' 'txbPtBox_Label ' - Me.txbPtBox_Label.Location = New System.Drawing.Point(138, 9) - Me.txbPtBox_Label.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPtBox_Label.Location = New System.Drawing.Point(121, 7) Me.txbPtBox_Label.Name = "txbPtBox_Label" - Me.txbPtBox_Label.Size = New System.Drawing.Size(325, 38) + Me.txbPtBox_Label.Size = New System.Drawing.Size(285, 32) Me.txbPtBox_Label.TabIndex = 1 Me.txbPtBox_Label.Text = "Brother PT-P900W" Me.txbPtBox_Label.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -2789,18 +2626,17 @@ Partial Class MainForm 'lbPtBox_Label ' Me.lbPtBox_Label.AutoSize = True - Me.lbPtBox_Label.Location = New System.Drawing.Point(38, 12) + Me.lbPtBox_Label.Location = New System.Drawing.Point(33, 10) Me.lbPtBox_Label.Name = "lbPtBox_Label" - Me.lbPtBox_Label.Size = New System.Drawing.Size(106, 32) + Me.lbPtBox_Label.Size = New System.Drawing.Size(82, 24) Me.lbPtBox_Label.TabIndex = 0 Me.lbPtBox_Label.Text = "적용라벨" ' 'btnPtBox_Ch1 ' - Me.btnPtBox_Ch1.Location = New System.Drawing.Point(480, 36) - Me.btnPtBox_Ch1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnPtBox_Ch1.Location = New System.Drawing.Point(420, 29) Me.btnPtBox_Ch1.Name = "btnPtBox_Ch1" - Me.btnPtBox_Ch1.Size = New System.Drawing.Size(81, 56) + Me.btnPtBox_Ch1.Size = New System.Drawing.Size(71, 45) Me.btnPtBox_Ch1.TabIndex = 5 Me.btnPtBox_Ch1.Text = "변경" Me.btnPtBox_Ch1.UseVisualStyleBackColor = True @@ -2809,18 +2645,16 @@ Partial Class MainForm ' Me.pnPtBox_Name.Controls.Add(Me.txbPtBox_Name) Me.pnPtBox_Name.Controls.Add(Me.lbPtBox_Name) - Me.pnPtBox_Name.Location = New System.Drawing.Point(6, 38) - Me.pnPtBox_Name.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnPtBox_Name.Location = New System.Drawing.Point(5, 30) Me.pnPtBox_Name.Name = "pnPtBox_Name" - Me.pnPtBox_Name.Size = New System.Drawing.Size(474, 56) + Me.pnPtBox_Name.Size = New System.Drawing.Size(415, 45) Me.pnPtBox_Name.TabIndex = 1 ' 'txbPtBox_Name ' - Me.txbPtBox_Name.Location = New System.Drawing.Point(138, 9) - Me.txbPtBox_Name.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbPtBox_Name.Location = New System.Drawing.Point(121, 7) Me.txbPtBox_Name.Name = "txbPtBox_Name" - Me.txbPtBox_Name.Size = New System.Drawing.Size(325, 38) + Me.txbPtBox_Name.Size = New System.Drawing.Size(285, 32) Me.txbPtBox_Name.TabIndex = 1 Me.txbPtBox_Name.Text = "Brother PT-P900W" Me.txbPtBox_Name.TextAlign = System.Windows.Forms.HorizontalAlignment.Center @@ -2828,18 +2662,17 @@ Partial Class MainForm 'lbPtBox_Name ' Me.lbPtBox_Name.AutoSize = True - Me.lbPtBox_Name.Location = New System.Drawing.Point(39, 12) + Me.lbPtBox_Name.Location = New System.Drawing.Point(34, 10) Me.lbPtBox_Name.Name = "lbPtBox_Name" - Me.lbPtBox_Name.Size = New System.Drawing.Size(106, 32) + Me.lbPtBox_Name.Size = New System.Drawing.Size(82, 24) Me.lbPtBox_Name.TabIndex = 0 Me.lbPtBox_Name.Text = "프린터명" ' 'btnPtRefresh ' - Me.btnPtRefresh.Location = New System.Drawing.Point(7, 504) - Me.btnPtRefresh.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnPtRefresh.Location = New System.Drawing.Point(6, 403) Me.btnPtRefresh.Name = "btnPtRefresh" - Me.btnPtRefresh.Size = New System.Drawing.Size(280, 75) + Me.btnPtRefresh.Size = New System.Drawing.Size(245, 60) Me.btnPtRefresh.TabIndex = 2 Me.btnPtRefresh.Text = "새로고침" Me.btnPtRefresh.UseVisualStyleBackColor = True @@ -2848,15 +2681,14 @@ Partial Class MainForm ' Me.dgvPrinter.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize Me.dgvPrinter.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.dfPrintName}) - Me.dgvPrinter.Location = New System.Drawing.Point(7, 60) - Me.dgvPrinter.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.dgvPrinter.Location = New System.Drawing.Point(6, 48) Me.dgvPrinter.MultiSelect = False Me.dgvPrinter.Name = "dgvPrinter" Me.dgvPrinter.ReadOnly = True Me.dgvPrinter.RowHeadersWidth = 51 Me.dgvPrinter.RowTemplate.Height = 23 Me.dgvPrinter.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect - Me.dgvPrinter.Size = New System.Drawing.Size(280, 436) + Me.dgvPrinter.Size = New System.Drawing.Size(245, 349) Me.dgvPrinter.TabIndex = 0 ' 'dfPrintName @@ -2870,10 +2702,9 @@ Partial Class MainForm 'btnOpSave ' Me.btnOpSave.Font = New System.Drawing.Font("함초롬바탕", 24.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.btnOpSave.Location = New System.Drawing.Point(1611, 1125) - Me.btnOpSave.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnOpSave.Location = New System.Drawing.Point(1410, 900) Me.btnOpSave.Name = "btnOpSave" - Me.btnOpSave.Size = New System.Drawing.Size(286, 138) + Me.btnOpSave.Size = New System.Drawing.Size(250, 110) Me.btnOpSave.TabIndex = 70 Me.btnOpSave.Text = "저장하기" Me.btnOpSave.UseVisualStyleBackColor = True @@ -2881,10 +2712,9 @@ Partial Class MainForm 'btnOpExit ' Me.btnOpExit.Font = New System.Drawing.Font("함초롬바탕", 24.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.btnOpExit.Location = New System.Drawing.Point(1897, 1125) - Me.btnOpExit.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnOpExit.Location = New System.Drawing.Point(1660, 900) Me.btnOpExit.Name = "btnOpExit" - Me.btnOpExit.Size = New System.Drawing.Size(286, 138) + Me.btnOpExit.Size = New System.Drawing.Size(250, 110) Me.btnOpExit.TabIndex = 69 Me.btnOpExit.Text = "나가기" Me.btnOpExit.UseVisualStyleBackColor = True @@ -2894,37 +2724,34 @@ Partial Class MainForm Me.GroupBox2.Controls.Add(Me.btnRegADel) Me.GroupBox2.Controls.Add(Me.btnRegDel) Me.GroupBox2.Font = New System.Drawing.Font("함초롬바탕", 18.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.GroupBox2.Location = New System.Drawing.Point(863, 674) - Me.GroupBox2.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.GroupBox2.Location = New System.Drawing.Point(755, 638) Me.GroupBox2.Name = "GroupBox2" - Me.GroupBox2.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.GroupBox2.Size = New System.Drawing.Size(446, 238) + Me.GroupBox2.Size = New System.Drawing.Size(390, 190) Me.GroupBox2.TabIndex = 68 Me.GroupBox2.TabStop = False Me.GroupBox2.Text = "항목 기능" ' 'btnRegADel ' - Me.btnRegADel.Location = New System.Drawing.Point(7, 140) - Me.btnRegADel.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnRegADel.Location = New System.Drawing.Point(6, 112) Me.btnRegADel.Name = "btnRegADel" - Me.btnRegADel.Size = New System.Drawing.Size(423, 75) + Me.btnRegADel.Size = New System.Drawing.Size(370, 60) Me.btnRegADel.TabIndex = 1 Me.btnRegADel.Text = "전체삭제" Me.btnRegADel.UseVisualStyleBackColor = True ' 'btnRegDel ' - Me.btnRegDel.Location = New System.Drawing.Point(7, 59) - Me.btnRegDel.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnRegDel.Location = New System.Drawing.Point(6, 47) Me.btnRegDel.Name = "btnRegDel" - Me.btnRegDel.Size = New System.Drawing.Size(423, 75) + Me.btnRegDel.Size = New System.Drawing.Size(370, 60) Me.btnRegDel.TabIndex = 0 Me.btnRegDel.Text = "행삭제" Me.btnRegDel.UseVisualStyleBackColor = True ' 'gbOpReg ' + Me.gbOpReg.Controls.Add(Me.pnRegVersion) Me.gbOpReg.Controls.Add(Me.pnRegClass) Me.gbOpReg.Controls.Add(Me.pnRegColor) Me.gbOpReg.Controls.Add(Me.btnRegReset) @@ -2935,89 +2762,108 @@ Partial Class MainForm Me.gbOpReg.Controls.Add(Me.pnRegModel) Me.gbOpReg.Controls.Add(Me.pnRegName) Me.gbOpReg.Font = New System.Drawing.Font("함초롬바탕", 18.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.gbOpReg.Location = New System.Drawing.Point(863, 104) - Me.gbOpReg.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbOpReg.Location = New System.Drawing.Point(755, 83) Me.gbOpReg.Name = "gbOpReg" - Me.gbOpReg.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbOpReg.Size = New System.Drawing.Size(446, 562) + Me.gbOpReg.Size = New System.Drawing.Size(390, 515) Me.gbOpReg.TabIndex = 67 Me.gbOpReg.TabStop = False Me.gbOpReg.Text = "등록화면" ' + 'pnRegVersion + ' + Me.pnRegVersion.Controls.Add(Me.cboRegVersion) + Me.pnRegVersion.Controls.Add(Me.lbRegVersion) + Me.pnRegVersion.Location = New System.Drawing.Point(10, 397) + Me.pnRegVersion.Name = "pnRegVersion" + Me.pnRegVersion.Size = New System.Drawing.Size(365, 45) + Me.pnRegVersion.TabIndex = 3 + ' + 'cboRegVersion + ' + Me.cboRegVersion.FormattingEnabled = True + Me.cboRegVersion.Items.AddRange(New Object() {"V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9"}) + Me.cboRegVersion.Location = New System.Drawing.Point(160, 3) + Me.cboRegVersion.Name = "cboRegVersion" + Me.cboRegVersion.Size = New System.Drawing.Size(200, 40) + Me.cboRegVersion.TabIndex = 3 + ' + 'lbRegVersion + ' + Me.lbRegVersion.AutoSize = True + Me.lbRegVersion.Location = New System.Drawing.Point(13, 5) + Me.lbRegVersion.Name = "lbRegVersion" + Me.lbRegVersion.Size = New System.Drawing.Size(116, 32) + Me.lbRegVersion.TabIndex = 0 + Me.lbRegVersion.Text = "버전(HW)" + ' 'pnRegClass ' Me.pnRegClass.Controls.Add(Me.cboRegClass) Me.pnRegClass.Controls.Add(Me.lbRegClass) - Me.pnRegClass.Location = New System.Drawing.Point(11, 306) - Me.pnRegClass.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnRegClass.Location = New System.Drawing.Point(10, 245) Me.pnRegClass.Name = "pnRegClass" - Me.pnRegClass.Size = New System.Drawing.Size(417, 56) + Me.pnRegClass.Size = New System.Drawing.Size(365, 45) Me.pnRegClass.TabIndex = 7 ' 'cboRegClass ' Me.cboRegClass.FormattingEnabled = True Me.cboRegClass.Items.AddRange(New Object() {"국내-세트", "국내-A/S", "국내-샵용", "해외-세트", "해외-A/S", "체험단"}) - Me.cboRegClass.Location = New System.Drawing.Point(183, 2) - Me.cboRegClass.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.cboRegClass.Location = New System.Drawing.Point(160, 2) Me.cboRegClass.Name = "cboRegClass" - Me.cboRegClass.Size = New System.Drawing.Size(228, 47) + Me.cboRegClass.Size = New System.Drawing.Size(200, 40) Me.cboRegClass.TabIndex = 2 ' 'lbRegClass ' Me.lbRegClass.AutoSize = True - Me.lbRegClass.Location = New System.Drawing.Point(67, 6) + Me.lbRegClass.Location = New System.Drawing.Point(59, 5) Me.lbRegClass.Name = "lbRegClass" - Me.lbRegClass.Size = New System.Drawing.Size(104, 39) + Me.lbRegClass.Size = New System.Drawing.Size(106, 32) Me.lbRegClass.TabIndex = 0 - Me.lbRegClass.Text = "분류명" + Me.lbRegClass.Text = "유통구분" ' 'pnRegColor ' Me.pnRegColor.Controls.Add(Me.cboRegColor) Me.pnRegColor.Controls.Add(Me.lbRegColor) Me.pnRegColor.Enabled = False - Me.pnRegColor.Location = New System.Drawing.Point(11, 244) - Me.pnRegColor.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnRegColor.Location = New System.Drawing.Point(10, 195) Me.pnRegColor.Name = "pnRegColor" - Me.pnRegColor.Size = New System.Drawing.Size(417, 56) + Me.pnRegColor.Size = New System.Drawing.Size(365, 45) Me.pnRegColor.TabIndex = 6 ' 'cboRegColor ' Me.cboRegColor.FormattingEnabled = True - Me.cboRegColor.Location = New System.Drawing.Point(183, 2) - Me.cboRegColor.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.cboRegColor.Location = New System.Drawing.Point(160, 2) Me.cboRegColor.Name = "cboRegColor" - Me.cboRegColor.Size = New System.Drawing.Size(228, 47) + Me.cboRegColor.Size = New System.Drawing.Size(200, 40) Me.cboRegColor.TabIndex = 2 ' 'lbRegColor ' Me.lbRegColor.AutoSize = True - Me.lbRegColor.Location = New System.Drawing.Point(67, 6) + Me.lbRegColor.Location = New System.Drawing.Point(59, 5) Me.lbRegColor.Name = "lbRegColor" - Me.lbRegColor.Size = New System.Drawing.Size(104, 39) + Me.lbRegColor.Size = New System.Drawing.Size(83, 32) Me.lbRegColor.TabIndex = 0 Me.lbRegColor.Text = "색상명" ' 'btnRegReset ' - Me.btnRegReset.Location = New System.Drawing.Point(11, 494) - Me.btnRegReset.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnRegReset.Location = New System.Drawing.Point(10, 452) Me.btnRegReset.Name = "btnRegReset" - Me.btnRegReset.Size = New System.Drawing.Size(200, 56) + Me.btnRegReset.Size = New System.Drawing.Size(175, 45) Me.btnRegReset.TabIndex = 5 Me.btnRegReset.Text = "초기화" Me.btnRegReset.UseVisualStyleBackColor = True ' 'btnRegOK ' - Me.btnRegOK.Location = New System.Drawing.Point(223, 494) - Me.btnRegOK.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.btnRegOK.Location = New System.Drawing.Point(195, 452) Me.btnRegOK.Name = "btnRegOK" - Me.btnRegOK.Size = New System.Drawing.Size(200, 56) + Me.btnRegOK.Size = New System.Drawing.Size(175, 45) Me.btnRegOK.TabIndex = 4 Me.btnRegOK.Text = "등록" Me.btnRegOK.UseVisualStyleBackColor = True @@ -3026,27 +2872,25 @@ Partial Class MainForm ' Me.pnRegAgency.Controls.Add(Me.txbRegAgency) Me.pnRegAgency.Controls.Add(Me.lbRegAgency) - Me.pnRegAgency.Location = New System.Drawing.Point(11, 431) - Me.pnRegAgency.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnRegAgency.Location = New System.Drawing.Point(10, 345) Me.pnRegAgency.Name = "pnRegAgency" - Me.pnRegAgency.Size = New System.Drawing.Size(417, 56) + Me.pnRegAgency.Size = New System.Drawing.Size(365, 45) Me.pnRegAgency.TabIndex = 2 ' 'txbRegAgency ' - Me.txbRegAgency.Location = New System.Drawing.Point(183, 4) - Me.txbRegAgency.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbRegAgency.Location = New System.Drawing.Point(160, 3) Me.txbRegAgency.MaxLength = 3 Me.txbRegAgency.Name = "txbRegAgency" - Me.txbRegAgency.Size = New System.Drawing.Size(228, 46) + Me.txbRegAgency.Size = New System.Drawing.Size(200, 39) Me.txbRegAgency.TabIndex = 1 ' 'lbRegAgency ' Me.lbRegAgency.AutoSize = True - Me.lbRegAgency.Location = New System.Drawing.Point(15, 6) + Me.lbRegAgency.Location = New System.Drawing.Point(13, 5) Me.lbRegAgency.Name = "lbRegAgency" - Me.lbRegAgency.Size = New System.Drawing.Size(162, 39) + Me.lbRegAgency.Size = New System.Drawing.Size(129, 32) Me.lbRegAgency.TabIndex = 0 Me.lbRegAgency.Text = "대리점코드" ' @@ -3054,27 +2898,25 @@ Partial Class MainForm ' Me.pnRegCountry.Controls.Add(Me.txbRegCountry) Me.pnRegCountry.Controls.Add(Me.lbRegCountry) - Me.pnRegCountry.Location = New System.Drawing.Point(11, 369) - Me.pnRegCountry.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnRegCountry.Location = New System.Drawing.Point(10, 295) Me.pnRegCountry.Name = "pnRegCountry" - Me.pnRegCountry.Size = New System.Drawing.Size(417, 56) + Me.pnRegCountry.Size = New System.Drawing.Size(365, 45) Me.pnRegCountry.TabIndex = 3 ' 'txbRegCountry ' - Me.txbRegCountry.Location = New System.Drawing.Point(183, 2) - Me.txbRegCountry.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbRegCountry.Location = New System.Drawing.Point(160, 2) Me.txbRegCountry.MaxLength = 3 Me.txbRegCountry.Name = "txbRegCountry" - Me.txbRegCountry.Size = New System.Drawing.Size(228, 46) + Me.txbRegCountry.Size = New System.Drawing.Size(200, 39) Me.txbRegCountry.TabIndex = 1 ' 'lbRegCountry ' Me.lbRegCountry.AutoSize = True - Me.lbRegCountry.Location = New System.Drawing.Point(41, 6) + Me.lbRegCountry.Location = New System.Drawing.Point(36, 5) Me.lbRegCountry.Name = "lbRegCountry" - Me.lbRegCountry.Size = New System.Drawing.Size(133, 39) + Me.lbRegCountry.Size = New System.Drawing.Size(106, 32) Me.lbRegCountry.TabIndex = 0 Me.lbRegCountry.Text = "국가코드" ' @@ -3083,27 +2925,25 @@ Partial Class MainForm Me.pnRegType.Controls.Add(Me.cboRegType) Me.pnRegType.Controls.Add(Me.lbRegType) Me.pnRegType.Enabled = False - Me.pnRegType.Location = New System.Drawing.Point(11, 181) - Me.pnRegType.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnRegType.Location = New System.Drawing.Point(10, 145) Me.pnRegType.Name = "pnRegType" - Me.pnRegType.Size = New System.Drawing.Size(417, 56) + Me.pnRegType.Size = New System.Drawing.Size(365, 45) Me.pnRegType.TabIndex = 2 ' 'cboRegType ' Me.cboRegType.FormattingEnabled = True - Me.cboRegType.Location = New System.Drawing.Point(183, 2) - Me.cboRegType.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.cboRegType.Location = New System.Drawing.Point(160, 2) Me.cboRegType.Name = "cboRegType" - Me.cboRegType.Size = New System.Drawing.Size(228, 47) + Me.cboRegType.Size = New System.Drawing.Size(200, 40) Me.cboRegType.TabIndex = 2 ' 'lbRegType ' Me.lbRegType.AutoSize = True - Me.lbRegType.Location = New System.Drawing.Point(67, 6) + Me.lbRegType.Location = New System.Drawing.Point(59, 5) Me.lbRegType.Name = "lbRegType" - Me.lbRegType.Size = New System.Drawing.Size(104, 39) + Me.lbRegType.Size = New System.Drawing.Size(83, 32) Me.lbRegType.TabIndex = 0 Me.lbRegType.Text = "타입명" ' @@ -3111,27 +2951,25 @@ Partial Class MainForm ' Me.pnRegModel.Controls.Add(Me.cboRegModel) Me.pnRegModel.Controls.Add(Me.lbRegModel) - Me.pnRegModel.Location = New System.Drawing.Point(11, 119) - Me.pnRegModel.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnRegModel.Location = New System.Drawing.Point(10, 95) Me.pnRegModel.Name = "pnRegModel" - Me.pnRegModel.Size = New System.Drawing.Size(417, 56) + Me.pnRegModel.Size = New System.Drawing.Size(365, 45) Me.pnRegModel.TabIndex = 1 ' 'cboRegModel ' Me.cboRegModel.FormattingEnabled = True - Me.cboRegModel.Location = New System.Drawing.Point(183, 4) - Me.cboRegModel.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.cboRegModel.Location = New System.Drawing.Point(160, 3) Me.cboRegModel.Name = "cboRegModel" - Me.cboRegModel.Size = New System.Drawing.Size(228, 47) + Me.cboRegModel.Size = New System.Drawing.Size(200, 40) Me.cboRegModel.TabIndex = 1 ' 'lbRegModel ' Me.lbRegModel.AutoSize = True - Me.lbRegModel.Location = New System.Drawing.Point(67, 6) + Me.lbRegModel.Location = New System.Drawing.Point(59, 5) Me.lbRegModel.Name = "lbRegModel" - Me.lbRegModel.Size = New System.Drawing.Size(104, 39) + Me.lbRegModel.Size = New System.Drawing.Size(83, 32) Me.lbRegModel.TabIndex = 0 Me.lbRegModel.Text = "모델명" ' @@ -3139,26 +2977,24 @@ Partial Class MainForm ' Me.pnRegName.Controls.Add(Me.txbRegName) Me.pnRegName.Controls.Add(Me.lbRegName) - Me.pnRegName.Location = New System.Drawing.Point(11, 56) - Me.pnRegName.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.pnRegName.Location = New System.Drawing.Point(10, 45) Me.pnRegName.Name = "pnRegName" - Me.pnRegName.Size = New System.Drawing.Size(417, 56) + Me.pnRegName.Size = New System.Drawing.Size(365, 45) Me.pnRegName.TabIndex = 0 ' 'txbRegName ' - Me.txbRegName.Location = New System.Drawing.Point(183, 4) - Me.txbRegName.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbRegName.Location = New System.Drawing.Point(160, 3) Me.txbRegName.Name = "txbRegName" - Me.txbRegName.Size = New System.Drawing.Size(228, 46) + Me.txbRegName.Size = New System.Drawing.Size(200, 39) Me.txbRegName.TabIndex = 1 ' 'lbRegName ' Me.lbRegName.AutoSize = True - Me.lbRegName.Location = New System.Drawing.Point(67, 6) + Me.lbRegName.Location = New System.Drawing.Point(59, 5) Me.lbRegName.Name = "lbRegName" - Me.lbRegName.Size = New System.Drawing.Size(104, 39) + Me.lbRegName.Size = New System.Drawing.Size(83, 32) Me.lbRegName.TabIndex = 0 Me.lbRegName.Text = "구분명" ' @@ -3169,11 +3005,9 @@ Partial Class MainForm Me.gbOpCompany.Controls.Add(Me.txbOpCompany) Me.gbOpCompany.Font = New System.Drawing.Font("함초롬바탕", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) Me.gbOpCompany.ForeColor = System.Drawing.Color.Black - Me.gbOpCompany.Location = New System.Drawing.Point(233, 6) - Me.gbOpCompany.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbOpCompany.Location = New System.Drawing.Point(204, 5) Me.gbOpCompany.Name = "gbOpCompany" - Me.gbOpCompany.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbOpCompany.Size = New System.Drawing.Size(394, 100) + Me.gbOpCompany.Size = New System.Drawing.Size(345, 80) Me.gbOpCompany.TabIndex = 66 Me.gbOpCompany.TabStop = False Me.gbOpCompany.Text = "사용 제조사" @@ -3182,32 +3016,30 @@ Partial Class MainForm ' Me.lbOpCompany.AutoSize = True Me.lbOpCompany.Font = New System.Drawing.Font("함초롬바탕", 18.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.lbOpCompany.Location = New System.Drawing.Point(31, 39) + Me.lbOpCompany.Location = New System.Drawing.Point(27, 31) Me.lbOpCompany.Name = "lbOpCompany" - Me.lbOpCompany.Size = New System.Drawing.Size(133, 39) + Me.lbOpCompany.Size = New System.Drawing.Size(106, 32) Me.lbOpCompany.TabIndex = 1 Me.lbOpCompany.Text = "제조사명" ' 'txbOpCompany ' Me.txbOpCompany.Font = New System.Drawing.Font("함초롬바탕", 18.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) - Me.txbOpCompany.Location = New System.Drawing.Point(159, 35) - Me.txbOpCompany.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.txbOpCompany.Location = New System.Drawing.Point(139, 28) Me.txbOpCompany.Name = "txbOpCompany" - Me.txbOpCompany.Size = New System.Drawing.Size(205, 46) + Me.txbOpCompany.Size = New System.Drawing.Size(180, 39) Me.txbOpCompany.TabIndex = 0 Me.txbOpCompany.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'dgvDataSet ' Me.dgvDataSet.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize - Me.dgvDataSet.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.dfName, Me.dfModel, Me.dfType, Me.dfCountry, Me.dfAgency, Me.dfColor, Me.dfClass}) - Me.dgvDataSet.Location = New System.Drawing.Point(6, 125) - Me.dgvDataSet.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.dgvDataSet.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.dfName, Me.dfModel, Me.dfType, Me.dfCountry, Me.dfAgency, Me.dfColor, Me.dfClass, Me.dfVersion}) + Me.dgvDataSet.Location = New System.Drawing.Point(5, 100) Me.dgvDataSet.Name = "dgvDataSet" Me.dgvDataSet.RowHeadersWidth = 51 Me.dgvDataSet.RowTemplate.Height = 23 - Me.dgvDataSet.Size = New System.Drawing.Size(850, 1131) + Me.dgvDataSet.Size = New System.Drawing.Size(744, 905) Me.dgvDataSet.TabIndex = 65 ' 'dfName @@ -3254,35 +3086,37 @@ Partial Class MainForm ' 'dfClass ' - Me.dfClass.HeaderText = "분류명" + Me.dfClass.HeaderText = "유통구분" Me.dfClass.MinimumWidth = 6 Me.dfClass.Name = "dfClass" Me.dfClass.Width = 125 ' + 'dfVersion + ' + Me.dfVersion.HeaderText = "버전(HW)" + Me.dfVersion.Name = "dfVersion" + ' 'gbDBServer ' Me.gbDBServer.BackColor = System.Drawing.Color.Silver Me.gbDBServer.Controls.Add(Me.ckbDBServer) Me.gbDBServer.Font = New System.Drawing.Font("함초롬바탕", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte)) Me.gbDBServer.ForeColor = System.Drawing.Color.Black - Me.gbDBServer.Location = New System.Drawing.Point(6, 6) - Me.gbDBServer.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) + Me.gbDBServer.Location = New System.Drawing.Point(5, 5) Me.gbDBServer.Name = "gbDBServer" - Me.gbDBServer.Padding = New System.Windows.Forms.Padding(3, 4, 3, 4) - Me.gbDBServer.Size = New System.Drawing.Size(221, 100) + Me.gbDBServer.Size = New System.Drawing.Size(193, 80) Me.gbDBServer.TabIndex = 64 Me.gbDBServer.TabStop = False Me.gbDBServer.Text = "DBServer" ' 'MainForm ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(8.0!, 15.0!) + Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 12.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(4393, 1276) + Me.ClientSize = New System.Drawing.Size(3844, 1000) Me.Controls.Add(Me.pnOption) Me.Controls.Add(Me.pnMain) Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon) - Me.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) Me.Name = "MainForm" Me.Text = "MAXIMUM Product Program" Me.pnMain.ResumeLayout(False) @@ -3414,6 +3248,8 @@ Partial Class MainForm CType(Me.dgvPrinter, System.ComponentModel.ISupportInitialize).EndInit() Me.GroupBox2.ResumeLayout(False) Me.gbOpReg.ResumeLayout(False) + Me.pnRegVersion.ResumeLayout(False) + Me.pnRegVersion.PerformLayout() Me.pnRegClass.ResumeLayout(False) Me.pnRegClass.PerformLayout() Me.pnRegColor.ResumeLayout(False) @@ -3662,13 +3498,6 @@ Partial Class MainForm Friend WithEvents pnRegClass As Panel Friend WithEvents cboRegClass As ComboBox Friend WithEvents lbRegClass As Label - Friend WithEvents dfName As DataGridViewTextBoxColumn - Friend WithEvents dfModel As DataGridViewTextBoxColumn - Friend WithEvents dfType As DataGridViewTextBoxColumn - Friend WithEvents dfCountry As DataGridViewTextBoxColumn - Friend WithEvents dfAgency As DataGridViewTextBoxColumn - Friend WithEvents dfColor As DataGridViewTextBoxColumn - Friend WithEvents dfClass As DataGridViewTextBoxColumn Friend WithEvents gbOpAlto As GroupBox Friend WithEvents ckbOpAlto As CheckBox Friend WithEvents RichTextBox1 As RichTextBox @@ -3699,4 +3528,15 @@ Partial Class MainForm Friend WithEvents Label2 As Label Friend WithEvents Label4 As Label Friend WithEvents txtManufactureDate As TextBox + Friend WithEvents dfName As DataGridViewTextBoxColumn + Friend WithEvents dfModel As DataGridViewTextBoxColumn + Friend WithEvents dfType As DataGridViewTextBoxColumn + Friend WithEvents dfCountry As DataGridViewTextBoxColumn + Friend WithEvents dfAgency As DataGridViewTextBoxColumn + Friend WithEvents dfColor As DataGridViewTextBoxColumn + Friend WithEvents dfClass As DataGridViewTextBoxColumn + Friend WithEvents dfVersion As DataGridViewTextBoxColumn + Friend WithEvents pnRegVersion As Panel + Friend WithEvents lbRegVersion As Label + Friend WithEvents cboRegVersion As ComboBox End Class diff --git a/MAXIMUM_Product_Program/MainForm.vb b/MAXIMUM_Product_Program/MainForm.vb index c499796..8fda14e 100644 --- a/MAXIMUM_Product_Program/MainForm.vb +++ b/MAXIMUM_Product_Program/MainForm.vb @@ -30,6 +30,7 @@ Public Class MainForm Private TypeCode As String Private ColorCode As String Private ClassCode As String + Private VersionCode As String Private ProdCode As String Private TDUseCompare As Boolean = False @@ -200,44 +201,60 @@ Public Class MainForm Private Sub RegCboSetting() ModelCboSetting() ClassCboSetting() + VersionCboSetting() cboClear() End Sub Private Sub ClassCboSetting() + cboRegClass.DisplayMember = "Key" + cboRegClass.ValueMember = "Value" + cboRegClass.Items.Clear() - cboRegClass.Items.Add("국내-세트") - cboRegClass.Items.Add("국내-A/S") - cboRegClass.Items.Add("국내-샵용") - cboRegClass.Items.Add("해외-세트") - cboRegClass.Items.Add("해외-A/S") - cboRegClass.Items.Add("체험단") + cboRegClass.Items.Add(New DictionaryEntry("국내-세트", 1)) + cboRegClass.Items.Add(New DictionaryEntry("국내-A/S", 2)) + cboRegClass.Items.Add(New DictionaryEntry("국내-샵용", 3)) + cboRegClass.Items.Add(New DictionaryEntry("해외-세트", 5)) + cboRegClass.Items.Add(New DictionaryEntry("해외-A/S", 6)) + cboRegClass.Items.Add(New DictionaryEntry("체험단", 7)) + End Sub + + Private Sub VersionCboSetting() + cboRegVersion.DisplayMember = "Key" + cboRegVersion.ValueMember = "Value" + + cboRegVersion.Items.Clear() + cboRegVersion.Items.Add(New DictionaryEntry("V1", 0)) + cboRegVersion.Items.Add(New DictionaryEntry("V2", 1)) + cboRegVersion.Items.Add(New DictionaryEntry("V3", 2)) + cboRegVersion.Items.Add(New DictionaryEntry("V4", 3)) + cboRegVersion.Items.Add(New DictionaryEntry("V5", 4)) + cboRegVersion.Items.Add(New DictionaryEntry("V6", 5)) + cboRegVersion.Items.Add(New DictionaryEntry("V7", 6)) + cboRegVersion.Items.Add(New DictionaryEntry("V8", 7)) + cboRegVersion.Items.Add(New DictionaryEntry("V9", 8)) End Sub Private Sub ModelCboSetting() cboRegModel.Items.Clear() - cboRegModel.Items.Add("MAXIMUM") - cboRegModel.Items.Add("ALTO") - cboRegModel.Items.Add("EFFECT") - cboRegModel.Items.Add("MAXIMUM ALPHA") + + DBCmd = "SELECT ModelName FROM " & ModelInfoDB & " WHERE DeviceTypeCode = 'A' GROUP BY ModelName" + If DBQueryReader(DBCmd) Then + For i = 0 To sqlDataQuery.Length - 1 + cboRegModel.Items.Add(sqlDataQuery(i)) + Next + End If End Sub Private Sub cboRegModel_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cboRegModel.SelectedIndexChanged If cboRegModel.SelectedIndex > -1 Then cboRegType.Items.Clear() - Select Case cboRegModel.SelectedItem - Case "MAXIMUM" - cboRegType.Items.Add("V1") - cboRegType.Items.Add("V2") - Case "ALTO" - cboRegType.Items.Add("SET") - Case "EFFECT" - cboRegType.Items.Add("V2") - cboRegType.Items.Add("V3") - Case "MAXIMUM ALPHA" - cboRegType.Items.Add("SET") - Case Else - MsgBox("잘못된 경로입니다.", vbCritical) - End Select + + DBCmd = "SELECT CartTypeName FROM " & ModelInfoDB & " WHERE ModelName = '" & cboRegModel.SelectedItem & "' GROUP BY CartTypeCode ORDER BY CartTypeCode ASC" + If DBQueryReader(DBCmd) Then + For i = 0 To sqlDataQuery.Length - 1 + cboRegType.Items.Add(sqlDataQuery(i)) + Next + End If cboRegType.SelectedIndex = -1 cboRegType.Text = "SELECT!" @@ -249,68 +266,12 @@ Public Class MainForm If cboRegType.SelectedIndex > -1 Then cboRegColor.Items.Clear() - Select Case cboRegModel.SelectedItem - Case "MAXIMUM" - Select Case cboRegType.SelectedItem - Case "V1" - cboRegColor.Items.Add("White") - cboRegColor.Items.Add("Pink") - cboRegColor.Items.Add("Mint") - cboRegColor.Items.Add("Purple") - cboRegColor.Items.Add("Yellow") - cboRegColor.Items.Add("Black_Gold") - Case "V2" - cboRegColor.Items.Add("White") - cboRegColor.Items.Add("Shine_Mint") - cboRegColor.Items.Add("Black_Black") - cboRegColor.Items.Add("Peach") - cboRegColor.Items.Add("Purple") - cboRegColor.Items.Add("Black_Gold") - cboRegColor.Items.Add("Pink") - cboRegColor.Items.Add("Yellow") - Case Else - MsgBox("잘못된 경로입니다.", vbCritical) - End Select - - Case "ALTO" - Select Case cboRegType.SelectedItem - Case "SET" - cboRegColor.Items.Add("White") - cboRegColor.Items.Add("Purple") - cboRegColor.Items.Add("Black_Gold") - Case Else - MsgBox("잘못된 경로입니다.", vbCritical) - End Select - - Case "EFFECT" - Select Case cboRegType.SelectedItem - Case "V2" - cboRegColor.Items.Add("White_Brown") - cboRegColor.Items.Add("White_Pink") - cboRegColor.Items.Add("White_Sky") - Case "V3" - cboRegColor.Items.Add("LineFrends_Brown") - cboRegColor.Items.Add("LineFrends_Sally") - Case Else - MsgBox("잘못된 경로입니다.", vbCritical) - End Select - - Case "MAXIMUM ALPHA" - Select Case cboRegType.SelectedItem - Case "SET" - cboRegColor.Items.Add("Ruby_Red") - cboRegColor.Items.Add("Topaz_Orange") - cboRegColor.Items.Add("Emerald_Green") - cboRegColor.Items.Add("Sapphire_Blue") - cboRegColor.Items.Add("Topaz_Brown") - cboRegColor.Items.Add("Sitrin_Gold") - Case Else - MsgBox("잘못된 경로입니다.", vbCritical) - End Select - - Case Else - MsgBox("잘못된 경로입니다.", vbCritical) - End Select + DBCmd = "SELECT ColorName FROM " & ModelInfoDB & " WHERE ModelName = '" & cboRegModel.SelectedItem & "' AND CartTypeName = '" & cboRegType.SelectedItem & "' ORDER BY ColorCode ASC" + If DBQueryReader(DBCmd) Then + For i = 0 To sqlDataQuery.Length - 1 + cboRegColor.Items.Add(sqlDataQuery(i)) + Next + End If cboRegColor.SelectedIndex = -1 cboRegColor.Text = "SELECT!" @@ -319,145 +280,22 @@ Public Class MainForm End Sub Private Function ColorSet(cboSelect As Integer) As Boolean - Select Case dgvDataSet.Rows(cboSelect).Cells(1).Value - Case "MAXIMUM" - ModelCode = "3" - TDUseCompare = True + Dim modelName As String = dgvDataSet.Rows(cboSelect).Cells(1).Value + Dim cartTypeName As String = dgvDataSet.Rows(cboSelect).Cells(2).Value + Dim colorName As String = dgvDataSet.Rows(cboSelect).Cells(5).Value - Select Case dgvDataSet.Rows(cboSelect).Cells(2).Value - Case "V1" - TypeCode = "0" + DBCmd = "SELECT ModelCode, CartTypeCode, ColorCode, TDUseYn FROM " & ModelInfoDB & " WHERE ModelName = '" & modelName & "' AND CartTypeName = '" & cartTypeName & "' AND ColorName = '" & colorName & "'" - Select Case dgvDataSet.Rows(cboSelect).Cells(5).Value - Case "White" - ColorCode = "0" - Case "Pink" - ColorCode = "3" - Case "Yellow" - ColorCode = "5" - Case "Mint" - ColorCode = "7" - Case "Purple" - ColorCode = "8" - Case "Black_Gold" - ColorCode = "9" - Case Else - Return True - End Select - - Case "V2" - TypeCode = "1" - - Select Case dgvDataSet.Rows(cboSelect).Cells(5).Value - Case "White" - ColorCode = "0" - Case "Shine_Mint" - ColorCode = "2" - Case "Black_Black" - ColorCode = "4" - Case "Peach" - ColorCode = "6" - Case "Purple" - ColorCode = "8" - Case "Black_Gold" - ColorCode = "9" - Case "Pink" - ColorCode = "3" - Case "Yellow" - ColorCode = "5" - Case Else - Return True - End Select - - Case Else - Return True - End Select - - Case "ALTO" - - ModelCode = "5" + If DBQueryReader(DBCmd) Then + ModelCode = sqlDataQuery(0) + TypeCode = sqlDataQuery(1) + ColorCode = sqlDataQuery(2) + If sqlDataQuery(3) <> "Y" Then TDUseCompare = False - - Select Case dgvDataSet.Rows(cboSelect).Cells(2).Value - Case "SET" - TypeCode = "0" - - Select Case dgvDataSet.Rows(cboSelect).Cells(5).Value - Case "White" - ColorCode = "0" - Case "Purple" - ColorCode = "8" - Case "Black_Gold" - ColorCode = "9" - Case Else - Return True - End Select - End Select - - Case "EFFECT" - - ModelCode = "6" + Else TDUseCompare = True - - Select Case dgvDataSet.Rows(cboSelect).Cells(2).Value - Case "V2" - TypeCode = "0" 'SET 였을 때 0 으로 고정 - - Select Case dgvDataSet.Rows(cboSelect).Cells(5).Value - Case "White_Pink" - ColorCode = "1" - Case "White_Sky" - ColorCode = "2" - Case "White_Brown" - ColorCode = "3" - Case Else - Return True - End Select - - Case "V3" - TypeCode = "3" 'V3 혼란스럽지 않게 3으로 고정 - - Select Case dgvDataSet.Rows(cboSelect).Cells(5).Value - Case "LineFrends_Brown" - ColorCode = "4" - Case "LineFrends_Sally" - ColorCode = "5" - Case Else - Return True - End Select - End Select - - Case "MAXIMUM ALPHA" - - ModelCode = "7" - TDUseCompare = True - - Select Case dgvDataSet.Rows(cboSelect).Cells(2).Value - Case "SET" - TypeCode = "0" - - Select Case dgvDataSet.Rows(cboSelect).Cells(5).Value - Case "Ruby_Red" - ColorCode = "1" - Case "Topaz_Orange" - ColorCode = "2" - Case "Emerald_Green" - ColorCode = "3" - Case "Sapphire_Blue" - ColorCode = "4" - Case "Topaz_Brown" - ColorCode = "5" - Case "Sitrin_Gold" - ColorCode = "6" - Case Else - Return True - End Select - End Select - - Case Else - TDUseCompare = False - Return True - End Select + End If + End If Return False End Function @@ -806,9 +644,14 @@ FailFunc: ProdCode = txbNowNum.Text End If - Dim FrontSerial As String = Mid(ProdCode, 1, 3) - Dim BackSerial As String = Mid(ProdCode, 4, 3) - SerialNum = ModelCode & TypeCode & Format(Now, "yyMM") & BackSerial & FrontSerial + If ModelCode.Length = 2 Then '16자리 시리얼번호 + Dim Serial As String = ProdCode.PadLeft(6, "0"c) + SerialNum = ModelCode & ColorCode & Format(Now, "yyMM") & Serial & ClassCode & TypeCode & VersionCode + Else '12자리 시리얼번호 + Dim FrontSerial As String = Mid(ProdCode, 1, 3) + Dim BackSerial As String = Mid(ProdCode, 4, 3) + SerialNum = ModelCode & TypeCode & Format(Now, "yyMM") & BackSerial & FrontSerial + End If If DBSerialCheck() Then Return False @@ -1176,6 +1019,19 @@ FinishFunc: ThreadSwitch = False End Sub + Private Function CheckRfUse() As Boolean + DBCmd = "SELECT RfUseYn FROM " & ModelInfoDB & " WHERE ModelCode = '" & ModelCode & "' AND CartTypeCode = '" & TypeCode & "' AND ColorCode = '" & ColorCode & "'" + + If DBQueryReader(DBCmd) Then + If sqlDataQuery(0) = "Y" Then + Return True + End If + End If + + Return False + End Function + + Private Sub RunTimer_Tick(sender As Object, e As EventArgs) Handles RunTimer.Tick Dim ConfigStr As String @@ -1184,7 +1040,7 @@ FinishFunc: If ckbOpAlto.Checked = False Then If txbTDNum.Text.Length = TDMaxLength Then - If Not (ModelCode = 6 And (Val(TDData(SearchList.TestStep)) = 21 Or Val(TDData(SearchList.TestStep)) = 25)) Then + If Not (CheckRfUse() = False And (Val(TDData(SearchList.TestStep)) = 21 Or Val(TDData(SearchList.TestStep)) = 25)) Then If Val(TDData(SearchList.TestStep)) <> 23 And Val(TDData(SearchList.TestStep)) <> 27 And Val(TDData(SearchList.TestStep)) <> 30 And Val(TDData(SearchList.TestStep)) <> 32 And Val(TDData(SearchList.TestStep)) <> 41 Then If Val(TDData(SearchList.TestStep)) > 29 Then RunStateFunc("중복 처리", Color.Red) @@ -1512,22 +1368,41 @@ FinishFunc: Const Commander As String = "wrsconf1" Dim retVal As String - Dim ProdCode As String = Mid(SerialNum, 1, 2) - Dim ProdDate As String = Mid(SerialNum, 3, 4) - Dim FrontSetSerial As String = Mid(SerialNum, 7, 3) - Dim BackSetSerial As String = Mid(SerialNum, 10, 3) - Dim UseSerial As String = ProdDate & BackSetSerial & FrontSetSerial + If ModelCode.Length = 2 Then '16자리 시리얼번호 + Dim Model As String = Mid(SerialNum, 1, 2) + Dim ModelOpt As String = Mid(SerialNum, 3, 1) + Dim BoardSN As String = Mid(SerialNum, 4, 10) + Dim QcOpt As String = Mid(SerialNum, 14, 3) - tmpCmdMessage = "[" & Commander & " " & Factory & "," & UseSerial & "," & ProdCode & "," & Country & "," & Agency & "]" + vbCrLf + tmpCmdMessage = "[" & Commander & " " & Factory & "," & BoardSN & "," & Model & "," & ModelOpt & "," & QcOpt & "," & Country & "," & Agency & "]" + vbCrLf - If SendData(tmpCmdMessage) Then - Return False - End If + If SendData(tmpCmdMessage) Then + Return False + End If - retVal = PollingReceiveData(2000) + retVal = PollingReceiveData(2000) - If retVal <> Factory.ToLower & "," & UseSerial & "," & ProdCode & "," & Country & "," & Agency Then - Return False + If retVal <> Factory & "," & BoardSN & "," & Model & "," & ModelOpt & "," & QcOpt & "," & Country & "," & Agency Then + Return False + End If + Else '12자리 시리얼번호 + Dim ProdCode As String = Mid(SerialNum, 1, 2) + Dim ProdDate As String = Mid(SerialNum, 3, 4) + Dim FrontSetSerial As String = Mid(SerialNum, 7, 3) + Dim BackSetSerial As String = Mid(SerialNum, 10, 3) + Dim UseSerial As String = ProdDate & BackSetSerial & FrontSetSerial + + tmpCmdMessage = "[" & Commander & " " & Factory & "," & UseSerial & "," & ProdCode & "," & Country & "," & Agency & "]" + vbCrLf + + If SendData(tmpCmdMessage) Then + Return False + End If + + retVal = PollingReceiveData(2000) + + If retVal <> Factory.ToLower & "," & UseSerial & "," & ProdCode & "," & Country & "," & Agency Then + Return False + End If End If Return True @@ -1681,7 +1556,7 @@ FinishFunc: Private Function ParsingData(CmdInclude As Boolean) As String Dim cmdStr As String - Dim cmdVal(0 To 6) As String + Dim cmdVal(0 To 8) As String Dim i As Integer Try @@ -1696,7 +1571,7 @@ FinishFunc: cmdStr = Mid(cmdMessage, 1, (InStr(rxMessage, " ") - 2)) cmdMessage = Mid(rxMessage, InStr(rxMessage, " ") + 1, Len(cmdMessage)) - For i = 1 To 5 + For i = 1 To 7 If InStr(cmdMessage, ",") <> 0 Then cmdVal(i) = Mid(cmdMessage, 1, InStr(cmdMessage, ",") - 1) cmdMessage = Mid(cmdMessage, InStr(cmdMessage, ",") + 1, Len(cmdMessage)) @@ -1720,7 +1595,11 @@ FinishFunc: cmdStr = (cmdVal(1) & "," & cmdVal(2)) Return cmdStr Case "wrsconf1" - cmdStr = cmdVal(1) & "," & cmdVal(2) & "," & cmdVal(3) & "," & cmdVal(4) & "," & cmdVal(5) + If ModelCode.Length = 2 Then '16자리 시리얼번호 + cmdStr = cmdVal(1) & "," & cmdVal(2) & "," & cmdVal(3) & "," & cmdVal(4) & "," & cmdVal(5) & "," & cmdVal(6) & "," & cmdVal(7) + Else '12자리 시리얼번호 + cmdStr = cmdVal(1) & "," & cmdVal(2) & "," & cmdVal(3) & "," & cmdVal(4) & "," & cmdVal(5) + End If Return cmdStr Case "settdsn" cmdStr = cmdVal(1) @@ -2057,14 +1936,13 @@ FailFunc: Select Case NowMode Case ModeList.Prod_Input - If ModelCode = 3 Then - DBCmd = "UPDATE " & ApplyPD1CntDB & " SET PD1_InfoTotalCnt = '" & CountSelect(CountList.Total) & "', PD1_InfoMaxOk = '" & CountSelect(CountList.Success) & "', PD1_InfoMaxNg = '" & CountSelect(CountList.Fail) & "' WHERE PD1_Date = '" & NowDate & "'" - ElseIf ModelCode = 5 Then - DBCmd = "UPDATE " & ApplyPD1CntDB & " SET PD1_InfoTotalCnt = '" & CountSelect(CountList.Total) & "', PD1_InfoAltoOk = '" & CountSelect(CountList.Success) & "', PD1_InfoAltoNg = '" & CountSelect(CountList.Fail) & "' WHERE PD1_Date = '" & NowDate & "'" - ElseIf ModelCode = 6 Then - DBCmd = "UPDATE " & ApplyPD1CntDB & " SET PD1_InfoTotalCnt = '" & CountSelect(CountList.Total) & "', PD1_InfoEffectOk = '" & CountSelect(CountList.Success) & "', PD1_InfoEffectNg = '" & CountSelect(CountList.Fail) & "' WHERE PD1_Date = '" & NowDate & "'" - ElseIf ModelCode = 7 Then - DBCmd = "UPDATE " & ApplyPD1CntDB & " SET PD1_InfoTotalCnt = '" & CountSelect(CountList.Total) & "', PD1_InfoMaxAlphaOk = '" & CountSelect(CountList.Success) & "', PD1_InfoMaxAlphaNg = '" & CountSelect(CountList.Fail) & "' WHERE PD1_Date = '" & NowDate & "'" + DBCmd = "SELECT InfoRegOkCntColumnName, InfoRegNgCntColumnName FROM " & ModelInfoDB & " WHERE ModelCode = '" & ModelCode & "' LIMIT 1" + + If DBQueryReader(DBCmd) Then + Dim InfoRegOkCntColumnName As String = sqlDataQuery(0) + Dim InfoRegNgCntColumnName As String = sqlDataQuery(1) + + DBCmd = "UPDATE " & ApplyPD1CntDB & " SET PD1_InfoTotalCnt = '" & CountSelect(CountList.Total) & "', " & InfoRegOkCntColumnName & " = '" & CountSelect(CountList.Success) & "', " & InfoRegNgCntColumnName & " = '" & CountSelect(CountList.Fail) & "' WHERE PD1_Date = '" & NowDate & "'" Else MsgBox("수량 업데이트, 잘못된 경로입니다.", vbCritical) Return True @@ -2088,21 +1966,18 @@ FailFunc: Select Case NowMode Case ModeList.Prod_Input + DBCmd = "SELECT InfoRegOkCntColumnName, InfoRegNgCntColumnName FROM " & ModelInfoDB & " WHERE ModelCode = '" & ModelCode & "' LIMIT 1" - If ModelCode = "3" Then - DBCmd = "SELECT PD1_InfoTotalCnt,PD1_InfoMaxOk,PD1_InfoMaxNg FROM " & ApplyPD1CntDB & " WHERE PD1_Date = '" & NowDate & "'" - ElseIf ModelCode = "5" Then - DBCmd = "SELECT PD1_InfoTotalCnt,PD1_InfoAltoOk,PD1_InfoAltoNg FROM " & ApplyPD1CntDB & " WHERE PD1_Date = '" & NowDate & "'" - ElseIf ModelCode = "6" Then - DBCmd = "SELECT PD1_InfoTotalCnt,PD1_InfoEffectOk,PD1_InfoEffectNg FROM " & ApplyPD1CntDB & " WHERE PD1_Date = '" & NowDate & "'" - ElseIf ModelCode = "7" Then - DBCmd = "SELECT PD1_InfoTotalCnt,PD1_InfoMaxAlphaOk,PD1_InfoMaxAlphaNg FROM " & ApplyPD1CntDB & " WHERE PD1_Date = '" & NowDate & "'" + If DBQueryReader(DBCmd) Then + Dim InfoRegOkCntColumnName As String = sqlDataQuery(0) + Dim InfoRegNgCntColumnName As String = sqlDataQuery(1) + + DBCmd = "SELECT PD1_InfoTotalCnt," & InfoRegOkCntColumnName & "," & InfoRegNgCntColumnName & " FROM " & ApplyPD1CntDB & " WHERE PD1_Date = '" & NowDate & "'" Else MsgBox("수량 카운터 잘못된 경로입니다.", vbCritical) Return True End If - Case ModeList.TDRecycle DBCmd = "SELECT PD1_RecycleCnt,'0','0' FROM " & ApplyPD1CntDB & " WHERE PD1_Date = '" & NowDate & "'" Case Else @@ -2250,6 +2125,7 @@ FailFunc: End If ClassCode = dgvDataSet.Rows(SelectData).Cells(6).Value + VersionCode = dgvDataSet.Rows(SelectData).Cells(7).Value With txbPDModel .Text = dgvDataSet.Rows(SelectData).Cells(1).Value @@ -2334,6 +2210,8 @@ FailFunc: cboRegColor.Text = "SELECT!" cboRegClass.SelectedIndex = -1 cboRegClass.Text = "SELECT!" + cboRegVersion.SelectedIndex = -1 + cboRegVersion.Text = "SELECT!" End Sub Private Sub btnRegOK_Click(sender As Object, e As EventArgs) Handles btnRegOK.Click @@ -2366,12 +2244,17 @@ FailFunc: MsgBox("대리점코드를 입력하지 않으셨습니다. 확인하여 주십시오.", vbExclamation) txbRegAgency.Focus() Else - dgvDataSet.Rows.Add(txbRegName.Text, cboRegModel.SelectedItem, cboRegType.SelectedItem, txbRegCountry.Text, txbRegAgency.Text, cboRegColor.SelectedItem, ClassNumber(cboRegClass.SelectedIndex)) + If cboRegVersion.SelectedIndex = -1 Then + MsgBox("HW버전코드를 입력하지 않으셨습니다. 확인하여 주십시오.", vbExclamation) + cboRegVersion.Focus() + Else + dgvDataSet.Rows.Add(txbRegName.Text, cboRegModel.SelectedItem, cboRegType.SelectedItem, txbRegCountry.Text, txbRegAgency.Text, cboRegColor.SelectedItem, cboRegClass.SelectedItem.Value, cboRegVersion.SelectedItem.Value.ToString) - txbRegName.Text = String.Empty - txbRegCountry.Text = String.Empty - txbRegAgency.Text = String.Empty - OptionChange = True + txbRegName.Text = String.Empty + txbRegCountry.Text = String.Empty + txbRegAgency.Text = String.Empty + OptionChange = True + End If End If End If End If @@ -2428,7 +2311,7 @@ FailFunc: Select Case SaveType Case SaveList.Info For i = 0 To dgvDataSet.Rows.Count - 2 - Dim RowData As String = dgvDataSet.Rows(i).Cells(0).Value.ToString & "|" & dgvDataSet.Rows(i).Cells(1).Value.ToString & "|" & dgvDataSet.Rows(i).Cells(2).Value.ToString & "|" & dgvDataSet.Rows(i).Cells(3).Value.ToString & "|" & dgvDataSet.Rows(i).Cells(4).Value.ToString & "|" & dgvDataSet.Rows(i).Cells(5).Value.ToString & "|" & dgvDataSet.Rows(i).Cells(6).Value.ToString & "|@" + Dim RowData As String = dgvDataSet.Rows(i).Cells(0).Value.ToString & "|" & dgvDataSet.Rows(i).Cells(1).Value.ToString & "|" & dgvDataSet.Rows(i).Cells(2).Value.ToString & "|" & dgvDataSet.Rows(i).Cells(3).Value.ToString & "|" & dgvDataSet.Rows(i).Cells(4).Value.ToString & "|" & dgvDataSet.Rows(i).Cells(5).Value.ToString & "|" & dgvDataSet.Rows(i).Cells(6).Value.ToString & "|" & dgvDataSet.Rows(i).Cells(7).Value.ToString & "|@" SaveData = SaveData & RowData Next @@ -2872,7 +2755,11 @@ FailLoad: End If If CtMax = "0" Then - MinResult = ClassCode & ColorCode & "0000" + If ModelCode.Length = 2 Then '16자리 시리얼번호 + MinResult = "0" + Else '12자리 시리얼번호 + MinResult = ClassCode & ColorCode & "0000" + End If Else MinResult = CtMax End If diff --git a/MAXIMUM_Product_Program/SqlAddressModule.vb b/MAXIMUM_Product_Program/SqlAddressModule.vb index e8a1219..0385225 100644 --- a/MAXIMUM_Product_Program/SqlAddressModule.vb +++ b/MAXIMUM_Product_Program/SqlAddressModule.vb @@ -20,12 +20,16 @@ Public Const LoginDB As String = "jomtAccountDB.jomtTesterUserIDTbl" Public Const InfoRegStateDB As String = "jomtTesterDB.jomtInfoRegStateTbl" + Private Const mainModelInfoDB As String = "jomtTesterDB.jomtModelInfoTbl" + Private Const testModelInfoDB As String = "jomtTesterServerDB.jomtModelInfoTbl" + Public ApplyCartDB As String = mainCartDB Public ApplyHFTestDB As String = mainHFTestDB Public ApplyRFTestDB As String = mainRFTestDB Public ApplyPD1CntDB As String = mainPD1CntDB Public ApplyNonTDDB As String = mainNonTDDB Public ApplyReturnDB As String = MainReturnDB + Public ApplyModelInfoDB As String = mainModelInfoDB Public Sub ServerChanger(ChangeState As Boolean) If ChangeState = True Then