|
|
|
@ -28,35 +28,73 @@ |
|
|
|
/// </summary>
|
|
|
|
private void InitializeComponent() |
|
|
|
{ |
|
|
|
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 dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
this.label1 = new System.Windows.Forms.Label(); |
|
|
|
this.uDatePicker1 = new BWP.WinFormControl.UDatePicker(); |
|
|
|
this.button1 = new System.Windows.Forms.Button(); |
|
|
|
this.uDataGridView1 = new BWP.WinFormControl.UDataGridView(); |
|
|
|
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.syncBtn = new System.Windows.Forms.Button(); |
|
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
|
|
this.label3 = new System.Windows.Forms.Label(); |
|
|
|
this.orderLabel = new System.Windows.Forms.Label(); |
|
|
|
this.label4 = new System.Windows.Forms.Label(); |
|
|
|
this.label5 = new System.Windows.Forms.Label(); |
|
|
|
this.alreadyLabel = new System.Windows.Forms.Label(); |
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.ttPanel = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.label11 = new System.Windows.Forms.Label(); |
|
|
|
this.mbPanel = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.groupBox3 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.label12 = new System.Windows.Forms.Label(); |
|
|
|
this.queryPanel = new System.Windows.Forms.Panel(); |
|
|
|
this.panel2 = new System.Windows.Forms.Panel(); |
|
|
|
this.maoRadio = new System.Windows.Forms.RadioButton(); |
|
|
|
this.tangRadio = new System.Windows.Forms.RadioButton(); |
|
|
|
this.allRadio = new System.Windows.Forms.RadioButton(); |
|
|
|
this.label9 = new System.Windows.Forms.Label(); |
|
|
|
this.label6 = new System.Windows.Forms.Label(); |
|
|
|
this.label8 = new System.Windows.Forms.Label(); |
|
|
|
this.queryBtn = new System.Windows.Forms.Button(); |
|
|
|
this.saiXuanBtn = new System.Windows.Forms.Button(); |
|
|
|
this.enableWeight = new System.Windows.Forms.CheckBox(); |
|
|
|
this.isPrintCheckBox = new System.Windows.Forms.CheckBox(); |
|
|
|
this.printBtn = new System.Windows.Forms.Button(); |
|
|
|
this.panel1 = new System.Windows.Forms.Panel(); |
|
|
|
this.lblChengZhong = new System.Windows.Forms.Label(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).BeginInit(); |
|
|
|
this.label10 = new System.Windows.Forms.Label(); |
|
|
|
this.orderInput = new BWP.WinFormControl.UTextBoxWithPad(); |
|
|
|
this.historyGrid = new BWP.WinFormControl.UDataGridView(); |
|
|
|
this.dataGridView = new BWP.WinFormControl.UDataGridView(); |
|
|
|
this.butcherTimeInput = new BWP.WinFormControl.UDatePicker(); |
|
|
|
this.beginDateInput = new BWP.WinFormControl.UDatePicker(); |
|
|
|
this.endDataInput = new BWP.WinFormControl.UDatePicker(); |
|
|
|
this.label3 = new System.Windows.Forms.Label(); |
|
|
|
this.closeBtn = new System.Windows.Forms.Button(); |
|
|
|
this.D_OrderDetail_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.D_Finish = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.D_Order = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.D_Technics_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.D_Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.D_Already = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.configBtn = new System.Windows.Forms.Button(); |
|
|
|
this.H_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Livestock_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Index = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Order = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Technics = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Livestock_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Time = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.groupBox1.SuspendLayout(); |
|
|
|
this.groupBox2.SuspendLayout(); |
|
|
|
this.groupBox3.SuspendLayout(); |
|
|
|
this.queryPanel.SuspendLayout(); |
|
|
|
this.panel2.SuspendLayout(); |
|
|
|
this.panel1.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.historyGrid)).BeginInit(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); |
|
|
|
this.SuspendLayout(); |
|
|
|
//
|
|
|
|
// label1
|
|
|
|
@ -69,177 +107,243 @@ |
|
|
|
this.label1.TabIndex = 0; |
|
|
|
this.label1.Text = "宰杀日期:"; |
|
|
|
//
|
|
|
|
// uDatePicker1
|
|
|
|
//
|
|
|
|
this.uDatePicker1.BackColor = System.Drawing.Color.White; |
|
|
|
this.uDatePicker1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.uDatePicker1.Date = new System.DateTime(2017, 9, 5, 0, 0, 0, 0); |
|
|
|
this.uDatePicker1.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.uDatePicker1.Location = new System.Drawing.Point(116, 126); |
|
|
|
this.uDatePicker1.Name = "uDatePicker1"; |
|
|
|
this.uDatePicker1.Size = new System.Drawing.Size(133, 30); |
|
|
|
this.uDatePicker1.TabIndex = 2; |
|
|
|
this.uDatePicker1.Text = "2017/09/05"; |
|
|
|
this.uDatePicker1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; |
|
|
|
this.uDatePicker1.Type = BWP.WinFormControl.DateTimeType.Date; |
|
|
|
//
|
|
|
|
// button1
|
|
|
|
//
|
|
|
|
this.button1.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.button1.Location = new System.Drawing.Point(287, 120); |
|
|
|
this.button1.Name = "button1"; |
|
|
|
this.button1.Size = new System.Drawing.Size(102, 43); |
|
|
|
this.button1.TabIndex = 3; |
|
|
|
this.button1.Text = "同步数据"; |
|
|
|
this.button1.UseVisualStyleBackColor = true; |
|
|
|
//
|
|
|
|
// uDataGridView1
|
|
|
|
//
|
|
|
|
this.uDataGridView1.AllowUserToAddRows = false; |
|
|
|
this.uDataGridView1.AllowUserToDeleteRows = false; |
|
|
|
this.uDataGridView1.AllowUserToResizeColumns = false; |
|
|
|
this.uDataGridView1.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.uDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
this.uDataGridView1.BackgroundColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.uDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5; |
|
|
|
this.uDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.uDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.Column1, |
|
|
|
this.Column2, |
|
|
|
this.Column3, |
|
|
|
this.Column4}); |
|
|
|
this.uDataGridView1.Location = new System.Drawing.Point(12, 175); |
|
|
|
this.uDataGridView1.MultiSelect = false; |
|
|
|
this.uDataGridView1.Name = "uDataGridView1"; |
|
|
|
this.uDataGridView1.ReadOnly = true; |
|
|
|
this.uDataGridView1.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.uDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle6; |
|
|
|
this.uDataGridView1.RowTemplate.Height = 23; |
|
|
|
this.uDataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.uDataGridView1.Size = new System.Drawing.Size(377, 480); |
|
|
|
this.uDataGridView1.TabIndex = 4; |
|
|
|
//
|
|
|
|
// Column1
|
|
|
|
//
|
|
|
|
this.Column1.HeaderText = "屠宰顺序"; |
|
|
|
this.Column1.Name = "Column1"; |
|
|
|
this.Column1.ReadOnly = true; |
|
|
|
//
|
|
|
|
// Column2
|
|
|
|
//
|
|
|
|
this.Column2.HeaderText = "工艺"; |
|
|
|
this.Column2.Name = "Column2"; |
|
|
|
this.Column2.ReadOnly = true; |
|
|
|
this.Column2.Width = 80; |
|
|
|
//
|
|
|
|
// Column3
|
|
|
|
//
|
|
|
|
this.Column3.HeaderText = "头数"; |
|
|
|
this.Column3.Name = "Column3"; |
|
|
|
this.Column3.ReadOnly = true; |
|
|
|
this.Column3.Width = 80; |
|
|
|
//
|
|
|
|
// Column4
|
|
|
|
//
|
|
|
|
this.Column4.HeaderText = "已宰"; |
|
|
|
this.Column4.Name = "Column4"; |
|
|
|
this.Column4.ReadOnly = true; |
|
|
|
this.Column4.Width = 80; |
|
|
|
// syncBtn
|
|
|
|
//
|
|
|
|
this.syncBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.syncBtn.Location = new System.Drawing.Point(274, 120); |
|
|
|
this.syncBtn.Name = "syncBtn"; |
|
|
|
this.syncBtn.Size = new System.Drawing.Size(102, 43); |
|
|
|
this.syncBtn.TabIndex = 3; |
|
|
|
this.syncBtn.Text = "同步数据"; |
|
|
|
this.syncBtn.UseVisualStyleBackColor = true; |
|
|
|
this.syncBtn.Click += new System.EventHandler(this.syncBtn_Click); |
|
|
|
//
|
|
|
|
// label2
|
|
|
|
//
|
|
|
|
this.label2.AutoSize = true; |
|
|
|
this.label2.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.label2.Location = new System.Drawing.Point(447, 101); |
|
|
|
this.label2.Location = new System.Drawing.Point(413, 131); |
|
|
|
this.label2.Name = "label2"; |
|
|
|
this.label2.Size = new System.Drawing.Size(109, 20); |
|
|
|
this.label2.TabIndex = 5; |
|
|
|
this.label2.Text = "屠宰顺序:"; |
|
|
|
//
|
|
|
|
// label3
|
|
|
|
// orderLabel
|
|
|
|
//
|
|
|
|
this.label3.AutoSize = true; |
|
|
|
this.label3.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.label3.Location = new System.Drawing.Point(562, 101); |
|
|
|
this.label3.Name = "label3"; |
|
|
|
this.label3.Size = new System.Drawing.Size(19, 20); |
|
|
|
this.label3.TabIndex = 6; |
|
|
|
this.label3.Text = "0"; |
|
|
|
this.orderLabel.AutoSize = true; |
|
|
|
this.orderLabel.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.orderLabel.Location = new System.Drawing.Point(518, 131); |
|
|
|
this.orderLabel.Name = "orderLabel"; |
|
|
|
this.orderLabel.Size = new System.Drawing.Size(19, 20); |
|
|
|
this.orderLabel.TabIndex = 6; |
|
|
|
this.orderLabel.Text = "0"; |
|
|
|
//
|
|
|
|
// label4
|
|
|
|
//
|
|
|
|
this.label4.AutoSize = true; |
|
|
|
this.label4.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.label4.Location = new System.Drawing.Point(617, 100); |
|
|
|
this.label4.Location = new System.Drawing.Point(577, 131); |
|
|
|
this.label4.Name = "label4"; |
|
|
|
this.label4.Size = new System.Drawing.Size(69, 20); |
|
|
|
this.label4.Size = new System.Drawing.Size(109, 20); |
|
|
|
this.label4.TabIndex = 7; |
|
|
|
this.label4.Text = "已宰:"; |
|
|
|
this.label4.Text = "已宰头数:"; |
|
|
|
//
|
|
|
|
// label5
|
|
|
|
// alreadyLabel
|
|
|
|
//
|
|
|
|
this.label5.AutoSize = true; |
|
|
|
this.label5.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.label5.Location = new System.Drawing.Point(702, 100); |
|
|
|
this.label5.Name = "label5"; |
|
|
|
this.label5.Size = new System.Drawing.Size(19, 20); |
|
|
|
this.label5.TabIndex = 8; |
|
|
|
this.label5.Text = "0"; |
|
|
|
this.alreadyLabel.AutoSize = true; |
|
|
|
this.alreadyLabel.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.alreadyLabel.Location = new System.Drawing.Point(692, 131); |
|
|
|
this.alreadyLabel.Name = "alreadyLabel"; |
|
|
|
this.alreadyLabel.Size = new System.Drawing.Size(19, 20); |
|
|
|
this.alreadyLabel.TabIndex = 8; |
|
|
|
this.alreadyLabel.Text = "0"; |
|
|
|
//
|
|
|
|
// groupBox1
|
|
|
|
//
|
|
|
|
this.groupBox1.Controls.Add(this.flowLayoutPanel1); |
|
|
|
this.groupBox1.Location = new System.Drawing.Point(439, 154); |
|
|
|
this.groupBox1.Controls.Add(this.ttPanel); |
|
|
|
this.groupBox1.Location = new System.Drawing.Point(407, 175); |
|
|
|
this.groupBox1.Name = "groupBox1"; |
|
|
|
this.groupBox1.Size = new System.Drawing.Size(345, 288); |
|
|
|
this.groupBox1.Size = new System.Drawing.Size(390, 330); |
|
|
|
this.groupBox1.TabIndex = 9; |
|
|
|
this.groupBox1.TabStop = false; |
|
|
|
this.groupBox1.Text = "烫褪"; |
|
|
|
//
|
|
|
|
// ttPanel
|
|
|
|
//
|
|
|
|
this.ttPanel.Location = new System.Drawing.Point(13, 36); |
|
|
|
this.ttPanel.Name = "ttPanel"; |
|
|
|
this.ttPanel.Size = new System.Drawing.Size(367, 276); |
|
|
|
this.ttPanel.TabIndex = 0; |
|
|
|
//
|
|
|
|
// groupBox2
|
|
|
|
//
|
|
|
|
this.groupBox2.Controls.Add(this.flowLayoutPanel2); |
|
|
|
this.groupBox2.Location = new System.Drawing.Point(439, 473); |
|
|
|
this.groupBox2.Controls.Add(this.label11); |
|
|
|
this.groupBox2.Controls.Add(this.mbPanel); |
|
|
|
this.groupBox2.Location = new System.Drawing.Point(407, 525); |
|
|
|
this.groupBox2.Name = "groupBox2"; |
|
|
|
this.groupBox2.Size = new System.Drawing.Size(345, 332); |
|
|
|
this.groupBox2.Size = new System.Drawing.Size(390, 330); |
|
|
|
this.groupBox2.TabIndex = 10; |
|
|
|
this.groupBox2.TabStop = false; |
|
|
|
this.groupBox2.Text = "毛剥"; |
|
|
|
//
|
|
|
|
// flowLayoutPanel1
|
|
|
|
// label11
|
|
|
|
//
|
|
|
|
this.flowLayoutPanel1.Location = new System.Drawing.Point(12, 21); |
|
|
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1"; |
|
|
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(319, 251); |
|
|
|
this.flowLayoutPanel1.TabIndex = 0; |
|
|
|
this.label11.AutoSize = true; |
|
|
|
this.label11.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.label11.Location = new System.Drawing.Point(6, -1); |
|
|
|
this.label11.Name = "label11"; |
|
|
|
this.label11.Size = new System.Drawing.Size(49, 20); |
|
|
|
this.label11.TabIndex = 32; |
|
|
|
this.label11.Text = "毛剥"; |
|
|
|
//
|
|
|
|
// flowLayoutPanel2
|
|
|
|
// mbPanel
|
|
|
|
//
|
|
|
|
this.flowLayoutPanel2.Location = new System.Drawing.Point(12, 32); |
|
|
|
this.flowLayoutPanel2.Name = "flowLayoutPanel2"; |
|
|
|
this.flowLayoutPanel2.Size = new System.Drawing.Size(319, 251); |
|
|
|
this.flowLayoutPanel2.TabIndex = 1; |
|
|
|
this.mbPanel.Location = new System.Drawing.Point(13, 37); |
|
|
|
this.mbPanel.Name = "mbPanel"; |
|
|
|
this.mbPanel.Size = new System.Drawing.Size(367, 276); |
|
|
|
this.mbPanel.TabIndex = 1; |
|
|
|
//
|
|
|
|
// groupBox3
|
|
|
|
//
|
|
|
|
this.groupBox3.Location = new System.Drawing.Point(853, 154); |
|
|
|
this.groupBox3.Controls.Add(this.label12); |
|
|
|
this.groupBox3.Controls.Add(this.queryPanel); |
|
|
|
this.groupBox3.Controls.Add(this.queryBtn); |
|
|
|
this.groupBox3.Controls.Add(this.saiXuanBtn); |
|
|
|
this.groupBox3.Controls.Add(this.historyGrid); |
|
|
|
this.groupBox3.Location = new System.Drawing.Point(826, 175); |
|
|
|
this.groupBox3.Name = "groupBox3"; |
|
|
|
this.groupBox3.Size = new System.Drawing.Size(384, 651); |
|
|
|
this.groupBox3.Size = new System.Drawing.Size(438, 680); |
|
|
|
this.groupBox3.TabIndex = 11; |
|
|
|
this.groupBox3.TabStop = false; |
|
|
|
this.groupBox3.Text = "记录"; |
|
|
|
//
|
|
|
|
// label12
|
|
|
|
//
|
|
|
|
this.label12.AutoSize = true; |
|
|
|
this.label12.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.label12.Location = new System.Drawing.Point(5, -1); |
|
|
|
this.label12.Name = "label12"; |
|
|
|
this.label12.Size = new System.Drawing.Size(49, 20); |
|
|
|
this.label12.TabIndex = 32; |
|
|
|
this.label12.Text = "记录"; |
|
|
|
//
|
|
|
|
// queryPanel
|
|
|
|
//
|
|
|
|
this.queryPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.queryPanel.Controls.Add(this.label3); |
|
|
|
this.queryPanel.Controls.Add(this.endDataInput); |
|
|
|
this.queryPanel.Controls.Add(this.beginDateInput); |
|
|
|
this.queryPanel.Controls.Add(this.panel2); |
|
|
|
this.queryPanel.Controls.Add(this.orderInput); |
|
|
|
this.queryPanel.Controls.Add(this.label9); |
|
|
|
this.queryPanel.Controls.Add(this.label6); |
|
|
|
this.queryPanel.Controls.Add(this.label8); |
|
|
|
this.queryPanel.Location = new System.Drawing.Point(23, 85); |
|
|
|
this.queryPanel.Name = "queryPanel"; |
|
|
|
this.queryPanel.Size = new System.Drawing.Size(391, 172); |
|
|
|
this.queryPanel.TabIndex = 26; |
|
|
|
//
|
|
|
|
// panel2
|
|
|
|
//
|
|
|
|
this.panel2.Controls.Add(this.maoRadio); |
|
|
|
this.panel2.Controls.Add(this.tangRadio); |
|
|
|
this.panel2.Controls.Add(this.allRadio); |
|
|
|
this.panel2.Location = new System.Drawing.Point(114, 62); |
|
|
|
this.panel2.Name = "panel2"; |
|
|
|
this.panel2.Size = new System.Drawing.Size(268, 31); |
|
|
|
this.panel2.TabIndex = 9; |
|
|
|
//
|
|
|
|
// maoRadio
|
|
|
|
//
|
|
|
|
this.maoRadio.AutoSize = true; |
|
|
|
this.maoRadio.Font = new System.Drawing.Font("宋体", 14F); |
|
|
|
this.maoRadio.Location = new System.Drawing.Point(199, 5); |
|
|
|
this.maoRadio.Name = "maoRadio"; |
|
|
|
this.maoRadio.Size = new System.Drawing.Size(65, 23); |
|
|
|
this.maoRadio.TabIndex = 11; |
|
|
|
this.maoRadio.TabStop = true; |
|
|
|
this.maoRadio.Text = "毛剥"; |
|
|
|
this.maoRadio.UseVisualStyleBackColor = true; |
|
|
|
//
|
|
|
|
// tangRadio
|
|
|
|
//
|
|
|
|
this.tangRadio.AutoSize = true; |
|
|
|
this.tangRadio.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.tangRadio.Location = new System.Drawing.Point(98, 4); |
|
|
|
this.tangRadio.Name = "tangRadio"; |
|
|
|
this.tangRadio.Size = new System.Drawing.Size(67, 24); |
|
|
|
this.tangRadio.TabIndex = 10; |
|
|
|
this.tangRadio.TabStop = true; |
|
|
|
this.tangRadio.Text = "烫褪"; |
|
|
|
this.tangRadio.UseVisualStyleBackColor = true; |
|
|
|
//
|
|
|
|
// allRadio
|
|
|
|
//
|
|
|
|
this.allRadio.AutoSize = true; |
|
|
|
this.allRadio.Font = new System.Drawing.Font("宋体", 14F); |
|
|
|
this.allRadio.Location = new System.Drawing.Point(8, 5); |
|
|
|
this.allRadio.Name = "allRadio"; |
|
|
|
this.allRadio.Size = new System.Drawing.Size(65, 23); |
|
|
|
this.allRadio.TabIndex = 9; |
|
|
|
this.allRadio.TabStop = true; |
|
|
|
this.allRadio.Text = "全部"; |
|
|
|
this.allRadio.UseVisualStyleBackColor = true; |
|
|
|
//
|
|
|
|
// label9
|
|
|
|
//
|
|
|
|
this.label9.AutoSize = true; |
|
|
|
this.label9.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.label9.Location = new System.Drawing.Point(13, 69); |
|
|
|
this.label9.Name = "label9"; |
|
|
|
this.label9.Size = new System.Drawing.Size(69, 20); |
|
|
|
this.label9.TabIndex = 0; |
|
|
|
this.label9.Text = "工艺:"; |
|
|
|
//
|
|
|
|
// label6
|
|
|
|
//
|
|
|
|
this.label6.AutoSize = true; |
|
|
|
this.label6.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.label6.Location = new System.Drawing.Point(13, 20); |
|
|
|
this.label6.Name = "label6"; |
|
|
|
this.label6.Size = new System.Drawing.Size(109, 20); |
|
|
|
this.label6.TabIndex = 0; |
|
|
|
this.label6.Text = "屠宰顺序:"; |
|
|
|
//
|
|
|
|
// label8
|
|
|
|
//
|
|
|
|
this.label8.AutoSize = true; |
|
|
|
this.label8.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.label8.Location = new System.Drawing.Point(244, 121); |
|
|
|
this.label8.Name = "label8"; |
|
|
|
this.label8.Size = new System.Drawing.Size(19, 20); |
|
|
|
this.label8.TabIndex = 5; |
|
|
|
this.label8.Text = "-"; |
|
|
|
//
|
|
|
|
// queryBtn
|
|
|
|
//
|
|
|
|
this.queryBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.queryBtn.Location = new System.Drawing.Point(245, 36); |
|
|
|
this.queryBtn.Name = "queryBtn"; |
|
|
|
this.queryBtn.Size = new System.Drawing.Size(102, 43); |
|
|
|
this.queryBtn.TabIndex = 5; |
|
|
|
this.queryBtn.Text = "查询"; |
|
|
|
this.queryBtn.UseVisualStyleBackColor = true; |
|
|
|
this.queryBtn.Click += new System.EventHandler(this.queryBtn_Click); |
|
|
|
//
|
|
|
|
// saiXuanBtn
|
|
|
|
//
|
|
|
|
this.saiXuanBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.saiXuanBtn.Location = new System.Drawing.Point(98, 36); |
|
|
|
this.saiXuanBtn.Name = "saiXuanBtn"; |
|
|
|
this.saiXuanBtn.Size = new System.Drawing.Size(102, 43); |
|
|
|
this.saiXuanBtn.TabIndex = 4; |
|
|
|
this.saiXuanBtn.Text = "筛选"; |
|
|
|
this.saiXuanBtn.UseVisualStyleBackColor = true; |
|
|
|
this.saiXuanBtn.Click += new System.EventHandler(this.saiXuanBtn_Click); |
|
|
|
//
|
|
|
|
// enableWeight
|
|
|
|
//
|
|
|
|
this.enableWeight.AutoCheck = false; |
|
|
|
this.enableWeight.AutoSize = true; |
|
|
|
this.enableWeight.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.enableWeight.Location = new System.Drawing.Point(10, 91); |
|
|
|
@ -248,12 +352,13 @@ |
|
|
|
this.enableWeight.TabIndex = 31; |
|
|
|
this.enableWeight.Text = "启用称重"; |
|
|
|
this.enableWeight.UseVisualStyleBackColor = true; |
|
|
|
this.enableWeight.Click += new System.EventHandler(this.enableWeight_Click); |
|
|
|
//
|
|
|
|
// isPrintCheckBox
|
|
|
|
//
|
|
|
|
this.isPrintCheckBox.AutoSize = true; |
|
|
|
this.isPrintCheckBox.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.isPrintCheckBox.Location = new System.Drawing.Point(281, 2); |
|
|
|
this.isPrintCheckBox.Location = new System.Drawing.Point(268, 2); |
|
|
|
this.isPrintCheckBox.Name = "isPrintCheckBox"; |
|
|
|
this.isPrintCheckBox.Size = new System.Drawing.Size(108, 24); |
|
|
|
this.isPrintCheckBox.TabIndex = 30; |
|
|
|
@ -263,12 +368,13 @@ |
|
|
|
// printBtn
|
|
|
|
//
|
|
|
|
this.printBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.printBtn.Location = new System.Drawing.Point(287, 37); |
|
|
|
this.printBtn.Location = new System.Drawing.Point(274, 37); |
|
|
|
this.printBtn.Name = "printBtn"; |
|
|
|
this.printBtn.Size = new System.Drawing.Size(102, 43); |
|
|
|
this.printBtn.TabIndex = 29; |
|
|
|
this.printBtn.Text = "打印测试"; |
|
|
|
this.printBtn.UseVisualStyleBackColor = true; |
|
|
|
this.printBtn.Click += new System.EventHandler(this.printBtn_Click); |
|
|
|
//
|
|
|
|
// panel1
|
|
|
|
//
|
|
|
|
@ -290,11 +396,293 @@ |
|
|
|
this.lblChengZhong.TabIndex = 0; |
|
|
|
this.lblChengZhong.Text = "0.00"; |
|
|
|
//
|
|
|
|
// label10
|
|
|
|
//
|
|
|
|
this.label10.AutoSize = true; |
|
|
|
this.label10.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.label10.Location = new System.Drawing.Point(413, 171); |
|
|
|
this.label10.Name = "label10"; |
|
|
|
this.label10.Size = new System.Drawing.Size(49, 20); |
|
|
|
this.label10.TabIndex = 32; |
|
|
|
this.label10.Text = "烫褪"; |
|
|
|
//
|
|
|
|
// orderInput
|
|
|
|
//
|
|
|
|
this.orderInput.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.orderInput.Location = new System.Drawing.Point(124, 17); |
|
|
|
this.orderInput.Name = "orderInput"; |
|
|
|
this.orderInput.Size = new System.Drawing.Size(117, 30); |
|
|
|
this.orderInput.TabIndex = 1; |
|
|
|
this.orderInput.Type = BWP.WinFormControl.UTextBoxWithPad.TextBoxType.Number; |
|
|
|
//
|
|
|
|
// historyGrid
|
|
|
|
//
|
|
|
|
this.historyGrid.AllowUserToAddRows = false; |
|
|
|
this.historyGrid.AllowUserToDeleteRows = false; |
|
|
|
this.historyGrid.AllowUserToResizeColumns = false; |
|
|
|
this.historyGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.historyGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
|
|
this.historyGrid.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); |
|
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.historyGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
|
|
this.historyGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.historyGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.H_ID, |
|
|
|
this.H_Livestock_ID, |
|
|
|
this.H_Index, |
|
|
|
this.H_Order, |
|
|
|
this.H_Technics, |
|
|
|
this.H_Livestock_Name, |
|
|
|
this.H_Weight, |
|
|
|
this.H_Time}); |
|
|
|
this.historyGrid.Location = new System.Drawing.Point(6, 92); |
|
|
|
this.historyGrid.MultiSelect = false; |
|
|
|
this.historyGrid.Name = "historyGrid"; |
|
|
|
this.historyGrid.ReadOnly = true; |
|
|
|
this.historyGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.historyGrid.RowsDefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
this.historyGrid.RowTemplate.Height = 40; |
|
|
|
this.historyGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.historyGrid.Size = new System.Drawing.Size(426, 571); |
|
|
|
this.historyGrid.TabIndex = 0; |
|
|
|
//
|
|
|
|
// dataGridView
|
|
|
|
//
|
|
|
|
this.dataGridView.AllowUserToAddRows = false; |
|
|
|
this.dataGridView.AllowUserToDeleteRows = false; |
|
|
|
this.dataGridView.AllowUserToResizeColumns = false; |
|
|
|
this.dataGridView.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.dataGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle5; |
|
|
|
this.dataGridView.BackgroundColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6; |
|
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.D_OrderDetail_ID, |
|
|
|
this.D_Finish, |
|
|
|
this.D_Order, |
|
|
|
this.D_Technics_Name, |
|
|
|
this.D_Number, |
|
|
|
this.D_Already}); |
|
|
|
this.dataGridView.Location = new System.Drawing.Point(12, 175); |
|
|
|
this.dataGridView.Name = "dataGridView"; |
|
|
|
this.dataGridView.ReadOnly = true; |
|
|
|
this.dataGridView.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle7.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.dataGridView.RowsDefaultCellStyle = dataGridViewCellStyle7; |
|
|
|
this.dataGridView.RowTemplate.Height = 30; |
|
|
|
this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.dataGridView.Size = new System.Drawing.Size(364, 517); |
|
|
|
this.dataGridView.TabIndex = 4; |
|
|
|
//
|
|
|
|
// butcherTimeInput
|
|
|
|
//
|
|
|
|
this.butcherTimeInput.BackColor = System.Drawing.Color.White; |
|
|
|
this.butcherTimeInput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.butcherTimeInput.Date = new System.DateTime(2017, 9, 5, 0, 0, 0, 0); |
|
|
|
this.butcherTimeInput.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.butcherTimeInput.Location = new System.Drawing.Point(116, 126); |
|
|
|
this.butcherTimeInput.Name = "butcherTimeInput"; |
|
|
|
this.butcherTimeInput.Size = new System.Drawing.Size(133, 30); |
|
|
|
this.butcherTimeInput.TabIndex = 2; |
|
|
|
this.butcherTimeInput.Text = "2017/09/05"; |
|
|
|
this.butcherTimeInput.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; |
|
|
|
this.butcherTimeInput.Type = BWP.WinFormControl.DateTimeType.Date; |
|
|
|
//
|
|
|
|
// beginDateInput
|
|
|
|
//
|
|
|
|
this.beginDateInput.BackColor = System.Drawing.Color.White; |
|
|
|
this.beginDateInput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.beginDateInput.Date = new System.DateTime(2017, 9, 5, 0, 0, 0, 0); |
|
|
|
this.beginDateInput.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.beginDateInput.Location = new System.Drawing.Point(124, 115); |
|
|
|
this.beginDateInput.Name = "beginDateInput"; |
|
|
|
this.beginDateInput.Size = new System.Drawing.Size(117, 30); |
|
|
|
this.beginDateInput.TabIndex = 10; |
|
|
|
this.beginDateInput.Text = "2017/9/5"; |
|
|
|
this.beginDateInput.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; |
|
|
|
this.beginDateInput.Type = BWP.WinFormControl.DateTimeType.Date; |
|
|
|
//
|
|
|
|
// endDataInput
|
|
|
|
//
|
|
|
|
this.endDataInput.BackColor = System.Drawing.Color.White; |
|
|
|
this.endDataInput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.endDataInput.Date = new System.DateTime(2017, 9, 5, 0, 0, 0, 0); |
|
|
|
this.endDataInput.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.endDataInput.Location = new System.Drawing.Point(265, 115); |
|
|
|
this.endDataInput.Name = "endDataInput"; |
|
|
|
this.endDataInput.Size = new System.Drawing.Size(117, 30); |
|
|
|
this.endDataInput.TabIndex = 11; |
|
|
|
this.endDataInput.Text = "2017/9/5"; |
|
|
|
this.endDataInput.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; |
|
|
|
this.endDataInput.Type = BWP.WinFormControl.DateTimeType.Date; |
|
|
|
//
|
|
|
|
// label3
|
|
|
|
//
|
|
|
|
this.label3.AutoSize = true; |
|
|
|
this.label3.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.label3.Location = new System.Drawing.Point(13, 120); |
|
|
|
this.label3.Name = "label3"; |
|
|
|
this.label3.Size = new System.Drawing.Size(109, 20); |
|
|
|
this.label3.TabIndex = 12; |
|
|
|
this.label3.Text = "屠宰时间:"; |
|
|
|
//
|
|
|
|
// closeBtn
|
|
|
|
//
|
|
|
|
this.closeBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.closeBtn.Location = new System.Drawing.Point(1156, 12); |
|
|
|
this.closeBtn.Name = "closeBtn"; |
|
|
|
this.closeBtn.Size = new System.Drawing.Size(102, 43); |
|
|
|
this.closeBtn.TabIndex = 33; |
|
|
|
this.closeBtn.Text = "关闭"; |
|
|
|
this.closeBtn.UseVisualStyleBackColor = true; |
|
|
|
this.closeBtn.Click += new System.EventHandler(this.closeBtn_Click); |
|
|
|
//
|
|
|
|
// D_OrderDetail_ID
|
|
|
|
//
|
|
|
|
this.D_OrderDetail_ID.DataPropertyName = "OrderDetail_ID"; |
|
|
|
this.D_OrderDetail_ID.HeaderText = "OrderDetail_ID"; |
|
|
|
this.D_OrderDetail_ID.Name = "D_OrderDetail_ID"; |
|
|
|
this.D_OrderDetail_ID.ReadOnly = true; |
|
|
|
this.D_OrderDetail_ID.Visible = false; |
|
|
|
//
|
|
|
|
// D_Finish
|
|
|
|
//
|
|
|
|
this.D_Finish.DataPropertyName = "Finish"; |
|
|
|
this.D_Finish.HeaderText = "Finish"; |
|
|
|
this.D_Finish.Name = "D_Finish"; |
|
|
|
this.D_Finish.ReadOnly = true; |
|
|
|
this.D_Finish.Visible = false; |
|
|
|
//
|
|
|
|
// D_Order
|
|
|
|
//
|
|
|
|
this.D_Order.DataPropertyName = "Order"; |
|
|
|
this.D_Order.HeaderText = "屠宰顺序"; |
|
|
|
this.D_Order.Name = "D_Order"; |
|
|
|
this.D_Order.ReadOnly = true; |
|
|
|
//
|
|
|
|
// D_Technics_Name
|
|
|
|
//
|
|
|
|
this.D_Technics_Name.DataPropertyName = "Technics_Name"; |
|
|
|
this.D_Technics_Name.HeaderText = "工艺"; |
|
|
|
this.D_Technics_Name.Name = "D_Technics_Name"; |
|
|
|
this.D_Technics_Name.ReadOnly = true; |
|
|
|
this.D_Technics_Name.Width = 80; |
|
|
|
//
|
|
|
|
// D_Number
|
|
|
|
//
|
|
|
|
this.D_Number.DataPropertyName = "Number"; |
|
|
|
this.D_Number.HeaderText = "头数"; |
|
|
|
this.D_Number.Name = "D_Number"; |
|
|
|
this.D_Number.ReadOnly = true; |
|
|
|
this.D_Number.Width = 80; |
|
|
|
//
|
|
|
|
// D_Already
|
|
|
|
//
|
|
|
|
this.D_Already.DataPropertyName = "Already"; |
|
|
|
this.D_Already.HeaderText = "已宰"; |
|
|
|
this.D_Already.Name = "D_Already"; |
|
|
|
this.D_Already.ReadOnly = true; |
|
|
|
this.D_Already.Width = 80; |
|
|
|
//
|
|
|
|
// configBtn
|
|
|
|
//
|
|
|
|
this.configBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.configBtn.Location = new System.Drawing.Point(1036, 12); |
|
|
|
this.configBtn.Name = "configBtn"; |
|
|
|
this.configBtn.Size = new System.Drawing.Size(102, 43); |
|
|
|
this.configBtn.TabIndex = 34; |
|
|
|
this.configBtn.Text = "设置"; |
|
|
|
this.configBtn.UseVisualStyleBackColor = true; |
|
|
|
this.configBtn.Click += new System.EventHandler(this.configBtn_Click); |
|
|
|
//
|
|
|
|
// H_ID
|
|
|
|
//
|
|
|
|
this.H_ID.DataPropertyName = "ID"; |
|
|
|
this.H_ID.HeaderText = "ID"; |
|
|
|
this.H_ID.Name = "H_ID"; |
|
|
|
this.H_ID.ReadOnly = true; |
|
|
|
this.H_ID.Visible = false; |
|
|
|
//
|
|
|
|
// H_Livestock_ID
|
|
|
|
//
|
|
|
|
this.H_Livestock_ID.HeaderText = "Livestock_ID"; |
|
|
|
this.H_Livestock_ID.Name = "H_Livestock_ID"; |
|
|
|
this.H_Livestock_ID.ReadOnly = true; |
|
|
|
this.H_Livestock_ID.Visible = false; |
|
|
|
//
|
|
|
|
// H_Index
|
|
|
|
//
|
|
|
|
this.H_Index.DataPropertyName = "Index"; |
|
|
|
this.H_Index.HeaderText = "序号"; |
|
|
|
this.H_Index.Name = "H_Index"; |
|
|
|
this.H_Index.ReadOnly = true; |
|
|
|
this.H_Index.Width = 65; |
|
|
|
//
|
|
|
|
// H_Order
|
|
|
|
//
|
|
|
|
this.H_Order.DataPropertyName = "Order"; |
|
|
|
this.H_Order.HeaderText = "屠宰顺序"; |
|
|
|
this.H_Order.Name = "H_Order"; |
|
|
|
this.H_Order.ReadOnly = true; |
|
|
|
this.H_Order.Width = 95; |
|
|
|
//
|
|
|
|
// H_Technics
|
|
|
|
//
|
|
|
|
this.H_Technics.DataPropertyName = "Technics_Name"; |
|
|
|
this.H_Technics.HeaderText = "工艺"; |
|
|
|
this.H_Technics.Name = "H_Technics"; |
|
|
|
this.H_Technics.ReadOnly = true; |
|
|
|
this.H_Technics.Width = 65; |
|
|
|
//
|
|
|
|
// H_Livestock_Name
|
|
|
|
//
|
|
|
|
this.H_Livestock_Name.DataPropertyName = "Livestock_Name"; |
|
|
|
this.H_Livestock_Name.HeaderText = "级别"; |
|
|
|
this.H_Livestock_Name.Name = "H_Livestock_Name"; |
|
|
|
this.H_Livestock_Name.ReadOnly = true; |
|
|
|
this.H_Livestock_Name.Width = 90; |
|
|
|
//
|
|
|
|
// H_Weight
|
|
|
|
//
|
|
|
|
this.H_Weight.DataPropertyName = "Weight"; |
|
|
|
dataGridViewCellStyle3.Format = "#0.######"; |
|
|
|
this.H_Weight.DefaultCellStyle = dataGridViewCellStyle3; |
|
|
|
this.H_Weight.HeaderText = "重量"; |
|
|
|
this.H_Weight.Name = "H_Weight"; |
|
|
|
this.H_Weight.ReadOnly = true; |
|
|
|
this.H_Weight.Width = 65; |
|
|
|
//
|
|
|
|
// H_Time
|
|
|
|
//
|
|
|
|
this.H_Time.DataPropertyName = "Time"; |
|
|
|
this.H_Time.HeaderText = "时间"; |
|
|
|
this.H_Time.Name = "H_Time"; |
|
|
|
this.H_Time.ReadOnly = true; |
|
|
|
//
|
|
|
|
// GradeFrom
|
|
|
|
//
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
this.ClientSize = new System.Drawing.Size(1276, 865); |
|
|
|
this.Controls.Add(this.configBtn); |
|
|
|
this.Controls.Add(this.closeBtn); |
|
|
|
this.Controls.Add(this.label10); |
|
|
|
this.Controls.Add(this.enableWeight); |
|
|
|
this.Controls.Add(this.groupBox3); |
|
|
|
this.Controls.Add(this.isPrintCheckBox); |
|
|
|
@ -302,24 +690,33 @@ |
|
|
|
this.Controls.Add(this.printBtn); |
|
|
|
this.Controls.Add(this.groupBox1); |
|
|
|
this.Controls.Add(this.panel1); |
|
|
|
this.Controls.Add(this.label5); |
|
|
|
this.Controls.Add(this.alreadyLabel); |
|
|
|
this.Controls.Add(this.label4); |
|
|
|
this.Controls.Add(this.label3); |
|
|
|
this.Controls.Add(this.orderLabel); |
|
|
|
this.Controls.Add(this.label2); |
|
|
|
this.Controls.Add(this.uDataGridView1); |
|
|
|
this.Controls.Add(this.button1); |
|
|
|
this.Controls.Add(this.uDatePicker1); |
|
|
|
this.Controls.Add(this.dataGridView); |
|
|
|
this.Controls.Add(this.syncBtn); |
|
|
|
this.Controls.Add(this.butcherTimeInput); |
|
|
|
this.Controls.Add(this.label1); |
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; |
|
|
|
this.MaximizeBox = false; |
|
|
|
this.Name = "GradeFrom"; |
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; |
|
|
|
this.Text = "称重定级"; |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).EndInit(); |
|
|
|
this.Load += new System.EventHandler(this.GradeFrom_Load); |
|
|
|
this.groupBox1.ResumeLayout(false); |
|
|
|
this.groupBox2.ResumeLayout(false); |
|
|
|
this.groupBox2.PerformLayout(); |
|
|
|
this.groupBox3.ResumeLayout(false); |
|
|
|
this.groupBox3.PerformLayout(); |
|
|
|
this.queryPanel.ResumeLayout(false); |
|
|
|
this.queryPanel.PerformLayout(); |
|
|
|
this.panel2.ResumeLayout(false); |
|
|
|
this.panel2.PerformLayout(); |
|
|
|
this.panel1.ResumeLayout(false); |
|
|
|
this.panel1.PerformLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.historyGrid)).EndInit(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit(); |
|
|
|
this.ResumeLayout(false); |
|
|
|
this.PerformLayout(); |
|
|
|
|
|
|
|
@ -328,26 +725,56 @@ |
|
|
|
#endregion
|
|
|
|
|
|
|
|
private System.Windows.Forms.Label label1; |
|
|
|
private BWP.WinFormControl.UDatePicker uDatePicker1; |
|
|
|
private System.Windows.Forms.Button button1; |
|
|
|
private BWP.WinFormControl.UDataGridView uDataGridView1; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column1; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column2; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column3; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column4; |
|
|
|
private BWP.WinFormControl.UDatePicker butcherTimeInput; |
|
|
|
private System.Windows.Forms.Button syncBtn; |
|
|
|
private BWP.WinFormControl.UDataGridView dataGridView; |
|
|
|
private System.Windows.Forms.Label label2; |
|
|
|
private System.Windows.Forms.Label label3; |
|
|
|
private System.Windows.Forms.Label orderLabel; |
|
|
|
private System.Windows.Forms.Label label4; |
|
|
|
private System.Windows.Forms.Label label5; |
|
|
|
private System.Windows.Forms.Label alreadyLabel; |
|
|
|
private System.Windows.Forms.GroupBox groupBox1; |
|
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; |
|
|
|
private System.Windows.Forms.FlowLayoutPanel ttPanel; |
|
|
|
private System.Windows.Forms.GroupBox groupBox2; |
|
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel2; |
|
|
|
private System.Windows.Forms.FlowLayoutPanel mbPanel; |
|
|
|
private System.Windows.Forms.GroupBox groupBox3; |
|
|
|
private System.Windows.Forms.CheckBox enableWeight; |
|
|
|
private System.Windows.Forms.CheckBox isPrintCheckBox; |
|
|
|
private System.Windows.Forms.Button printBtn; |
|
|
|
private System.Windows.Forms.Panel panel1; |
|
|
|
private System.Windows.Forms.Label lblChengZhong; |
|
|
|
private System.Windows.Forms.Panel queryPanel; |
|
|
|
private System.Windows.Forms.Label label9; |
|
|
|
private System.Windows.Forms.Label label6; |
|
|
|
private System.Windows.Forms.Label label11; |
|
|
|
private System.Windows.Forms.Label label12; |
|
|
|
private BWP.WinFormControl.UTextBoxWithPad orderInput; |
|
|
|
private System.Windows.Forms.Label label8; |
|
|
|
private System.Windows.Forms.Button queryBtn; |
|
|
|
private System.Windows.Forms.Button saiXuanBtn; |
|
|
|
private BWP.WinFormControl.UDataGridView historyGrid; |
|
|
|
private System.Windows.Forms.Label label10; |
|
|
|
private System.Windows.Forms.Panel panel2; |
|
|
|
private System.Windows.Forms.RadioButton maoRadio; |
|
|
|
private System.Windows.Forms.RadioButton tangRadio; |
|
|
|
private System.Windows.Forms.RadioButton allRadio; |
|
|
|
private BWP.WinFormControl.UDatePicker beginDateInput; |
|
|
|
private BWP.WinFormControl.UDatePicker endDataInput; |
|
|
|
private System.Windows.Forms.Label label3; |
|
|
|
private System.Windows.Forms.Button closeBtn; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn D_OrderDetail_ID; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn D_Finish; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn D_Order; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn D_Technics_Name; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn D_Number; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn D_Already; |
|
|
|
private System.Windows.Forms.Button configBtn; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_ID; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Livestock_ID; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Index; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Order; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Technics; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Livestock_Name; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Weight; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Time; |
|
|
|
} |
|
|
|
} |