|
|
@ -28,13 +28,13 @@ |
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
private void InitializeComponent() |
|
|
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 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 dataGridViewCellStyle7 = 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 dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
this.label1 = new System.Windows.Forms.Label(); |
|
|
this.label1 = new System.Windows.Forms.Label(); |
|
|
this.syncBtn = new System.Windows.Forms.Button(); |
|
|
this.syncBtn = new System.Windows.Forms.Button(); |
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
|
@ -63,14 +63,6 @@ |
|
|
this.queryBtn = new System.Windows.Forms.Button(); |
|
|
this.queryBtn = new System.Windows.Forms.Button(); |
|
|
this.saiXuanBtn = new System.Windows.Forms.Button(); |
|
|
this.saiXuanBtn = new System.Windows.Forms.Button(); |
|
|
this.historyGrid = new BWP.WinFormControl.UDataGridView(); |
|
|
this.historyGrid = new BWP.WinFormControl.UDataGridView(); |
|
|
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.enableWeight = new System.Windows.Forms.CheckBox(); |
|
|
this.enableWeight = new System.Windows.Forms.CheckBox(); |
|
|
this.isPrintCheckBox = new System.Windows.Forms.CheckBox(); |
|
|
this.isPrintCheckBox = new System.Windows.Forms.CheckBox(); |
|
|
this.printBtn = new System.Windows.Forms.Button(); |
|
|
this.printBtn = new System.Windows.Forms.Button(); |
|
|
@ -87,8 +79,17 @@ |
|
|
this.butcherTimeInput = new BWP.WinFormControl.UDatePicker(); |
|
|
this.butcherTimeInput = new BWP.WinFormControl.UDatePicker(); |
|
|
this.closeBtn = new System.Windows.Forms.Button(); |
|
|
this.closeBtn = new System.Windows.Forms.Button(); |
|
|
this.configBtn = new System.Windows.Forms.Button(); |
|
|
this.configBtn = new System.Windows.Forms.Button(); |
|
|
this.label5 = new System.Windows.Forms.Label(); |
|
|
|
|
|
this.wb = new System.Windows.Forms.Label(); |
|
|
|
|
|
|
|
|
this.stateLabel = new System.Windows.Forms.Label(); |
|
|
|
|
|
this.modifyPanel = new System.Windows.Forms.Panel(); |
|
|
|
|
|
this.cancelBtn = 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.groupBox1.SuspendLayout(); |
|
|
this.groupBox2.SuspendLayout(); |
|
|
this.groupBox2.SuspendLayout(); |
|
|
this.groupBox3.SuspendLayout(); |
|
|
this.groupBox3.SuspendLayout(); |
|
|
@ -97,6 +98,7 @@ |
|
|
((System.ComponentModel.ISupportInitialize)(this.historyGrid)).BeginInit(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.historyGrid)).BeginInit(); |
|
|
this.panel1.SuspendLayout(); |
|
|
this.panel1.SuspendLayout(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); |
|
|
|
|
|
this.modifyPanel.SuspendLayout(); |
|
|
this.SuspendLayout(); |
|
|
this.SuspendLayout(); |
|
|
//
|
|
|
//
|
|
|
// label1
|
|
|
// label1
|
|
|
@ -396,17 +398,17 @@ |
|
|
this.historyGrid.AllowUserToDeleteRows = false; |
|
|
this.historyGrid.AllowUserToDeleteRows = false; |
|
|
this.historyGrid.AllowUserToResizeColumns = false; |
|
|
this.historyGrid.AllowUserToResizeColumns = false; |
|
|
this.historyGrid.AllowUserToResizeRows = false; |
|
|
this.historyGrid.AllowUserToResizeRows = false; |
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
|
|
this.historyGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
|
|
|
|
|
|
|
dataGridViewCellStyle22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
|
|
this.historyGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle22; |
|
|
this.historyGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
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; |
|
|
|
|
|
|
|
|
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; |
|
|
this.historyGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
this.historyGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
this.historyGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
this.historyGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
this.H_ID, |
|
|
this.H_ID, |
|
|
@ -422,76 +424,13 @@ |
|
|
this.historyGrid.Name = "historyGrid"; |
|
|
this.historyGrid.Name = "historyGrid"; |
|
|
this.historyGrid.ReadOnly = true; |
|
|
this.historyGrid.ReadOnly = true; |
|
|
this.historyGrid.RowHeadersVisible = false; |
|
|
this.historyGrid.RowHeadersVisible = false; |
|
|
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
|
|
this.historyGrid.RowsDefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
|
|
|
|
|
dataGridViewCellStyle25.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
|
|
this.historyGrid.RowsDefaultCellStyle = dataGridViewCellStyle25; |
|
|
this.historyGrid.RowTemplate.Height = 40; |
|
|
this.historyGrid.RowTemplate.Height = 40; |
|
|
this.historyGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
this.historyGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
this.historyGrid.Size = new System.Drawing.Size(426, 571); |
|
|
this.historyGrid.Size = new System.Drawing.Size(426, 571); |
|
|
this.historyGrid.TabIndex = 0; |
|
|
this.historyGrid.TabIndex = 0; |
|
|
//
|
|
|
|
|
|
// 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; |
|
|
|
|
|
|
|
|
this.historyGrid.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.historyGrid_CellClick); |
|
|
//
|
|
|
//
|
|
|
// enableWeight
|
|
|
// enableWeight
|
|
|
//
|
|
|
//
|
|
|
@ -508,9 +447,10 @@ |
|
|
//
|
|
|
//
|
|
|
// isPrintCheckBox
|
|
|
// isPrintCheckBox
|
|
|
//
|
|
|
//
|
|
|
|
|
|
this.isPrintCheckBox.AutoCheck = false; |
|
|
this.isPrintCheckBox.AutoSize = true; |
|
|
this.isPrintCheckBox.AutoSize = true; |
|
|
this.isPrintCheckBox.Font = new System.Drawing.Font("宋体", 15F); |
|
|
this.isPrintCheckBox.Font = new System.Drawing.Font("宋体", 15F); |
|
|
this.isPrintCheckBox.Location = new System.Drawing.Point(268, 2); |
|
|
|
|
|
|
|
|
this.isPrintCheckBox.Location = new System.Drawing.Point(277, 2); |
|
|
this.isPrintCheckBox.Name = "isPrintCheckBox"; |
|
|
this.isPrintCheckBox.Name = "isPrintCheckBox"; |
|
|
this.isPrintCheckBox.Size = new System.Drawing.Size(108, 24); |
|
|
this.isPrintCheckBox.Size = new System.Drawing.Size(108, 24); |
|
|
this.isPrintCheckBox.TabIndex = 30; |
|
|
this.isPrintCheckBox.TabIndex = 30; |
|
|
@ -564,17 +504,17 @@ |
|
|
this.dataGridView.AllowUserToDeleteRows = false; |
|
|
this.dataGridView.AllowUserToDeleteRows = false; |
|
|
this.dataGridView.AllowUserToResizeColumns = false; |
|
|
this.dataGridView.AllowUserToResizeColumns = false; |
|
|
this.dataGridView.AllowUserToResizeRows = false; |
|
|
this.dataGridView.AllowUserToResizeRows = false; |
|
|
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
|
|
this.dataGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle5; |
|
|
|
|
|
|
|
|
dataGridViewCellStyle26.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
|
|
this.dataGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle26; |
|
|
this.dataGridView.BackgroundColor = System.Drawing.Color.White; |
|
|
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; |
|
|
|
|
|
|
|
|
dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
|
|
dataGridViewCellStyle27.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
|
|
dataGridViewCellStyle27.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
|
|
dataGridViewCellStyle27.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
|
|
dataGridViewCellStyle27.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
|
|
dataGridViewCellStyle27.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
|
|
dataGridViewCellStyle27.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
|
|
this.dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle27; |
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
this.D_OrderDetail_ID, |
|
|
this.D_OrderDetail_ID, |
|
|
@ -588,8 +528,8 @@ |
|
|
this.dataGridView.Name = "dataGridView"; |
|
|
this.dataGridView.Name = "dataGridView"; |
|
|
this.dataGridView.ReadOnly = true; |
|
|
this.dataGridView.ReadOnly = true; |
|
|
this.dataGridView.RowHeadersVisible = false; |
|
|
this.dataGridView.RowHeadersVisible = false; |
|
|
dataGridViewCellStyle7.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
|
|
this.dataGridView.RowsDefaultCellStyle = dataGridViewCellStyle7; |
|
|
|
|
|
|
|
|
dataGridViewCellStyle28.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
|
|
this.dataGridView.RowsDefaultCellStyle = dataGridViewCellStyle28; |
|
|
this.dataGridView.RowTemplate.Height = 30; |
|
|
this.dataGridView.RowTemplate.Height = 30; |
|
|
this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
this.dataGridView.Size = new System.Drawing.Size(364, 517); |
|
|
this.dataGridView.Size = new System.Drawing.Size(364, 517); |
|
|
@ -678,30 +618,110 @@ |
|
|
this.configBtn.UseVisualStyleBackColor = true; |
|
|
this.configBtn.UseVisualStyleBackColor = true; |
|
|
this.configBtn.Click += new System.EventHandler(this.configBtn_Click); |
|
|
this.configBtn.Click += new System.EventHandler(this.configBtn_Click); |
|
|
//
|
|
|
//
|
|
|
// label5
|
|
|
|
|
|
|
|
|
// stateLabel
|
|
|
|
|
|
//
|
|
|
|
|
|
this.stateLabel.AutoSize = true; |
|
|
|
|
|
this.stateLabel.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
|
|
this.stateLabel.ForeColor = System.Drawing.Color.Red; |
|
|
|
|
|
this.stateLabel.Location = new System.Drawing.Point(14, 19); |
|
|
|
|
|
this.stateLabel.Name = "stateLabel"; |
|
|
|
|
|
this.stateLabel.Size = new System.Drawing.Size(289, 20); |
|
|
|
|
|
this.stateLabel.TabIndex = 35; |
|
|
|
|
|
this.stateLabel.Text = "您正在修改等级为 1000 的等级"; |
|
|
|
|
|
//
|
|
|
|
|
|
// modifyPanel
|
|
|
|
|
|
//
|
|
|
|
|
|
this.modifyPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
|
|
this.modifyPanel.Controls.Add(this.cancelBtn); |
|
|
|
|
|
this.modifyPanel.Controls.Add(this.stateLabel); |
|
|
|
|
|
this.modifyPanel.Location = new System.Drawing.Point(826, 107); |
|
|
|
|
|
this.modifyPanel.Name = "modifyPanel"; |
|
|
|
|
|
this.modifyPanel.Size = new System.Drawing.Size(438, 56); |
|
|
|
|
|
this.modifyPanel.TabIndex = 36; |
|
|
|
|
|
this.modifyPanel.Visible = false; |
|
|
|
|
|
//
|
|
|
|
|
|
// cancelBtn
|
|
|
|
|
|
//
|
|
|
|
|
|
this.cancelBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
|
|
this.cancelBtn.ForeColor = System.Drawing.Color.Red; |
|
|
|
|
|
this.cancelBtn.Location = new System.Drawing.Point(330, 6); |
|
|
|
|
|
this.cancelBtn.Name = "cancelBtn"; |
|
|
|
|
|
this.cancelBtn.Size = new System.Drawing.Size(102, 43); |
|
|
|
|
|
this.cancelBtn.TabIndex = 36; |
|
|
|
|
|
this.cancelBtn.Text = "取消"; |
|
|
|
|
|
this.cancelBtn.UseVisualStyleBackColor = true; |
|
|
|
|
|
this.cancelBtn.Click += new System.EventHandler(this.cancelBtn_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.label5.AutoSize = true; |
|
|
|
|
|
this.label5.Location = new System.Drawing.Point(435, 37); |
|
|
|
|
|
this.label5.Name = "label5"; |
|
|
|
|
|
this.label5.Size = new System.Drawing.Size(113, 12); |
|
|
|
|
|
this.label5.TabIndex = 35; |
|
|
|
|
|
this.label5.Text = "重量显示(测试用)"; |
|
|
|
|
|
|
|
|
this.H_Order.DataPropertyName = "Order"; |
|
|
|
|
|
this.H_Order.HeaderText = "顺序"; |
|
|
|
|
|
this.H_Order.Name = "H_Order"; |
|
|
|
|
|
this.H_Order.ReadOnly = true; |
|
|
|
|
|
this.H_Order.Width = 65; |
|
|
//
|
|
|
//
|
|
|
// wb
|
|
|
|
|
|
|
|
|
// H_Technics
|
|
|
//
|
|
|
//
|
|
|
this.wb.AutoSize = true; |
|
|
|
|
|
this.wb.Location = new System.Drawing.Point(565, 37); |
|
|
|
|
|
this.wb.Name = "wb"; |
|
|
|
|
|
this.wb.Size = new System.Drawing.Size(0, 12); |
|
|
|
|
|
this.wb.TabIndex = 36; |
|
|
|
|
|
|
|
|
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 = 65; |
|
|
|
|
|
//
|
|
|
|
|
|
// H_Time
|
|
|
|
|
|
//
|
|
|
|
|
|
this.H_Time.DataPropertyName = "Time"; |
|
|
|
|
|
this.H_Time.HeaderText = "时间"; |
|
|
|
|
|
this.H_Time.Name = "H_Time"; |
|
|
|
|
|
this.H_Time.ReadOnly = true; |
|
|
//
|
|
|
//
|
|
|
// GradeFrom
|
|
|
// GradeFrom
|
|
|
//
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
this.ClientSize = new System.Drawing.Size(1276, 865); |
|
|
this.ClientSize = new System.Drawing.Size(1276, 865); |
|
|
this.Controls.Add(this.wb); |
|
|
|
|
|
this.Controls.Add(this.label5); |
|
|
|
|
|
|
|
|
this.Controls.Add(this.modifyPanel); |
|
|
this.Controls.Add(this.configBtn); |
|
|
this.Controls.Add(this.configBtn); |
|
|
this.Controls.Add(this.closeBtn); |
|
|
this.Controls.Add(this.closeBtn); |
|
|
this.Controls.Add(this.label10); |
|
|
this.Controls.Add(this.label10); |
|
|
@ -739,6 +759,8 @@ |
|
|
this.panel1.ResumeLayout(false); |
|
|
this.panel1.ResumeLayout(false); |
|
|
this.panel1.PerformLayout(); |
|
|
this.panel1.PerformLayout(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit(); |
|
|
|
|
|
this.modifyPanel.ResumeLayout(false); |
|
|
|
|
|
this.modifyPanel.PerformLayout(); |
|
|
this.ResumeLayout(false); |
|
|
this.ResumeLayout(false); |
|
|
this.PerformLayout(); |
|
|
this.PerformLayout(); |
|
|
|
|
|
|
|
|
@ -790,6 +812,9 @@ |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn D_Number; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn D_Number; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn D_Already; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn D_Already; |
|
|
private System.Windows.Forms.Button configBtn; |
|
|
private System.Windows.Forms.Button configBtn; |
|
|
|
|
|
private System.Windows.Forms.Label stateLabel; |
|
|
|
|
|
private System.Windows.Forms.Panel modifyPanel; |
|
|
|
|
|
private System.Windows.Forms.Button cancelBtn; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_ID; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_ID; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Livestock_ID; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Livestock_ID; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Index; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Index; |
|
|
@ -798,7 +823,5 @@ |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Livestock_Name; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Livestock_Name; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Weight; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Weight; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Time; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Time; |
|
|
private System.Windows.Forms.Label label5; |
|
|
|
|
|
private System.Windows.Forms.Label wb; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |