|
|
|
@ -28,16 +28,16 @@ |
|
|
|
/// </summary>
|
|
|
|
private void InitializeComponent() |
|
|
|
{ |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = 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 dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
this.uLabel3 = new WinFormControl.ULabel(); |
|
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.taskDataGrid = new WinFormControl.UDataGridView(); |
|
|
|
@ -47,6 +47,8 @@ |
|
|
|
this.T_Last = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.GoodsLabel = new WinFormControl.ULabel(); |
|
|
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer(); |
|
|
|
this.statisticNumberBox = new System.Windows.Forms.TextBox(); |
|
|
|
this.label1 = new System.Windows.Forms.Label(); |
|
|
|
this.logBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
this.msglbl = new System.Windows.Forms.Label(); |
|
|
|
this.closeBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
@ -71,8 +73,7 @@ |
|
|
|
this.H_BarCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Goods_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.label1 = new System.Windows.Forms.Label(); |
|
|
|
this.statisticNumberBox = new System.Windows.Forms.TextBox(); |
|
|
|
this.viewTaskBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
this.groupBox2.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.taskDataGrid)).BeginInit(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); |
|
|
|
@ -115,15 +116,15 @@ |
|
|
|
this.taskDataGrid.AllowUserToDeleteRows = false; |
|
|
|
this.taskDataGrid.AllowUserToResizeColumns = false; |
|
|
|
this.taskDataGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.taskDataGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11; |
|
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.taskDataGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
|
|
this.taskDataGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
this.taskDataGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; |
|
|
|
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle12.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle12.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.taskDataGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12; |
|
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.taskDataGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
|
|
this.taskDataGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.taskDataGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.T_Item, |
|
|
|
@ -136,9 +137,9 @@ |
|
|
|
this.taskDataGrid.Name = "taskDataGrid"; |
|
|
|
this.taskDataGrid.ReadOnly = true; |
|
|
|
this.taskDataGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle16.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle16.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.taskDataGrid.RowsDefaultCellStyle = dataGridViewCellStyle16; |
|
|
|
dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.taskDataGrid.RowsDefaultCellStyle = dataGridViewCellStyle6; |
|
|
|
this.taskDataGrid.RowTemplate.Height = 23; |
|
|
|
this.taskDataGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.taskDataGrid.Size = new System.Drawing.Size(442, 96); |
|
|
|
@ -155,8 +156,8 @@ |
|
|
|
//
|
|
|
|
this.T_Need.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.T_Need.DataPropertyName = "Need"; |
|
|
|
dataGridViewCellStyle13.Format = "#0.######"; |
|
|
|
this.T_Need.DefaultCellStyle = dataGridViewCellStyle13; |
|
|
|
dataGridViewCellStyle3.Format = "#0.######"; |
|
|
|
this.T_Need.DefaultCellStyle = dataGridViewCellStyle3; |
|
|
|
this.T_Need.HeaderText = "订货"; |
|
|
|
this.T_Need.Name = "T_Need"; |
|
|
|
this.T_Need.ReadOnly = true; |
|
|
|
@ -165,8 +166,8 @@ |
|
|
|
//
|
|
|
|
this.T_Done.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.T_Done.DataPropertyName = "Done"; |
|
|
|
dataGridViewCellStyle14.Format = "#0.######"; |
|
|
|
this.T_Done.DefaultCellStyle = dataGridViewCellStyle14; |
|
|
|
dataGridViewCellStyle4.Format = "#0.######"; |
|
|
|
this.T_Done.DefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
this.T_Done.HeaderText = "完工"; |
|
|
|
this.T_Done.Name = "T_Done"; |
|
|
|
this.T_Done.ReadOnly = true; |
|
|
|
@ -175,8 +176,8 @@ |
|
|
|
//
|
|
|
|
this.T_Last.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.T_Last.DataPropertyName = "Last"; |
|
|
|
dataGridViewCellStyle15.Format = "#0.######"; |
|
|
|
this.T_Last.DefaultCellStyle = dataGridViewCellStyle15; |
|
|
|
dataGridViewCellStyle5.Format = "#0.######"; |
|
|
|
this.T_Last.DefaultCellStyle = dataGridViewCellStyle5; |
|
|
|
this.T_Last.HeaderText = "剩余"; |
|
|
|
this.T_Last.Name = "T_Last"; |
|
|
|
this.T_Last.ReadOnly = true; |
|
|
|
@ -226,6 +227,25 @@ |
|
|
|
this.splitContainer1.SplitterDistance = 87; |
|
|
|
this.splitContainer1.TabIndex = 1; |
|
|
|
//
|
|
|
|
// statisticNumberBox
|
|
|
|
//
|
|
|
|
this.statisticNumberBox.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.statisticNumberBox.Location = new System.Drawing.Point(532, 47); |
|
|
|
this.statisticNumberBox.Name = "statisticNumberBox"; |
|
|
|
this.statisticNumberBox.Size = new System.Drawing.Size(115, 30); |
|
|
|
this.statisticNumberBox.TabIndex = 27; |
|
|
|
this.statisticNumberBox.MouseClick += new System.Windows.Forms.MouseEventHandler(this.StatisticNumberBox_MouseClick); |
|
|
|
//
|
|
|
|
// label1
|
|
|
|
//
|
|
|
|
this.label1.AutoSize = true; |
|
|
|
this.label1.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.label1.Location = new System.Drawing.Point(430, 51); |
|
|
|
this.label1.Name = "label1"; |
|
|
|
this.label1.Size = new System.Drawing.Size(109, 20); |
|
|
|
this.label1.TabIndex = 26; |
|
|
|
this.label1.Text = "统计数量:"; |
|
|
|
//
|
|
|
|
// logBtn
|
|
|
|
//
|
|
|
|
this.logBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
@ -367,6 +387,7 @@ |
|
|
|
//
|
|
|
|
// splitContainer2.Panel2
|
|
|
|
//
|
|
|
|
this.splitContainer2.Panel2.Controls.Add(this.viewTaskBtn); |
|
|
|
this.splitContainer2.Panel2.Controls.Add(this.deleteBtn); |
|
|
|
this.splitContainer2.Panel2.Controls.Add(this.rePrintBtn); |
|
|
|
this.splitContainer2.Panel2.Controls.Add(this.groupBox1); |
|
|
|
@ -460,15 +481,15 @@ |
|
|
|
this.historyDataGrid.AllowUserToDeleteRows = false; |
|
|
|
this.historyDataGrid.AllowUserToResizeColumns = false; |
|
|
|
this.historyDataGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.historyDataGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle17; |
|
|
|
dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.historyDataGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7; |
|
|
|
this.historyDataGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
this.historyDataGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; |
|
|
|
dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle18.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle18.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.historyDataGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle18; |
|
|
|
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle8.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.historyDataGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8; |
|
|
|
this.historyDataGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.historyDataGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.H_ID, |
|
|
|
@ -482,9 +503,9 @@ |
|
|
|
this.historyDataGrid.Name = "historyDataGrid"; |
|
|
|
this.historyDataGrid.ReadOnly = true; |
|
|
|
this.historyDataGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle20.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle20.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.historyDataGrid.RowsDefaultCellStyle = dataGridViewCellStyle20; |
|
|
|
dataGridViewCellStyle10.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle10.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.historyDataGrid.RowsDefaultCellStyle = dataGridViewCellStyle10; |
|
|
|
this.historyDataGrid.RowTemplate.Height = 23; |
|
|
|
this.historyDataGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.historyDataGrid.Size = new System.Drawing.Size(437, 308); |
|
|
|
@ -525,30 +546,26 @@ |
|
|
|
// H_Weight
|
|
|
|
//
|
|
|
|
this.H_Weight.DataPropertyName = "Weight"; |
|
|
|
dataGridViewCellStyle19.Format = "#0.######"; |
|
|
|
this.H_Weight.DefaultCellStyle = dataGridViewCellStyle19; |
|
|
|
dataGridViewCellStyle9.Format = "#0.######"; |
|
|
|
this.H_Weight.DefaultCellStyle = dataGridViewCellStyle9; |
|
|
|
this.H_Weight.HeaderText = "重量"; |
|
|
|
this.H_Weight.Name = "H_Weight"; |
|
|
|
this.H_Weight.ReadOnly = true; |
|
|
|
//
|
|
|
|
// label1
|
|
|
|
//
|
|
|
|
this.label1.AutoSize = true; |
|
|
|
this.label1.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.label1.Location = new System.Drawing.Point(430, 51); |
|
|
|
this.label1.Name = "label1"; |
|
|
|
this.label1.Size = new System.Drawing.Size(109, 20); |
|
|
|
this.label1.TabIndex = 26; |
|
|
|
this.label1.Text = "统计数量:"; |
|
|
|
//
|
|
|
|
// statisticNumberBox
|
|
|
|
//
|
|
|
|
this.statisticNumberBox.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.statisticNumberBox.Location = new System.Drawing.Point(532, 47); |
|
|
|
this.statisticNumberBox.Name = "statisticNumberBox"; |
|
|
|
this.statisticNumberBox.Size = new System.Drawing.Size(115, 30); |
|
|
|
this.statisticNumberBox.TabIndex = 27; |
|
|
|
this.statisticNumberBox.MouseClick += new System.Windows.Forms.MouseEventHandler(this.StatisticNumberBox_MouseClick); |
|
|
|
// viewTaskBtn
|
|
|
|
//
|
|
|
|
this.viewTaskBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.viewTaskBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(135)))), ((int)(((byte)(245))))); |
|
|
|
this.viewTaskBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.viewTaskBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
this.viewTaskBtn.Location = new System.Drawing.Point(14, 126); |
|
|
|
this.viewTaskBtn.Name = "viewTaskBtn"; |
|
|
|
this.viewTaskBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(234)))), ((int)(((byte)(106))))); |
|
|
|
this.viewTaskBtn.Size = new System.Drawing.Size(111, 41); |
|
|
|
this.viewTaskBtn.TabIndex = 24; |
|
|
|
this.viewTaskBtn.Text = "完工"; |
|
|
|
this.viewTaskBtn.UseVisualStyleBackColor = false; |
|
|
|
this.viewTaskBtn.Click += new System.EventHandler(this.ViewTaskBtn_Click); |
|
|
|
//
|
|
|
|
// SegmentProductionAutoForm
|
|
|
|
//
|
|
|
|
@ -616,5 +633,6 @@ |
|
|
|
private Controls.ColorButton logBtn; |
|
|
|
private System.Windows.Forms.TextBox statisticNumberBox; |
|
|
|
private System.Windows.Forms.Label label1; |
|
|
|
private Controls.ColorButton viewTaskBtn; |
|
|
|
} |
|
|
|
} |