|
|
|
@ -28,20 +28,27 @@ |
|
|
|
/// </summary>
|
|
|
|
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 dataGridViewCellStyle6 = 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 dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WeightCountForm)); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = 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 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 dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = 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(); |
|
|
|
this.historyDataGrid = new WinFormControl.UDataGridView(); |
|
|
|
this.H_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_RowIndex = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Goods_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_GrossWeight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Discont = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.uLabel4 = new WinFormControl.ULabel(); |
|
|
|
@ -63,9 +70,6 @@ |
|
|
|
this.uLabel1 = new WinFormControl.ULabel(); |
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.needSubmitGrid = new WinFormControl.UDataGridView(); |
|
|
|
this.numFlowPanel = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.submitBtn = new WinFormControl.UButton(); |
|
|
|
this.uLabel3 = new WinFormControl.ULabel(); |
|
|
|
this.U_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.U_RowIndex = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.U_Goods_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
@ -73,13 +77,9 @@ |
|
|
|
this.U_GrossWeight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.U_Discont = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.U_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_RowIndex = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Goods_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_GrossWeight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Discont = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.numFlowPanel = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.submitBtn = new WinFormControl.UButton(); |
|
|
|
this.uLabel3 = new WinFormControl.ULabel(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.historyDataGrid)).BeginInit(); |
|
|
|
this.groupBox2.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); |
|
|
|
@ -96,15 +96,15 @@ |
|
|
|
this.historyDataGrid.AllowUserToDeleteRows = false; |
|
|
|
this.historyDataGrid.AllowUserToResizeColumns = false; |
|
|
|
this.historyDataGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.historyDataGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
|
|
dataGridViewCellStyle13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.historyDataGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle13; |
|
|
|
this.historyDataGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
this.historyDataGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; |
|
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.historyDataGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
|
|
dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle14.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle14.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.historyDataGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle14; |
|
|
|
this.historyDataGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.historyDataGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.H_ID, |
|
|
|
@ -120,23 +120,80 @@ |
|
|
|
this.historyDataGrid.Name = "historyDataGrid"; |
|
|
|
this.historyDataGrid.ReadOnly = true; |
|
|
|
this.historyDataGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.historyDataGrid.RowsDefaultCellStyle = dataGridViewCellStyle6; |
|
|
|
dataGridViewCellStyle18.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle18.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.historyDataGrid.RowsDefaultCellStyle = dataGridViewCellStyle18; |
|
|
|
this.historyDataGrid.RowTemplate.Height = 23; |
|
|
|
this.historyDataGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.historyDataGrid.Size = new System.Drawing.Size(683, 158); |
|
|
|
this.historyDataGrid.TabIndex = 2; |
|
|
|
//
|
|
|
|
// 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_RowIndex
|
|
|
|
//
|
|
|
|
this.H_RowIndex.DataPropertyName = "RowIndex"; |
|
|
|
this.H_RowIndex.HeaderText = "序号"; |
|
|
|
this.H_RowIndex.Name = "H_RowIndex"; |
|
|
|
this.H_RowIndex.ReadOnly = true; |
|
|
|
//
|
|
|
|
// H_Goods_Name
|
|
|
|
//
|
|
|
|
this.H_Goods_Name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.H_Goods_Name.DataPropertyName = "Goods_Name"; |
|
|
|
this.H_Goods_Name.HeaderText = "产品名称"; |
|
|
|
this.H_Goods_Name.Name = "H_Goods_Name"; |
|
|
|
this.H_Goods_Name.ReadOnly = true; |
|
|
|
//
|
|
|
|
// H_Number
|
|
|
|
//
|
|
|
|
this.H_Number.DataPropertyName = "Number"; |
|
|
|
this.H_Number.HeaderText = "数量"; |
|
|
|
this.H_Number.Name = "H_Number"; |
|
|
|
this.H_Number.ReadOnly = true; |
|
|
|
//
|
|
|
|
// H_GrossWeight
|
|
|
|
//
|
|
|
|
this.H_GrossWeight.DataPropertyName = "GrossWeight"; |
|
|
|
dataGridViewCellStyle15.Format = "#0.######"; |
|
|
|
this.H_GrossWeight.DefaultCellStyle = dataGridViewCellStyle15; |
|
|
|
this.H_GrossWeight.HeaderText = "毛重"; |
|
|
|
this.H_GrossWeight.Name = "H_GrossWeight"; |
|
|
|
this.H_GrossWeight.ReadOnly = true; |
|
|
|
//
|
|
|
|
// H_Discont
|
|
|
|
//
|
|
|
|
this.H_Discont.DataPropertyName = "Discont"; |
|
|
|
dataGridViewCellStyle16.Format = "#0.######"; |
|
|
|
this.H_Discont.DefaultCellStyle = dataGridViewCellStyle16; |
|
|
|
this.H_Discont.HeaderText = "扣重"; |
|
|
|
this.H_Discont.Name = "H_Discont"; |
|
|
|
this.H_Discont.ReadOnly = true; |
|
|
|
//
|
|
|
|
// H_Weight
|
|
|
|
//
|
|
|
|
this.H_Weight.DataPropertyName = "Weight"; |
|
|
|
dataGridViewCellStyle17.Format = "#0.######"; |
|
|
|
this.H_Weight.DefaultCellStyle = dataGridViewCellStyle17; |
|
|
|
this.H_Weight.HeaderText = "重量"; |
|
|
|
this.H_Weight.Name = "H_Weight"; |
|
|
|
this.H_Weight.ReadOnly = true; |
|
|
|
//
|
|
|
|
// flowLayoutPanel1
|
|
|
|
//
|
|
|
|
this.flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.flowLayoutPanel1.AutoScroll = true; |
|
|
|
this.flowLayoutPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.flowLayoutPanel1.Location = new System.Drawing.Point(710, -1); |
|
|
|
this.flowLayoutPanel1.Location = new System.Drawing.Point(710, 70); |
|
|
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1"; |
|
|
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(597, 521); |
|
|
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(588, 436); |
|
|
|
this.flowLayoutPanel1.TabIndex = 4; |
|
|
|
//
|
|
|
|
// groupBox2
|
|
|
|
@ -200,10 +257,6 @@ |
|
|
|
// splitContainer1.Panel1
|
|
|
|
//
|
|
|
|
this.splitContainer1.Panel1.BackColor = System.Drawing.Color.Transparent; |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.discontBtn); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.typeBtn); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.uLabel7); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.uLabel6); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.storeSelect); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.uLabel5); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.numSetBtn); |
|
|
|
@ -218,8 +271,12 @@ |
|
|
|
//
|
|
|
|
// splitContainer1.Panel2
|
|
|
|
//
|
|
|
|
this.splitContainer1.Panel2.Controls.Add(this.discontBtn); |
|
|
|
this.splitContainer1.Panel2.Controls.Add(this.typeBtn); |
|
|
|
this.splitContainer1.Panel2.Controls.Add(this.flowLayoutPanel1); |
|
|
|
this.splitContainer1.Panel2.Controls.Add(this.uLabel7); |
|
|
|
this.splitContainer1.Panel2.Controls.Add(this.groupBox2); |
|
|
|
this.splitContainer1.Panel2.Controls.Add(this.uLabel6); |
|
|
|
this.splitContainer1.Panel2.Controls.Add(this.groupBox1); |
|
|
|
this.splitContainer1.Size = new System.Drawing.Size(1305, 611); |
|
|
|
this.splitContainer1.SplitterDistance = 86; |
|
|
|
@ -236,7 +293,7 @@ |
|
|
|
this.discontBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.discontBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.discontBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.discontBtn.Location = new System.Drawing.Point(540, 46); |
|
|
|
this.discontBtn.Location = new System.Drawing.Point(783, 23); |
|
|
|
this.discontBtn.Name = "discontBtn"; |
|
|
|
this.discontBtn.PlaySound = false; |
|
|
|
this.discontBtn.SelfControlEnable = false; |
|
|
|
@ -259,7 +316,7 @@ |
|
|
|
this.typeBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.typeBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.typeBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.typeBtn.Location = new System.Drawing.Point(758, 46); |
|
|
|
this.typeBtn.Location = new System.Drawing.Point(1001, 23); |
|
|
|
this.typeBtn.Name = "typeBtn"; |
|
|
|
this.typeBtn.PlaySound = false; |
|
|
|
this.typeBtn.SelfControlEnable = false; |
|
|
|
@ -276,7 +333,7 @@ |
|
|
|
this.uLabel7.AutoSize = true; |
|
|
|
this.uLabel7.BackColor = System.Drawing.Color.Transparent; |
|
|
|
this.uLabel7.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.uLabel7.Location = new System.Drawing.Point(475, 53); |
|
|
|
this.uLabel7.Location = new System.Drawing.Point(718, 30); |
|
|
|
this.uLabel7.Name = "uLabel7"; |
|
|
|
this.uLabel7.Size = new System.Drawing.Size(69, 20); |
|
|
|
this.uLabel7.TabIndex = 24; |
|
|
|
@ -288,7 +345,7 @@ |
|
|
|
this.uLabel6.AutoSize = true; |
|
|
|
this.uLabel6.BackColor = System.Drawing.Color.Transparent; |
|
|
|
this.uLabel6.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.uLabel6.Location = new System.Drawing.Point(657, 53); |
|
|
|
this.uLabel6.Location = new System.Drawing.Point(900, 30); |
|
|
|
this.uLabel6.Name = "uLabel6"; |
|
|
|
this.uLabel6.Size = new System.Drawing.Size(109, 20); |
|
|
|
this.uLabel6.TabIndex = 24; |
|
|
|
@ -434,17 +491,17 @@ |
|
|
|
this.needSubmitGrid.AllowUserToDeleteRows = false; |
|
|
|
this.needSubmitGrid.AllowUserToResizeColumns = false; |
|
|
|
this.needSubmitGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.needSubmitGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7; |
|
|
|
dataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.needSubmitGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle19; |
|
|
|
this.needSubmitGrid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.needSubmitGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
this.needSubmitGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; |
|
|
|
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle8.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.needSubmitGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8; |
|
|
|
dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle20.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle20.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.needSubmitGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle20; |
|
|
|
this.needSubmitGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.needSubmitGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.U_ID, |
|
|
|
@ -459,56 +516,14 @@ |
|
|
|
this.needSubmitGrid.Name = "needSubmitGrid"; |
|
|
|
this.needSubmitGrid.ReadOnly = true; |
|
|
|
this.needSubmitGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle12.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle12.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.needSubmitGrid.RowsDefaultCellStyle = dataGridViewCellStyle12; |
|
|
|
dataGridViewCellStyle24.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle24.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.needSubmitGrid.RowsDefaultCellStyle = dataGridViewCellStyle24; |
|
|
|
this.needSubmitGrid.RowTemplate.Height = 30; |
|
|
|
this.needSubmitGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.needSubmitGrid.Size = new System.Drawing.Size(683, 240); |
|
|
|
this.needSubmitGrid.TabIndex = 16; |
|
|
|
//
|
|
|
|
// numFlowPanel
|
|
|
|
//
|
|
|
|
this.numFlowPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.numFlowPanel.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; |
|
|
|
this.numFlowPanel.Location = new System.Drawing.Point(143, 13); |
|
|
|
this.numFlowPanel.Name = "numFlowPanel"; |
|
|
|
this.numFlowPanel.Size = new System.Drawing.Size(545, 41); |
|
|
|
this.numFlowPanel.TabIndex = 15; |
|
|
|
//
|
|
|
|
// submitBtn
|
|
|
|
//
|
|
|
|
this.submitBtn.AsClicked = false; |
|
|
|
this.submitBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("submitBtn.BackgroundImage"))); |
|
|
|
this.submitBtn.EnableGroup = false; |
|
|
|
this.submitBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.submitBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.submitBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.submitBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.submitBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.submitBtn.Location = new System.Drawing.Point(11, 20); |
|
|
|
this.submitBtn.Name = "submitBtn"; |
|
|
|
this.submitBtn.PlaySound = false; |
|
|
|
this.submitBtn.SelfControlEnable = false; |
|
|
|
this.submitBtn.Size = new System.Drawing.Size(111, 34); |
|
|
|
this.submitBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.submitBtn.TabIndex = 11; |
|
|
|
this.submitBtn.Text = "提 交"; |
|
|
|
this.submitBtn.UseVisualStyleBackColor = true; |
|
|
|
this.submitBtn.WithStataHode = false; |
|
|
|
this.submitBtn.Click += new System.EventHandler(this.submitBtn_Click); |
|
|
|
//
|
|
|
|
// uLabel3
|
|
|
|
//
|
|
|
|
this.uLabel3.AutoSize = true; |
|
|
|
this.uLabel3.BackColor = System.Drawing.Color.White; |
|
|
|
this.uLabel3.Font = new System.Drawing.Font("宋体", 13F); |
|
|
|
this.uLabel3.Location = new System.Drawing.Point(8, 0); |
|
|
|
this.uLabel3.Name = "uLabel3"; |
|
|
|
this.uLabel3.Size = new System.Drawing.Size(80, 18); |
|
|
|
this.uLabel3.TabIndex = 0; |
|
|
|
this.uLabel3.Text = "称重明细"; |
|
|
|
//
|
|
|
|
// U_ID
|
|
|
|
//
|
|
|
|
this.U_ID.DataPropertyName = "ID"; |
|
|
|
@ -542,8 +557,8 @@ |
|
|
|
// U_GrossWeight
|
|
|
|
//
|
|
|
|
this.U_GrossWeight.DataPropertyName = "GrossWeight"; |
|
|
|
dataGridViewCellStyle9.Format = "#0.######"; |
|
|
|
this.U_GrossWeight.DefaultCellStyle = dataGridViewCellStyle9; |
|
|
|
dataGridViewCellStyle21.Format = "#0.######"; |
|
|
|
this.U_GrossWeight.DefaultCellStyle = dataGridViewCellStyle21; |
|
|
|
this.U_GrossWeight.HeaderText = "毛重"; |
|
|
|
this.U_GrossWeight.Name = "U_GrossWeight"; |
|
|
|
this.U_GrossWeight.ReadOnly = true; |
|
|
|
@ -551,8 +566,8 @@ |
|
|
|
// U_Discont
|
|
|
|
//
|
|
|
|
this.U_Discont.DataPropertyName = "Discont"; |
|
|
|
dataGridViewCellStyle10.Format = "#0.######"; |
|
|
|
this.U_Discont.DefaultCellStyle = dataGridViewCellStyle10; |
|
|
|
dataGridViewCellStyle22.Format = "#0.######"; |
|
|
|
this.U_Discont.DefaultCellStyle = dataGridViewCellStyle22; |
|
|
|
this.U_Discont.HeaderText = "扣重"; |
|
|
|
this.U_Discont.Name = "U_Discont"; |
|
|
|
this.U_Discont.ReadOnly = true; |
|
|
|
@ -560,68 +575,53 @@ |
|
|
|
// U_Weight
|
|
|
|
//
|
|
|
|
this.U_Weight.DataPropertyName = "Weight"; |
|
|
|
dataGridViewCellStyle11.Format = "#0.######"; |
|
|
|
this.U_Weight.DefaultCellStyle = dataGridViewCellStyle11; |
|
|
|
dataGridViewCellStyle23.Format = "#0.######"; |
|
|
|
this.U_Weight.DefaultCellStyle = dataGridViewCellStyle23; |
|
|
|
this.U_Weight.HeaderText = "净重"; |
|
|
|
this.U_Weight.Name = "U_Weight"; |
|
|
|
this.U_Weight.ReadOnly = true; |
|
|
|
//
|
|
|
|
// 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_RowIndex
|
|
|
|
//
|
|
|
|
this.H_RowIndex.DataPropertyName = "RowIndex"; |
|
|
|
this.H_RowIndex.HeaderText = "序号"; |
|
|
|
this.H_RowIndex.Name = "H_RowIndex"; |
|
|
|
this.H_RowIndex.ReadOnly = true; |
|
|
|
//
|
|
|
|
// H_Goods_Name
|
|
|
|
//
|
|
|
|
this.H_Goods_Name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.H_Goods_Name.DataPropertyName = "Goods_Name"; |
|
|
|
this.H_Goods_Name.HeaderText = "产品名称"; |
|
|
|
this.H_Goods_Name.Name = "H_Goods_Name"; |
|
|
|
this.H_Goods_Name.ReadOnly = true; |
|
|
|
//
|
|
|
|
// H_Number
|
|
|
|
//
|
|
|
|
this.H_Number.DataPropertyName = "Number"; |
|
|
|
this.H_Number.HeaderText = "数量"; |
|
|
|
this.H_Number.Name = "H_Number"; |
|
|
|
this.H_Number.ReadOnly = true; |
|
|
|
//
|
|
|
|
// H_GrossWeight
|
|
|
|
// numFlowPanel
|
|
|
|
//
|
|
|
|
this.H_GrossWeight.DataPropertyName = "GrossWeight"; |
|
|
|
dataGridViewCellStyle3.Format = "#0.######"; |
|
|
|
this.H_GrossWeight.DefaultCellStyle = dataGridViewCellStyle3; |
|
|
|
this.H_GrossWeight.HeaderText = "毛重"; |
|
|
|
this.H_GrossWeight.Name = "H_GrossWeight"; |
|
|
|
this.H_GrossWeight.ReadOnly = true; |
|
|
|
this.numFlowPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.numFlowPanel.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; |
|
|
|
this.numFlowPanel.Location = new System.Drawing.Point(143, 13); |
|
|
|
this.numFlowPanel.Name = "numFlowPanel"; |
|
|
|
this.numFlowPanel.Size = new System.Drawing.Size(545, 41); |
|
|
|
this.numFlowPanel.TabIndex = 15; |
|
|
|
//
|
|
|
|
// H_Discont
|
|
|
|
// submitBtn
|
|
|
|
//
|
|
|
|
this.H_Discont.DataPropertyName = "Discont"; |
|
|
|
dataGridViewCellStyle4.Format = "#0.######"; |
|
|
|
this.H_Discont.DefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
this.H_Discont.HeaderText = "扣重"; |
|
|
|
this.H_Discont.Name = "H_Discont"; |
|
|
|
this.H_Discont.ReadOnly = true; |
|
|
|
this.submitBtn.AsClicked = false; |
|
|
|
this.submitBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("submitBtn.BackgroundImage"))); |
|
|
|
this.submitBtn.EnableGroup = false; |
|
|
|
this.submitBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.submitBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.submitBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.submitBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.submitBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.submitBtn.Location = new System.Drawing.Point(11, 20); |
|
|
|
this.submitBtn.Name = "submitBtn"; |
|
|
|
this.submitBtn.PlaySound = false; |
|
|
|
this.submitBtn.SelfControlEnable = false; |
|
|
|
this.submitBtn.Size = new System.Drawing.Size(111, 34); |
|
|
|
this.submitBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.submitBtn.TabIndex = 11; |
|
|
|
this.submitBtn.Text = "提 交"; |
|
|
|
this.submitBtn.UseVisualStyleBackColor = true; |
|
|
|
this.submitBtn.WithStataHode = false; |
|
|
|
this.submitBtn.Click += new System.EventHandler(this.submitBtn_Click); |
|
|
|
//
|
|
|
|
// H_Weight
|
|
|
|
// uLabel3
|
|
|
|
//
|
|
|
|
this.H_Weight.DataPropertyName = "Weight"; |
|
|
|
dataGridViewCellStyle5.Format = "#0.######"; |
|
|
|
this.H_Weight.DefaultCellStyle = dataGridViewCellStyle5; |
|
|
|
this.H_Weight.HeaderText = "重量"; |
|
|
|
this.H_Weight.Name = "H_Weight"; |
|
|
|
this.H_Weight.ReadOnly = true; |
|
|
|
this.uLabel3.AutoSize = true; |
|
|
|
this.uLabel3.BackColor = System.Drawing.Color.White; |
|
|
|
this.uLabel3.Font = new System.Drawing.Font("宋体", 13F); |
|
|
|
this.uLabel3.Location = new System.Drawing.Point(8, 0); |
|
|
|
this.uLabel3.Name = "uLabel3"; |
|
|
|
this.uLabel3.Size = new System.Drawing.Size(80, 18); |
|
|
|
this.uLabel3.TabIndex = 0; |
|
|
|
this.uLabel3.Text = "称重明细"; |
|
|
|
//
|
|
|
|
// WeightCountForm
|
|
|
|
//
|
|
|
|
@ -640,6 +640,7 @@ |
|
|
|
this.splitContainer1.Panel1.ResumeLayout(false); |
|
|
|
this.splitContainer1.Panel1.PerformLayout(); |
|
|
|
this.splitContainer1.Panel2.ResumeLayout(false); |
|
|
|
this.splitContainer1.Panel2.PerformLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); |
|
|
|
this.splitContainer1.ResumeLayout(false); |
|
|
|
this.groupBox1.ResumeLayout(false); |
|
|
|
|