This commit is contained in:
chi
2024-01-24 10:10:51 +09:00
parent 1acbb5bc3c
commit 5d7945d5c9
10 changed files with 877 additions and 251 deletions

View File

@@ -36,6 +36,7 @@
System.Windows.Forms.Label label7;
System.Windows.Forms.Label label2;
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectPartToPurchaseCR));
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();
@@ -43,7 +44,6 @@
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectPartToPurchaseCR));
this.tbProject = new System.Windows.Forms.TextBox();
this.tbProjectIndex = new System.Windows.Forms.TextBox();
this.dtPdate = new System.Windows.Forms.DateTimePicker();
@@ -60,13 +60,6 @@
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.dv1 = new arCtl.arDatagridView();
this.dvc_sid = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_model = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_price = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_qty = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_amt = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
@@ -76,6 +69,16 @@
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.taProject = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter();
this.taPart = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.dvc_sid = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_model = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_price = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_qty = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_amt = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_spm = new System.Windows.Forms.DataGridViewButtonColumn();
this.dvc_remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
projectLabel = new System.Windows.Forms.Label();
label1 = new System.Windows.Forms.Label();
label3 = new System.Windows.Forms.Label();
@@ -315,6 +318,7 @@
this.dvc_price,
this.dvc_qty,
this.dvc_amt,
this.dvc_spm,
this.dvc_remark});
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window;
@@ -330,64 +334,7 @@
this.dv1.RowTemplate.Height = 23;
this.dv1.Size = new System.Drawing.Size(968, 370);
this.dv1.TabIndex = 27;
//
// dvc_sid
//
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dvc_sid.DefaultCellStyle = dataGridViewCellStyle1;
this.dvc_sid.HeaderText = "SID";
this.dvc_sid.Name = "dvc_sid";
this.dvc_sid.ReadOnly = true;
//
// dvc_name
//
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dvc_name.DefaultCellStyle = dataGridViewCellStyle2;
this.dvc_name.HeaderText = "품명";
this.dvc_name.Name = "dvc_name";
this.dvc_name.ReadOnly = true;
//
// dvc_model
//
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dvc_model.DefaultCellStyle = dataGridViewCellStyle3;
this.dvc_model.HeaderText = "모델";
this.dvc_model.Name = "dvc_model";
this.dvc_model.ReadOnly = true;
//
// dvc_price
//
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
dataGridViewCellStyle4.Format = "N0";
this.dvc_price.DefaultCellStyle = dataGridViewCellStyle4;
this.dvc_price.HeaderText = "단가";
this.dvc_price.Name = "dvc_price";
//
// dvc_qty
//
dataGridViewCellStyle5.Format = "N0";
this.dvc_qty.DefaultCellStyle = dataGridViewCellStyle5;
this.dvc_qty.HeaderText = "구매수량";
this.dvc_qty.Name = "dvc_qty";
//
// dvc_amt
//
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
dataGridViewCellStyle6.Format = "N0";
this.dvc_amt.DefaultCellStyle = dataGridViewCellStyle6;
this.dvc_amt.HeaderText = "구매금액";
this.dvc_amt.Name = "dvc_amt";
this.dvc_amt.ReadOnly = true;
//
// dvc_remark
//
this.dvc_remark.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
this.dvc_remark.DefaultCellStyle = dataGridViewCellStyle7;
this.dvc_remark.HeaderText = "비고";
this.dvc_remark.Name = "dvc_remark";
this.dv1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dv1_CellContentClick);
//
// toolStrip1
//
@@ -396,7 +343,9 @@
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripButton2,
this.toolStripButton4,
this.toolStripButton8});
this.toolStripButton8,
this.toolStripButton1,
this.toolStripButton3});
this.toolStrip1.Location = new System.Drawing.Point(3, 391);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(968, 47);
@@ -467,6 +416,89 @@
//
this.taPart.ClearBeforeFill = true;
//
// toolStripButton1
//
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(100, 44);
this.toolStripButton1.Text = "SPM검사";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// dvc_sid
//
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dvc_sid.DefaultCellStyle = dataGridViewCellStyle1;
this.dvc_sid.HeaderText = "SID";
this.dvc_sid.Name = "dvc_sid";
this.dvc_sid.ReadOnly = true;
//
// dvc_name
//
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dvc_name.DefaultCellStyle = dataGridViewCellStyle2;
this.dvc_name.HeaderText = "품명";
this.dvc_name.Name = "dvc_name";
this.dvc_name.ReadOnly = true;
//
// dvc_model
//
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dvc_model.DefaultCellStyle = dataGridViewCellStyle3;
this.dvc_model.HeaderText = "모델";
this.dvc_model.Name = "dvc_model";
this.dvc_model.ReadOnly = true;
//
// dvc_price
//
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
dataGridViewCellStyle4.Format = "N0";
this.dvc_price.DefaultCellStyle = dataGridViewCellStyle4;
this.dvc_price.HeaderText = "단가";
this.dvc_price.Name = "dvc_price";
//
// dvc_qty
//
dataGridViewCellStyle5.Format = "N0";
this.dvc_qty.DefaultCellStyle = dataGridViewCellStyle5;
this.dvc_qty.HeaderText = "구매수량";
this.dvc_qty.Name = "dvc_qty";
//
// dvc_amt
//
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
dataGridViewCellStyle6.Format = "N0";
this.dvc_amt.DefaultCellStyle = dataGridViewCellStyle6;
this.dvc_amt.HeaderText = "구매금액";
this.dvc_amt.Name = "dvc_amt";
this.dvc_amt.ReadOnly = true;
//
// dvc_spm
//
this.dvc_spm.HeaderText = "SPM";
this.dvc_spm.Name = "dvc_spm";
//
// dvc_remark
//
this.dvc_remark.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
this.dvc_remark.DefaultCellStyle = dataGridViewCellStyle7;
this.dvc_remark.HeaderText = "비고";
this.dvc_remark.Name = "dvc_remark";
//
// toolStripButton3
//
this.toolStripButton3.ForeColor = System.Drawing.Color.Red;
this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton3.Name = "toolStripButton3";
this.toolStripButton3.Size = new System.Drawing.Size(192, 44);
this.toolStripButton3.Text = "구매수량에 SPM수량 제외";
this.toolStripButton3.Visible = false;
this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click);
//
// fProjectPartToPurchaseCR
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
@@ -527,12 +559,15 @@
private System.Windows.Forms.ToolStripButton toolStripButton4;
private System.Windows.Forms.ToolStripButton toolStripButton8;
private arCtl.arDatagridView dv1;
private System.Windows.Forms.ToolStripButton toolStripButton1;
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_sid;
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_name;
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_model;
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_price;
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_qty;
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_amt;
private System.Windows.Forms.DataGridViewButtonColumn dvc_spm;
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_remark;
private System.Windows.Forms.ToolStripButton toolStripButton3;
}
}