비용요약 추가

This commit is contained in:
chi
2020-04-14 21:11:56 +09:00
parent 0d4413db95
commit 6565f2bacc
27 changed files with 5268 additions and 652 deletions

View File

@@ -29,12 +29,12 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectPartImport));
this.textBox1 = new System.Windows.Forms.TextBox();
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
@@ -82,6 +82,10 @@
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.sbSum = new System.Windows.Forms.ToolStripLabel();
this.panel2 = new System.Windows.Forms.Panel();
this.nudNapKi = new System.Windows.Forms.NumericUpDown();
this.label5 = new System.Windows.Forms.Label();
this.nudBuwi = new System.Windows.Forms.NumericUpDown();
this.label4 = new System.Windows.Forms.Label();
this.nudMemo = new System.Windows.Forms.NumericUpDown();
this.label21 = new System.Windows.Forms.Label();
this.nudGrp = new System.Windows.Forms.NumericUpDown();
@@ -106,10 +110,8 @@
this.label9 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.ta = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter();
this.nudBuwi = new System.Windows.Forms.NumericUpDown();
this.label4 = new System.Windows.Forms.Label();
this.nudNapKi = new System.Windows.Forms.NumericUpDown();
this.label5 = new System.Windows.Forms.Label();
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
this.label6 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
@@ -120,6 +122,8 @@
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudNapKi)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudBuwi)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudMemo)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudGrp)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudSupply)).BeginInit();
@@ -131,8 +135,7 @@
((System.ComponentModel.ISupportInitialize)(this.nudQty)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudName)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudSid)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudBuwi)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudNapKi)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
this.SuspendLayout();
//
// textBox1
@@ -141,7 +144,7 @@
| System.Windows.Forms.AnchorStyles.Right)));
this.textBox1.Location = new System.Drawing.Point(92, 30);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(758, 21);
this.textBox1.Size = new System.Drawing.Size(916, 21);
this.textBox1.TabIndex = 1;
//
// linkLabel1
@@ -160,7 +163,7 @@
//
this.btView.Dock = System.Windows.Forms.DockStyle.Right;
this.btView.ForeColor = System.Drawing.Color.Black;
this.btView.Location = new System.Drawing.Point(760, 23);
this.btView.Location = new System.Drawing.Point(918, 23);
this.btView.Name = "btView";
this.btView.Size = new System.Drawing.Size(102, 59);
this.btView.TabIndex = 4;
@@ -196,14 +199,14 @@
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowHeadersVisible = false;
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(864, 465);
this.dataGridView1.Size = new System.Drawing.Size(1022, 465);
this.dataGridView1.TabIndex = 1;
//
// noDataGridViewTextBoxColumn
//
this.noDataGridViewTextBoxColumn.DataPropertyName = "no";
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.noDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.noDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle19;
this.noDataGridViewTextBoxColumn.HeaderText = "No";
this.noDataGridViewTextBoxColumn.Name = "noDataGridViewTextBoxColumn";
this.noDataGridViewTextBoxColumn.Width = 46;
@@ -232,9 +235,9 @@
// itemDataGridViewTextBoxColumn
//
this.itemDataGridViewTextBoxColumn.DataPropertyName = "Item";
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.itemDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2;
dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle20.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.itemDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle20;
this.itemDataGridViewTextBoxColumn.HeaderText = "*";
this.itemDataGridViewTextBoxColumn.Name = "itemDataGridViewTextBoxColumn";
this.itemDataGridViewTextBoxColumn.Width = 36;
@@ -249,9 +252,9 @@
// qtyDataGridViewTextBoxColumn
//
this.qtyDataGridViewTextBoxColumn.DataPropertyName = "qty";
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle3.Format = "N0";
this.qtyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle21.Format = "N0";
this.qtyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle21;
this.qtyDataGridViewTextBoxColumn.HeaderText = "수량";
this.qtyDataGridViewTextBoxColumn.Name = "qtyDataGridViewTextBoxColumn";
this.qtyDataGridViewTextBoxColumn.Width = 54;
@@ -266,9 +269,9 @@
// priceDataGridViewTextBoxColumn
//
this.priceDataGridViewTextBoxColumn.DataPropertyName = "price";
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle4.Format = "N0";
this.priceDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4;
dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle22.Format = "N0";
this.priceDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle22;
this.priceDataGridViewTextBoxColumn.HeaderText = "단가";
this.priceDataGridViewTextBoxColumn.Name = "priceDataGridViewTextBoxColumn";
this.priceDataGridViewTextBoxColumn.Width = 54;
@@ -276,10 +279,10 @@
// amtDataGridViewTextBoxColumn
//
this.amtDataGridViewTextBoxColumn.DataPropertyName = "amt";
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
dataGridViewCellStyle5.Format = "N0";
this.amtDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle5;
dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
dataGridViewCellStyle23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
dataGridViewCellStyle23.Format = "N0";
this.amtDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle23;
this.amtDataGridViewTextBoxColumn.HeaderText = "금액";
this.amtDataGridViewTextBoxColumn.Name = "amtDataGridViewTextBoxColumn";
this.amtDataGridViewTextBoxColumn.ReadOnly = true;
@@ -302,9 +305,9 @@
// itemSupplyidxDataGridViewTextBoxColumn
//
this.itemSupplyidxDataGridViewTextBoxColumn.DataPropertyName = "ItemSupplyidx";
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.itemSupplyidxDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle6;
dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.itemSupplyidxDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle24;
this.itemSupplyidxDataGridViewTextBoxColumn.HeaderText = "*";
this.itemSupplyidxDataGridViewTextBoxColumn.Name = "itemSupplyidxDataGridViewTextBoxColumn";
this.itemSupplyidxDataGridViewTextBoxColumn.Width = 36;
@@ -342,7 +345,7 @@
this.panel1.ForeColor = System.Drawing.Color.White;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(864, 87);
this.panel1.Size = new System.Drawing.Size(1022, 87);
this.panel1.TabIndex = 0;
//
// label16
@@ -352,7 +355,7 @@
this.label16.ForeColor = System.Drawing.Color.WhiteSmoke;
this.label16.Location = new System.Drawing.Point(0, 0);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(864, 23);
this.label16.Size = new System.Drawing.Size(1022, 23);
this.label16.TabIndex = 52;
this.label16.Text = "엑셀 파일 설정";
this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -474,7 +477,7 @@
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.bn.Name = "bn";
this.bn.PositionItem = this.bindingNavigatorPositionItem;
this.bn.Size = new System.Drawing.Size(864, 25);
this.bn.Size = new System.Drawing.Size(1022, 25);
this.bn.TabIndex = 2;
this.bn.Text = "bindingNavigator1";
//
@@ -598,6 +601,8 @@
//
this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120)))));
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel2.Controls.Add(this.numericUpDown2);
this.panel2.Controls.Add(this.label6);
this.panel2.Controls.Add(this.nudNapKi);
this.panel2.Controls.Add(this.label5);
this.panel2.Controls.Add(this.nudBuwi);
@@ -630,12 +635,56 @@
this.panel2.ForeColor = System.Drawing.Color.White;
this.panel2.Location = new System.Drawing.Point(0, 87);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(864, 84);
this.panel2.Size = new System.Drawing.Size(1022, 84);
this.panel2.TabIndex = 3;
//
// nudNapKi
//
this.nudNapKi.Location = new System.Drawing.Point(431, 58);
this.nudNapKi.Name = "nudNapKi";
this.nudNapKi.Size = new System.Drawing.Size(45, 21);
this.nudNapKi.TabIndex = 55;
this.nudNapKi.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.nudNapKi.Value = new decimal(new int[] {
12,
0,
0,
0});
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(383, 62);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(41, 12);
this.label5.TabIndex = 54;
this.label5.Text = "납기일";
//
// nudBuwi
//
this.nudBuwi.Location = new System.Drawing.Point(648, 30);
this.nudBuwi.Name = "nudBuwi";
this.nudBuwi.Size = new System.Drawing.Size(45, 21);
this.nudBuwi.TabIndex = 53;
this.nudBuwi.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.nudBuwi.Value = new decimal(new int[] {
11,
0,
0,
0});
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(597, 34);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(41, 12);
this.label4.TabIndex = 52;
this.label4.Text = "소분류";
//
// nudMemo
//
this.nudMemo.Location = new System.Drawing.Point(629, 56);
this.nudMemo.Location = new System.Drawing.Point(523, 58);
this.nudMemo.Name = "nudMemo";
this.nudMemo.Size = new System.Drawing.Size(45, 21);
this.nudMemo.TabIndex = 50;
@@ -650,7 +699,7 @@
// label21
//
this.label21.AutoSize = true;
this.label21.Location = new System.Drawing.Point(593, 60);
this.label21.Location = new System.Drawing.Point(487, 62);
this.label21.Name = "label21";
this.label21.Size = new System.Drawing.Size(29, 12);
this.label21.TabIndex = 49;
@@ -896,7 +945,7 @@
this.label8.ForeColor = System.Drawing.Color.WhiteSmoke;
this.label8.Location = new System.Drawing.Point(0, 0);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(862, 23);
this.label8.Size = new System.Drawing.Size(1020, 23);
this.label8.TabIndex = 51;
this.label8.Text = "엑셀/DB 연결 정보 설정 ( A열 = 1)";
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -905,55 +954,28 @@
//
this.ta.ClearBeforeFill = true;
//
// nudBuwi
// numericUpDown2
//
this.nudBuwi.Location = new System.Drawing.Point(431, 56);
this.nudBuwi.Name = "nudBuwi";
this.nudBuwi.Size = new System.Drawing.Size(45, 21);
this.nudBuwi.TabIndex = 53;
this.nudBuwi.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.nudBuwi.Value = new decimal(new int[] {
11,
0,
0,
0});
this.numericUpDown2.Location = new System.Drawing.Point(648, 58);
this.numericUpDown2.Name = "numericUpDown2";
this.numericUpDown2.Size = new System.Drawing.Size(45, 21);
this.numericUpDown2.TabIndex = 57;
this.numericUpDown2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// label4
// label6
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(375, 60);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(53, 12);
this.label4.TabIndex = 52;
this.label4.Text = "적용부위";
//
// nudNapKi
//
this.nudNapKi.Location = new System.Drawing.Point(537, 56);
this.nudNapKi.Name = "nudNapKi";
this.nudNapKi.Size = new System.Drawing.Size(45, 21);
this.nudNapKi.TabIndex = 55;
this.nudNapKi.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.nudNapKi.Value = new decimal(new int[] {
12,
0,
0,
0});
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(489, 60);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(41, 12);
this.label5.TabIndex = 54;
this.label5.Text = "납기일";
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(597, 62);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(41, 12);
this.label6.TabIndex = 56;
this.label6.Text = "중분류";
//
// fProjectPartImport
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(864, 661);
this.ClientSize = new System.Drawing.Size(1022, 661);
this.Controls.Add(this.dataGridView1);
this.Controls.Add(this.panel2);
this.Controls.Add(this.bn);
@@ -974,6 +996,8 @@
this.bn.PerformLayout();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.nudNapKi)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudBuwi)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudMemo)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudGrp)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudSupply)).EndInit();
@@ -985,8 +1009,7 @@
((System.ComponentModel.ISupportInitialize)(this.nudQty)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudName)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudSid)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudBuwi)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudNapKi)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -1068,5 +1091,7 @@
private System.Windows.Forms.Label label4;
private System.Windows.Forms.NumericUpDown nudNapKi;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.NumericUpDown numericUpDown2;
private System.Windows.Forms.Label label6;
}
}