refactor(UI): WinForms UI 레이아웃 개선
This commit is contained in:
315
SubProject/FCM0000/Item/fItemAdd.Designer.cs
generated
315
SubProject/FCM0000/Item/fItemAdd.Designer.cs
generated
@@ -57,6 +57,7 @@
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.tbCate = 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();
|
||||
sidLabel = new System.Windows.Forms.Label();
|
||||
modelLabel = new System.Windows.Forms.Label();
|
||||
@@ -70,128 +71,141 @@
|
||||
label4 = new System.Windows.Forms.Label();
|
||||
label5 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// nameLabel
|
||||
//
|
||||
nameLabel.AutoSize = true;
|
||||
nameLabel.Location = new System.Drawing.Point(52, 53);
|
||||
nameLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
nameLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
nameLabel.Location = new System.Drawing.Point(4, 44);
|
||||
nameLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
nameLabel.Name = "nameLabel";
|
||||
nameLabel.Size = new System.Drawing.Size(55, 30);
|
||||
nameLabel.Size = new System.Drawing.Size(92, 44);
|
||||
nameLabel.TabIndex = 3;
|
||||
nameLabel.Text = "품명";
|
||||
nameLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// sidLabel
|
||||
//
|
||||
sidLabel.AutoSize = true;
|
||||
sidLabel.Location = new System.Drawing.Point(62, 14);
|
||||
sidLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
sidLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
sidLabel.Location = new System.Drawing.Point(4, 0);
|
||||
sidLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
sidLabel.Name = "sidLabel";
|
||||
sidLabel.Size = new System.Drawing.Size(45, 30);
|
||||
sidLabel.Size = new System.Drawing.Size(92, 44);
|
||||
sidLabel.TabIndex = 0;
|
||||
sidLabel.Text = "SID";
|
||||
sidLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// modelLabel
|
||||
//
|
||||
modelLabel.AutoSize = true;
|
||||
modelLabel.Location = new System.Drawing.Point(31, 99);
|
||||
modelLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
modelLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
modelLabel.Location = new System.Drawing.Point(4, 88);
|
||||
modelLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
modelLabel.Name = "modelLabel";
|
||||
modelLabel.Size = new System.Drawing.Size(76, 30);
|
||||
modelLabel.Size = new System.Drawing.Size(92, 44);
|
||||
modelLabel.TabIndex = 5;
|
||||
modelLabel.Text = "모델명";
|
||||
modelLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// manuLabel
|
||||
//
|
||||
manuLabel.AutoSize = true;
|
||||
manuLabel.Location = new System.Drawing.Point(31, 183);
|
||||
manuLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
manuLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
manuLabel.Location = new System.Drawing.Point(4, 176);
|
||||
manuLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
manuLabel.Name = "manuLabel";
|
||||
manuLabel.Size = new System.Drawing.Size(76, 30);
|
||||
manuLabel.Size = new System.Drawing.Size(92, 44);
|
||||
manuLabel.TabIndex = 9;
|
||||
manuLabel.Text = "제조사";
|
||||
manuLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// supplyLabel
|
||||
//
|
||||
supplyLabel.AutoSize = true;
|
||||
supplyLabel.Location = new System.Drawing.Point(31, 315);
|
||||
supplyLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
supplyLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
supplyLabel.Location = new System.Drawing.Point(4, 308);
|
||||
supplyLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
supplyLabel.Name = "supplyLabel";
|
||||
supplyLabel.Size = new System.Drawing.Size(76, 30);
|
||||
supplyLabel.Size = new System.Drawing.Size(92, 44);
|
||||
supplyLabel.TabIndex = 17;
|
||||
supplyLabel.Text = "공급처";
|
||||
supplyLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// memoLabel
|
||||
//
|
||||
memoLabel.AutoSize = true;
|
||||
memoLabel.Location = new System.Drawing.Point(52, 403);
|
||||
memoLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
memoLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
memoLabel.Location = new System.Drawing.Point(4, 396);
|
||||
memoLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
memoLabel.Name = "memoLabel";
|
||||
memoLabel.Size = new System.Drawing.Size(55, 30);
|
||||
memoLabel.Size = new System.Drawing.Size(92, 49);
|
||||
memoLabel.TabIndex = 20;
|
||||
memoLabel.Text = "비고";
|
||||
memoLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// priceLabel
|
||||
//
|
||||
priceLabel.AutoSize = true;
|
||||
priceLabel.Location = new System.Drawing.Point(52, 225);
|
||||
priceLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
priceLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
priceLabel.Location = new System.Drawing.Point(4, 220);
|
||||
priceLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
priceLabel.Name = "priceLabel";
|
||||
priceLabel.Size = new System.Drawing.Size(55, 30);
|
||||
priceLabel.Size = new System.Drawing.Size(92, 44);
|
||||
priceLabel.TabIndex = 11;
|
||||
priceLabel.Text = "단가";
|
||||
priceLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.Location = new System.Drawing.Point(52, 137);
|
||||
label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
label1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
label1.Location = new System.Drawing.Point(4, 132);
|
||||
label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new System.Drawing.Size(55, 30);
|
||||
label1.Size = new System.Drawing.Size(92, 44);
|
||||
label1.TabIndex = 7;
|
||||
label1.Text = "단위";
|
||||
label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
label2.ForeColor = System.Drawing.Color.Blue;
|
||||
label2.Location = new System.Drawing.Point(387, 225);
|
||||
label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
label2.Location = new System.Drawing.Point(348, 220);
|
||||
label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new System.Drawing.Size(25, 30);
|
||||
label2.Size = new System.Drawing.Size(92, 44);
|
||||
label2.TabIndex = 13;
|
||||
label2.Text = "$";
|
||||
label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
label3.AutoSize = true;
|
||||
label3.Location = new System.Drawing.Point(31, 269);
|
||||
label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
label3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
label3.Location = new System.Drawing.Point(4, 264);
|
||||
label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label3.Name = "label3";
|
||||
label3.Size = new System.Drawing.Size(76, 30);
|
||||
label3.Size = new System.Drawing.Size(92, 44);
|
||||
label3.TabIndex = 15;
|
||||
label3.Text = "보관소";
|
||||
label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
label4.AutoSize = true;
|
||||
label4.Location = new System.Drawing.Point(357, 268);
|
||||
label4.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
label4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
label4.Location = new System.Drawing.Point(348, 264);
|
||||
label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label4.Name = "label4";
|
||||
label4.Size = new System.Drawing.Size(55, 30);
|
||||
label4.Size = new System.Drawing.Size(92, 44);
|
||||
label4.TabIndex = 23;
|
||||
label4.Text = "분류";
|
||||
label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
label5.AutoSize = true;
|
||||
label5.Location = new System.Drawing.Point(31, 358);
|
||||
label5.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
||||
label5.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
label5.Location = new System.Drawing.Point(4, 352);
|
||||
label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label5.Name = "label5";
|
||||
label5.Size = new System.Drawing.Size(76, 30);
|
||||
label5.Size = new System.Drawing.Size(92, 44);
|
||||
label5.TabIndex = 25;
|
||||
label5.Text = "바코드";
|
||||
label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
@@ -200,91 +214,108 @@
|
||||
// tbName
|
||||
//
|
||||
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.tbName.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.tbName, 3);
|
||||
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.Size = new System.Drawing.Size(546, 35);
|
||||
this.tbName.Size = new System.Drawing.Size(580, 29);
|
||||
this.tbName.TabIndex = 4;
|
||||
//
|
||||
// tbSid
|
||||
//
|
||||
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.tbSid.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.tbSid, 2);
|
||||
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.Size = new System.Drawing.Size(415, 35);
|
||||
this.tbSid.Size = new System.Drawing.Size(336, 29);
|
||||
this.tbSid.TabIndex = 2;
|
||||
this.tbSid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// tbModel
|
||||
//
|
||||
this.tbModel.Location = new System.Drawing.Point(111, 94);
|
||||
this.tbModel.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.tbModel, 3);
|
||||
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.Size = new System.Drawing.Size(546, 35);
|
||||
this.tbModel.Size = new System.Drawing.Size(580, 29);
|
||||
this.tbModel.TabIndex = 6;
|
||||
//
|
||||
// tbManu
|
||||
//
|
||||
this.tbManu.Location = new System.Drawing.Point(111, 180);
|
||||
this.tbManu.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.tbManu, 3);
|
||||
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.Size = new System.Drawing.Size(546, 35);
|
||||
this.tbManu.Size = new System.Drawing.Size(580, 29);
|
||||
this.tbManu.TabIndex = 10;
|
||||
//
|
||||
// tbSupply
|
||||
//
|
||||
this.tbSupply.Location = new System.Drawing.Point(111, 312);
|
||||
this.tbSupply.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tbSupply.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
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.Size = new System.Drawing.Size(449, 35);
|
||||
this.tbSupply.Size = new System.Drawing.Size(236, 29);
|
||||
this.tbSupply.TabIndex = 18;
|
||||
//
|
||||
// tbMemo
|
||||
//
|
||||
this.tbMemo.Location = new System.Drawing.Point(111, 396);
|
||||
this.tbMemo.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.tbMemo, 3);
|
||||
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.Size = new System.Drawing.Size(546, 35);
|
||||
this.tbMemo.Size = new System.Drawing.Size(580, 29);
|
||||
this.tbMemo.TabIndex = 21;
|
||||
this.tbMemo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// tbPrice
|
||||
//
|
||||
this.tbPrice.Location = new System.Drawing.Point(111, 223);
|
||||
this.tbPrice.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tbPrice.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
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.Size = new System.Drawing.Size(241, 35);
|
||||
this.tbPrice.Size = new System.Drawing.Size(236, 29);
|
||||
this.tbPrice.TabIndex = 12;
|
||||
this.tbPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// tbSupplyIdx
|
||||
//
|
||||
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.Location = new System.Drawing.Point(555, 312);
|
||||
this.tbSupplyIdx.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tbSupplyIdx.Location = new System.Drawing.Point(348, 314);
|
||||
this.tbSupplyIdx.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
|
||||
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.Text = "-1";
|
||||
this.tbSupplyIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// tbUnit
|
||||
//
|
||||
this.tbUnit.Location = new System.Drawing.Point(111, 136);
|
||||
this.tbUnit.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.tbUnit, 3);
|
||||
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.Size = new System.Drawing.Size(546, 35);
|
||||
this.tbUnit.Size = new System.Drawing.Size(580, 29);
|
||||
this.tbUnit.TabIndex = 8;
|
||||
this.tbUnit.Text = "EA";
|
||||
this.tbUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// 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.Size = new System.Drawing.Size(546, 66);
|
||||
this.btOK.Size = new System.Drawing.Size(688, 46);
|
||||
this.btOK.TabIndex = 22;
|
||||
this.btOK.Text = "확인";
|
||||
this.btOK.UseVisualStyleBackColor = true;
|
||||
@@ -297,29 +328,33 @@
|
||||
//
|
||||
// tbPriceD
|
||||
//
|
||||
this.tbPriceD.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tbPriceD.ForeColor = System.Drawing.Color.Blue;
|
||||
this.tbPriceD.Location = new System.Drawing.Point(416, 223);
|
||||
this.tbPriceD.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tbPriceD.Location = new System.Drawing.Point(448, 226);
|
||||
this.tbPriceD.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
|
||||
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.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// tbStorage
|
||||
//
|
||||
this.tbStorage.Location = new System.Drawing.Point(111, 267);
|
||||
this.tbStorage.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tbStorage.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
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.Size = new System.Drawing.Size(241, 35);
|
||||
this.tbStorage.Size = new System.Drawing.Size(236, 29);
|
||||
this.tbStorage.TabIndex = 16;
|
||||
this.tbStorage.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// checkBox1
|
||||
//
|
||||
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.Size = new System.Drawing.Size(123, 34);
|
||||
this.checkBox1.Size = new System.Drawing.Size(240, 40);
|
||||
this.checkBox1.TabIndex = 1;
|
||||
this.checkBox1.Text = "신규 품목";
|
||||
this.checkBox1.UseVisualStyleBackColor = true;
|
||||
@@ -327,63 +362,94 @@
|
||||
//
|
||||
// tbCate
|
||||
//
|
||||
this.tbCate.Location = new System.Drawing.Point(416, 266);
|
||||
this.tbCate.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tbCate.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
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.Size = new System.Drawing.Size(241, 35);
|
||||
this.tbCate.Size = new System.Drawing.Size(236, 29);
|
||||
this.tbCate.TabIndex = 24;
|
||||
this.tbCate.Text = "--";
|
||||
this.tbCate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// tbBarcode
|
||||
//
|
||||
this.tbBarcode.Location = new System.Drawing.Point(111, 355);
|
||||
this.tbBarcode.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.tbBarcode, 3);
|
||||
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.Size = new System.Drawing.Size(546, 35);
|
||||
this.tbBarcode.Size = new System.Drawing.Size(580, 29);
|
||||
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
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 30F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(669, 520);
|
||||
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.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(698, 501);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.Controls.Add(this.btOK);
|
||||
this.Controls.Add(nameLabel);
|
||||
this.Controls.Add(this.tbName);
|
||||
this.Controls.Add(sidLabel);
|
||||
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.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
|
||||
this.MinimumSize = new System.Drawing.Size(518, 403);
|
||||
this.Name = "fItemAdd";
|
||||
this.Padding = new System.Windows.Forms.Padding(5);
|
||||
this.Text = "품목 추가";
|
||||
this.Load += new System.EventHandler(this.fItemAdd_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
@@ -406,5 +472,6 @@
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
public System.Windows.Forms.TextBox tbCate;
|
||||
public System.Windows.Forms.TextBox tbBarcode;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
}
|
||||
}
|
||||
@@ -178,8 +178,9 @@ namespace FCM0000.Item
|
||||
|
||||
private void checkBox1_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
tbSid.Enabled = !checkBox1.Enabled;
|
||||
tbSid.Enabled = !checkBox1.Checked;
|
||||
if (checkBox1.Checked) tbSid.Text = "신규";
|
||||
else if (tbSid.Text == "신규") tbSid.Text = "";
|
||||
}
|
||||
|
||||
private void fItemAdd_Load(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user