refactor(UI): WinForms UI 레이아웃 개선

This commit is contained in:
ChiKyun Kim
2025-08-25 09:14:48 +09:00
parent 1f3a7b57c1
commit 31553af571
5 changed files with 1038 additions and 577 deletions

View File

@@ -57,6 +57,7 @@
this.checkBox1 = new System.Windows.Forms.CheckBox(); this.checkBox1 = new System.Windows.Forms.CheckBox();
this.tbCate = new System.Windows.Forms.TextBox(); this.tbCate = new System.Windows.Forms.TextBox();
this.tbBarcode = new System.Windows.Forms.TextBox(); this.tbBarcode = new System.Windows.Forms.TextBox();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
nameLabel = new System.Windows.Forms.Label(); nameLabel = new System.Windows.Forms.Label();
sidLabel = new System.Windows.Forms.Label(); sidLabel = new System.Windows.Forms.Label();
modelLabel = new System.Windows.Forms.Label(); modelLabel = new System.Windows.Forms.Label();
@@ -70,128 +71,141 @@
label4 = new System.Windows.Forms.Label(); label4 = new System.Windows.Forms.Label();
label5 = new System.Windows.Forms.Label(); label5 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// nameLabel // nameLabel
// //
nameLabel.AutoSize = true; nameLabel.Dock = System.Windows.Forms.DockStyle.Fill;
nameLabel.Location = new System.Drawing.Point(52, 53); nameLabel.Location = new System.Drawing.Point(4, 44);
nameLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); nameLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
nameLabel.Name = "nameLabel"; nameLabel.Name = "nameLabel";
nameLabel.Size = new System.Drawing.Size(55, 30); nameLabel.Size = new System.Drawing.Size(92, 44);
nameLabel.TabIndex = 3; nameLabel.TabIndex = 3;
nameLabel.Text = "품명"; nameLabel.Text = "품명";
nameLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// sidLabel // sidLabel
// //
sidLabel.AutoSize = true; sidLabel.Dock = System.Windows.Forms.DockStyle.Fill;
sidLabel.Location = new System.Drawing.Point(62, 14); sidLabel.Location = new System.Drawing.Point(4, 0);
sidLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); sidLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
sidLabel.Name = "sidLabel"; sidLabel.Name = "sidLabel";
sidLabel.Size = new System.Drawing.Size(45, 30); sidLabel.Size = new System.Drawing.Size(92, 44);
sidLabel.TabIndex = 0; sidLabel.TabIndex = 0;
sidLabel.Text = "SID"; sidLabel.Text = "SID";
sidLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// modelLabel // modelLabel
// //
modelLabel.AutoSize = true; modelLabel.Dock = System.Windows.Forms.DockStyle.Fill;
modelLabel.Location = new System.Drawing.Point(31, 99); modelLabel.Location = new System.Drawing.Point(4, 88);
modelLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); modelLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
modelLabel.Name = "modelLabel"; modelLabel.Name = "modelLabel";
modelLabel.Size = new System.Drawing.Size(76, 30); modelLabel.Size = new System.Drawing.Size(92, 44);
modelLabel.TabIndex = 5; modelLabel.TabIndex = 5;
modelLabel.Text = "모델명"; modelLabel.Text = "모델명";
modelLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// manuLabel // manuLabel
// //
manuLabel.AutoSize = true; manuLabel.Dock = System.Windows.Forms.DockStyle.Fill;
manuLabel.Location = new System.Drawing.Point(31, 183); manuLabel.Location = new System.Drawing.Point(4, 176);
manuLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); manuLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
manuLabel.Name = "manuLabel"; manuLabel.Name = "manuLabel";
manuLabel.Size = new System.Drawing.Size(76, 30); manuLabel.Size = new System.Drawing.Size(92, 44);
manuLabel.TabIndex = 9; manuLabel.TabIndex = 9;
manuLabel.Text = "제조사"; manuLabel.Text = "제조사";
manuLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// supplyLabel // supplyLabel
// //
supplyLabel.AutoSize = true; supplyLabel.Dock = System.Windows.Forms.DockStyle.Fill;
supplyLabel.Location = new System.Drawing.Point(31, 315); supplyLabel.Location = new System.Drawing.Point(4, 308);
supplyLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); supplyLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
supplyLabel.Name = "supplyLabel"; supplyLabel.Name = "supplyLabel";
supplyLabel.Size = new System.Drawing.Size(76, 30); supplyLabel.Size = new System.Drawing.Size(92, 44);
supplyLabel.TabIndex = 17; supplyLabel.TabIndex = 17;
supplyLabel.Text = "공급처"; supplyLabel.Text = "공급처";
supplyLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// memoLabel // memoLabel
// //
memoLabel.AutoSize = true; memoLabel.Dock = System.Windows.Forms.DockStyle.Fill;
memoLabel.Location = new System.Drawing.Point(52, 403); memoLabel.Location = new System.Drawing.Point(4, 396);
memoLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); memoLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
memoLabel.Name = "memoLabel"; memoLabel.Name = "memoLabel";
memoLabel.Size = new System.Drawing.Size(55, 30); memoLabel.Size = new System.Drawing.Size(92, 49);
memoLabel.TabIndex = 20; memoLabel.TabIndex = 20;
memoLabel.Text = "비고"; memoLabel.Text = "비고";
memoLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// priceLabel // priceLabel
// //
priceLabel.AutoSize = true; priceLabel.Dock = System.Windows.Forms.DockStyle.Fill;
priceLabel.Location = new System.Drawing.Point(52, 225); priceLabel.Location = new System.Drawing.Point(4, 220);
priceLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); priceLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
priceLabel.Name = "priceLabel"; priceLabel.Name = "priceLabel";
priceLabel.Size = new System.Drawing.Size(55, 30); priceLabel.Size = new System.Drawing.Size(92, 44);
priceLabel.TabIndex = 11; priceLabel.TabIndex = 11;
priceLabel.Text = "단가"; priceLabel.Text = "단가";
priceLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// label1 // label1
// //
label1.AutoSize = true; label1.Dock = System.Windows.Forms.DockStyle.Fill;
label1.Location = new System.Drawing.Point(52, 137); label1.Location = new System.Drawing.Point(4, 132);
label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label1.Name = "label1"; label1.Name = "label1";
label1.Size = new System.Drawing.Size(55, 30); label1.Size = new System.Drawing.Size(92, 44);
label1.TabIndex = 7; label1.TabIndex = 7;
label1.Text = "단위"; label1.Text = "단위";
label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// label2 // label2
// //
label2.AutoSize = true; label2.Dock = System.Windows.Forms.DockStyle.Fill;
label2.ForeColor = System.Drawing.Color.Blue; label2.ForeColor = System.Drawing.Color.Blue;
label2.Location = new System.Drawing.Point(387, 225); label2.Location = new System.Drawing.Point(348, 220);
label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label2.Name = "label2"; label2.Name = "label2";
label2.Size = new System.Drawing.Size(25, 30); label2.Size = new System.Drawing.Size(92, 44);
label2.TabIndex = 13; label2.TabIndex = 13;
label2.Text = "$"; label2.Text = "$";
label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// label3 // label3
// //
label3.AutoSize = true; label3.Dock = System.Windows.Forms.DockStyle.Fill;
label3.Location = new System.Drawing.Point(31, 269); label3.Location = new System.Drawing.Point(4, 264);
label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label3.Name = "label3"; label3.Name = "label3";
label3.Size = new System.Drawing.Size(76, 30); label3.Size = new System.Drawing.Size(92, 44);
label3.TabIndex = 15; label3.TabIndex = 15;
label3.Text = "보관소"; label3.Text = "보관소";
label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// label4 // label4
// //
label4.AutoSize = true; label4.Dock = System.Windows.Forms.DockStyle.Fill;
label4.Location = new System.Drawing.Point(357, 268); label4.Location = new System.Drawing.Point(348, 264);
label4.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label4.Name = "label4"; label4.Name = "label4";
label4.Size = new System.Drawing.Size(55, 30); label4.Size = new System.Drawing.Size(92, 44);
label4.TabIndex = 23; label4.TabIndex = 23;
label4.Text = "분류"; label4.Text = "분류";
label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// label5 // label5
// //
label5.AutoSize = true; label5.Dock = System.Windows.Forms.DockStyle.Fill;
label5.Location = new System.Drawing.Point(31, 358); label5.Location = new System.Drawing.Point(4, 352);
label5.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label5.Name = "label5"; label5.Name = "label5";
label5.Size = new System.Drawing.Size(76, 30); label5.Size = new System.Drawing.Size(92, 44);
label5.TabIndex = 25; label5.TabIndex = 25;
label5.Text = "바코드"; label5.Text = "바코드";
label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// ta // ta
// //
@@ -200,91 +214,108 @@
// tbName // tbName
// //
this.tbName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.tbName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.tbName.Location = new System.Drawing.Point(111, 53); this.tableLayoutPanel1.SetColumnSpan(this.tbName, 3);
this.tbName.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); this.tbName.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbName.Location = new System.Drawing.Point(104, 50);
this.tbName.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
this.tbName.Name = "tbName"; this.tbName.Name = "tbName";
this.tbName.Size = new System.Drawing.Size(546, 35); this.tbName.Size = new System.Drawing.Size(580, 29);
this.tbName.TabIndex = 4; this.tbName.TabIndex = 4;
// //
// tbSid // tbSid
// //
this.tbSid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.tbSid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.tbSid.Location = new System.Drawing.Point(242, 12); this.tableLayoutPanel1.SetColumnSpan(this.tbSid, 2);
this.tbSid.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); this.tbSid.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbSid.Location = new System.Drawing.Point(348, 6);
this.tbSid.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
this.tbSid.Name = "tbSid"; this.tbSid.Name = "tbSid";
this.tbSid.Size = new System.Drawing.Size(415, 35); this.tbSid.Size = new System.Drawing.Size(336, 29);
this.tbSid.TabIndex = 2; this.tbSid.TabIndex = 2;
this.tbSid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tbSid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
// //
// tbModel // tbModel
// //
this.tbModel.Location = new System.Drawing.Point(111, 94); this.tableLayoutPanel1.SetColumnSpan(this.tbModel, 3);
this.tbModel.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); this.tbModel.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbModel.Location = new System.Drawing.Point(104, 94);
this.tbModel.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
this.tbModel.Name = "tbModel"; this.tbModel.Name = "tbModel";
this.tbModel.Size = new System.Drawing.Size(546, 35); this.tbModel.Size = new System.Drawing.Size(580, 29);
this.tbModel.TabIndex = 6; this.tbModel.TabIndex = 6;
// //
// tbManu // tbManu
// //
this.tbManu.Location = new System.Drawing.Point(111, 180); this.tableLayoutPanel1.SetColumnSpan(this.tbManu, 3);
this.tbManu.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); this.tbManu.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbManu.Location = new System.Drawing.Point(104, 182);
this.tbManu.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
this.tbManu.Name = "tbManu"; this.tbManu.Name = "tbManu";
this.tbManu.Size = new System.Drawing.Size(546, 35); this.tbManu.Size = new System.Drawing.Size(580, 29);
this.tbManu.TabIndex = 10; this.tbManu.TabIndex = 10;
// //
// tbSupply // tbSupply
// //
this.tbSupply.Location = new System.Drawing.Point(111, 312); this.tbSupply.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbSupply.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); this.tbSupply.Location = new System.Drawing.Point(104, 314);
this.tbSupply.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
this.tbSupply.Name = "tbSupply"; this.tbSupply.Name = "tbSupply";
this.tbSupply.Size = new System.Drawing.Size(449, 35); this.tbSupply.Size = new System.Drawing.Size(236, 29);
this.tbSupply.TabIndex = 18; this.tbSupply.TabIndex = 18;
// //
// tbMemo // tbMemo
// //
this.tbMemo.Location = new System.Drawing.Point(111, 396); this.tableLayoutPanel1.SetColumnSpan(this.tbMemo, 3);
this.tbMemo.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); this.tbMemo.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbMemo.Location = new System.Drawing.Point(104, 402);
this.tbMemo.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
this.tbMemo.Name = "tbMemo"; this.tbMemo.Name = "tbMemo";
this.tbMemo.Size = new System.Drawing.Size(546, 35); this.tbMemo.Size = new System.Drawing.Size(580, 29);
this.tbMemo.TabIndex = 21; this.tbMemo.TabIndex = 21;
this.tbMemo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tbMemo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
// //
// tbPrice // tbPrice
// //
this.tbPrice.Location = new System.Drawing.Point(111, 223); this.tbPrice.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbPrice.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); this.tbPrice.Location = new System.Drawing.Point(104, 226);
this.tbPrice.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
this.tbPrice.Name = "tbPrice"; this.tbPrice.Name = "tbPrice";
this.tbPrice.Size = new System.Drawing.Size(241, 35); this.tbPrice.Size = new System.Drawing.Size(236, 29);
this.tbPrice.TabIndex = 12; this.tbPrice.TabIndex = 12;
this.tbPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tbPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
// //
// tbSupplyIdx // tbSupplyIdx
// //
this.tbSupplyIdx.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.tbSupplyIdx.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.tbSupplyIdx.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbSupplyIdx.Enabled = false; this.tbSupplyIdx.Enabled = false;
this.tbSupplyIdx.Location = new System.Drawing.Point(555, 312); this.tbSupplyIdx.Location = new System.Drawing.Point(348, 314);
this.tbSupplyIdx.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); this.tbSupplyIdx.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
this.tbSupplyIdx.Name = "tbSupplyIdx"; this.tbSupplyIdx.Name = "tbSupplyIdx";
this.tbSupplyIdx.Size = new System.Drawing.Size(102, 35); this.tbSupplyIdx.Size = new System.Drawing.Size(92, 29);
this.tbSupplyIdx.TabIndex = 19; this.tbSupplyIdx.TabIndex = 19;
this.tbSupplyIdx.Text = "-1"; this.tbSupplyIdx.Text = "-1";
this.tbSupplyIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tbSupplyIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
// //
// tbUnit // tbUnit
// //
this.tbUnit.Location = new System.Drawing.Point(111, 136); this.tableLayoutPanel1.SetColumnSpan(this.tbUnit, 3);
this.tbUnit.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); this.tbUnit.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbUnit.Location = new System.Drawing.Point(104, 138);
this.tbUnit.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
this.tbUnit.Name = "tbUnit"; this.tbUnit.Name = "tbUnit";
this.tbUnit.Size = new System.Drawing.Size(546, 35); this.tbUnit.Size = new System.Drawing.Size(580, 29);
this.tbUnit.TabIndex = 8; this.tbUnit.TabIndex = 8;
this.tbUnit.Text = "EA"; this.tbUnit.Text = "EA";
this.tbUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tbUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
// //
// btOK // btOK
// //
this.btOK.Location = new System.Drawing.Point(111, 442); this.btOK.Dock = System.Windows.Forms.DockStyle.Bottom;
this.btOK.Location = new System.Drawing.Point(5, 450);
this.btOK.Margin = new System.Windows.Forms.Padding(2);
this.btOK.Name = "btOK"; this.btOK.Name = "btOK";
this.btOK.Size = new System.Drawing.Size(546, 66); this.btOK.Size = new System.Drawing.Size(688, 46);
this.btOK.TabIndex = 22; this.btOK.TabIndex = 22;
this.btOK.Text = "확인"; this.btOK.Text = "확인";
this.btOK.UseVisualStyleBackColor = true; this.btOK.UseVisualStyleBackColor = true;
@@ -297,29 +328,33 @@
// //
// tbPriceD // tbPriceD
// //
this.tbPriceD.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbPriceD.ForeColor = System.Drawing.Color.Blue; this.tbPriceD.ForeColor = System.Drawing.Color.Blue;
this.tbPriceD.Location = new System.Drawing.Point(416, 223); this.tbPriceD.Location = new System.Drawing.Point(448, 226);
this.tbPriceD.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); this.tbPriceD.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
this.tbPriceD.Name = "tbPriceD"; this.tbPriceD.Name = "tbPriceD";
this.tbPriceD.Size = new System.Drawing.Size(241, 35); this.tbPriceD.Size = new System.Drawing.Size(236, 29);
this.tbPriceD.TabIndex = 14; this.tbPriceD.TabIndex = 14;
this.tbPriceD.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tbPriceD.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
// //
// tbStorage // tbStorage
// //
this.tbStorage.Location = new System.Drawing.Point(111, 267); this.tbStorage.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbStorage.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); this.tbStorage.Location = new System.Drawing.Point(104, 270);
this.tbStorage.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
this.tbStorage.Name = "tbStorage"; this.tbStorage.Name = "tbStorage";
this.tbStorage.Size = new System.Drawing.Size(241, 35); this.tbStorage.Size = new System.Drawing.Size(236, 29);
this.tbStorage.TabIndex = 16; this.tbStorage.TabIndex = 16;
this.tbStorage.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tbStorage.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
// //
// checkBox1 // checkBox1
// //
this.checkBox1.AutoSize = true; this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(111, 13); this.checkBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.checkBox1.Location = new System.Drawing.Point(102, 2);
this.checkBox1.Margin = new System.Windows.Forms.Padding(2);
this.checkBox1.Name = "checkBox1"; this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(123, 34); this.checkBox1.Size = new System.Drawing.Size(240, 40);
this.checkBox1.TabIndex = 1; this.checkBox1.TabIndex = 1;
this.checkBox1.Text = "신규 품목"; this.checkBox1.Text = "신규 품목";
this.checkBox1.UseVisualStyleBackColor = true; this.checkBox1.UseVisualStyleBackColor = true;
@@ -327,63 +362,94 @@
// //
// tbCate // tbCate
// //
this.tbCate.Location = new System.Drawing.Point(416, 266); this.tbCate.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbCate.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); this.tbCate.Location = new System.Drawing.Point(448, 270);
this.tbCate.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
this.tbCate.Name = "tbCate"; this.tbCate.Name = "tbCate";
this.tbCate.Size = new System.Drawing.Size(241, 35); this.tbCate.Size = new System.Drawing.Size(236, 29);
this.tbCate.TabIndex = 24; this.tbCate.TabIndex = 24;
this.tbCate.Text = "--"; this.tbCate.Text = "--";
this.tbCate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tbCate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
// //
// tbBarcode // tbBarcode
// //
this.tbBarcode.Location = new System.Drawing.Point(111, 355); this.tableLayoutPanel1.SetColumnSpan(this.tbBarcode, 3);
this.tbBarcode.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); this.tbBarcode.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbBarcode.Location = new System.Drawing.Point(104, 358);
this.tbBarcode.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
this.tbBarcode.Name = "tbBarcode"; this.tbBarcode.Name = "tbBarcode";
this.tbBarcode.Size = new System.Drawing.Size(546, 35); this.tbBarcode.Size = new System.Drawing.Size(580, 29);
this.tbBarcode.TabIndex = 26; this.tbBarcode.TabIndex = 26;
// //
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 4;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.Controls.Add(sidLabel, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.tbBarcode, 1, 8);
this.tableLayoutPanel1.Controls.Add(this.tbMemo, 1, 9);
this.tableLayoutPanel1.Controls.Add(memoLabel, 0, 9);
this.tableLayoutPanel1.Controls.Add(label5, 0, 8);
this.tableLayoutPanel1.Controls.Add(this.checkBox1, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.tbSid, 2, 0);
this.tableLayoutPanel1.Controls.Add(this.tbCate, 3, 6);
this.tableLayoutPanel1.Controls.Add(this.tbSupply, 1, 7);
this.tableLayoutPanel1.Controls.Add(supplyLabel, 0, 7);
this.tableLayoutPanel1.Controls.Add(this.tbSupplyIdx, 2, 7);
this.tableLayoutPanel1.Controls.Add(label4, 2, 6);
this.tableLayoutPanel1.Controls.Add(nameLabel, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.tbName, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.tbStorage, 1, 6);
this.tableLayoutPanel1.Controls.Add(label3, 0, 6);
this.tableLayoutPanel1.Controls.Add(modelLabel, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.tbModel, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.tbPriceD, 3, 5);
this.tableLayoutPanel1.Controls.Add(label2, 2, 5);
this.tableLayoutPanel1.Controls.Add(label1, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.tbUnit, 1, 3);
this.tableLayoutPanel1.Controls.Add(manuLabel, 0, 4);
this.tableLayoutPanel1.Controls.Add(this.tbManu, 1, 4);
this.tableLayoutPanel1.Controls.Add(this.tbPrice, 1, 5);
this.tableLayoutPanel1.Controls.Add(priceLabel, 0, 5);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tableLayoutPanel1.Location = new System.Drawing.Point(5, 5);
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(2);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 10;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(688, 445);
this.tableLayoutPanel1.TabIndex = 27;
//
// fItemAdd // fItemAdd
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 30F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(698, 501);
this.ClientSize = new System.Drawing.Size(669, 520); this.Controls.Add(this.tableLayoutPanel1);
this.Controls.Add(label5);
this.Controls.Add(this.tbBarcode);
this.Controls.Add(label4);
this.Controls.Add(this.tbCate);
this.Controls.Add(this.checkBox1);
this.Controls.Add(label3);
this.Controls.Add(this.tbStorage);
this.Controls.Add(label2);
this.Controls.Add(this.tbPriceD);
this.Controls.Add(this.btOK); this.Controls.Add(this.btOK);
this.Controls.Add(nameLabel); this.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.Controls.Add(this.tbName); this.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
this.Controls.Add(sidLabel); this.MinimumSize = new System.Drawing.Size(518, 403);
this.Controls.Add(this.tbSid);
this.Controls.Add(label1);
this.Controls.Add(modelLabel);
this.Controls.Add(this.tbModel);
this.Controls.Add(manuLabel);
this.Controls.Add(this.tbManu);
this.Controls.Add(supplyLabel);
this.Controls.Add(this.tbSupply);
this.Controls.Add(memoLabel);
this.Controls.Add(this.tbMemo);
this.Controls.Add(priceLabel);
this.Controls.Add(this.tbPrice);
this.Controls.Add(this.tbSupplyIdx);
this.Controls.Add(this.tbUnit);
this.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
this.MinimumSize = new System.Drawing.Size(685, 559);
this.Name = "fItemAdd"; this.Name = "fItemAdd";
this.Padding = new System.Windows.Forms.Padding(5);
this.Text = "품목 추가"; this.Text = "품목 추가";
this.Load += new System.EventHandler(this.fItemAdd_Load); this.Load += new System.EventHandler(this.fItemAdd_Load);
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout();
} }
@@ -406,5 +472,6 @@
private System.Windows.Forms.CheckBox checkBox1; private System.Windows.Forms.CheckBox checkBox1;
public System.Windows.Forms.TextBox tbCate; public System.Windows.Forms.TextBox tbCate;
public System.Windows.Forms.TextBox tbBarcode; public System.Windows.Forms.TextBox tbBarcode;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
} }
} }

View File

@@ -178,8 +178,9 @@ namespace FCM0000.Item
private void checkBox1_CheckedChanged(object sender, EventArgs e) private void checkBox1_CheckedChanged(object sender, EventArgs e)
{ {
tbSid.Enabled = !checkBox1.Enabled; tbSid.Enabled = !checkBox1.Checked;
if (checkBox1.Checked) tbSid.Text = "신규"; if (checkBox1.Checked) tbSid.Text = "신규";
else if (tbSid.Text == "신규") tbSid.Text = "";
} }
private void fItemAdd_Load(object sender, EventArgs e) private void fItemAdd_Load(object sender, EventArgs e)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -150,9 +150,6 @@
<metadata name="deptLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="deptLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value> <value>False</value>
</metadata> </metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>257, 17</value>
</metadata>
<data name="deptLabel.ToolTip" xml:space="preserve"> <data name="deptLabel.ToolTip" xml:space="preserve">
<value>* 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등) <value>* 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등)
* 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등) * 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등)
@@ -228,6 +225,33 @@
* 개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRench, Driver, Drill, Tab 등) * 개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRench, Driver, Drill, Tab 등)
* 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등)</value> * 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등)</value>
</data> </data>
<metadata name="label14.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label7.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label1.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label3.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label10.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label6.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label15.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label8.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>257, 17</value>
</metadata>
<data name="tbBigoChk.ToolTip" xml:space="preserve"> <data name="tbBigoChk.ToolTip" xml:space="preserve">
<value>* 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등) <value>* 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등)
* 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등) * 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등)