|
|
|
@ -28,19 +28,19 @@ |
|
|
|
/// </summary>
|
|
|
|
private void InitializeComponent() |
|
|
|
{ |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle53 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle54 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle56 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle55 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle57 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle58 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle60 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle59 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle61 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle62 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle65 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle63 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle64 = 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(); |
|
|
|
@ -70,9 +70,19 @@ |
|
|
|
this.mbPanel = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.lblMaoBo = new System.Windows.Forms.Label(); |
|
|
|
this.groupBox3 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.lblHeJi = new System.Windows.Forms.Label(); |
|
|
|
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(); |
|
|
|
@ -90,16 +100,7 @@ |
|
|
|
this.btnLockItem = new System.Windows.Forms.Button(); |
|
|
|
this.btnClearLast = new System.Windows.Forms.Button(); |
|
|
|
this.btnAbnormalModify = 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_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.lblHeJi = new System.Windows.Forms.Label(); |
|
|
|
this.lblSucessed = new System.Windows.Forms.Label(); |
|
|
|
this.groupBox1.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tangGridView)).BeginInit(); |
|
|
|
this.groupBox2.SuspendLayout(); |
|
|
|
@ -215,17 +216,17 @@ |
|
|
|
this.tangGridView.AllowUserToDeleteRows = false; |
|
|
|
this.tangGridView.AllowUserToResizeColumns = false; |
|
|
|
this.tangGridView.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.tangGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle14; |
|
|
|
dataGridViewCellStyle53.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.tangGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle53; |
|
|
|
this.tangGridView.BackgroundColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle15.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.tangGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle15; |
|
|
|
dataGridViewCellStyle54.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle54.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle54.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle54.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle54.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle54.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle54.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.tangGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle54; |
|
|
|
this.tangGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.tangGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.T_OrderDetail_ID, |
|
|
|
@ -239,11 +240,11 @@ |
|
|
|
this.tangGridView.Name = "tangGridView"; |
|
|
|
this.tangGridView.ReadOnly = true; |
|
|
|
this.tangGridView.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle17.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle17.ForeColor = System.Drawing.Color.Black; |
|
|
|
dataGridViewCellStyle17.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
dataGridViewCellStyle17.SelectionForeColor = System.Drawing.Color.Black; |
|
|
|
this.tangGridView.RowsDefaultCellStyle = dataGridViewCellStyle17; |
|
|
|
dataGridViewCellStyle56.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle56.ForeColor = System.Drawing.Color.Black; |
|
|
|
dataGridViewCellStyle56.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
dataGridViewCellStyle56.SelectionForeColor = System.Drawing.Color.Black; |
|
|
|
this.tangGridView.RowsDefaultCellStyle = dataGridViewCellStyle56; |
|
|
|
this.tangGridView.RowTemplate.Height = 50; |
|
|
|
this.tangGridView.ScrollBars = System.Windows.Forms.ScrollBars.None; |
|
|
|
this.tangGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
@ -293,9 +294,9 @@ |
|
|
|
//
|
|
|
|
// T_FinishBtn
|
|
|
|
//
|
|
|
|
dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle16.Padding = new System.Windows.Forms.Padding(5, 10, 5, 10); |
|
|
|
this.T_FinishBtn.DefaultCellStyle = dataGridViewCellStyle16; |
|
|
|
dataGridViewCellStyle55.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle55.Padding = new System.Windows.Forms.Padding(5, 10, 5, 10); |
|
|
|
this.T_FinishBtn.DefaultCellStyle = dataGridViewCellStyle55; |
|
|
|
this.T_FinishBtn.HeaderText = "完毕"; |
|
|
|
this.T_FinishBtn.Name = "T_FinishBtn"; |
|
|
|
this.T_FinishBtn.ReadOnly = true; |
|
|
|
@ -327,17 +328,17 @@ |
|
|
|
this.maoGridView.AllowUserToDeleteRows = false; |
|
|
|
this.maoGridView.AllowUserToResizeColumns = false; |
|
|
|
this.maoGridView.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.maoGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle18; |
|
|
|
dataGridViewCellStyle57.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.maoGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle57; |
|
|
|
this.maoGridView.BackgroundColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle19.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle19.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle19.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle19.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle19.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.maoGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle19; |
|
|
|
dataGridViewCellStyle58.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle58.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle58.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle58.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle58.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle58.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle58.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.maoGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle58; |
|
|
|
this.maoGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.maoGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.M_OrderDetail_ID, |
|
|
|
@ -351,11 +352,11 @@ |
|
|
|
this.maoGridView.Name = "maoGridView"; |
|
|
|
this.maoGridView.ReadOnly = true; |
|
|
|
this.maoGridView.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle21.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle21.ForeColor = System.Drawing.Color.Black; |
|
|
|
dataGridViewCellStyle21.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
dataGridViewCellStyle21.SelectionForeColor = System.Drawing.Color.Black; |
|
|
|
this.maoGridView.RowsDefaultCellStyle = dataGridViewCellStyle21; |
|
|
|
dataGridViewCellStyle60.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle60.ForeColor = System.Drawing.Color.Black; |
|
|
|
dataGridViewCellStyle60.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
dataGridViewCellStyle60.SelectionForeColor = System.Drawing.Color.Black; |
|
|
|
this.maoGridView.RowsDefaultCellStyle = dataGridViewCellStyle60; |
|
|
|
this.maoGridView.RowTemplate.Height = 50; |
|
|
|
this.maoGridView.ScrollBars = System.Windows.Forms.ScrollBars.Horizontal; |
|
|
|
this.maoGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
@ -405,9 +406,9 @@ |
|
|
|
//
|
|
|
|
// M_FinishBtn
|
|
|
|
//
|
|
|
|
dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle20.Padding = new System.Windows.Forms.Padding(5, 10, 5, 10); |
|
|
|
this.M_FinishBtn.DefaultCellStyle = dataGridViewCellStyle20; |
|
|
|
dataGridViewCellStyle59.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle59.Padding = new System.Windows.Forms.Padding(5, 10, 5, 10); |
|
|
|
this.M_FinishBtn.DefaultCellStyle = dataGridViewCellStyle59; |
|
|
|
this.M_FinishBtn.HeaderText = "完毕"; |
|
|
|
this.M_FinishBtn.Name = "M_FinishBtn"; |
|
|
|
this.M_FinishBtn.ReadOnly = true; |
|
|
|
@ -444,6 +445,16 @@ |
|
|
|
this.groupBox3.TabStop = false; |
|
|
|
this.groupBox3.Text = "记录"; |
|
|
|
//
|
|
|
|
// lblHeJi
|
|
|
|
//
|
|
|
|
this.lblHeJi.AutoSize = true; |
|
|
|
this.lblHeJi.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
this.lblHeJi.Location = new System.Drawing.Point(6, 624); |
|
|
|
this.lblHeJi.Name = "lblHeJi"; |
|
|
|
this.lblHeJi.Size = new System.Drawing.Size(82, 24); |
|
|
|
this.lblHeJi.TabIndex = 53; |
|
|
|
this.lblHeJi.Text = "合计:"; |
|
|
|
//
|
|
|
|
// vScrollBar2
|
|
|
|
//
|
|
|
|
this.vScrollBar2.Location = new System.Drawing.Point(425, 36); |
|
|
|
@ -467,17 +478,17 @@ |
|
|
|
this.historyGrid.AllowUserToDeleteRows = false; |
|
|
|
this.historyGrid.AllowUserToResizeColumns = false; |
|
|
|
this.historyGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.historyGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle22; |
|
|
|
dataGridViewCellStyle61.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.historyGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle61; |
|
|
|
this.historyGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle23.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle23.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle23.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle23.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle23.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.historyGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle23; |
|
|
|
dataGridViewCellStyle62.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle62.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle62.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle62.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle62.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle62.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle62.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.historyGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle62; |
|
|
|
this.historyGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.historyGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.H_SID, |
|
|
|
@ -494,9 +505,9 @@ |
|
|
|
this.historyGrid.Name = "historyGrid"; |
|
|
|
this.historyGrid.ReadOnly = true; |
|
|
|
this.historyGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle26.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle26.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.historyGrid.RowsDefaultCellStyle = dataGridViewCellStyle26; |
|
|
|
dataGridViewCellStyle65.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle65.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.historyGrid.RowsDefaultCellStyle = dataGridViewCellStyle65; |
|
|
|
this.historyGrid.RowTemplate.Height = 40; |
|
|
|
this.historyGrid.ScrollBars = System.Windows.Forms.ScrollBars.None; |
|
|
|
this.historyGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
@ -504,6 +515,81 @@ |
|
|
|
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"; |
|
|
|
dataGridViewCellStyle63.Format = "#0.######"; |
|
|
|
this.H_Weight.DefaultCellStyle = dataGridViewCellStyle63; |
|
|
|
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"; |
|
|
|
dataGridViewCellStyle64.Format = "HH:mm:ss"; |
|
|
|
dataGridViewCellStyle64.NullValue = null; |
|
|
|
this.H_Time.DefaultCellStyle = dataGridViewCellStyle64; |
|
|
|
this.H_Time.HeaderText = "时间"; |
|
|
|
this.H_Time.Name = "H_Time"; |
|
|
|
this.H_Time.ReadOnly = true; |
|
|
|
//
|
|
|
|
// enableWeight
|
|
|
|
//
|
|
|
|
this.enableWeight.AutoCheck = false; |
|
|
|
@ -577,7 +663,7 @@ |
|
|
|
// closeBtn
|
|
|
|
//
|
|
|
|
this.closeBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.closeBtn.Location = new System.Drawing.Point(1272, 20); |
|
|
|
this.closeBtn.Location = new System.Drawing.Point(1256, 20); |
|
|
|
this.closeBtn.Name = "closeBtn"; |
|
|
|
this.closeBtn.Size = new System.Drawing.Size(102, 60); |
|
|
|
this.closeBtn.TabIndex = 33; |
|
|
|
@ -660,29 +746,30 @@ |
|
|
|
// btnLockItem
|
|
|
|
//
|
|
|
|
this.btnLockItem.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.btnLockItem.Location = new System.Drawing.Point(903, 20); |
|
|
|
this.btnLockItem.Location = new System.Drawing.Point(867, 2); |
|
|
|
this.btnLockItem.Name = "btnLockItem"; |
|
|
|
this.btnLockItem.Size = new System.Drawing.Size(102, 60); |
|
|
|
this.btnLockItem.Size = new System.Drawing.Size(102, 25); |
|
|
|
this.btnLockItem.TabIndex = 34; |
|
|
|
this.btnLockItem.Text = "锁定"; |
|
|
|
this.btnLockItem.UseVisualStyleBackColor = true; |
|
|
|
this.btnLockItem.Visible = false; |
|
|
|
this.btnLockItem.Click += new System.EventHandler(this.btnLockItem_Click); |
|
|
|
//
|
|
|
|
// btnClearLast
|
|
|
|
//
|
|
|
|
this.btnClearLast.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.btnClearLast.Location = new System.Drawing.Point(1027, 20); |
|
|
|
this.btnClearLast.Location = new System.Drawing.Point(1011, 20); |
|
|
|
this.btnClearLast.Name = "btnClearLast"; |
|
|
|
this.btnClearLast.Size = new System.Drawing.Size(102, 60); |
|
|
|
this.btnClearLast.TabIndex = 34; |
|
|
|
this.btnClearLast.Text = "清空"; |
|
|
|
this.btnClearLast.Text = "删除"; |
|
|
|
this.btnClearLast.UseVisualStyleBackColor = true; |
|
|
|
this.btnClearLast.Click += new System.EventHandler(this.btnClearLast_Click); |
|
|
|
//
|
|
|
|
// btnAbnormalModify
|
|
|
|
//
|
|
|
|
this.btnAbnormalModify.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.btnAbnormalModify.Location = new System.Drawing.Point(1149, 20); |
|
|
|
this.btnAbnormalModify.Location = new System.Drawing.Point(1133, 20); |
|
|
|
this.btnAbnormalModify.Name = "btnAbnormalModify"; |
|
|
|
this.btnAbnormalModify.Size = new System.Drawing.Size(102, 60); |
|
|
|
this.btnAbnormalModify.TabIndex = 34; |
|
|
|
@ -690,96 +777,25 @@ |
|
|
|
this.btnAbnormalModify.UseVisualStyleBackColor = true; |
|
|
|
this.btnAbnormalModify.Click += new System.EventHandler(this.btnAbnormalModify_Click); |
|
|
|
//
|
|
|
|
// H_SID
|
|
|
|
// lblSucessed
|
|
|
|
//
|
|
|
|
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"; |
|
|
|
dataGridViewCellStyle24.Format = "#0.######"; |
|
|
|
this.H_Weight.DefaultCellStyle = dataGridViewCellStyle24; |
|
|
|
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"; |
|
|
|
dataGridViewCellStyle25.Format = "HH:mm:ss"; |
|
|
|
dataGridViewCellStyle25.NullValue = null; |
|
|
|
this.H_Time.DefaultCellStyle = dataGridViewCellStyle25; |
|
|
|
this.H_Time.HeaderText = "时间"; |
|
|
|
this.H_Time.Name = "H_Time"; |
|
|
|
this.H_Time.ReadOnly = true; |
|
|
|
//
|
|
|
|
// lblHeJi
|
|
|
|
//
|
|
|
|
this.lblHeJi.AutoSize = true; |
|
|
|
this.lblHeJi.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
this.lblHeJi.Location = new System.Drawing.Point(6, 624); |
|
|
|
this.lblHeJi.Name = "lblHeJi"; |
|
|
|
this.lblHeJi.Size = new System.Drawing.Size(82, 24); |
|
|
|
this.lblHeJi.TabIndex = 53; |
|
|
|
this.lblHeJi.Text = "合计:"; |
|
|
|
this.lblSucessed.BackColor = System.Drawing.Color.Lime; |
|
|
|
this.lblSucessed.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
this.lblSucessed.ForeColor = System.Drawing.Color.Red; |
|
|
|
this.lblSucessed.Location = new System.Drawing.Point(691, 70); |
|
|
|
this.lblSucessed.Name = "lblSucessed"; |
|
|
|
this.lblSucessed.Size = new System.Drawing.Size(267, 39); |
|
|
|
this.lblSucessed.TabIndex = 39; |
|
|
|
this.lblSucessed.Text = "插入级别成功"; |
|
|
|
this.lblSucessed.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
|
this.lblSucessed.Visible = false; |
|
|
|
//
|
|
|
|
// GradeFrom
|
|
|
|
//
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
this.ClientSize = new System.Drawing.Size(1379, 842); |
|
|
|
this.ClientSize = new System.Drawing.Size(1382, 843); |
|
|
|
this.Controls.Add(this.lblSucessed); |
|
|
|
this.Controls.Add(this.statePic); |
|
|
|
this.Controls.Add(this.discontPanel); |
|
|
|
this.Controls.Add(this.lblMaoBo); |
|
|
|
@ -805,13 +821,11 @@ |
|
|
|
this.Controls.Add(this.butcherTimeInput); |
|
|
|
this.Controls.Add(this.label1); |
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; |
|
|
|
this.KeyPreview = true; |
|
|
|
this.MaximizeBox = false; |
|
|
|
this.Name = "GradeFrom"; |
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; |
|
|
|
this.Text = "称重定级"; |
|
|
|
this.Load += new System.EventHandler(this.GradeFrom_Load); |
|
|
|
this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.GradeFrom_KeyPress); |
|
|
|
this.groupBox1.ResumeLayout(false); |
|
|
|
this.groupBox1.PerformLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tangGridView)).EndInit(); |
|
|
|
@ -891,5 +905,6 @@ |
|
|
|
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; |
|
|
|
} |
|
|
|
} |