|
|
|
@ -30,9 +30,10 @@ |
|
|
|
{ |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = 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 dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
this.uDataGridView1 = new BWP.WinFormControl.UDataGridView(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
this.orderGrid = new BWP.WinFormControl.UDataGridView(); |
|
|
|
this.existBtn = new System.Windows.Forms.Button(); |
|
|
|
this.orderLabel = new System.Windows.Forms.Label(); |
|
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
|
|
@ -40,25 +41,31 @@ |
|
|
|
this.uDatePicker1 = new BWP.WinFormControl.UDatePicker(); |
|
|
|
this.label1 = new System.Windows.Forms.Label(); |
|
|
|
this.vScrollBar1 = new System.Windows.Forms.VScrollBar(); |
|
|
|
this.setTop = new System.Windows.Forms.CheckBox(); |
|
|
|
this.C_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.C_Confirmed = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.C_IsHurryButcher = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.C_WeightBill_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.C_SecondarySplit = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.C_OrderState = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.C_Order = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.C_B3WeighBill_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.C_Supplier_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.C_LiveColonyHouse_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.C_Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.C_PlanNumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.C_OK = new System.Windows.Forms.DataGridViewButtonColumn(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).BeginInit(); |
|
|
|
this.C_Finish = new System.Windows.Forms.DataGridViewButtonColumn(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.orderGrid)).BeginInit(); |
|
|
|
this.SuspendLayout(); |
|
|
|
//
|
|
|
|
// uDataGridView1
|
|
|
|
// orderGrid
|
|
|
|
//
|
|
|
|
this.uDataGridView1.AllowUserToAddRows = false; |
|
|
|
this.uDataGridView1.AllowUserToDeleteRows = false; |
|
|
|
this.uDataGridView1.AllowUserToResizeColumns = false; |
|
|
|
this.uDataGridView1.AllowUserToResizeRows = false; |
|
|
|
this.orderGrid.AllowUserToAddRows = false; |
|
|
|
this.orderGrid.AllowUserToDeleteRows = false; |
|
|
|
this.orderGrid.AllowUserToResizeColumns = false; |
|
|
|
this.orderGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.uDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
|
|
this.uDataGridView1.BackgroundColor = System.Drawing.Color.White; |
|
|
|
this.orderGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
|
|
this.orderGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
@ -66,33 +73,38 @@ |
|
|
|
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.uDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
|
|
this.uDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.uDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.orderGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
|
|
this.orderGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.orderGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.C_ID, |
|
|
|
this.C_Confirmed, |
|
|
|
this.C_IsHurryButcher, |
|
|
|
this.C_WeightBill_ID, |
|
|
|
this.C_SecondarySplit, |
|
|
|
this.C_OrderState, |
|
|
|
this.C_Order, |
|
|
|
this.C_B3WeighBill_ID, |
|
|
|
this.C_Supplier_Name, |
|
|
|
this.C_LiveColonyHouse_Name, |
|
|
|
this.C_Number, |
|
|
|
this.C_OK}); |
|
|
|
this.uDataGridView1.Location = new System.Drawing.Point(35, 73); |
|
|
|
this.uDataGridView1.MultiSelect = false; |
|
|
|
this.uDataGridView1.Name = "uDataGridView1"; |
|
|
|
this.uDataGridView1.ReadOnly = true; |
|
|
|
this.uDataGridView1.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black; |
|
|
|
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.Black; |
|
|
|
this.uDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
this.uDataGridView1.RowTemplate.Height = 60; |
|
|
|
this.uDataGridView1.ScrollBars = System.Windows.Forms.ScrollBars.None; |
|
|
|
this.uDataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.uDataGridView1.Size = new System.Drawing.Size(753, 525); |
|
|
|
this.uDataGridView1.TabIndex = 0; |
|
|
|
this.uDataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.uDataGridView1_CellClick); |
|
|
|
this.uDataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.uDataGridView1_CellContentClick); |
|
|
|
this.C_PlanNumber, |
|
|
|
this.C_OK, |
|
|
|
this.C_Finish}); |
|
|
|
this.orderGrid.Location = new System.Drawing.Point(35, 73); |
|
|
|
this.orderGrid.MultiSelect = false; |
|
|
|
this.orderGrid.Name = "orderGrid"; |
|
|
|
this.orderGrid.ReadOnly = true; |
|
|
|
this.orderGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.Black; |
|
|
|
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.Black; |
|
|
|
this.orderGrid.RowsDefaultCellStyle = dataGridViewCellStyle5; |
|
|
|
this.orderGrid.RowTemplate.Height = 60; |
|
|
|
this.orderGrid.ScrollBars = System.Windows.Forms.ScrollBars.None; |
|
|
|
this.orderGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.orderGrid.Size = new System.Drawing.Size(753, 525); |
|
|
|
this.orderGrid.TabIndex = 0; |
|
|
|
this.orderGrid.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.orderGrid_CellClick); |
|
|
|
this.orderGrid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.orderGrid_CellContentClick); |
|
|
|
//
|
|
|
|
// existBtn
|
|
|
|
//
|
|
|
|
@ -167,6 +179,17 @@ |
|
|
|
this.vScrollBar1.Size = new System.Drawing.Size(40, 525); |
|
|
|
this.vScrollBar1.TabIndex = 52; |
|
|
|
//
|
|
|
|
// setTop
|
|
|
|
//
|
|
|
|
this.setTop.AutoSize = true; |
|
|
|
this.setTop.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.setTop.Location = new System.Drawing.Point(620, 17); |
|
|
|
this.setTop.Name = "setTop"; |
|
|
|
this.setTop.Size = new System.Drawing.Size(68, 24); |
|
|
|
this.setTop.TabIndex = 53; |
|
|
|
this.setTop.Text = "置顶"; |
|
|
|
this.setTop.UseVisualStyleBackColor = true; |
|
|
|
//
|
|
|
|
// C_ID
|
|
|
|
//
|
|
|
|
this.C_ID.DataPropertyName = "ID"; |
|
|
|
@ -175,27 +198,61 @@ |
|
|
|
this.C_ID.ReadOnly = true; |
|
|
|
this.C_ID.Visible = false; |
|
|
|
//
|
|
|
|
// C_Confirmed
|
|
|
|
// C_IsHurryButcher
|
|
|
|
//
|
|
|
|
this.C_IsHurryButcher.DataPropertyName = "IsHurryButcher"; |
|
|
|
this.C_IsHurryButcher.HeaderText = "IsHurryButcher"; |
|
|
|
this.C_IsHurryButcher.Name = "C_IsHurryButcher"; |
|
|
|
this.C_IsHurryButcher.ReadOnly = true; |
|
|
|
this.C_IsHurryButcher.Visible = false; |
|
|
|
//
|
|
|
|
// C_WeightBill_ID
|
|
|
|
//
|
|
|
|
this.C_WeightBill_ID.DataPropertyName = "WeightBill_ID"; |
|
|
|
this.C_WeightBill_ID.HeaderText = "WeightBill_ID"; |
|
|
|
this.C_WeightBill_ID.Name = "C_WeightBill_ID"; |
|
|
|
this.C_WeightBill_ID.ReadOnly = true; |
|
|
|
this.C_WeightBill_ID.Visible = false; |
|
|
|
//
|
|
|
|
this.C_Confirmed.DataPropertyName = "Confirmed"; |
|
|
|
this.C_Confirmed.HeaderText = "Confirmed"; |
|
|
|
this.C_Confirmed.Name = "C_Confirmed"; |
|
|
|
this.C_Confirmed.ReadOnly = true; |
|
|
|
this.C_Confirmed.Visible = false; |
|
|
|
// C_SecondarySplit
|
|
|
|
//
|
|
|
|
this.C_SecondarySplit.DataPropertyName = "SecondarySplit"; |
|
|
|
this.C_SecondarySplit.HeaderText = "SecondarySplit"; |
|
|
|
this.C_SecondarySplit.Name = "C_SecondarySplit"; |
|
|
|
this.C_SecondarySplit.ReadOnly = true; |
|
|
|
this.C_SecondarySplit.Visible = false; |
|
|
|
//
|
|
|
|
// C_OrderState
|
|
|
|
//
|
|
|
|
this.C_OrderState.DataPropertyName = "OrderState"; |
|
|
|
this.C_OrderState.HeaderText = "OrderState"; |
|
|
|
this.C_OrderState.Name = "C_OrderState"; |
|
|
|
this.C_OrderState.ReadOnly = true; |
|
|
|
this.C_OrderState.Visible = false; |
|
|
|
//
|
|
|
|
// C_Order
|
|
|
|
//
|
|
|
|
this.C_Order.DataPropertyName = "Order"; |
|
|
|
this.C_Order.HeaderText = "排宰顺序"; |
|
|
|
this.C_Order.HeaderText = "序号"; |
|
|
|
this.C_Order.Name = "C_Order"; |
|
|
|
this.C_Order.ReadOnly = true; |
|
|
|
this.C_Order.Width = 80; |
|
|
|
//
|
|
|
|
// C_B3WeighBill_ID
|
|
|
|
//
|
|
|
|
this.C_B3WeighBill_ID.DataPropertyName = "B3WeighBill_ID"; |
|
|
|
this.C_B3WeighBill_ID.HeaderText = "过磅单号"; |
|
|
|
this.C_B3WeighBill_ID.HeaderText = "磅单号"; |
|
|
|
this.C_B3WeighBill_ID.Name = "C_B3WeighBill_ID"; |
|
|
|
this.C_B3WeighBill_ID.ReadOnly = true; |
|
|
|
this.C_B3WeighBill_ID.Width = 90; |
|
|
|
//
|
|
|
|
// C_Supplier_Name
|
|
|
|
//
|
|
|
|
this.C_Supplier_Name.DataPropertyName = "Supplier_Name"; |
|
|
|
this.C_Supplier_Name.HeaderText = "供应商"; |
|
|
|
this.C_Supplier_Name.Name = "C_Supplier_Name"; |
|
|
|
this.C_Supplier_Name.ReadOnly = true; |
|
|
|
this.C_Supplier_Name.Width = 110; |
|
|
|
//
|
|
|
|
// C_LiveColonyHouse_Name
|
|
|
|
//
|
|
|
|
@ -203,32 +260,45 @@ |
|
|
|
this.C_LiveColonyHouse_Name.HeaderText = "圈舍"; |
|
|
|
this.C_LiveColonyHouse_Name.Name = "C_LiveColonyHouse_Name"; |
|
|
|
this.C_LiveColonyHouse_Name.ReadOnly = true; |
|
|
|
this.C_LiveColonyHouse_Name.Width = 300; |
|
|
|
this.C_LiveColonyHouse_Name.Width = 150; |
|
|
|
//
|
|
|
|
// C_Number
|
|
|
|
// C_PlanNumber
|
|
|
|
//
|
|
|
|
this.C_Number.DataPropertyName = "Number"; |
|
|
|
this.C_Number.HeaderText = "头数"; |
|
|
|
this.C_Number.Name = "C_Number"; |
|
|
|
this.C_Number.ReadOnly = true; |
|
|
|
this.C_PlanNumber.DataPropertyName = "PlanNumber"; |
|
|
|
this.C_PlanNumber.HeaderText = "头数"; |
|
|
|
this.C_PlanNumber.Name = "C_PlanNumber"; |
|
|
|
this.C_PlanNumber.ReadOnly = true; |
|
|
|
this.C_PlanNumber.Width = 80; |
|
|
|
//
|
|
|
|
// C_OK
|
|
|
|
//
|
|
|
|
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle3.Padding = new System.Windows.Forms.Padding(10); |
|
|
|
this.C_OK.DefaultCellStyle = dataGridViewCellStyle3; |
|
|
|
this.C_OK.HeaderText = "确定"; |
|
|
|
this.C_OK.HeaderText = "开始"; |
|
|
|
this.C_OK.Name = "C_OK"; |
|
|
|
this.C_OK.ReadOnly = true; |
|
|
|
this.C_OK.Text = "确定"; |
|
|
|
this.C_OK.UseColumnTextForButtonValue = true; |
|
|
|
this.C_OK.Width = 150; |
|
|
|
this.C_OK.Text = ""; |
|
|
|
this.C_OK.Width = 120; |
|
|
|
//
|
|
|
|
// C_Finish
|
|
|
|
//
|
|
|
|
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle4.Padding = new System.Windows.Forms.Padding(10); |
|
|
|
this.C_Finish.DefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
this.C_Finish.HeaderText = "完毕"; |
|
|
|
this.C_Finish.Name = "C_Finish"; |
|
|
|
this.C_Finish.ReadOnly = true; |
|
|
|
this.C_Finish.Text = "完毕"; |
|
|
|
this.C_Finish.UseColumnTextForButtonValue = true; |
|
|
|
this.C_Finish.Width = 120; |
|
|
|
//
|
|
|
|
// OrderConfirmForm
|
|
|
|
//
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
this.ClientSize = new System.Drawing.Size(869, 631); |
|
|
|
this.Controls.Add(this.setTop); |
|
|
|
this.Controls.Add(this.vScrollBar1); |
|
|
|
this.Controls.Add(this.existBtn); |
|
|
|
this.Controls.Add(this.orderLabel); |
|
|
|
@ -236,13 +306,15 @@ |
|
|
|
this.Controls.Add(this.syncBtn); |
|
|
|
this.Controls.Add(this.uDatePicker1); |
|
|
|
this.Controls.Add(this.label1); |
|
|
|
this.Controls.Add(this.uDataGridView1); |
|
|
|
this.Controls.Add(this.orderGrid); |
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; |
|
|
|
this.KeyPreview = true; |
|
|
|
this.MaximizeBox = false; |
|
|
|
this.Name = "OrderConfirmForm"; |
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; |
|
|
|
this.Text = "上线确认"; |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).EndInit(); |
|
|
|
this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.OrderConfirmForm_KeyUp); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.orderGrid)).EndInit(); |
|
|
|
this.ResumeLayout(false); |
|
|
|
this.PerformLayout(); |
|
|
|
|
|
|
|
@ -250,7 +322,7 @@ |
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
private BWP.WinFormControl.UDataGridView uDataGridView1; |
|
|
|
private BWP.WinFormControl.UDataGridView orderGrid; |
|
|
|
private System.Windows.Forms.Button existBtn; |
|
|
|
private System.Windows.Forms.Label orderLabel; |
|
|
|
private System.Windows.Forms.Label label2; |
|
|
|
@ -258,12 +330,18 @@ |
|
|
|
private BWP.WinFormControl.UDatePicker uDatePicker1; |
|
|
|
private System.Windows.Forms.Label label1; |
|
|
|
private System.Windows.Forms.VScrollBar vScrollBar1; |
|
|
|
private System.Windows.Forms.CheckBox setTop; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn C_ID; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn C_Confirmed; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn C_IsHurryButcher; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn C_WeightBill_ID; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn C_SecondarySplit; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn C_OrderState; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn C_Order; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn C_B3WeighBill_ID; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn C_Supplier_Name; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn C_LiveColonyHouse_Name; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn C_Number; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn C_PlanNumber; |
|
|
|
private System.Windows.Forms.DataGridViewButtonColumn C_OK; |
|
|
|
private System.Windows.Forms.DataGridViewButtonColumn C_Finish; |
|
|
|
} |
|
|
|
} |