|
|
|
@ -28,25 +28,27 @@ |
|
|
|
/// </summary>
|
|
|
|
private void InitializeComponent() |
|
|
|
{ |
|
|
|
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 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(); |
|
|
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer(); |
|
|
|
this.panel1 = new System.Windows.Forms.Panel(); |
|
|
|
this.btnGoodsSet = new System.Windows.Forms.Button(); |
|
|
|
this.panel3 = new System.Windows.Forms.Panel(); |
|
|
|
this.cbxBatch = new System.Windows.Forms.ComboBox(); |
|
|
|
this.cbxWorkUnit = new System.Windows.Forms.ComboBox(); |
|
|
|
this.label6 = new System.Windows.Forms.Label(); |
|
|
|
this.label5 = new System.Windows.Forms.Label(); |
|
|
|
this.cbxWorkShop = new System.Windows.Forms.ComboBox(); |
|
|
|
this.label4 = new System.Windows.Forms.Label(); |
|
|
|
this.enableWeight = new System.Windows.Forms.CheckBox(); |
|
|
|
this.panel2 = new System.Windows.Forms.Panel(); |
|
|
|
this.lblChengZhong = new System.Windows.Forms.Label(); |
|
|
|
this.btnWeightSet = new System.Windows.Forms.Button(); |
|
|
|
this.splitContainer2 = new System.Windows.Forms.SplitContainer(); |
|
|
|
this.btnGoodsSet = new System.Windows.Forms.Button(); |
|
|
|
this.flpGoods = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.flpClass = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.uDataGridView1 = new BWP.WinFormControl.UDataGridView(); |
|
|
|
this.序号 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.条码 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.产品 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.净重 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.毛重 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); |
|
|
|
this.label1 = new System.Windows.Forms.Label(); |
|
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
|
|
@ -54,11 +56,16 @@ |
|
|
|
this.lblGoodsName = new System.Windows.Forms.Label(); |
|
|
|
this.lblNumber = new System.Windows.Forms.Label(); |
|
|
|
this.lblWeight = new System.Windows.Forms.Label(); |
|
|
|
this.序号 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.条码 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.产品 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.重量 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); |
|
|
|
this.splitContainer1.Panel1.SuspendLayout(); |
|
|
|
this.splitContainer1.Panel2.SuspendLayout(); |
|
|
|
this.splitContainer1.SuspendLayout(); |
|
|
|
this.panel1.SuspendLayout(); |
|
|
|
this.panel3.SuspendLayout(); |
|
|
|
this.panel2.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); |
|
|
|
this.splitContainer2.Panel1.SuspendLayout(); |
|
|
|
@ -85,32 +92,90 @@ |
|
|
|
//
|
|
|
|
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2); |
|
|
|
this.splitContainer1.Size = new System.Drawing.Size(1041, 587); |
|
|
|
this.splitContainer1.SplitterDistance = 99; |
|
|
|
this.splitContainer1.SplitterDistance = 110; |
|
|
|
this.splitContainer1.SplitterWidth = 1; |
|
|
|
this.splitContainer1.TabIndex = 0; |
|
|
|
//
|
|
|
|
// panel1
|
|
|
|
//
|
|
|
|
this.panel1.Controls.Add(this.panel3); |
|
|
|
this.panel1.Controls.Add(this.enableWeight); |
|
|
|
this.panel1.Controls.Add(this.panel2); |
|
|
|
this.panel1.Controls.Add(this.btnWeightSet); |
|
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.panel1.Location = new System.Drawing.Point(0, 0); |
|
|
|
this.panel1.Name = "panel1"; |
|
|
|
this.panel1.Size = new System.Drawing.Size(1039, 97); |
|
|
|
this.panel1.Size = new System.Drawing.Size(1039, 108); |
|
|
|
this.panel1.TabIndex = 2; |
|
|
|
//
|
|
|
|
// btnGoodsSet
|
|
|
|
//
|
|
|
|
this.btnGoodsSet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.btnGoodsSet.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
this.btnGoodsSet.Location = new System.Drawing.Point(416, 16); |
|
|
|
this.btnGoodsSet.Name = "btnGoodsSet"; |
|
|
|
this.btnGoodsSet.Size = new System.Drawing.Size(95, 50); |
|
|
|
this.btnGoodsSet.TabIndex = 34; |
|
|
|
this.btnGoodsSet.Text = "产品设置"; |
|
|
|
this.btnGoodsSet.UseVisualStyleBackColor = true; |
|
|
|
this.btnGoodsSet.Click += new System.EventHandler(this.btnGoodsSet_Click); |
|
|
|
// panel3
|
|
|
|
//
|
|
|
|
this.panel3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.panel3.Controls.Add(this.cbxBatch); |
|
|
|
this.panel3.Controls.Add(this.cbxWorkUnit); |
|
|
|
this.panel3.Controls.Add(this.label6); |
|
|
|
this.panel3.Controls.Add(this.label5); |
|
|
|
this.panel3.Controls.Add(this.cbxWorkShop); |
|
|
|
this.panel3.Controls.Add(this.label4); |
|
|
|
this.panel3.Location = new System.Drawing.Point(805, 4); |
|
|
|
this.panel3.Name = "panel3"; |
|
|
|
this.panel3.Size = new System.Drawing.Size(231, 100); |
|
|
|
this.panel3.TabIndex = 34; |
|
|
|
//
|
|
|
|
// cbxBatch
|
|
|
|
//
|
|
|
|
this.cbxBatch.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |
|
|
|
this.cbxBatch.FormattingEnabled = true; |
|
|
|
this.cbxBatch.Location = new System.Drawing.Point(78, 73); |
|
|
|
this.cbxBatch.Name = "cbxBatch"; |
|
|
|
this.cbxBatch.Size = new System.Drawing.Size(121, 20); |
|
|
|
this.cbxBatch.TabIndex = 39; |
|
|
|
this.cbxBatch.SelectedIndexChanged += new System.EventHandler(this.cbxBatch_SelectedIndexChanged); |
|
|
|
//
|
|
|
|
// cbxWorkUnit
|
|
|
|
//
|
|
|
|
this.cbxWorkUnit.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |
|
|
|
this.cbxWorkUnit.FormattingEnabled = true; |
|
|
|
this.cbxWorkUnit.Location = new System.Drawing.Point(78, 40); |
|
|
|
this.cbxWorkUnit.Name = "cbxWorkUnit"; |
|
|
|
this.cbxWorkUnit.Size = new System.Drawing.Size(121, 20); |
|
|
|
this.cbxWorkUnit.TabIndex = 40; |
|
|
|
//
|
|
|
|
// label6
|
|
|
|
//
|
|
|
|
this.label6.AutoSize = true; |
|
|
|
this.label6.Location = new System.Drawing.Point(31, 77); |
|
|
|
this.label6.Name = "label6"; |
|
|
|
this.label6.Size = new System.Drawing.Size(41, 12); |
|
|
|
this.label6.TabIndex = 36; |
|
|
|
this.label6.Text = "批次:"; |
|
|
|
//
|
|
|
|
// label5
|
|
|
|
//
|
|
|
|
this.label5.AutoSize = true; |
|
|
|
this.label5.Location = new System.Drawing.Point(31, 43); |
|
|
|
this.label5.Name = "label5"; |
|
|
|
this.label5.Size = new System.Drawing.Size(41, 12); |
|
|
|
this.label5.TabIndex = 37; |
|
|
|
this.label5.Text = "单元:"; |
|
|
|
//
|
|
|
|
// cbxWorkShop
|
|
|
|
//
|
|
|
|
this.cbxWorkShop.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |
|
|
|
this.cbxWorkShop.FormattingEnabled = true; |
|
|
|
this.cbxWorkShop.Location = new System.Drawing.Point(79, 7); |
|
|
|
this.cbxWorkShop.Name = "cbxWorkShop"; |
|
|
|
this.cbxWorkShop.Size = new System.Drawing.Size(121, 20); |
|
|
|
this.cbxWorkShop.TabIndex = 41; |
|
|
|
//
|
|
|
|
// label4
|
|
|
|
//
|
|
|
|
this.label4.AutoSize = true; |
|
|
|
this.label4.Location = new System.Drawing.Point(31, 11); |
|
|
|
this.label4.Name = "label4"; |
|
|
|
this.label4.Size = new System.Drawing.Size(41, 12); |
|
|
|
this.label4.TabIndex = 38; |
|
|
|
this.label4.Text = "车间:"; |
|
|
|
//
|
|
|
|
// enableWeight
|
|
|
|
//
|
|
|
|
@ -173,11 +238,23 @@ |
|
|
|
//
|
|
|
|
this.splitContainer2.Panel2.Controls.Add(this.uDataGridView1); |
|
|
|
this.splitContainer2.Panel2.Controls.Add(this.tableLayoutPanel1); |
|
|
|
this.splitContainer2.Size = new System.Drawing.Size(1041, 487); |
|
|
|
this.splitContainer2.Size = new System.Drawing.Size(1041, 476); |
|
|
|
this.splitContainer2.SplitterDistance = 517; |
|
|
|
this.splitContainer2.SplitterWidth = 1; |
|
|
|
this.splitContainer2.TabIndex = 0; |
|
|
|
//
|
|
|
|
// btnGoodsSet
|
|
|
|
//
|
|
|
|
this.btnGoodsSet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.btnGoodsSet.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
this.btnGoodsSet.Location = new System.Drawing.Point(416, 16); |
|
|
|
this.btnGoodsSet.Name = "btnGoodsSet"; |
|
|
|
this.btnGoodsSet.Size = new System.Drawing.Size(95, 50); |
|
|
|
this.btnGoodsSet.TabIndex = 34; |
|
|
|
this.btnGoodsSet.Text = "产品设置"; |
|
|
|
this.btnGoodsSet.UseVisualStyleBackColor = true; |
|
|
|
this.btnGoodsSet.Click += new System.EventHandler(this.btnGoodsSet_Click); |
|
|
|
//
|
|
|
|
// flpGoods
|
|
|
|
//
|
|
|
|
this.flpGoods.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
@ -186,7 +263,7 @@ |
|
|
|
this.flpGoods.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.flpGoods.Location = new System.Drawing.Point(4, 87); |
|
|
|
this.flpGoods.Name = "flpGoods"; |
|
|
|
this.flpGoods.Size = new System.Drawing.Size(507, 395); |
|
|
|
this.flpGoods.Size = new System.Drawing.Size(507, 384); |
|
|
|
this.flpGoods.TabIndex = 1; |
|
|
|
//
|
|
|
|
// flpClass
|
|
|
|
@ -205,89 +282,48 @@ |
|
|
|
this.uDataGridView1.AllowUserToDeleteRows = false; |
|
|
|
this.uDataGridView1.AllowUserToResizeColumns = false; |
|
|
|
this.uDataGridView1.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.uDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.uDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
|
|
this.uDataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.uDataGridView1.BackgroundColor = System.Drawing.Color.White; |
|
|
|
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.uDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5; |
|
|
|
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.uDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
|
|
this.uDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.uDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.序号, |
|
|
|
this.条码, |
|
|
|
this.产品, |
|
|
|
this.净重, |
|
|
|
this.毛重}); |
|
|
|
this.重量}); |
|
|
|
this.uDataGridView1.Location = new System.Drawing.Point(3, 108); |
|
|
|
this.uDataGridView1.MultiSelect = false; |
|
|
|
this.uDataGridView1.Name = "uDataGridView1"; |
|
|
|
this.uDataGridView1.ReadOnly = true; |
|
|
|
this.uDataGridView1.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.uDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle6; |
|
|
|
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.uDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle3; |
|
|
|
this.uDataGridView1.RowTemplate.Height = 23; |
|
|
|
this.uDataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.uDataGridView1.Size = new System.Drawing.Size(533, 374); |
|
|
|
this.uDataGridView1.Size = new System.Drawing.Size(515, 363); |
|
|
|
this.uDataGridView1.TabIndex = 1; |
|
|
|
//
|
|
|
|
// 序号
|
|
|
|
//
|
|
|
|
this.序号.DataPropertyName = "ID"; |
|
|
|
this.序号.HeaderText = "序号"; |
|
|
|
this.序号.Name = "序号"; |
|
|
|
this.序号.ReadOnly = true; |
|
|
|
this.序号.Width = 80; |
|
|
|
//
|
|
|
|
// 条码
|
|
|
|
//
|
|
|
|
this.条码.DataPropertyName = "BarCode"; |
|
|
|
this.条码.HeaderText = "条码"; |
|
|
|
this.条码.Name = "条码"; |
|
|
|
this.条码.ReadOnly = true; |
|
|
|
//
|
|
|
|
// 产品
|
|
|
|
//
|
|
|
|
this.产品.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.产品.DataPropertyName = "Goods_Name"; |
|
|
|
this.产品.HeaderText = "产品"; |
|
|
|
this.产品.MinimumWidth = 100; |
|
|
|
this.产品.Name = "产品"; |
|
|
|
this.产品.ReadOnly = true; |
|
|
|
//
|
|
|
|
// 净重
|
|
|
|
//
|
|
|
|
this.净重.DataPropertyName = "JingWeight"; |
|
|
|
this.净重.HeaderText = "净重"; |
|
|
|
this.净重.Name = "净重"; |
|
|
|
this.净重.ReadOnly = true; |
|
|
|
this.净重.Width = 80; |
|
|
|
//
|
|
|
|
// 毛重
|
|
|
|
//
|
|
|
|
this.毛重.DataPropertyName = "MaoWeight"; |
|
|
|
this.毛重.HeaderText = "毛重"; |
|
|
|
this.毛重.Name = "毛重"; |
|
|
|
this.毛重.ReadOnly = true; |
|
|
|
this.毛重.Width = 80; |
|
|
|
//
|
|
|
|
// tableLayoutPanel1
|
|
|
|
//
|
|
|
|
this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single; |
|
|
|
this.tableLayoutPanel1.ColumnCount = 3; |
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 65.90909F)); |
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 34.09091F)); |
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 106F)); |
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 58.15603F)); |
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 41.84397F)); |
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 124F)); |
|
|
|
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0); |
|
|
|
this.tableLayoutPanel1.Controls.Add(this.label2, 1, 0); |
|
|
|
this.tableLayoutPanel1.Controls.Add(this.label3, 2, 0); |
|
|
|
@ -299,7 +335,7 @@ |
|
|
|
this.tableLayoutPanel1.RowCount = 2; |
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 53.57143F)); |
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 46.42857F)); |
|
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(529, 98); |
|
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(515, 98); |
|
|
|
this.tableLayoutPanel1.TabIndex = 0; |
|
|
|
//
|
|
|
|
// label1
|
|
|
|
@ -309,7 +345,7 @@ |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.label1.Location = new System.Drawing.Point(4, 1); |
|
|
|
this.label1.Name = "label1"; |
|
|
|
this.label1.Size = new System.Drawing.Size(270, 50); |
|
|
|
this.label1.Size = new System.Drawing.Size(219, 50); |
|
|
|
this.label1.TabIndex = 0; |
|
|
|
this.label1.Text = "产品"; |
|
|
|
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
|
@ -319,9 +355,9 @@ |
|
|
|
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.label2.Location = new System.Drawing.Point(281, 1); |
|
|
|
this.label2.Location = new System.Drawing.Point(230, 1); |
|
|
|
this.label2.Name = "label2"; |
|
|
|
this.label2.Size = new System.Drawing.Size(136, 50); |
|
|
|
this.label2.Size = new System.Drawing.Size(155, 50); |
|
|
|
this.label2.TabIndex = 0; |
|
|
|
this.label2.Text = "数量"; |
|
|
|
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
|
@ -331,9 +367,9 @@ |
|
|
|
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.label3.Location = new System.Drawing.Point(424, 1); |
|
|
|
this.label3.Location = new System.Drawing.Point(392, 1); |
|
|
|
this.label3.Name = "label3"; |
|
|
|
this.label3.Size = new System.Drawing.Size(101, 50); |
|
|
|
this.label3.Size = new System.Drawing.Size(119, 50); |
|
|
|
this.label3.TabIndex = 0; |
|
|
|
this.label3.Text = "重量"; |
|
|
|
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
|
@ -345,7 +381,7 @@ |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.lblGoodsName.Location = new System.Drawing.Point(4, 52); |
|
|
|
this.lblGoodsName.Name = "lblGoodsName"; |
|
|
|
this.lblGoodsName.Size = new System.Drawing.Size(270, 45); |
|
|
|
this.lblGoodsName.Size = new System.Drawing.Size(219, 45); |
|
|
|
this.lblGoodsName.TabIndex = 0; |
|
|
|
this.lblGoodsName.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
|
//
|
|
|
|
@ -354,9 +390,9 @@ |
|
|
|
this.lblNumber.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.lblNumber.Location = new System.Drawing.Point(281, 52); |
|
|
|
this.lblNumber.Location = new System.Drawing.Point(230, 52); |
|
|
|
this.lblNumber.Name = "lblNumber"; |
|
|
|
this.lblNumber.Size = new System.Drawing.Size(136, 45); |
|
|
|
this.lblNumber.Size = new System.Drawing.Size(155, 45); |
|
|
|
this.lblNumber.TabIndex = 0; |
|
|
|
this.lblNumber.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
|
//
|
|
|
|
@ -365,12 +401,46 @@ |
|
|
|
this.lblWeight.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.lblWeight.Location = new System.Drawing.Point(424, 52); |
|
|
|
this.lblWeight.Location = new System.Drawing.Point(392, 52); |
|
|
|
this.lblWeight.Name = "lblWeight"; |
|
|
|
this.lblWeight.Size = new System.Drawing.Size(101, 45); |
|
|
|
this.lblWeight.Size = new System.Drawing.Size(119, 45); |
|
|
|
this.lblWeight.TabIndex = 0; |
|
|
|
this.lblWeight.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
|
//
|
|
|
|
// 序号
|
|
|
|
//
|
|
|
|
this.序号.DataPropertyName = "ID"; |
|
|
|
this.序号.HeaderText = "序号"; |
|
|
|
this.序号.Name = "序号"; |
|
|
|
this.序号.ReadOnly = true; |
|
|
|
this.序号.Width = 80; |
|
|
|
//
|
|
|
|
// 条码
|
|
|
|
//
|
|
|
|
this.条码.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; |
|
|
|
this.条码.DataPropertyName = "BarCode"; |
|
|
|
this.条码.HeaderText = "条码"; |
|
|
|
this.条码.Name = "条码"; |
|
|
|
this.条码.ReadOnly = true; |
|
|
|
this.条码.Width = 65; |
|
|
|
//
|
|
|
|
// 产品
|
|
|
|
//
|
|
|
|
this.产品.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.产品.DataPropertyName = "Goods_Name"; |
|
|
|
this.产品.HeaderText = "产品"; |
|
|
|
this.产品.MinimumWidth = 100; |
|
|
|
this.产品.Name = "产品"; |
|
|
|
this.产品.ReadOnly = true; |
|
|
|
//
|
|
|
|
// 重量
|
|
|
|
//
|
|
|
|
this.重量.DataPropertyName = "Weight"; |
|
|
|
this.重量.HeaderText = "重量"; |
|
|
|
this.重量.Name = "重量"; |
|
|
|
this.重量.ReadOnly = true; |
|
|
|
this.重量.Width = 80; |
|
|
|
//
|
|
|
|
// SegmentationWeightForm
|
|
|
|
//
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
|
|
|
@ -389,6 +459,8 @@ |
|
|
|
this.splitContainer1.ResumeLayout(false); |
|
|
|
this.panel1.ResumeLayout(false); |
|
|
|
this.panel1.PerformLayout(); |
|
|
|
this.panel3.ResumeLayout(false); |
|
|
|
this.panel3.PerformLayout(); |
|
|
|
this.panel2.ResumeLayout(false); |
|
|
|
this.panel2.PerformLayout(); |
|
|
|
this.splitContainer2.Panel1.ResumeLayout(false); |
|
|
|
@ -421,10 +493,16 @@ |
|
|
|
private System.Windows.Forms.Label lblNumber; |
|
|
|
private System.Windows.Forms.Label lblWeight; |
|
|
|
private BWP.WinFormControl.UDataGridView uDataGridView1; |
|
|
|
private System.Windows.Forms.Panel panel3; |
|
|
|
private System.Windows.Forms.ComboBox cbxBatch; |
|
|
|
private System.Windows.Forms.ComboBox cbxWorkUnit; |
|
|
|
private System.Windows.Forms.Label label6; |
|
|
|
private System.Windows.Forms.Label label5; |
|
|
|
private System.Windows.Forms.ComboBox cbxWorkShop; |
|
|
|
private System.Windows.Forms.Label label4; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 序号; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 条码; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 产品; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 净重; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 毛重; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 重量; |
|
|
|
} |
|
|
|
} |