|
|
|
@ -29,24 +29,25 @@ |
|
|
|
/// </summary>
|
|
|
|
private void InitializeComponent() |
|
|
|
{ |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = 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 dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle43 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle44 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle45 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
this.components = new System.ComponentModel.Container(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = 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 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 dataGridViewCellStyle8 = 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 dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
this.panel1 = new System.Windows.Forms.Panel(); |
|
|
|
this.enableCheckBox = new System.Windows.Forms.CheckBox(); |
|
|
|
this.weightSet = new System.Windows.Forms.Button(); |
|
|
|
this.weightControl = new BWP.WinFormControl.WeightControl(); |
|
|
|
this.exitBtn = new System.Windows.Forms.Button(); |
|
|
|
this.deleteBtn = new System.Windows.Forms.Button(); |
|
|
|
this.printBtn = new System.Windows.Forms.Button(); |
|
|
|
@ -140,6 +141,9 @@ |
|
|
|
this.label15 = new System.Windows.Forms.Label(); |
|
|
|
this.label16 = new System.Windows.Forms.Label(); |
|
|
|
this.label17 = new System.Windows.Forms.Label(); |
|
|
|
this.panel5 = new System.Windows.Forms.Panel(); |
|
|
|
this.weightLabel = new System.Windows.Forms.Label(); |
|
|
|
this.weightSerialPort = new System.IO.Ports.SerialPort(this.components); |
|
|
|
this.panel1.SuspendLayout(); |
|
|
|
this.panel2.SuspendLayout(); |
|
|
|
this.panel3.SuspendLayout(); |
|
|
|
@ -149,13 +153,14 @@ |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.houseGird)).BeginInit(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.abnormalGrid)).BeginInit(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.billGrid)).BeginInit(); |
|
|
|
this.panel5.SuspendLayout(); |
|
|
|
this.SuspendLayout(); |
|
|
|
//
|
|
|
|
// panel1
|
|
|
|
//
|
|
|
|
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.panel1.Controls.Add(this.enableCheckBox); |
|
|
|
this.panel1.Controls.Add(this.weightSet); |
|
|
|
this.panel1.Controls.Add(this.weightControl); |
|
|
|
this.panel1.Controls.Add(this.exitBtn); |
|
|
|
this.panel1.Controls.Add(this.deleteBtn); |
|
|
|
this.panel1.Controls.Add(this.printBtn); |
|
|
|
@ -168,6 +173,19 @@ |
|
|
|
this.panel1.Size = new System.Drawing.Size(1252, 95); |
|
|
|
this.panel1.TabIndex = 1; |
|
|
|
//
|
|
|
|
// enableCheckBox
|
|
|
|
//
|
|
|
|
this.enableCheckBox.AutoCheck = false; |
|
|
|
this.enableCheckBox.AutoSize = true; |
|
|
|
this.enableCheckBox.Font = new System.Drawing.Font("宋体", 19F); |
|
|
|
this.enableCheckBox.Location = new System.Drawing.Point(8, 60); |
|
|
|
this.enableCheckBox.Name = "enableCheckBox"; |
|
|
|
this.enableCheckBox.Size = new System.Drawing.Size(135, 30); |
|
|
|
this.enableCheckBox.TabIndex = 11; |
|
|
|
this.enableCheckBox.Text = "启用称重"; |
|
|
|
this.enableCheckBox.UseVisualStyleBackColor = true; |
|
|
|
this.enableCheckBox.Click += new System.EventHandler(this.enableCheckBox_Click); |
|
|
|
//
|
|
|
|
// weightSet
|
|
|
|
//
|
|
|
|
this.weightSet.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
@ -179,15 +197,6 @@ |
|
|
|
this.weightSet.UseVisualStyleBackColor = true; |
|
|
|
this.weightSet.Click += new System.EventHandler(this.weightSet_Click); |
|
|
|
//
|
|
|
|
// weightControl
|
|
|
|
//
|
|
|
|
this.weightControl.Location = new System.Drawing.Point(0, 0); |
|
|
|
this.weightControl.Name = "weightControl"; |
|
|
|
this.weightControl.Size = new System.Drawing.Size(156, 92); |
|
|
|
this.weightControl.TabIndex = 9; |
|
|
|
this.weightControl.TypeOfWeight = BWP.WinFormControl.WeightType.Xk3190A9; |
|
|
|
this.weightControl.ValueFormat = "0.00"; |
|
|
|
//
|
|
|
|
// exitBtn
|
|
|
|
//
|
|
|
|
this.exitBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
@ -461,7 +470,7 @@ |
|
|
|
this.label19.Name = "label19"; |
|
|
|
this.label19.Size = new System.Drawing.Size(66, 19); |
|
|
|
this.label19.TabIndex = 24; |
|
|
|
this.label19.Text = "经办人"; |
|
|
|
this.label19.Text = "业务员"; |
|
|
|
//
|
|
|
|
// label20
|
|
|
|
//
|
|
|
|
@ -689,17 +698,17 @@ |
|
|
|
this.farmerGrid.AllowUserToAddRows = false; |
|
|
|
this.farmerGrid.AllowUserToResizeColumns = false; |
|
|
|
this.farmerGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle31.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.farmerGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle31; |
|
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.farmerGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
|
|
this.farmerGrid.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.farmerGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle32; |
|
|
|
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.farmerGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
|
|
this.farmerGrid.ColumnHeadersHeight = 24; |
|
|
|
this.farmerGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; |
|
|
|
this.farmerGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
@ -714,8 +723,8 @@ |
|
|
|
this.farmerGrid.MultiSelect = false; |
|
|
|
this.farmerGrid.Name = "farmerGrid"; |
|
|
|
this.farmerGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle33.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.farmerGrid.RowsDefaultCellStyle = dataGridViewCellStyle33; |
|
|
|
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.farmerGrid.RowsDefaultCellStyle = dataGridViewCellStyle3; |
|
|
|
this.farmerGrid.RowTemplate.Height = 23; |
|
|
|
this.farmerGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.farmerGrid.Size = new System.Drawing.Size(400, 112); |
|
|
|
@ -798,17 +807,17 @@ |
|
|
|
this.weightGrid.AllowUserToAddRows = false; |
|
|
|
this.weightGrid.AllowUserToResizeColumns = false; |
|
|
|
this.weightGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle34.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.weightGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle34; |
|
|
|
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.weightGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
this.weightGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle35.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle35.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle35.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle35.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle35.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle35.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle35.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.weightGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle35; |
|
|
|
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.weightGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5; |
|
|
|
this.weightGrid.ColumnHeadersHeight = 24; |
|
|
|
this.weightGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; |
|
|
|
this.weightGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
@ -824,8 +833,8 @@ |
|
|
|
this.weightGrid.MultiSelect = false; |
|
|
|
this.weightGrid.Name = "weightGrid"; |
|
|
|
this.weightGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle36.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.weightGrid.RowsDefaultCellStyle = dataGridViewCellStyle36; |
|
|
|
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.weightGrid.RowsDefaultCellStyle = dataGridViewCellStyle6; |
|
|
|
this.weightGrid.RowTemplate.Height = 23; |
|
|
|
this.weightGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.weightGrid.Size = new System.Drawing.Size(400, 90); |
|
|
|
@ -906,17 +915,17 @@ |
|
|
|
this.houseGird.AllowUserToDeleteRows = false; |
|
|
|
this.houseGird.AllowUserToResizeColumns = false; |
|
|
|
this.houseGird.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle37.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.houseGird.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle37; |
|
|
|
dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.houseGird.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7; |
|
|
|
this.houseGird.BackgroundColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle38.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle38.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle38.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle38.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle38.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle38.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle38.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.houseGird.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle38; |
|
|
|
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.houseGird.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8; |
|
|
|
this.houseGird.ColumnHeadersHeight = 24; |
|
|
|
this.houseGird.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; |
|
|
|
this.houseGird.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
@ -931,8 +940,8 @@ |
|
|
|
this.houseGird.MultiSelect = false; |
|
|
|
this.houseGird.Name = "houseGird"; |
|
|
|
this.houseGird.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle39.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.houseGird.RowsDefaultCellStyle = dataGridViewCellStyle39; |
|
|
|
dataGridViewCellStyle9.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.houseGird.RowsDefaultCellStyle = dataGridViewCellStyle9; |
|
|
|
this.houseGird.RowTemplate.Height = 23; |
|
|
|
this.houseGird.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.houseGird.Size = new System.Drawing.Size(400, 90); |
|
|
|
@ -995,17 +1004,17 @@ |
|
|
|
this.abnormalGrid.AllowUserToDeleteRows = false; |
|
|
|
this.abnormalGrid.AllowUserToResizeColumns = false; |
|
|
|
this.abnormalGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle40.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.abnormalGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle40; |
|
|
|
dataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.abnormalGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle10; |
|
|
|
this.abnormalGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle41.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle41.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle41.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle41.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle41.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle41.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.abnormalGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle41; |
|
|
|
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle11.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.abnormalGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11; |
|
|
|
this.abnormalGrid.ColumnHeadersHeight = 24; |
|
|
|
this.abnormalGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; |
|
|
|
this.abnormalGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
@ -1021,8 +1030,8 @@ |
|
|
|
this.abnormalGrid.MultiSelect = false; |
|
|
|
this.abnormalGrid.Name = "abnormalGrid"; |
|
|
|
this.abnormalGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle42.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.abnormalGrid.RowsDefaultCellStyle = dataGridViewCellStyle42; |
|
|
|
dataGridViewCellStyle12.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.abnormalGrid.RowsDefaultCellStyle = dataGridViewCellStyle12; |
|
|
|
this.abnormalGrid.RowTemplate.Height = 23; |
|
|
|
this.abnormalGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.abnormalGrid.Size = new System.Drawing.Size(400, 237); |
|
|
|
@ -1091,17 +1100,17 @@ |
|
|
|
this.billGrid.AllowUserToDeleteRows = false; |
|
|
|
this.billGrid.AllowUserToResizeColumns = false; |
|
|
|
this.billGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle43.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.billGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle43; |
|
|
|
dataGridViewCellStyle13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.billGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle13; |
|
|
|
this.billGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle44.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle44.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle44.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle44.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle44.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle44.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle44.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.billGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle44; |
|
|
|
dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle14.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle14.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.billGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle14; |
|
|
|
this.billGrid.ColumnHeadersHeight = 24; |
|
|
|
this.billGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; |
|
|
|
this.billGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
@ -1120,11 +1129,11 @@ |
|
|
|
this.billGrid.Name = "billGrid"; |
|
|
|
this.billGrid.ReadOnly = true; |
|
|
|
this.billGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle45.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.billGrid.RowsDefaultCellStyle = dataGridViewCellStyle45; |
|
|
|
dataGridViewCellStyle15.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.billGrid.RowsDefaultCellStyle = dataGridViewCellStyle15; |
|
|
|
this.billGrid.RowTemplate.Height = 23; |
|
|
|
this.billGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.billGrid.Size = new System.Drawing.Size(1250, 281); |
|
|
|
this.billGrid.Size = new System.Drawing.Size(1250, 239); |
|
|
|
this.billGrid.TabIndex = 0; |
|
|
|
this.billGrid.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.billGrid_CellDoubleClick); |
|
|
|
//
|
|
|
|
@ -1241,11 +1250,32 @@ |
|
|
|
this.label17.TabIndex = 8; |
|
|
|
this.label17.Text = "异常明细"; |
|
|
|
//
|
|
|
|
// panel5
|
|
|
|
//
|
|
|
|
this.panel5.BackColor = System.Drawing.Color.Black; |
|
|
|
this.panel5.Controls.Add(this.weightLabel); |
|
|
|
this.panel5.Location = new System.Drawing.Point(13, 13); |
|
|
|
this.panel5.Name = "panel5"; |
|
|
|
this.panel5.Size = new System.Drawing.Size(156, 59); |
|
|
|
this.panel5.TabIndex = 11; |
|
|
|
//
|
|
|
|
// weightLabel
|
|
|
|
//
|
|
|
|
this.weightLabel.AutoSize = true; |
|
|
|
this.weightLabel.Font = new System.Drawing.Font("宋体", 22F, System.Drawing.FontStyle.Bold); |
|
|
|
this.weightLabel.ForeColor = System.Drawing.Color.Red; |
|
|
|
this.weightLabel.Location = new System.Drawing.Point(3, 15); |
|
|
|
this.weightLabel.Name = "weightLabel"; |
|
|
|
this.weightLabel.Size = new System.Drawing.Size(29, 30); |
|
|
|
this.weightLabel.TabIndex = 12; |
|
|
|
this.weightLabel.Text = "0"; |
|
|
|
//
|
|
|
|
// WeightForm
|
|
|
|
//
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
this.ClientSize = new System.Drawing.Size(1276, 873); |
|
|
|
this.ClientSize = new System.Drawing.Size(1276, 831); |
|
|
|
this.Controls.Add(this.panel5); |
|
|
|
this.Controls.Add(this.abnormalGrid); |
|
|
|
this.Controls.Add(this.billGrid); |
|
|
|
this.Controls.Add(this.label17); |
|
|
|
@ -1261,6 +1291,7 @@ |
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; |
|
|
|
this.Text = "毛猪过磅"; |
|
|
|
this.panel1.ResumeLayout(false); |
|
|
|
this.panel1.PerformLayout(); |
|
|
|
this.panel2.ResumeLayout(false); |
|
|
|
this.panel2.PerformLayout(); |
|
|
|
this.panel3.ResumeLayout(false); |
|
|
|
@ -1271,6 +1302,8 @@ |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.houseGird)).EndInit(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.abnormalGrid)).EndInit(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.billGrid)).EndInit(); |
|
|
|
this.panel5.ResumeLayout(false); |
|
|
|
this.panel5.PerformLayout(); |
|
|
|
this.ResumeLayout(false); |
|
|
|
this.PerformLayout(); |
|
|
|
|
|
|
|
@ -1372,7 +1405,10 @@ |
|
|
|
private System.Windows.Forms.Button exitBtn; |
|
|
|
private System.Windows.Forms.Button deleteBtn; |
|
|
|
private System.Windows.Forms.Button printBtn; |
|
|
|
private BWP.WinFormControl.WeightControl weightControl; |
|
|
|
private System.Windows.Forms.Button weightSet; |
|
|
|
private System.Windows.Forms.CheckBox enableCheckBox; |
|
|
|
private System.Windows.Forms.Panel panel5; |
|
|
|
private System.Windows.Forms.Label weightLabel; |
|
|
|
private System.IO.Ports.SerialPort weightSerialPort; |
|
|
|
} |
|
|
|
} |