|
|
|
@ -28,19 +28,19 @@ |
|
|
|
/// </summary>
|
|
|
|
private void InitializeComponent() |
|
|
|
{ |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = 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 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 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 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(); |
|
|
|
@ -74,15 +74,6 @@ |
|
|
|
this.vScrollBar2 = new System.Windows.Forms.VScrollBar(); |
|
|
|
this.label12 = new System.Windows.Forms.Label(); |
|
|
|
this.historyGrid = new BWP.WinFormControl.UDataGridView(); |
|
|
|
this.H_SID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Livestock_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.IsLostWeight = 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.enableWeight = new System.Windows.Forms.CheckBox(); |
|
|
|
this.isPrintCheckBox = new System.Windows.Forms.CheckBox(); |
|
|
|
this.printBtn = new System.Windows.Forms.Button(); |
|
|
|
@ -102,6 +93,17 @@ |
|
|
|
this.btnAbnormalModify = new System.Windows.Forms.Button(); |
|
|
|
this.lblSucessed = new System.Windows.Forms.Label(); |
|
|
|
this.btnClearWeight = new System.Windows.Forms.Button(); |
|
|
|
this.dropPigBtn = new System.Windows.Forms.Button(); |
|
|
|
this.H_SID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Livestock_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.IsLostWeight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_IsDrop = 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(); |
|
|
|
@ -217,17 +219,17 @@ |
|
|
|
this.tangGridView.AllowUserToDeleteRows = false; |
|
|
|
this.tangGridView.AllowUserToResizeColumns = false; |
|
|
|
this.tangGridView.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle27.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.tangGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle27; |
|
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.tangGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
|
|
this.tangGridView.BackgroundColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle28.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle28.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle28.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle28.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle28.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle28.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.tangGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle28; |
|
|
|
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.tangGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
|
|
this.tangGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.tangGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.T_OrderDetail_ID, |
|
|
|
@ -241,11 +243,11 @@ |
|
|
|
this.tangGridView.Name = "tangGridView"; |
|
|
|
this.tangGridView.ReadOnly = true; |
|
|
|
this.tangGridView.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle30.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle30.ForeColor = System.Drawing.Color.Black; |
|
|
|
dataGridViewCellStyle30.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
dataGridViewCellStyle30.SelectionForeColor = System.Drawing.Color.Black; |
|
|
|
this.tangGridView.RowsDefaultCellStyle = dataGridViewCellStyle30; |
|
|
|
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.tangGridView.RowsDefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
this.tangGridView.RowTemplate.Height = 50; |
|
|
|
this.tangGridView.ScrollBars = System.Windows.Forms.ScrollBars.None; |
|
|
|
this.tangGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
@ -295,9 +297,9 @@ |
|
|
|
//
|
|
|
|
// T_FinishBtn
|
|
|
|
//
|
|
|
|
dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle29.Padding = new System.Windows.Forms.Padding(5, 10, 5, 10); |
|
|
|
this.T_FinishBtn.DefaultCellStyle = dataGridViewCellStyle29; |
|
|
|
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle3.Padding = new System.Windows.Forms.Padding(5, 10, 5, 10); |
|
|
|
this.T_FinishBtn.DefaultCellStyle = dataGridViewCellStyle3; |
|
|
|
this.T_FinishBtn.HeaderText = "完毕"; |
|
|
|
this.T_FinishBtn.Name = "T_FinishBtn"; |
|
|
|
this.T_FinishBtn.ReadOnly = true; |
|
|
|
@ -329,17 +331,17 @@ |
|
|
|
this.maoGridView.AllowUserToDeleteRows = false; |
|
|
|
this.maoGridView.AllowUserToResizeColumns = false; |
|
|
|
this.maoGridView.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle31.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.maoGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle31; |
|
|
|
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.maoGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle5; |
|
|
|
this.maoGridView.BackgroundColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle32.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle32.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle32.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle32.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle32.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle32.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.maoGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle32; |
|
|
|
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.maoGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6; |
|
|
|
this.maoGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.maoGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.M_OrderDetail_ID, |
|
|
|
@ -353,11 +355,11 @@ |
|
|
|
this.maoGridView.Name = "maoGridView"; |
|
|
|
this.maoGridView.ReadOnly = true; |
|
|
|
this.maoGridView.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle34.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle34.ForeColor = System.Drawing.Color.Black; |
|
|
|
dataGridViewCellStyle34.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
dataGridViewCellStyle34.SelectionForeColor = System.Drawing.Color.Black; |
|
|
|
this.maoGridView.RowsDefaultCellStyle = dataGridViewCellStyle34; |
|
|
|
dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle8.ForeColor = System.Drawing.Color.Black; |
|
|
|
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.Color.Black; |
|
|
|
this.maoGridView.RowsDefaultCellStyle = dataGridViewCellStyle8; |
|
|
|
this.maoGridView.RowTemplate.Height = 50; |
|
|
|
this.maoGridView.ScrollBars = System.Windows.Forms.ScrollBars.Horizontal; |
|
|
|
this.maoGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
@ -407,9 +409,9 @@ |
|
|
|
//
|
|
|
|
// M_FinishBtn
|
|
|
|
//
|
|
|
|
dataGridViewCellStyle33.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle33.Padding = new System.Windows.Forms.Padding(5, 10, 5, 10); |
|
|
|
this.M_FinishBtn.DefaultCellStyle = dataGridViewCellStyle33; |
|
|
|
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle7.Padding = new System.Windows.Forms.Padding(5, 10, 5, 10); |
|
|
|
this.M_FinishBtn.DefaultCellStyle = dataGridViewCellStyle7; |
|
|
|
this.M_FinishBtn.HeaderText = "完毕"; |
|
|
|
this.M_FinishBtn.Name = "M_FinishBtn"; |
|
|
|
this.M_FinishBtn.ReadOnly = true; |
|
|
|
@ -480,22 +482,23 @@ |
|
|
|
this.historyGrid.AllowUserToDeleteRows = false; |
|
|
|
this.historyGrid.AllowUserToResizeColumns = false; |
|
|
|
this.historyGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle35.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.historyGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle35; |
|
|
|
dataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.historyGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle9; |
|
|
|
this.historyGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle36.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle36.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle36.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle36.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle36.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle36.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle36.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.historyGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle36; |
|
|
|
dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle10.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
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_SID, |
|
|
|
this.H_Livestock_ID, |
|
|
|
this.IsLostWeight, |
|
|
|
this.H_IsDrop, |
|
|
|
this.H_ReadWeight, |
|
|
|
this.H_Index, |
|
|
|
this.H_Technics, |
|
|
|
@ -507,9 +510,9 @@ |
|
|
|
this.historyGrid.Name = "historyGrid"; |
|
|
|
this.historyGrid.ReadOnly = true; |
|
|
|
this.historyGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle39.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle39.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.historyGrid.RowsDefaultCellStyle = dataGridViewCellStyle39; |
|
|
|
dataGridViewCellStyle13.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle13.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.historyGrid.RowsDefaultCellStyle = dataGridViewCellStyle13; |
|
|
|
this.historyGrid.RowTemplate.Height = 40; |
|
|
|
this.historyGrid.ScrollBars = System.Windows.Forms.ScrollBars.None; |
|
|
|
this.historyGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
@ -517,81 +520,6 @@ |
|
|
|
this.historyGrid.TabIndex = 0; |
|
|
|
this.historyGrid.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.historyGrid_CellClick); |
|
|
|
//
|
|
|
|
// 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; |
|
|
|
//
|
|
|
|
// IsLostWeight
|
|
|
|
//
|
|
|
|
this.IsLostWeight.DataPropertyName = "IsLostWeight"; |
|
|
|
this.IsLostWeight.HeaderText = "IsLostWeight"; |
|
|
|
this.IsLostWeight.Name = "IsLostWeight"; |
|
|
|
this.IsLostWeight.ReadOnly = true; |
|
|
|
this.IsLostWeight.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 = 30; |
|
|
|
//
|
|
|
|
// 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_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"; |
|
|
|
dataGridViewCellStyle37.Format = "#0.######"; |
|
|
|
this.H_Weight.DefaultCellStyle = dataGridViewCellStyle37; |
|
|
|
this.H_Weight.HeaderText = "重量"; |
|
|
|
this.H_Weight.Name = "H_Weight"; |
|
|
|
this.H_Weight.ReadOnly = true; |
|
|
|
this.H_Weight.Width = 70; |
|
|
|
//
|
|
|
|
// H_Time
|
|
|
|
//
|
|
|
|
this.H_Time.DataPropertyName = "Time"; |
|
|
|
dataGridViewCellStyle38.Format = "HH:mm:ss"; |
|
|
|
dataGridViewCellStyle38.NullValue = null; |
|
|
|
this.H_Time.DefaultCellStyle = dataGridViewCellStyle38; |
|
|
|
this.H_Time.HeaderText = "时间"; |
|
|
|
this.H_Time.Name = "H_Time"; |
|
|
|
this.H_Time.ReadOnly = true; |
|
|
|
//
|
|
|
|
// enableWeight
|
|
|
|
//
|
|
|
|
this.enableWeight.AutoCheck = false; |
|
|
|
@ -750,7 +678,7 @@ |
|
|
|
this.btnLockItem.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.btnLockItem.Location = new System.Drawing.Point(606, 1); |
|
|
|
this.btnLockItem.Name = "btnLockItem"; |
|
|
|
this.btnLockItem.Size = new System.Drawing.Size(102, 25); |
|
|
|
this.btnLockItem.Size = new System.Drawing.Size(102, 31); |
|
|
|
this.btnLockItem.TabIndex = 34; |
|
|
|
this.btnLockItem.Text = "锁定"; |
|
|
|
this.btnLockItem.UseVisualStyleBackColor = true; |
|
|
|
@ -803,11 +731,106 @@ |
|
|
|
this.btnClearWeight.UseVisualStyleBackColor = true; |
|
|
|
this.btnClearWeight.Click += new System.EventHandler(this.btnClearLastWeight_Click); |
|
|
|
//
|
|
|
|
// dropPigBtn
|
|
|
|
//
|
|
|
|
this.dropPigBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.dropPigBtn.Location = new System.Drawing.Point(754, 6); |
|
|
|
this.dropPigBtn.Name = "dropPigBtn"; |
|
|
|
this.dropPigBtn.Size = new System.Drawing.Size(102, 54); |
|
|
|
this.dropPigBtn.TabIndex = 40; |
|
|
|
this.dropPigBtn.Text = "掉猪"; |
|
|
|
this.dropPigBtn.UseVisualStyleBackColor = true; |
|
|
|
this.dropPigBtn.Click += new System.EventHandler(this.dropPigBtn_Click); |
|
|
|
//
|
|
|
|
// 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; |
|
|
|
//
|
|
|
|
// IsLostWeight
|
|
|
|
//
|
|
|
|
this.IsLostWeight.DataPropertyName = "IsLostWeight"; |
|
|
|
this.IsLostWeight.HeaderText = "IsLostWeight"; |
|
|
|
this.IsLostWeight.Name = "IsLostWeight"; |
|
|
|
this.IsLostWeight.ReadOnly = true; |
|
|
|
this.IsLostWeight.Visible = false; |
|
|
|
//
|
|
|
|
// H_IsDrop
|
|
|
|
//
|
|
|
|
this.H_IsDrop.DataPropertyName = "IsDrop"; |
|
|
|
this.H_IsDrop.HeaderText = "IsDrop"; |
|
|
|
this.H_IsDrop.Name = "H_IsDrop"; |
|
|
|
this.H_IsDrop.ReadOnly = true; |
|
|
|
this.H_IsDrop.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 = 30; |
|
|
|
//
|
|
|
|
// 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_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"; |
|
|
|
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 = 70; |
|
|
|
//
|
|
|
|
// H_Time
|
|
|
|
//
|
|
|
|
this.H_Time.DataPropertyName = "Time"; |
|
|
|
dataGridViewCellStyle12.Format = "HH:mm:ss"; |
|
|
|
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, 12F); |
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
this.ClientSize = new System.Drawing.Size(1382, 840); |
|
|
|
this.Controls.Add(this.dropPigBtn); |
|
|
|
this.Controls.Add(this.lblSucessed); |
|
|
|
this.Controls.Add(this.statePic); |
|
|
|
this.Controls.Add(this.discontPanel); |
|
|
|
@ -909,17 +932,19 @@ |
|
|
|
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.Label lblHeJi; |
|
|
|
private System.Windows.Forms.Label lblSucessed; |
|
|
|
private System.Windows.Forms.Button btnClearWeight; |
|
|
|
private System.Windows.Forms.Button dropPigBtn; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_SID; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Livestock_ID; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn IsLostWeight; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_IsDrop; |
|
|
|
private System.Windows.Forms.DataGridViewCheckBoxColumn H_ReadWeight; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Index; |
|
|
|
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; |
|
|
|
private System.Windows.Forms.Label lblHeJi; |
|
|
|
private System.Windows.Forms.Label lblSucessed; |
|
|
|
private System.Windows.Forms.Button btnClearWeight; |
|
|
|
} |
|
|
|
} |