@ -30,13 +30,20 @@
{
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 dataGridViewCellStyle3 = 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 ( ) ;
System . Windows . Forms . DataGridViewCellStyle dataGridViewCellStyle4 = new System . Windows . Forms . DataGridViewCellStyle ( ) ;
System . Windows . Forms . DataGridViewCellStyle dataGridViewCellStyle6 = new System . Windows . Forms . DataGridViewCellStyle ( ) ;
System . Windows . Forms . DataGridViewCellStyle dataGridViewCellStyle8 = new System . Windows . Forms . DataGridViewCellStyle ( ) ;
System . Windows . Forms . DataGridViewCellStyle dataGridViewCellStyle7 = new System . Windows . Forms . DataGridViewCellStyle ( ) ;
System . Windows . Forms . DataGridViewCellStyle dataGridViewCellStyle9 = 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 dataGridViewCellStyle13 = new System . Windows . Forms . DataGridViewCellStyle ( ) ;
System . Windows . Forms . DataGridViewCellStyle dataGridViewCellStyle11 = new System . Windows . Forms . DataGridViewCellStyle ( ) ;
System . Windows . Forms . DataGridViewCellStyle dataGridViewCellStyle12 = new System . Windows . Forms . DataGridViewCellStyle ( ) ;
this . label1 = new System . Windows . Forms . Label ( ) ;
this . syncBtn = new System . Windows . Forms . Button ( ) ;
this . label2 = new System . Windows . Forms . Label ( ) ;
@ -44,11 +51,29 @@
this . label4 = new System . Windows . Forms . Label ( ) ;
this . alreadyLabel = new System . Windows . Forms . Label ( ) ;
this . groupBox1 = new System . Windows . Forms . GroupBox ( ) ;
this . tangScrollBar = new System . Windows . Forms . VScrollBar ( ) ;
this . ttPanel = new System . Windows . Forms . FlowLayoutPanel ( ) ;
this . label10 = new System . Windows . Forms . Label ( ) ;
this . tangGridView = new BWP . WinFormControl . UDataGridView ( ) ;
this . T_OrderDetail_ID = new System . Windows . Forms . DataGridViewTextBoxColumn ( ) ;
this . T_Finish = new System . Windows . Forms . DataGridViewTextBoxColumn ( ) ;
this . T_Order = new System . Windows . Forms . DataGridViewTextBoxColumn ( ) ;
this . T_Number = new System . Windows . Forms . DataGridViewTextBoxColumn ( ) ;
this . T_Already = new System . Windows . Forms . DataGridViewTextBoxColumn ( ) ;
this . T_FinishBtn = new System . Windows . Forms . DataGridViewButtonColumn ( ) ;
this . groupBox2 = new System . Windows . Forms . GroupBox ( ) ;
this . maoScrollBar = new System . Windows . Forms . VScrollBar ( ) ;
this . maoGridView = new BWP . WinFormControl . UDataGridView ( ) ;
this . M_OrderDetail_ID = new System . Windows . Forms . DataGridViewTextBoxColumn ( ) ;
this . M_Finish = new System . Windows . Forms . DataGridViewTextBoxColumn ( ) ;
this . M_Order = new System . Windows . Forms . DataGridViewTextBoxColumn ( ) ;
this . M_Number = new System . Windows . Forms . DataGridViewTextBoxColumn ( ) ;
this . M_Already = new System . Windows . Forms . DataGridViewTextBoxColumn ( ) ;
this . M_FinishBtn = new System . Windows . Forms . DataGridViewButtonColumn ( ) ;
this . label11 = new System . Windows . Forms . Label ( ) ;
this . mbPanel = new System . Windows . Forms . FlowLayoutPanel ( ) ;
this . groupBox3 = new System . Windows . Forms . GroupBox ( ) ;
this . vScrollBar2 = new System . Windows . Forms . VScrollBar ( ) ;
this . label12 = new System . Windows . Forms . Label ( ) ;
this . historyGrid = new BWP . WinFormControl . UDataGridView ( ) ;
this . H_ID = new System . Windows . Forms . DataGridViewTextBoxColumn ( ) ;
@ -59,7 +84,6 @@
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 . vScrollBar2 = new System . Windows . Forms . VScrollBar ( ) ;
this . enableWeight = new System . Windows . Forms . CheckBox ( ) ;
this . isPrintCheckBox = new System . Windows . Forms . CheckBox ( ) ;
this . printBtn = new System . Windows . Forms . Button ( ) ;
@ -84,13 +108,25 @@
this . discontBtn = new System . Windows . Forms . Button ( ) ;
this . discontPanel = new System . Windows . Forms . FlowLayoutPanel ( ) ;
this . vScrollBar1 = new System . Windows . Forms . VScrollBar ( ) ;
this . statePic = new System . Windows . Forms . PictureBox ( ) ;
this . H_SID = new System . Windows . Forms . DataGridViewTextBoxColumn ( ) ;
this . H_Livestock_ID = new System . Windows . Forms . DataGridViewTextBoxColumn ( ) ;
this . H_ReadWeight = new System . Windows . Forms . DataGridViewCheckBoxColumn ( ) ;
this . H_Index = 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 ( ) ;
( ( System . ComponentModel . ISupportInitialize ) ( this . tangGridView ) ) . BeginInit ( ) ;
this . groupBox2 . SuspendLayout ( ) ;
( ( System . ComponentModel . ISupportInitialize ) ( this . maoGridView ) ) . BeginInit ( ) ;
this . groupBox3 . SuspendLayout ( ) ;
( ( System . ComponentModel . ISupportInitialize ) ( this . historyGrid ) ) . BeginInit ( ) ;
this . panel1 . SuspendLayout ( ) ;
( ( System . ComponentModel . ISupportInitialize ) ( this . dataGridView ) ) . BeginInit ( ) ;
this . modifyPanel . SuspendLayout ( ) ;
( ( System . ComponentModel . ISupportInitialize ) ( this . statePic ) ) . BeginInit ( ) ;
this . SuspendLayout ( ) ;
//
// label1
@ -119,6 +155,7 @@
this . label2 . AutoSize = true ;
this . label2 . Font = new System . Drawing . Font ( "宋体" , 1 5F ) ;
this . label2 . Location = new System . Drawing . Point ( 5 1 1 , 1 3 1 ) ;
this . label2 . Location = new System . Drawing . Point ( 4 4 3 , 1 3 6 ) ;
this . label2 . Name = "label2" ;
this . label2 . Size = new System . Drawing . Size ( 1 0 9 , 2 0 ) ;
this . label2 . TabIndex = 5 ;
@ -129,6 +166,7 @@
this . orderLabel . AutoSize = true ;
this . orderLabel . Font = new System . Drawing . Font ( "宋体" , 1 5F ) ;
this . orderLabel . Location = new System . Drawing . Point ( 6 1 6 , 1 3 1 ) ;
this . orderLabel . Location = new System . Drawing . Point ( 5 4 8 , 1 3 6 ) ;
this . orderLabel . Name = "orderLabel" ;
this . orderLabel . Size = new System . Drawing . Size ( 1 9 , 2 0 ) ;
this . orderLabel . TabIndex = 6 ;
@ -139,6 +177,7 @@
this . label4 . AutoSize = true ;
this . label4 . Font = new System . Drawing . Font ( "宋体" , 1 5F ) ;
this . label4 . Location = new System . Drawing . Point ( 6 7 5 , 1 3 1 ) ;
this . label4 . Location = new System . Drawing . Point ( 5 9 9 , 1 3 6 ) ;
this . label4 . Name = "label4" ;
this . label4 . Size = new System . Drawing . Size ( 1 0 9 , 2 0 ) ;
this . label4 . TabIndex = 7 ;
@ -149,6 +188,7 @@
this . alreadyLabel . AutoSize = true ;
this . alreadyLabel . Font = new System . Drawing . Font ( "宋体" , 1 5F ) ;
this . alreadyLabel . Location = new System . Drawing . Point ( 7 7 6 , 1 3 1 ) ;
this . alreadyLabel . Location = new System . Drawing . Point ( 7 0 0 , 1 3 6 ) ;
this . alreadyLabel . Name = "alreadyLabel" ;
this . alreadyLabel . Size = new System . Drawing . Size ( 1 9 , 2 0 ) ;
this . alreadyLabel . TabIndex = 8 ;
@ -156,32 +196,253 @@
//
// groupBox1
//
this . groupBox1 . Controls . Add ( this . tangScrollBar ) ;
this . groupBox1 . Controls . Add ( this . ttPanel ) ;
this . groupBox1 . Location = new System . Drawing . Point ( 5 0 5 , 1 7 5 ) ;
this . groupBox1 . Controls . Add ( this . label10 ) ;
this . groupBox1 . Controls . Add ( this . tangGridView ) ;
this . groupBox1 . Location = new System . Drawing . Point ( 1 6 , 1 7 5 ) ;
this . groupBox1 . Name = "groupBox1" ;
this . groupBox1 . Size = new System . Drawing . Size ( 2 9 4 , 3 3 0 ) ;
this . groupBox1 . Size = new System . Drawing . Size ( 7 8 3 , 3 3 0 ) ;
this . groupBox1 . TabIndex = 9 ;
this . groupBox1 . TabStop = false ;
this . groupBox1 . Text = "烫褪" ;
//
// tangScrollBar
//
this . tangScrollBar . Location = new System . Drawing . Point ( 3 7 3 , 3 6 ) ;
this . tangScrollBar . Name = "tangScrollBar" ;
this . tangScrollBar . Size = new System . Drawing . Size ( 4 0 , 2 7 5 ) ;
this . tangScrollBar . TabIndex = 5 1 ;
//
// ttPanel
//
this . ttPanel . Location = new System . Drawing . Point ( 1 2 , 3 6 ) ;
this . ttPanel . Location = new System . Drawing . Point ( 4 3 1 , 3 5 ) ;
this . ttPanel . Name = "ttPanel" ;
this . ttPanel . Size = new System . Drawing . Size ( 2 7 0 , 2 7 6 ) ;
this . ttPanel . Size = new System . Drawing . Size ( 3 3 7 , 2 7 6 ) ;
this . ttPanel . TabIndex = 0 ;
//
// label10
//
this . label10 . AutoSize = true ;
this . label10 . Font = new System . Drawing . Font ( "宋体" , 1 5F ) ;
this . label10 . Location = new System . Drawing . Point ( 6 , - 1 ) ;
this . label10 . Name = "label10" ;
this . label10 . Size = new System . Drawing . Size ( 4 9 , 2 0 ) ;
this . label10 . TabIndex = 3 2 ;
this . label10 . Text = "烫褪" ;
//
// tangGridView
//
this . tangGridView . AllowUserToAddRows = false ;
this . tangGridView . AllowUserToDeleteRows = false ;
this . tangGridView . AllowUserToResizeColumns = false ;
this . tangGridView . AllowUserToResizeRows = false ;
dataGridViewCellStyle1 . BackColor = System . Drawing . Color . FromArgb ( ( ( int ) ( ( ( byte ) ( 2 3 5 ) ) ) ) , ( ( int ) ( ( ( byte ) ( 2 3 5 ) ) ) ) , ( ( int ) ( ( ( byte ) ( 2 3 5 ) ) ) ) ) ;
this . tangGridView . AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1 ;
this . tangGridView . BackgroundColor = System . Drawing . Color . White ;
dataGridViewCellStyle2 . Alignment = System . Windows . Forms . DataGridViewContentAlignment . MiddleLeft ;
dataGridViewCellStyle2 . BackColor = System . Drawing . SystemColors . Control ;
dataGridViewCellStyle2 . Font = new System . Drawing . Font ( "宋体" , 1 2F ) ;
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 . tangGridView . ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2 ;
this . tangGridView . ColumnHeadersHeightSizeMode = System . Windows . Forms . DataGridViewColumnHeadersHeightSizeMode . AutoSize ;
this . tangGridView . Columns . AddRange ( new System . Windows . Forms . DataGridViewColumn [ ] {
this . T_OrderDetail_ID ,
this . T_Finish ,
this . T_Order ,
this . T_Number ,
this . T_Already ,
this . T_FinishBtn } ) ;
this . tangGridView . Location = new System . Drawing . Point ( 1 0 , 3 6 ) ;
this . tangGridView . MultiSelect = false ;
this . tangGridView . Name = "tangGridView" ;
this . tangGridView . ReadOnly = true ;
this . tangGridView . RowHeadersVisible = false ;
dataGridViewCellStyle4 . Font = new System . Drawing . Font ( "宋体" , 1 2F , System . Drawing . FontStyle . Regular , System . Drawing . GraphicsUnit . Point , ( ( byte ) ( 1 3 4 ) ) ) ;
dataGridViewCellStyle4 . ForeColor = System . Drawing . Color . Black ;
dataGridViewCellStyle4 . SelectionBackColor = System . Drawing . Color . FromArgb ( ( ( int ) ( ( ( byte ) ( 6 6 ) ) ) ) , ( ( int ) ( ( ( byte ) ( 1 6 3 ) ) ) ) , ( ( int ) ( ( ( byte ) ( 2 1 8 ) ) ) ) ) ;
dataGridViewCellStyle4 . SelectionForeColor = System . Drawing . Color . Black ;
this . tangGridView . RowsDefaultCellStyle = dataGridViewCellStyle4 ;
this . tangGridView . RowTemplate . Height = 6 0 ;
this . tangGridView . ScrollBars = System . Windows . Forms . ScrollBars . None ;
this . tangGridView . SelectionMode = System . Windows . Forms . DataGridViewSelectionMode . FullRowSelect ;
this . tangGridView . Size = new System . Drawing . Size ( 3 6 3 , 2 7 5 ) ;
this . tangGridView . TabIndex = 4 ;
this . tangGridView . CellClick + = new System . Windows . Forms . DataGridViewCellEventHandler ( this . tangGridView_CellClick ) ;
this . tangGridView . CellContentClick + = new System . Windows . Forms . DataGridViewCellEventHandler ( this . tangGridView_CellContentClick ) ;
//
// T_OrderDetail_ID
//
this . T_OrderDetail_ID . DataPropertyName = "OrderDetail_ID" ;
this . T_OrderDetail_ID . HeaderText = "OrderDetail_ID" ;
this . T_OrderDetail_ID . Name = "T_OrderDetail_ID" ;
this . T_OrderDetail_ID . ReadOnly = true ;
this . T_OrderDetail_ID . Visible = false ;
//
// T_Finish
//
this . T_Finish . DataPropertyName = "Finish" ;
this . T_Finish . HeaderText = "Finish" ;
this . T_Finish . Name = "T_Finish" ;
this . T_Finish . ReadOnly = true ;
this . T_Finish . Visible = false ;
//
// T_Order
//
this . T_Order . DataPropertyName = "Order" ;
this . T_Order . HeaderText = "屠宰顺序" ;
this . T_Order . Name = "T_Order" ;
this . T_Order . ReadOnly = true ;
//
// T_Number
//
this . T_Number . DataPropertyName = "Number" ;
this . T_Number . HeaderText = "头数" ;
this . T_Number . Name = "T_Number" ;
this . T_Number . ReadOnly = true ;
this . T_Number . Width = 8 0 ;
//
// T_Already
//
this . T_Already . DataPropertyName = "Already" ;
this . T_Already . HeaderText = "已宰" ;
this . T_Already . Name = "T_Already" ;
this . T_Already . ReadOnly = true ;
this . T_Already . Width = 8 0 ;
//
// T_FinishBtn
//
dataGridViewCellStyle3 . Alignment = System . Windows . Forms . DataGridViewContentAlignment . MiddleCenter ;
dataGridViewCellStyle3 . Padding = new System . Windows . Forms . Padding ( 5 , 1 0 , 5 , 1 0 ) ;
this . T_FinishBtn . DefaultCellStyle = dataGridViewCellStyle3 ;
this . T_FinishBtn . HeaderText = "完毕" ;
this . T_FinishBtn . Name = "T_FinishBtn" ;
this . T_FinishBtn . ReadOnly = true ;
this . T_FinishBtn . Text = "完毕" ;
this . T_FinishBtn . UseColumnTextForButtonValue = true ;
//
// groupBox2
//
this . groupBox2 . Controls . Add ( this . maoScrollBar ) ;
this . groupBox2 . Controls . Add ( this . maoGridView ) ;
this . groupBox2 . Controls . Add ( this . label11 ) ;
this . groupBox2 . Controls . Add ( this . mbPanel ) ;
this . groupBox2 . Location = new System . Drawing . Point ( 5 0 5 , 5 2 5 ) ;
this . groupBox2 . Location = new System . Drawing . Point ( 1 6 , 5 2 5 ) ;
this . groupBox2 . Name = "groupBox2" ;
this . groupBox2 . Size = new System . Drawing . Size ( 2 9 4 , 3 3 0 ) ;
this . groupBox2 . Size = new System . Drawing . Size ( 7 8 3 , 3 3 0 ) ;
this . groupBox2 . TabIndex = 1 0 ;
this . groupBox2 . TabStop = false ;
this . groupBox2 . Text = "毛剥" ;
//
// maoScrollBar
//
this . maoScrollBar . Location = new System . Drawing . Point ( 3 7 3 , 3 5 ) ;
this . maoScrollBar . Name = "maoScrollBar" ;
this . maoScrollBar . Size = new System . Drawing . Size ( 4 0 , 2 7 8 ) ;
this . maoScrollBar . TabIndex = 5 2 ;
//
// maoGridView
//
this . maoGridView . AllowUserToAddRows = false ;
this . maoGridView . AllowUserToDeleteRows = false ;
this . maoGridView . AllowUserToResizeColumns = false ;
this . maoGridView . AllowUserToResizeRows = false ;
dataGridViewCellStyle5 . BackColor = System . Drawing . Color . FromArgb ( ( ( int ) ( ( ( byte ) ( 2 3 5 ) ) ) ) , ( ( int ) ( ( ( byte ) ( 2 3 5 ) ) ) ) , ( ( int ) ( ( ( byte ) ( 2 3 5 ) ) ) ) ) ;
this . maoGridView . AlternatingRowsDefaultCellStyle = dataGridViewCellStyle5 ;
this . maoGridView . BackgroundColor = System . Drawing . Color . White ;
dataGridViewCellStyle6 . Alignment = System . Windows . Forms . DataGridViewContentAlignment . MiddleLeft ;
dataGridViewCellStyle6 . BackColor = System . Drawing . SystemColors . Control ;
dataGridViewCellStyle6 . Font = new System . Drawing . Font ( "宋体" , 1 2F ) ;
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 . maoGridView . ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6 ;
this . maoGridView . ColumnHeadersHeightSizeMode = System . Windows . Forms . DataGridViewColumnHeadersHeightSizeMode . AutoSize ;
this . maoGridView . Columns . AddRange ( new System . Windows . Forms . DataGridViewColumn [ ] {
this . M_OrderDetail_ID ,
this . M_Finish ,
this . M_Order ,
this . M_Number ,
this . M_Already ,
this . M_FinishBtn } ) ;
this . maoGridView . Location = new System . Drawing . Point ( 1 0 , 3 5 ) ;
this . maoGridView . MultiSelect = false ;
this . maoGridView . Name = "maoGridView" ;
this . maoGridView . ReadOnly = true ;
this . maoGridView . RowHeadersVisible = false ;
dataGridViewCellStyle8 . Font = new System . Drawing . Font ( "宋体" , 1 2F , System . Drawing . FontStyle . Regular , System . Drawing . GraphicsUnit . Point , ( ( byte ) ( 1 3 4 ) ) ) ;
dataGridViewCellStyle8 . ForeColor = System . Drawing . Color . Black ;
dataGridViewCellStyle8 . SelectionBackColor = System . Drawing . Color . FromArgb ( ( ( int ) ( ( ( byte ) ( 6 6 ) ) ) ) , ( ( int ) ( ( ( byte ) ( 1 6 3 ) ) ) ) , ( ( int ) ( ( ( byte ) ( 2 1 8 ) ) ) ) ) ;
dataGridViewCellStyle8 . SelectionForeColor = System . Drawing . Color . Black ;
this . maoGridView . RowsDefaultCellStyle = dataGridViewCellStyle8 ;
this . maoGridView . RowTemplate . Height = 6 0 ;
this . maoGridView . ScrollBars = System . Windows . Forms . ScrollBars . Horizontal ;
this . maoGridView . SelectionMode = System . Windows . Forms . DataGridViewSelectionMode . FullRowSelect ;
this . maoGridView . Size = new System . Drawing . Size ( 3 6 3 , 2 7 8 ) ;
this . maoGridView . TabIndex = 3 3 ;
this . maoGridView . CellClick + = new System . Windows . Forms . DataGridViewCellEventHandler ( this . maoGridView_CellClick ) ;
this . maoGridView . CellContentClick + = new System . Windows . Forms . DataGridViewCellEventHandler ( this . maoGridView_CellContentClick ) ;
//
// M_OrderDetail_ID
//
this . M_OrderDetail_ID . DataPropertyName = "OrderDetail_ID" ;
this . M_OrderDetail_ID . HeaderText = "OrderDetail_ID" ;
this . M_OrderDetail_ID . Name = "M_OrderDetail_ID" ;
this . M_OrderDetail_ID . ReadOnly = true ;
this . M_OrderDetail_ID . Visible = false ;
//
// M_Finish
//
this . M_Finish . DataPropertyName = "Finish" ;
this . M_Finish . HeaderText = "Finish" ;
this . M_Finish . Name = "M_Finish" ;
this . M_Finish . ReadOnly = true ;
this . M_Finish . Visible = false ;
//
// M_Order
//
this . M_Order . DataPropertyName = "Order" ;
this . M_Order . HeaderText = "屠宰顺序" ;
this . M_Order . Name = "M_Order" ;
this . M_Order . ReadOnly = true ;
//
// M_Number
//
this . M_Number . DataPropertyName = "Number" ;
this . M_Number . HeaderText = "头数" ;
this . M_Number . Name = "M_Number" ;
this . M_Number . ReadOnly = true ;
this . M_Number . Width = 8 0 ;
//
// M_Already
//
this . M_Already . DataPropertyName = "Already" ;
this . M_Already . HeaderText = "已宰" ;
this . M_Already . Name = "M_Already" ;
this . M_Already . ReadOnly = true ;
this . M_Already . Width = 8 0 ;
//
// M_FinishBtn
//
dataGridViewCellStyle7 . Alignment = System . Windows . Forms . DataGridViewContentAlignment . MiddleCenter ;
dataGridViewCellStyle7 . Padding = new System . Windows . Forms . Padding ( 5 , 1 0 , 5 , 1 0 ) ;
this . M_FinishBtn . DefaultCellStyle = dataGridViewCellStyle7 ;
this . M_FinishBtn . HeaderText = "完毕" ;
this . M_FinishBtn . Name = "M_FinishBtn" ;
this . M_FinishBtn . ReadOnly = true ;
this . M_FinishBtn . Text = "完毕" ;
this . M_FinishBtn . UseColumnTextForButtonValue = true ;
//
// label11
//
this . label11 . AutoSize = true ;
@ -195,12 +456,15 @@
// mbPanel
//
this . mbPanel . Location = new System . Drawing . Point ( 1 2 , 3 7 ) ;
this . mbPanel . Location = new System . Drawing . Point ( 4 3 1 , 3 5 ) ;
this . mbPanel . Name = "mbPanel" ;
this . mbPanel . Size = new System . Drawing . Size ( 2 7 0 , 2 7 6 ) ;
this . mbPanel . Size = new System . Drawing . Size ( 3 3 7 , 2 7 8 ) ;
this . mbPanel . TabIndex = 1 ;
//
// groupBox3
//
this . groupBox3 . Controls . Add ( this . vScrollBar2 ) ;
this . groupBox3 . Controls . Add ( this . label12 ) ;
this . groupBox3 . Controls . Add ( this . historyGrid ) ;
this . groupBox3 . Location = new System . Drawing . Point ( 8 2 6 , 1 7 5 ) ;
@ -210,6 +474,13 @@
this . groupBox3 . TabStop = false ;
this . groupBox3 . Text = "记录" ;
//
// vScrollBar2
//
this . vScrollBar2 . Location = new System . Drawing . Point ( 4 2 5 , 3 6 ) ;
this . vScrollBar2 . Name = "vScrollBar2" ;
this . vScrollBar2 . Size = new System . Drawing . Size ( 4 0 , 5 6 6 ) ;
this . vScrollBar2 . TabIndex = 5 2 ;
//
// label12
//
this . label12 . AutoSize = true ;
@ -228,6 +499,8 @@
this . historyGrid . AllowUserToResizeRows = false ;
dataGridViewCellStyle1 . BackColor = System . Drawing . Color . FromArgb ( ( ( int ) ( ( ( byte ) ( 2 3 5 ) ) ) ) , ( ( int ) ( ( ( byte ) ( 2 3 5 ) ) ) ) , ( ( int ) ( ( ( byte ) ( 2 3 5 ) ) ) ) ) ;
this . historyGrid . AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1 ;
dataGridViewCellStyle9 . BackColor = System . Drawing . Color . FromArgb ( ( ( int ) ( ( ( byte ) ( 2 3 5 ) ) ) ) , ( ( int ) ( ( ( byte ) ( 2 3 5 ) ) ) ) , ( ( int ) ( ( ( byte ) ( 2 3 5 ) ) ) ) ) ;
this . historyGrid . AlternatingRowsDefaultCellStyle = dataGridViewCellStyle9 ;
this . historyGrid . BackgroundColor = System . Drawing . Color . White ;
dataGridViewCellStyle2 . Alignment = System . Windows . Forms . DataGridViewContentAlignment . MiddleLeft ;
dataGridViewCellStyle2 . BackColor = System . Drawing . SystemColors . Control ;
@ -237,9 +510,18 @@
dataGridViewCellStyle2 . SelectionForeColor = System . Drawing . SystemColors . HighlightText ;
dataGridViewCellStyle2 . WrapMode = System . Windows . Forms . DataGridViewTriState . True ;
this . historyGrid . ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2 ;
dataGridViewCellStyle10 . Alignment = System . Windows . Forms . DataGridViewContentAlignment . MiddleLeft ;
dataGridViewCellStyle10 . BackColor = System . Drawing . SystemColors . Control ;
dataGridViewCellStyle10 . Font = new System . Drawing . Font ( "宋体" , 1 2F ) ;
dataGridViewCellStyle10 . ForeColor = System . Drawing . SystemColors . WindowText ;
dataGridViewCellStyle10 . SelectionBackColor = System . Drawing . SystemColors . Highlight ;
dataGridViewCellStyle10 . SelectionForeColor = System . Drawing . SystemColors . HighlightText ;
dataGridViewCellStyle10 . WrapMode = System . Windows . Forms . DataGridViewTriState . True ;
this . historyGrid . ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10 ;
this . historyGrid . ColumnHeadersHeightSizeMode = System . Windows . Forms . DataGridViewColumnHeadersHeightSizeMode . AutoSize ;
this . historyGrid . Columns . AddRange ( new System . Windows . Forms . DataGridViewColumn [ ] {
this . H_ID ,
this . H_SID ,
this . H_Livestock_ID ,
this . H_ReadWeight ,
this . H_Index ,
@ -255,6 +537,9 @@
dataGridViewCellStyle5 . Font = new System . Drawing . Font ( "宋体" , 1 2F , System . Drawing . FontStyle . Regular , System . Drawing . GraphicsUnit . Point , ( ( byte ) ( 1 3 4 ) ) ) ;
dataGridViewCellStyle5 . SelectionBackColor = System . Drawing . Color . FromArgb ( ( ( int ) ( ( ( byte ) ( 6 6 ) ) ) ) , ( ( int ) ( ( ( byte ) ( 1 6 3 ) ) ) ) , ( ( int ) ( ( ( byte ) ( 2 1 8 ) ) ) ) ) ;
this . historyGrid . RowsDefaultCellStyle = dataGridViewCellStyle5 ;
dataGridViewCellStyle13 . Font = new System . Drawing . Font ( "宋体" , 1 2F , System . Drawing . FontStyle . Regular , System . Drawing . GraphicsUnit . Point , ( ( byte ) ( 1 3 4 ) ) ) ;
dataGridViewCellStyle13 . SelectionBackColor = System . Drawing . Color . FromArgb ( ( ( int ) ( ( ( byte ) ( 6 6 ) ) ) ) , ( ( int ) ( ( ( byte ) ( 1 6 3 ) ) ) ) , ( ( int ) ( ( ( byte ) ( 2 1 8 ) ) ) ) ) ;
this . historyGrid . RowsDefaultCellStyle = dataGridViewCellStyle13 ;
this . historyGrid . RowTemplate . Height = 4 0 ;
this . historyGrid . ScrollBars = System . Windows . Forms . ScrollBars . None ;
this . historyGrid . SelectionMode = System . Windows . Forms . DataGridViewSelectionMode . FullRowSelect ;
@ -329,21 +614,17 @@
this . H_Time . Name = "H_Time" ;
this . H_Time . ReadOnly = true ;
//
// vScrollBar2
//
this . vScrollBar2 . Location = new System . Drawing . Point ( 1 2 4 8 , 1 4 3 ) ;
this . vScrollBar2 . Name = "vScrollBar2" ;
this . vScrollBar2 . Size = new System . Drawing . Size ( 4 0 , 5 6 6 ) ;
this . vScrollBar2 . TabIndex = 5 2 ;
//
// enableWeight
//
this . enableWeight . AutoCheck = false ;
this . enableWeight . AutoSize = true ;
this . enableWeight . Font = new System . Drawing . Font ( "宋体" , 1 5F ) ;
this . enableWeight . Location = new System . Drawing . Point ( 1 0 , 9 1 ) ;
this . enableWeight . Font = new System . Drawing . Font ( "宋体" , 1 8F ) ;
this . enableWeight . Location = new System . Drawing . Point ( 1 2 , 9 1 ) ;
this . enableWeight . Name = "enableWeight" ;
this . enableWeight . Size = new System . Drawing . Size ( 1 0 8 , 2 4 ) ;
this . enableWeight . Size = new System . Drawing . Size ( 1 2 5 , 2 8 ) ;
this . enableWeight . TabIndex = 3 1 ;
this . enableWeight . Text = "启用称重" ;
this . enableWeight . UseVisualStyleBackColor = true ;
@ -564,6 +845,7 @@
this . modifyPanel . Controls . Add ( this . cancelBtn ) ;
this . modifyPanel . Controls . Add ( this . stateLabel ) ;
this . modifyPanel . Location = new System . Drawing . Point ( 8 1 3 , 1 0 7 ) ;
this . modifyPanel . Location = new System . Drawing . Point ( 8 2 6 , 1 0 7 ) ;
this . modifyPanel . Name = "modifyPanel" ;
this . modifyPanel . Size = new System . Drawing . Size ( 4 3 8 , 5 6 ) ;
this . modifyPanel . TabIndex = 3 6 ;
@ -600,19 +882,94 @@
this . discontPanel . TabIndex = 3 3 ;
//
// vScrollBar1
// statePic
//
this . vScrollBar1 . Location = new System . Drawing . Point ( 4 5 5 , 1 7 5 ) ;
this . vScrollBar1 . Name = "vScrollBar1" ;
this . vScrollBar1 . Size = new System . Drawing . Size ( 4 0 , 5 6 6 ) ;
this . vScrollBar1 . TabIndex = 5 1 ;
this . statePic . ErrorImage = null ;
this . statePic . InitialImage = null ;
this . statePic . Location = new System . Drawing . Point ( 2 1 9 , 8 9 ) ;
this . statePic . Name = "statePic" ;
this . statePic . Size = new System . Drawing . Size ( 3 0 , 3 0 ) ;
this . statePic . TabIndex = 3 8 ;
this . statePic . TabStop = false ;
//
// H_SID
//
this . H_SID . DataPropertyName = "SID" ;
this . H_SID . HeaderText = "SID" ;
this . H_SID . Name = "H_SID" ;
this . H_SID . ReadOnly = true ;
this . H_SID . 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_ReadWeight
//
this . H_ReadWeight . DataPropertyName = "ReadWeight" ;
this . H_ReadWeight . HeaderText = "" ;
this . H_ReadWeight . Name = "H_ReadWeight" ;
this . H_ReadWeight . ReadOnly = true ;
this . H_ReadWeight . Width = 3 0 ;
//
// 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 = 6 5 ;
//
// 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 = 6 5 ;
//
// 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 = 9 0 ;
//
// H_Weight
//
this . H_Weight . DataPropertyName = "Weight" ;
dataGridViewCellStyle11 . Format = "#0.######" ;
this . H_Weight . DefaultCellStyle = dataGridViewCellStyle11 ;
this . H_Weight . HeaderText = "重量" ;
this . H_Weight . Name = "H_Weight" ;
this . H_Weight . ReadOnly = true ;
this . H_Weight . Width = 7 0 ;
//
// H_Time
//
this . H_Time . DataPropertyName = "Time" ;
dataGridViewCellStyle12 . Format = "MM/dd HH:mm" ;
dataGridViewCellStyle12 . NullValue = null ;
this . H_Time . DefaultCellStyle = dataGridViewCellStyle12 ;
this . H_Time . HeaderText = "时间" ;
this . H_Time . Name = "H_Time" ;
this . H_Time . ReadOnly = true ;
//
// GradeFrom
//
this . AutoScaleDimensions = new System . Drawing . SizeF ( 6F , 1 2F ) ;
this . AutoScaleMode = System . Windows . Forms . AutoScaleMode . Font ;
this . ClientSize = new System . Drawing . Size ( 1 3 6 2 , 7 4 1 ) ;
this . Controls . Add ( this . vScrollBar2 ) ;
this . ClientSize = new System . Drawing . Size ( 1 3 7 9 , 8 6 5 ) ;
this . Controls . Add ( this . vScrollBar1 ) ;
this . Controls . Add ( this . statePic ) ;
this . Controls . Add ( this . discontPanel ) ;
this . Controls . Add ( this . discontBtn ) ;
this . Controls . Add ( this . modifyPanel ) ;
@ -639,9 +996,13 @@
this . Name = "GradeFrom" ;
this . StartPosition = System . Windows . Forms . FormStartPosition . CenterScreen ;
this . Text = "称重定级" ;
this . Load + = new System . EventHandler ( this . GradeFrom_Load ) ;
this . groupBox1 . ResumeLayout ( false ) ;
this . groupBox1 . PerformLayout ( ) ;
( ( System . ComponentModel . ISupportInitialize ) ( this . tangGridView ) ) . EndInit ( ) ;
this . groupBox2 . ResumeLayout ( false ) ;
this . groupBox2 . PerformLayout ( ) ;
( ( System . ComponentModel . ISupportInitialize ) ( this . maoGridView ) ) . EndInit ( ) ;
this . groupBox3 . ResumeLayout ( false ) ;
this . groupBox3 . PerformLayout ( ) ;
( ( System . ComponentModel . ISupportInitialize ) ( this . historyGrid ) ) . EndInit ( ) ;
@ -650,6 +1011,7 @@
( ( System . ComponentModel . ISupportInitialize ) ( this . dataGridView ) ) . EndInit ( ) ;
this . modifyPanel . ResumeLayout ( false ) ;
this . modifyPanel . PerformLayout ( ) ;
( ( System . ComponentModel . ISupportInitialize ) ( this . statePic ) ) . EndInit ( ) ;
this . ResumeLayout ( false ) ;
this . PerformLayout ( ) ;
@ -661,6 +1023,7 @@
private BWP . WinFormControl . UDatePicker butcherTimeInput ;
private System . Windows . Forms . Button syncBtn ;
private BWP . WinFormControl . UDataGridView dataGridView ;
private BWP . WinFormControl . UDataGridView tangGridView ;
private System . Windows . Forms . Label label2 ;
private System . Windows . Forms . Label orderLabel ;
private System . Windows . Forms . Label label4 ;
@ -688,6 +1051,23 @@
private System . Windows . Forms . FlowLayoutPanel discontPanel ;
private System . Windows . Forms . VScrollBar vScrollBar2 ;
private System . Windows . Forms . DataGridViewTextBoxColumn H_ID ;
private System . Windows . Forms . VScrollBar tangScrollBar ;
private System . Windows . Forms . VScrollBar maoScrollBar ;
private BWP . WinFormControl . UDataGridView maoGridView ;
private System . Windows . Forms . DataGridViewTextBoxColumn T_OrderDetail_ID ;
private System . Windows . Forms . DataGridViewTextBoxColumn T_Finish ;
private System . Windows . Forms . DataGridViewTextBoxColumn T_Order ;
private System . Windows . Forms . DataGridViewTextBoxColumn T_Number ;
private System . Windows . Forms . DataGridViewTextBoxColumn T_Already ;
private System . Windows . Forms . DataGridViewButtonColumn T_FinishBtn ;
private System . Windows . Forms . DataGridViewTextBoxColumn M_OrderDetail_ID ;
private System . Windows . Forms . DataGridViewTextBoxColumn M_Finish ;
private System . Windows . Forms . DataGridViewTextBoxColumn M_Order ;
private System . Windows . Forms . DataGridViewTextBoxColumn M_Number ;
private System . Windows . Forms . DataGridViewTextBoxColumn M_Already ;
private System . Windows . Forms . DataGridViewButtonColumn M_FinishBtn ;
private System . Windows . Forms . PictureBox statePic ;
private System . Windows . Forms . DataGridViewTextBoxColumn H_SID ;
private System . Windows . Forms . DataGridViewTextBoxColumn H_Livestock_ID ;
private System . Windows . Forms . DataGridViewCheckBoxColumn H_ReadWeight ;
private System . Windows . Forms . DataGridViewTextBoxColumn H_Index ;