diff --git a/QualityAndOrder/QualityOrderForm.Designer.cs b/QualityAndOrder/QualityOrderForm.Designer.cs index abafe52..af71ad9 100644 --- a/QualityAndOrder/QualityOrderForm.Designer.cs +++ b/QualityAndOrder/QualityOrderForm.Designer.cs @@ -28,27 +28,6 @@ /// 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 dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = 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 dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = 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 dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = 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 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(); @@ -64,12 +43,12 @@ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = 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 dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); this.uTabControl1 = new BWP.WinFormControl.UTabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.vScrollBar1 = new System.Windows.Forms.VScrollBar(); @@ -142,6 +121,7 @@ this.O_IsHurryButcher = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.O_WeightBill_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.O_SecondarySplit = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.O_Date = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.O_Order = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.O_B3WeighBill_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.O_Supplier_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -155,36 +135,18 @@ this.tb3CloseBtn = new System.Windows.Forms.Button(); this.vScrollBar4 = new System.Windows.Forms.VScrollBar(); this.tab3SearchBtn = new System.Windows.Forms.Button(); - this.tab3DateSelect = new BWP.WinFormControl.UDatePicker(); - this.label7 = new System.Windows.Forms.Label(); this.panel4 = new System.Windows.Forms.Panel(); this.tab3KeyPanel = new System.Windows.Forms.FlowLayoutPanel(); this.label8 = new System.Windows.Forms.Label(); this.orderGrid3 = new BWP.WinFormControl.UDataGridView(); - this.H_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.H_WeightBill_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.H_SecondarySplit = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.H_Order = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.H_B3WeighBill_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.H_Supplier_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.H_LiveColonyHouse_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.H_PlanNumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.H_WeightNumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.H_HurryNumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewButtonColumn1 = new System.Windows.Forms.DataGridViewButtonColumn(); this.H_View = new System.Windows.Forms.DataGridViewButtonColumn(); - this.tb3CloseBtn = new System.Windows.Forms.Button(); - this.O_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.O_IsHurryButcher = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.O_WeightBill_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.O_SecondarySplit = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.O_Date = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.O_Order = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.O_B3WeighBill_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.O_Supplier_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.O_LiveColonyHouse_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.O_PlanNumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.O_OKBtn = new System.Windows.Forms.DataGridViewButtonColumn(); this.uTabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.panel1.SuspendLayout(); @@ -214,7 +176,7 @@ this.uTabControl1.Location = new System.Drawing.Point(0, 0); this.uTabControl1.Name = "uTabControl1"; this.uTabControl1.SelectedIndex = 0; - this.uTabControl1.Size = new System.Drawing.Size(1384, 831); + this.uTabControl1.Size = new System.Drawing.Size(1362, 741); this.uTabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; this.uTabControl1.TabIndex = 0; // @@ -237,7 +199,7 @@ this.tabPage1.Location = new System.Drawing.Point(4, 54); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); - this.tabPage1.Size = new System.Drawing.Size(1376, 773); + this.tabPage1.Size = new System.Drawing.Size(1354, 683); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "验质分圈"; this.tabPage1.UseVisualStyleBackColor = true; @@ -289,19 +251,9 @@ this.sanctionGrid.AllowUserToDeleteRows = false; this.sanctionGrid.AllowUserToResizeColumns = false; this.sanctionGrid.AllowUserToResizeRows = false; - dataGridViewCellStyle27.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); - this.sanctionGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle27; dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); this.sanctionGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; this.sanctionGrid.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.sanctionGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle28; dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F); @@ -330,9 +282,6 @@ this.sanctionGrid.Name = "sanctionGrid"; this.sanctionGrid.ReadOnly = true; this.sanctionGrid.RowHeadersVisible = false; - dataGridViewCellStyle29.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle29.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); - this.sanctionGrid.RowsDefaultCellStyle = dataGridViewCellStyle29; dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); this.sanctionGrid.RowsDefaultCellStyle = dataGridViewCellStyle3; @@ -544,19 +493,9 @@ this.weightBillGrid.AllowUserToDeleteRows = false; this.weightBillGrid.AllowUserToResizeColumns = false; this.weightBillGrid.AllowUserToResizeRows = false; - dataGridViewCellStyle30.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); - this.weightBillGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle30; dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); this.weightBillGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4; this.weightBillGrid.BackgroundColor = System.Drawing.Color.White; - dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle31.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle31.Font = new System.Drawing.Font("宋体", 12F); - dataGridViewCellStyle31.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle31.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle31.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle31.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.weightBillGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle31; dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 12F); @@ -579,11 +518,6 @@ this.weightBillGrid.Name = "weightBillGrid"; this.weightBillGrid.ReadOnly = true; this.weightBillGrid.RowHeadersVisible = false; - dataGridViewCellStyle32.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle32.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle32.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); - dataGridViewCellStyle32.SelectionForeColor = System.Drawing.Color.Black; - this.weightBillGrid.RowsDefaultCellStyle = dataGridViewCellStyle32; dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle6.ForeColor = System.Drawing.Color.Black; dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); @@ -864,19 +798,9 @@ this.preOrderGrid.AllowUserToDeleteRows = false; this.preOrderGrid.AllowUserToResizeColumns = false; this.preOrderGrid.AllowUserToResizeRows = false; - dataGridViewCellStyle33.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); - this.preOrderGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle33; dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); this.preOrderGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7; this.preOrderGrid.BackgroundColor = System.Drawing.Color.White; - dataGridViewCellStyle34.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle34.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle34.Font = new System.Drawing.Font("宋体", 12F); - dataGridViewCellStyle34.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle34.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle34.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle34.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.preOrderGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle34; dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 12F); @@ -903,11 +827,6 @@ this.preOrderGrid.Name = "preOrderGrid"; this.preOrderGrid.ReadOnly = true; this.preOrderGrid.RowHeadersVisible = false; - dataGridViewCellStyle38.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle38.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle38.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); - dataGridViewCellStyle38.SelectionForeColor = System.Drawing.Color.Black; - this.preOrderGrid.RowsDefaultCellStyle = dataGridViewCellStyle38; dataGridViewCellStyle12.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle12.ForeColor = System.Drawing.Color.Black; dataGridViewCellStyle12.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); @@ -988,9 +907,6 @@ // P_WeighTime // this.P_WeighTime.DataPropertyName = "WeighTime"; - dataGridViewCellStyle35.Format = "MM/dd HH:mm"; - dataGridViewCellStyle35.NullValue = null; - this.P_WeighTime.DefaultCellStyle = dataGridViewCellStyle35; dataGridViewCellStyle9.Format = "MM/dd HH:mm"; dataGridViewCellStyle9.NullValue = null; this.P_WeighTime.DefaultCellStyle = dataGridViewCellStyle9; @@ -1001,9 +917,6 @@ // // P_OKBtn // - dataGridViewCellStyle36.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle36.Padding = new System.Windows.Forms.Padding(7, 10, 7, 10); - this.P_OKBtn.DefaultCellStyle = dataGridViewCellStyle36; dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle10.Padding = new System.Windows.Forms.Padding(7, 10, 7, 10); this.P_OKBtn.DefaultCellStyle = dataGridViewCellStyle10; @@ -1018,9 +931,6 @@ // // P_Hidden // - dataGridViewCellStyle37.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle37.Padding = new System.Windows.Forms.Padding(7, 10, 7, 10); - this.P_Hidden.DefaultCellStyle = dataGridViewCellStyle37; dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle11.Padding = new System.Windows.Forms.Padding(7, 10, 7, 10); this.P_Hidden.DefaultCellStyle = dataGridViewCellStyle11; @@ -1036,19 +946,9 @@ this.orderGrid.AllowUserToDeleteRows = false; this.orderGrid.AllowUserToResizeColumns = false; this.orderGrid.AllowUserToResizeRows = false; - dataGridViewCellStyle39.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); - this.orderGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle39; dataGridViewCellStyle13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); this.orderGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle13; this.orderGrid.BackgroundColor = System.Drawing.Color.White; - dataGridViewCellStyle40.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle40.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle40.Font = new System.Drawing.Font("宋体", 12F); - dataGridViewCellStyle40.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle40.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle40.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle40.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.orderGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle40; dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle14.Font = new System.Drawing.Font("宋体", 12F); @@ -1075,11 +975,6 @@ this.orderGrid.Name = "orderGrid"; this.orderGrid.ReadOnly = true; this.orderGrid.RowHeadersVisible = false; - dataGridViewCellStyle42.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle42.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle42.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); - dataGridViewCellStyle42.SelectionForeColor = System.Drawing.Color.Black; - this.orderGrid.RowsDefaultCellStyle = dataGridViewCellStyle42; dataGridViewCellStyle16.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle16.ForeColor = System.Drawing.Color.Black; dataGridViewCellStyle16.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); @@ -1125,6 +1020,14 @@ this.O_SecondarySplit.ReadOnly = true; this.O_SecondarySplit.Visible = false; // + // O_Date + // + this.O_Date.DataPropertyName = "Date"; + this.O_Date.HeaderText = "Date"; + this.O_Date.Name = "O_Date"; + this.O_Date.ReadOnly = true; + this.O_Date.Visible = false; + // // O_Order // this.O_Order.DataPropertyName = "Order"; @@ -1166,9 +1069,9 @@ // // O_OKBtn // - dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle41.Padding = new System.Windows.Forms.Padding(7, 10, 7, 10); - this.O_OKBtn.DefaultCellStyle = dataGridViewCellStyle41; + dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle15.Padding = new System.Windows.Forms.Padding(7, 10, 7, 10); + this.O_OKBtn.DefaultCellStyle = dataGridViewCellStyle15; this.O_OKBtn.HeaderText = "确定"; this.O_OKBtn.Name = "O_OKBtn"; this.O_OKBtn.ReadOnly = true; @@ -1176,89 +1079,6 @@ this.O_OKBtn.UseColumnTextForButtonValue = true; this.O_OKBtn.Width = 95; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // tab2SyncBtn // this.tab2SyncBtn.Font = new System.Drawing.Font("宋体", 15F); @@ -1299,8 +1119,6 @@ this.tabPage5.Controls.Add(this.tb3CloseBtn); this.tabPage5.Controls.Add(this.vScrollBar4); this.tabPage5.Controls.Add(this.tab3SearchBtn); - this.tabPage5.Controls.Add(this.tab3DateSelect); - this.tabPage5.Controls.Add(this.label7); this.tabPage5.Controls.Add(this.panel4); this.tabPage5.Controls.Add(this.label8); this.tabPage5.Controls.Add(this.orderGrid3); @@ -1333,40 +1151,14 @@ // tab3SearchBtn // this.tab3SearchBtn.Font = new System.Drawing.Font("宋体", 15F); - this.tab3SearchBtn.Location = new System.Drawing.Point(277, 6); this.tab3SearchBtn.Location = new System.Drawing.Point(25, 6); this.tab3SearchBtn.Name = "tab3SearchBtn"; - this.tab3SearchBtn.Size = new System.Drawing.Size(94, 56); this.tab3SearchBtn.Size = new System.Drawing.Size(94, 38); this.tab3SearchBtn.TabIndex = 63; this.tab3SearchBtn.Text = "查询"; this.tab3SearchBtn.UseVisualStyleBackColor = true; this.tab3SearchBtn.Click += new System.EventHandler(this.tab3SearchBtn_Click); // - // tab3DateSelect - // - this.tab3DateSelect.BackColor = System.Drawing.Color.White; - this.tab3DateSelect.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.tab3DateSelect.Date = new System.DateTime(2017, 9, 8, 0, 0, 0, 0); - this.tab3DateSelect.Font = new System.Drawing.Font("宋体", 15F); - this.tab3DateSelect.Location = new System.Drawing.Point(124, 16); - this.tab3DateSelect.Name = "tab3DateSelect"; - this.tab3DateSelect.Size = new System.Drawing.Size(135, 30); - this.tab3DateSelect.TabIndex = 62; - this.tab3DateSelect.Text = "2017/09/08"; - this.tab3DateSelect.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.tab3DateSelect.Type = BWP.WinFormControl.DateTimeType.Date; - // - // label7 - // - this.label7.AutoSize = true; - this.label7.Font = new System.Drawing.Font("宋体", 14F); - this.label7.Location = new System.Drawing.Point(23, 22); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(104, 19); - this.label7.TabIndex = 61; - this.label7.Text = "宰杀日期:"; - // // panel4 // this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -1393,7 +1185,6 @@ this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(89, 20); this.label8.TabIndex = 59; - this.label8.Text = "排宰明细"; this.label8.Text = "过磅记录"; // // orderGrid3 @@ -1402,19 +1193,9 @@ this.orderGrid3.AllowUserToDeleteRows = false; this.orderGrid3.AllowUserToResizeColumns = false; this.orderGrid3.AllowUserToResizeRows = false; - dataGridViewCellStyle22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); - this.orderGrid3.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle22; dataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); this.orderGrid3.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle17; this.orderGrid3.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.orderGrid3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle23; dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle18.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle18.Font = new System.Drawing.Font("宋体", 12F); @@ -1425,14 +1206,10 @@ this.orderGrid3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle18; this.orderGrid3.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.orderGrid3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.H_ID, this.H_WeightBill_ID, - this.H_SecondarySplit, - this.H_Order, this.H_B3WeighBill_ID, this.H_Supplier_Name, this.H_LiveColonyHouse_Name, - this.H_PlanNumber, this.H_WeightNumber, this.H_HurryNumber, this.dataGridViewButtonColumn1, @@ -1442,11 +1219,6 @@ this.orderGrid3.Name = "orderGrid3"; this.orderGrid3.ReadOnly = true; this.orderGrid3.RowHeadersVisible = false; - dataGridViewCellStyle26.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle26.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle26.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); - dataGridViewCellStyle26.SelectionForeColor = System.Drawing.Color.Black; - this.orderGrid3.RowsDefaultCellStyle = dataGridViewCellStyle26; 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))))); @@ -1460,14 +1232,6 @@ this.orderGrid3.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.orderGrid3_CellClick); this.orderGrid3.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.orderGrid3_CellContentClick); // - // 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_WeightBill_ID // this.H_WeightBill_ID.DataPropertyName = "WeightBill_ID"; @@ -1476,29 +1240,12 @@ this.H_WeightBill_ID.ReadOnly = true; this.H_WeightBill_ID.Visible = false; // - // H_SecondarySplit - // - this.H_SecondarySplit.DataPropertyName = "SecondarySplit"; - this.H_SecondarySplit.HeaderText = "SecondarySplit"; - this.H_SecondarySplit.Name = "H_SecondarySplit"; - this.H_SecondarySplit.ReadOnly = true; - this.H_SecondarySplit.Visible = false; - // - // 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 = 70; - // // H_B3WeighBill_ID // this.H_B3WeighBill_ID.DataPropertyName = "B3WeighBill_ID"; this.H_B3WeighBill_ID.HeaderText = "磅单号"; this.H_B3WeighBill_ID.Name = "H_B3WeighBill_ID"; this.H_B3WeighBill_ID.ReadOnly = true; - this.H_B3WeighBill_ID.Width = 80; this.H_B3WeighBill_ID.Width = 90; // // H_Supplier_Name @@ -1517,14 +1264,8 @@ this.H_LiveColonyHouse_Name.ReadOnly = true; this.H_LiveColonyHouse_Name.Width = 130; // - // H_PlanNumber // H_WeightNumber // - this.H_PlanNumber.DataPropertyName = "PlanNumber"; - this.H_PlanNumber.HeaderText = "头数"; - this.H_PlanNumber.Name = "H_PlanNumber"; - this.H_PlanNumber.ReadOnly = true; - this.H_PlanNumber.Width = 80; this.H_WeightNumber.DataPropertyName = "WeightNumber"; this.H_WeightNumber.HeaderText = "头数"; this.H_WeightNumber.Name = "H_WeightNumber"; @@ -1537,14 +1278,10 @@ this.H_HurryNumber.HeaderText = "急宰"; this.H_HurryNumber.Name = "H_HurryNumber"; this.H_HurryNumber.ReadOnly = true; - this.H_HurryNumber.Width = 80; this.H_HurryNumber.Width = 90; // // dataGridViewButtonColumn1 // - dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle24.Padding = new System.Windows.Forms.Padding(7, 10, 7, 10); - this.dataGridViewButtonColumn1.DefaultCellStyle = dataGridViewCellStyle24; dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle19.Padding = new System.Windows.Forms.Padding(7, 10, 7, 10); this.dataGridViewButtonColumn1.DefaultCellStyle = dataGridViewCellStyle19; @@ -1557,9 +1294,6 @@ // // H_View // - dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle25.Padding = new System.Windows.Forms.Padding(7, 10, 7, 10); - this.H_View.DefaultCellStyle = dataGridViewCellStyle25; dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle20.Padding = new System.Windows.Forms.Padding(7, 10, 7, 10); this.H_View.DefaultCellStyle = dataGridViewCellStyle20; @@ -1570,113 +1304,11 @@ this.H_View.UseColumnTextForButtonValue = true; this.H_View.Width = 110; // - // tb3CloseBtn - // - this.tb3CloseBtn.Font = new System.Drawing.Font("宋体", 15F); - this.tb3CloseBtn.Location = new System.Drawing.Point(1254, 9); - this.tb3CloseBtn.Name = "tb3CloseBtn"; - this.tb3CloseBtn.Size = new System.Drawing.Size(94, 56); - this.tb3CloseBtn.TabIndex = 65; - this.tb3CloseBtn.Text = "关闭"; - this.tb3CloseBtn.UseVisualStyleBackColor = true; - this.tb3CloseBtn.Click += new System.EventHandler(this.closeBtn_Click); - // - // O_ID - // - this.O_ID.DataPropertyName = "ID"; - this.O_ID.HeaderText = "ID"; - this.O_ID.Name = "O_ID"; - this.O_ID.ReadOnly = true; - this.O_ID.Visible = false; - // - // O_IsHurryButcher - // - this.O_IsHurryButcher.DataPropertyName = "IsHurryButcher"; - this.O_IsHurryButcher.HeaderText = "IsHurryButcher"; - this.O_IsHurryButcher.Name = "O_IsHurryButcher"; - this.O_IsHurryButcher.ReadOnly = true; - this.O_IsHurryButcher.Visible = false; - // - // O_WeightBill_ID - // - this.O_WeightBill_ID.DataPropertyName = "WeightBill_ID"; - this.O_WeightBill_ID.HeaderText = "WeightBill_ID"; - this.O_WeightBill_ID.Name = "O_WeightBill_ID"; - this.O_WeightBill_ID.ReadOnly = true; - this.O_WeightBill_ID.Visible = false; - // - // O_SecondarySplit - // - this.O_SecondarySplit.DataPropertyName = "SecondarySplit"; - this.O_SecondarySplit.HeaderText = "SecondarySplit"; - this.O_SecondarySplit.Name = "O_SecondarySplit"; - this.O_SecondarySplit.ReadOnly = true; - this.O_SecondarySplit.Visible = false; - // - // O_Date - // - this.O_Date.DataPropertyName = "Date"; - this.O_Date.HeaderText = "Date"; - this.O_Date.Name = "O_Date"; - this.O_Date.ReadOnly = true; - this.O_Date.Visible = false; - // - // O_Order - // - this.O_Order.DataPropertyName = "Order"; - this.O_Order.HeaderText = "序号"; - this.O_Order.Name = "O_Order"; - this.O_Order.ReadOnly = true; - this.O_Order.Width = 70; - // - // O_B3WeighBill_ID - // - this.O_B3WeighBill_ID.DataPropertyName = "B3WeighBill_ID"; - this.O_B3WeighBill_ID.HeaderText = "磅单号"; - this.O_B3WeighBill_ID.Name = "O_B3WeighBill_ID"; - this.O_B3WeighBill_ID.ReadOnly = true; - this.O_B3WeighBill_ID.Width = 80; - // - // O_Supplier_Name - // - this.O_Supplier_Name.DataPropertyName = "Supplier_Name"; - this.O_Supplier_Name.HeaderText = "供应商"; - this.O_Supplier_Name.Name = "O_Supplier_Name"; - this.O_Supplier_Name.ReadOnly = true; - this.O_Supplier_Name.Width = 95; - // - // O_LiveColonyHouse_Name - // - this.O_LiveColonyHouse_Name.DataPropertyName = "LiveColonyHouse_Name"; - this.O_LiveColonyHouse_Name.HeaderText = "圈舍"; - this.O_LiveColonyHouse_Name.Name = "O_LiveColonyHouse_Name"; - this.O_LiveColonyHouse_Name.ReadOnly = true; - // - // O_PlanNumber - // - this.O_PlanNumber.DataPropertyName = "PlanNumber"; - this.O_PlanNumber.HeaderText = "头数"; - this.O_PlanNumber.Name = "O_PlanNumber"; - this.O_PlanNumber.ReadOnly = true; - this.O_PlanNumber.Width = 70; - // - // O_OKBtn - // - dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle15.Padding = new System.Windows.Forms.Padding(7, 10, 7, 10); - this.O_OKBtn.DefaultCellStyle = dataGridViewCellStyle15; - this.O_OKBtn.HeaderText = "确定"; - this.O_OKBtn.Name = "O_OKBtn"; - this.O_OKBtn.ReadOnly = true; - this.O_OKBtn.Text = "确定"; - this.O_OKBtn.UseColumnTextForButtonValue = true; - this.O_OKBtn.Width = 95; - // // QualityOrderForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1384, 831); + this.ClientSize = new System.Drawing.Size(1362, 741); this.Controls.Add(this.uTabControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MaximizeBox = false; @@ -1783,21 +1415,15 @@ private System.Windows.Forms.TabPage tabPage5; private System.Windows.Forms.VScrollBar vScrollBar4; private System.Windows.Forms.Button tab3SearchBtn; - private BWP.WinFormControl.UDatePicker tab3DateSelect; - private System.Windows.Forms.Label label7; private System.Windows.Forms.Panel panel4; private System.Windows.Forms.FlowLayoutPanel tab3KeyPanel; private System.Windows.Forms.Label label8; private BWP.WinFormControl.UDataGridView orderGrid3; - private System.Windows.Forms.DataGridViewTextBoxColumn H_ID; private System.Windows.Forms.Button tb3CloseBtn; private System.Windows.Forms.DataGridViewTextBoxColumn H_WeightBill_ID; - private System.Windows.Forms.DataGridViewTextBoxColumn H_SecondarySplit; - private System.Windows.Forms.DataGridViewTextBoxColumn H_Order; private System.Windows.Forms.DataGridViewTextBoxColumn H_B3WeighBill_ID; private System.Windows.Forms.DataGridViewTextBoxColumn H_Supplier_Name; private System.Windows.Forms.DataGridViewTextBoxColumn H_LiveColonyHouse_Name; - private System.Windows.Forms.DataGridViewTextBoxColumn H_PlanNumber; private System.Windows.Forms.DataGridViewTextBoxColumn H_WeightNumber; private System.Windows.Forms.DataGridViewTextBoxColumn H_HurryNumber; private System.Windows.Forms.DataGridViewButtonColumn dataGridViewButtonColumn1; @@ -1813,7 +1439,6 @@ private System.Windows.Forms.DataGridViewTextBoxColumn O_LiveColonyHouse_Name; private System.Windows.Forms.DataGridViewTextBoxColumn O_PlanNumber; private System.Windows.Forms.DataGridViewButtonColumn O_OKBtn; - private System.Windows.Forms.Button tb3CloseBtn; diff --git a/QualityAndOrder/QualityOrderForm.resx b/QualityAndOrder/QualityOrderForm.resx index c6bd6f7..9cdee26 100644 --- a/QualityAndOrder/QualityOrderForm.resx +++ b/QualityAndOrder/QualityOrderForm.resx @@ -117,60 +117,6 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - - - - - - - - - - - - - - - - - - - - True @@ -318,13 +264,4 @@ True - - - - - - - - - \ No newline at end of file diff --git a/WeighAndGrading/GradeFrom.Designer.cs b/WeighAndGrading/GradeFrom.Designer.cs index 6e0310a..300b598 100644 --- a/WeighAndGrading/GradeFrom.Designer.cs +++ b/WeighAndGrading/GradeFrom.Designer.cs @@ -33,13 +33,10 @@ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); @@ -76,29 +73,11 @@ this.vScrollBar2 = new System.Windows.Forms.VScrollBar(); this.label12 = new System.Windows.Forms.Label(); this.historyGrid = new BWP.WinFormControl.UDataGridView(); - this.H_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.H_Livestock_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.H_ReadWeight = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.H_Index = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.H_Technics = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.H_Livestock_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.H_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.H_Time = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.enableWeight = new System.Windows.Forms.CheckBox(); this.isPrintCheckBox = new System.Windows.Forms.CheckBox(); this.printBtn = new System.Windows.Forms.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.lblChengZhong = new System.Windows.Forms.Label(); - this.label10 = new System.Windows.Forms.Label(); - this.dataGridView = new BWP.WinFormControl.UDataGridView(); - this.D_OrderDetail_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.D_Technics = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.D_Finish = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.D_Order = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.D_Technics_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.D_Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.D_Already = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.D_FinishBtn = new System.Windows.Forms.DataGridViewButtonColumn(); this.butcherTimeInput = new BWP.WinFormControl.UDatePicker(); this.closeBtn = new System.Windows.Forms.Button(); this.configBtn = new System.Windows.Forms.Button(); @@ -107,7 +86,6 @@ this.cancelBtn = new System.Windows.Forms.Button(); this.discontBtn = new System.Windows.Forms.Button(); this.discontPanel = new System.Windows.Forms.FlowLayoutPanel(); - this.vScrollBar1 = new System.Windows.Forms.VScrollBar(); this.statePic = new System.Windows.Forms.PictureBox(); this.H_SID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.H_Livestock_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -124,7 +102,6 @@ this.groupBox3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.historyGrid)).BeginInit(); this.panel1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); this.modifyPanel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statePic)).BeginInit(); this.SuspendLayout(); @@ -154,7 +131,6 @@ // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("宋体", 15F); - this.label2.Location = new System.Drawing.Point(511, 131); this.label2.Location = new System.Drawing.Point(443, 136); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(109, 20); @@ -165,7 +141,6 @@ // this.orderLabel.AutoSize = true; this.orderLabel.Font = new System.Drawing.Font("宋体", 15F); - this.orderLabel.Location = new System.Drawing.Point(616, 131); this.orderLabel.Location = new System.Drawing.Point(548, 136); this.orderLabel.Name = "orderLabel"; this.orderLabel.Size = new System.Drawing.Size(19, 20); @@ -176,7 +151,6 @@ // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("宋体", 15F); - this.label4.Location = new System.Drawing.Point(675, 131); this.label4.Location = new System.Drawing.Point(599, 136); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(109, 20); @@ -187,7 +161,6 @@ // this.alreadyLabel.AutoSize = true; this.alreadyLabel.Font = new System.Drawing.Font("宋体", 15F); - this.alreadyLabel.Location = new System.Drawing.Point(776, 131); this.alreadyLabel.Location = new System.Drawing.Point(700, 136); this.alreadyLabel.Name = "alreadyLabel"; this.alreadyLabel.Size = new System.Drawing.Size(19, 20); @@ -198,12 +171,10 @@ // this.groupBox1.Controls.Add(this.tangScrollBar); this.groupBox1.Controls.Add(this.ttPanel); - this.groupBox1.Location = new System.Drawing.Point(505, 175); this.groupBox1.Controls.Add(this.label10); this.groupBox1.Controls.Add(this.tangGridView); this.groupBox1.Location = new System.Drawing.Point(16, 175); this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(294, 330); this.groupBox1.Size = new System.Drawing.Size(783, 330); this.groupBox1.TabIndex = 9; this.groupBox1.TabStop = false; @@ -218,10 +189,8 @@ // // ttPanel // - this.ttPanel.Location = new System.Drawing.Point(12, 36); this.ttPanel.Location = new System.Drawing.Point(431, 35); this.ttPanel.Name = "ttPanel"; - this.ttPanel.Size = new System.Drawing.Size(270, 276); this.ttPanel.Size = new System.Drawing.Size(337, 276); this.ttPanel.TabIndex = 0; // @@ -334,10 +303,8 @@ this.groupBox2.Controls.Add(this.maoGridView); this.groupBox2.Controls.Add(this.label11); this.groupBox2.Controls.Add(this.mbPanel); - this.groupBox2.Location = new System.Drawing.Point(505, 525); this.groupBox2.Location = new System.Drawing.Point(16, 525); this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(294, 330); this.groupBox2.Size = new System.Drawing.Size(783, 330); this.groupBox2.TabIndex = 10; this.groupBox2.TabStop = false; @@ -455,10 +422,8 @@ // // mbPanel // - this.mbPanel.Location = new System.Drawing.Point(12, 37); this.mbPanel.Location = new System.Drawing.Point(431, 35); this.mbPanel.Name = "mbPanel"; - this.mbPanel.Size = new System.Drawing.Size(270, 276); this.mbPanel.Size = new System.Drawing.Size(337, 278); this.mbPanel.TabIndex = 1; // @@ -497,19 +462,9 @@ this.historyGrid.AllowUserToDeleteRows = false; this.historyGrid.AllowUserToResizeColumns = false; this.historyGrid.AllowUserToResizeRows = false; - dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); - this.historyGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; 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; - 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; dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle10.Font = new System.Drawing.Font("宋体", 12F); @@ -520,7 +475,6 @@ this.historyGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10; this.historyGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.historyGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.H_ID, this.H_SID, this.H_Livestock_ID, this.H_ReadWeight, @@ -534,9 +488,6 @@ this.historyGrid.Name = "historyGrid"; this.historyGrid.ReadOnly = true; this.historyGrid.RowHeadersVisible = false; - dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); - this.historyGrid.RowsDefaultCellStyle = dataGridViewCellStyle5; 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; @@ -547,83 +498,13 @@ this.historyGrid.TabIndex = 0; this.historyGrid.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.historyGrid_CellClick); // - // 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_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"; - 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 = 70; - // - // H_Time - // - this.H_Time.DataPropertyName = "Time"; - dataGridViewCellStyle4.Format = "MM/dd HH:mm"; - dataGridViewCellStyle4.NullValue = null; - this.H_Time.DefaultCellStyle = dataGridViewCellStyle4; - this.H_Time.HeaderText = "时间"; - this.H_Time.Name = "H_Time"; - this.H_Time.ReadOnly = true; - // // enableWeight // this.enableWeight.AutoCheck = false; this.enableWeight.AutoSize = true; - this.enableWeight.Font = new System.Drawing.Font("宋体", 15F); - this.enableWeight.Location = new System.Drawing.Point(10, 91); this.enableWeight.Font = new System.Drawing.Font("宋体", 18F); this.enableWeight.Location = new System.Drawing.Point(12, 91); this.enableWeight.Name = "enableWeight"; - this.enableWeight.Size = new System.Drawing.Size(108, 24); this.enableWeight.Size = new System.Drawing.Size(125, 28); this.enableWeight.TabIndex = 31; this.enableWeight.Text = "启用称重"; @@ -673,126 +554,6 @@ this.lblChengZhong.TabIndex = 0; this.lblChengZhong.Text = "0.00"; // - // label10 - // - this.label10.AutoSize = true; - this.label10.Font = new System.Drawing.Font("宋体", 15F); - this.label10.Location = new System.Drawing.Point(511, 171); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(49, 20); - this.label10.TabIndex = 32; - this.label10.Text = "烫褪"; - // - // dataGridView - // - this.dataGridView.AllowUserToAddRows = false; - this.dataGridView.AllowUserToDeleteRows = false; - this.dataGridView.AllowUserToResizeColumns = false; - this.dataGridView.AllowUserToResizeRows = false; - dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); - this.dataGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6; - this.dataGridView.BackgroundColor = System.Drawing.Color.White; - dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle7.Font = new System.Drawing.Font("宋体", 12F); - dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7; - this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.D_OrderDetail_ID, - this.D_Technics, - this.D_Finish, - this.D_Order, - this.D_Technics_Name, - this.D_Number, - this.D_Already, - this.D_FinishBtn}); - this.dataGridView.Location = new System.Drawing.Point(12, 175); - this.dataGridView.MultiSelect = false; - this.dataGridView.Name = "dataGridView"; - this.dataGridView.ReadOnly = true; - this.dataGridView.RowHeadersVisible = false; - dataGridViewCellStyle9.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle9.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle9.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); - dataGridViewCellStyle9.SelectionForeColor = System.Drawing.Color.Black; - this.dataGridView.RowsDefaultCellStyle = dataGridViewCellStyle9; - this.dataGridView.RowTemplate.Height = 60; - this.dataGridView.ScrollBars = System.Windows.Forms.ScrollBars.None; - this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dataGridView.Size = new System.Drawing.Size(443, 566); - this.dataGridView.TabIndex = 4; - this.dataGridView.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_CellClick); - // - // D_OrderDetail_ID - // - this.D_OrderDetail_ID.DataPropertyName = "OrderDetail_ID"; - this.D_OrderDetail_ID.HeaderText = "OrderDetail_ID"; - this.D_OrderDetail_ID.Name = "D_OrderDetail_ID"; - this.D_OrderDetail_ID.ReadOnly = true; - this.D_OrderDetail_ID.Visible = false; - // - // D_Technics - // - this.D_Technics.DataPropertyName = "Technics"; - this.D_Technics.HeaderText = "Technics"; - this.D_Technics.Name = "D_Technics"; - this.D_Technics.ReadOnly = true; - this.D_Technics.Visible = false; - // - // D_Finish - // - this.D_Finish.DataPropertyName = "Finish"; - this.D_Finish.HeaderText = "Finish"; - this.D_Finish.Name = "D_Finish"; - this.D_Finish.ReadOnly = true; - this.D_Finish.Visible = false; - // - // D_Order - // - this.D_Order.DataPropertyName = "Order"; - this.D_Order.HeaderText = "屠宰顺序"; - this.D_Order.Name = "D_Order"; - this.D_Order.ReadOnly = true; - // - // D_Technics_Name - // - this.D_Technics_Name.DataPropertyName = "Technics_Name"; - this.D_Technics_Name.HeaderText = "工艺"; - this.D_Technics_Name.Name = "D_Technics_Name"; - this.D_Technics_Name.ReadOnly = true; - this.D_Technics_Name.Width = 80; - // - // D_Number - // - this.D_Number.DataPropertyName = "Number"; - this.D_Number.HeaderText = "头数"; - this.D_Number.Name = "D_Number"; - this.D_Number.ReadOnly = true; - this.D_Number.Width = 80; - // - // D_Already - // - this.D_Already.DataPropertyName = "Already"; - this.D_Already.HeaderText = "已宰"; - this.D_Already.Name = "D_Already"; - this.D_Already.ReadOnly = true; - this.D_Already.Width = 80; - // - // D_FinishBtn - // - dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle8.Padding = new System.Windows.Forms.Padding(5, 10, 5, 10); - this.D_FinishBtn.DefaultCellStyle = dataGridViewCellStyle8; - this.D_FinishBtn.HeaderText = "完毕"; - this.D_FinishBtn.Name = "D_FinishBtn"; - this.D_FinishBtn.ReadOnly = true; - this.D_FinishBtn.Text = "完毕"; - this.D_FinishBtn.UseColumnTextForButtonValue = true; - // // butcherTimeInput // this.butcherTimeInput.BackColor = System.Drawing.Color.White; @@ -844,7 +605,6 @@ // this.modifyPanel.Controls.Add(this.cancelBtn); this.modifyPanel.Controls.Add(this.stateLabel); - this.modifyPanel.Location = new System.Drawing.Point(813, 107); this.modifyPanel.Location = new System.Drawing.Point(826, 107); this.modifyPanel.Name = "modifyPanel"; this.modifyPanel.Size = new System.Drawing.Size(438, 56); @@ -881,13 +641,8 @@ this.discontPanel.Size = new System.Drawing.Size(71, 656); this.discontPanel.TabIndex = 33; // - // vScrollBar1 // statePic // - this.vScrollBar1.Location = new System.Drawing.Point(455, 175); - this.vScrollBar1.Name = "vScrollBar1"; - this.vScrollBar1.Size = new System.Drawing.Size(40, 566); - this.vScrollBar1.TabIndex = 51; this.statePic.ErrorImage = null; this.statePic.InitialImage = null; this.statePic.Location = new System.Drawing.Point(219, 89); @@ -968,14 +723,12 @@ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1379, 865); - this.Controls.Add(this.vScrollBar1); this.Controls.Add(this.statePic); this.Controls.Add(this.discontPanel); this.Controls.Add(this.discontBtn); this.Controls.Add(this.modifyPanel); this.Controls.Add(this.configBtn); this.Controls.Add(this.closeBtn); - this.Controls.Add(this.label10); this.Controls.Add(this.enableWeight); this.Controls.Add(this.groupBox3); this.Controls.Add(this.isPrintCheckBox); @@ -987,7 +740,6 @@ this.Controls.Add(this.label4); this.Controls.Add(this.orderLabel); this.Controls.Add(this.label2); - this.Controls.Add(this.dataGridView); this.Controls.Add(this.syncBtn); this.Controls.Add(this.butcherTimeInput); this.Controls.Add(this.label1); @@ -1008,7 +760,6 @@ ((System.ComponentModel.ISupportInitialize)(this.historyGrid)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit(); this.modifyPanel.ResumeLayout(false); this.modifyPanel.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.statePic)).EndInit(); @@ -1022,7 +773,6 @@ private System.Windows.Forms.Label label1; private BWP.WinFormControl.UDatePicker butcherTimeInput; private System.Windows.Forms.Button syncBtn; - private BWP.WinFormControl.UDataGridView dataGridView; private BWP.WinFormControl.UDataGridView tangGridView; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label orderLabel; @@ -1050,7 +800,6 @@ private System.Windows.Forms.Button discontBtn; private System.Windows.Forms.FlowLayoutPanel discontPanel; private System.Windows.Forms.VScrollBar vScrollBar2; - private System.Windows.Forms.DataGridViewTextBoxColumn H_ID; private System.Windows.Forms.VScrollBar tangScrollBar; private System.Windows.Forms.VScrollBar maoScrollBar; private BWP.WinFormControl.UDataGridView maoGridView; @@ -1075,14 +824,5 @@ 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.VScrollBar vScrollBar1; - private System.Windows.Forms.DataGridViewTextBoxColumn D_OrderDetail_ID; - private System.Windows.Forms.DataGridViewTextBoxColumn D_Technics; - private System.Windows.Forms.DataGridViewTextBoxColumn D_Finish; - private System.Windows.Forms.DataGridViewTextBoxColumn D_Order; - private System.Windows.Forms.DataGridViewTextBoxColumn D_Technics_Name; - private System.Windows.Forms.DataGridViewTextBoxColumn D_Number; - private System.Windows.Forms.DataGridViewTextBoxColumn D_Already; - private System.Windows.Forms.DataGridViewButtonColumn D_FinishBtn; } } \ No newline at end of file