|
|
@ -28,9 +28,9 @@ |
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
private void InitializeComponent() |
|
|
private void InitializeComponent() |
|
|
{ |
|
|
{ |
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = 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.splitContainer1 = new System.Windows.Forms.SplitContainer(); |
|
|
this.panel1 = new System.Windows.Forms.Panel(); |
|
|
this.panel1 = new System.Windows.Forms.Panel(); |
|
|
this.btnGoodsSet = new System.Windows.Forms.Button(); |
|
|
this.btnGoodsSet = new System.Windows.Forms.Button(); |
|
|
@ -41,12 +41,6 @@ |
|
|
this.splitContainer2 = new System.Windows.Forms.SplitContainer(); |
|
|
this.splitContainer2 = new System.Windows.Forms.SplitContainer(); |
|
|
this.flpGoods = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
this.flpGoods = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
this.flpClass = 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.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); |
|
|
this.label1 = new System.Windows.Forms.Label(); |
|
|
this.label1 = new System.Windows.Forms.Label(); |
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
|
@ -54,6 +48,12 @@ |
|
|
this.lblGoodsName = new System.Windows.Forms.Label(); |
|
|
this.lblGoodsName = new System.Windows.Forms.Label(); |
|
|
this.lblNumber = new System.Windows.Forms.Label(); |
|
|
this.lblNumber = new System.Windows.Forms.Label(); |
|
|
this.lblWeight = new System.Windows.Forms.Label(); |
|
|
this.lblWeight = new System.Windows.Forms.Label(); |
|
|
|
|
|
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(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); |
|
|
this.splitContainer1.Panel1.SuspendLayout(); |
|
|
this.splitContainer1.Panel1.SuspendLayout(); |
|
|
this.splitContainer1.Panel2.SuspendLayout(); |
|
|
this.splitContainer1.Panel2.SuspendLayout(); |
|
|
@ -64,8 +64,8 @@ |
|
|
this.splitContainer2.Panel1.SuspendLayout(); |
|
|
this.splitContainer2.Panel1.SuspendLayout(); |
|
|
this.splitContainer2.Panel2.SuspendLayout(); |
|
|
this.splitContainer2.Panel2.SuspendLayout(); |
|
|
this.splitContainer2.SuspendLayout(); |
|
|
this.splitContainer2.SuspendLayout(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).BeginInit(); |
|
|
|
|
|
this.tableLayoutPanel1.SuspendLayout(); |
|
|
this.tableLayoutPanel1.SuspendLayout(); |
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).BeginInit(); |
|
|
this.SuspendLayout(); |
|
|
this.SuspendLayout(); |
|
|
//
|
|
|
//
|
|
|
// splitContainer1
|
|
|
// splitContainer1
|
|
|
@ -198,86 +198,6 @@ |
|
|
this.flpClass.Size = new System.Drawing.Size(547, 76); |
|
|
this.flpClass.Size = new System.Drawing.Size(547, 76); |
|
|
this.flpClass.TabIndex = 0; |
|
|
this.flpClass.TabIndex = 0; |
|
|
//
|
|
|
//
|
|
|
// uDataGridView1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.uDataGridView1.AllowUserToAddRows = false; |
|
|
|
|
|
this.uDataGridView1.AllowUserToDeleteRows = false; |
|
|
|
|
|
this.uDataGridView1.AllowUserToResizeColumns = false; |
|
|
|
|
|
this.uDataGridView1.AllowUserToResizeRows = false; |
|
|
|
|
|
dataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
|
|
this.uDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle19; |
|
|
|
|
|
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; |
|
|
|
|
|
dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
|
|
dataGridViewCellStyle20.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
|
|
dataGridViewCellStyle20.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
|
|
dataGridViewCellStyle20.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
|
|
dataGridViewCellStyle20.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
|
|
dataGridViewCellStyle20.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
|
|
dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
|
|
this.uDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle20; |
|
|
|
|
|
this.uDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
|
|
this.uDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
|
|
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; |
|
|
|
|
|
dataGridViewCellStyle21.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
dataGridViewCellStyle21.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
|
|
this.uDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle21; |
|
|
|
|
|
this.uDataGridView1.RowTemplate.Height = 23; |
|
|
|
|
|
this.uDataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
|
|
this.uDataGridView1.Size = new System.Drawing.Size(483, 374); |
|
|
|
|
|
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
|
|
|
// tableLayoutPanel1
|
|
|
//
|
|
|
//
|
|
|
this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
|
|
this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
|
|
@ -286,7 +206,7 @@ |
|
|
this.tableLayoutPanel1.ColumnCount = 3; |
|
|
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, 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.Percent, 34.09091F)); |
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 88F)); |
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 96F)); |
|
|
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0); |
|
|
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0); |
|
|
this.tableLayoutPanel1.Controls.Add(this.label2, 1, 0); |
|
|
this.tableLayoutPanel1.Controls.Add(this.label2, 1, 0); |
|
|
this.tableLayoutPanel1.Controls.Add(this.label3, 2, 0); |
|
|
this.tableLayoutPanel1.Controls.Add(this.label3, 2, 0); |
|
|
@ -298,7 +218,7 @@ |
|
|
this.tableLayoutPanel1.RowCount = 2; |
|
|
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, 53.57143F)); |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 46.42857F)); |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 46.42857F)); |
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(479, 98); |
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(482, 98); |
|
|
this.tableLayoutPanel1.TabIndex = 0; |
|
|
this.tableLayoutPanel1.TabIndex = 0; |
|
|
//
|
|
|
//
|
|
|
// label1
|
|
|
// label1
|
|
|
@ -308,7 +228,7 @@ |
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
this.label1.Location = new System.Drawing.Point(4, 1); |
|
|
this.label1.Location = new System.Drawing.Point(4, 1); |
|
|
this.label1.Name = "label1"; |
|
|
this.label1.Name = "label1"; |
|
|
this.label1.Size = new System.Drawing.Size(249, 50); |
|
|
|
|
|
|
|
|
this.label1.Size = new System.Drawing.Size(245, 50); |
|
|
this.label1.TabIndex = 0; |
|
|
this.label1.TabIndex = 0; |
|
|
this.label1.Text = "产品"; |
|
|
this.label1.Text = "产品"; |
|
|
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
@ -318,9 +238,9 @@ |
|
|
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
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.Left) |
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
this.label2.Location = new System.Drawing.Point(260, 1); |
|
|
|
|
|
|
|
|
this.label2.Location = new System.Drawing.Point(256, 1); |
|
|
this.label2.Name = "label2"; |
|
|
this.label2.Name = "label2"; |
|
|
this.label2.Size = new System.Drawing.Size(125, 50); |
|
|
|
|
|
|
|
|
this.label2.Size = new System.Drawing.Size(124, 50); |
|
|
this.label2.TabIndex = 0; |
|
|
this.label2.TabIndex = 0; |
|
|
this.label2.Text = "数量"; |
|
|
this.label2.Text = "数量"; |
|
|
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
@ -330,9 +250,9 @@ |
|
|
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
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.Left) |
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
this.label3.Location = new System.Drawing.Point(392, 1); |
|
|
|
|
|
|
|
|
this.label3.Location = new System.Drawing.Point(387, 1); |
|
|
this.label3.Name = "label3"; |
|
|
this.label3.Name = "label3"; |
|
|
this.label3.Size = new System.Drawing.Size(83, 50); |
|
|
|
|
|
|
|
|
this.label3.Size = new System.Drawing.Size(91, 50); |
|
|
this.label3.TabIndex = 0; |
|
|
this.label3.TabIndex = 0; |
|
|
this.label3.Text = "重量"; |
|
|
this.label3.Text = "重量"; |
|
|
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
@ -344,7 +264,7 @@ |
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
this.lblGoodsName.Location = new System.Drawing.Point(4, 52); |
|
|
this.lblGoodsName.Location = new System.Drawing.Point(4, 52); |
|
|
this.lblGoodsName.Name = "lblGoodsName"; |
|
|
this.lblGoodsName.Name = "lblGoodsName"; |
|
|
this.lblGoodsName.Size = new System.Drawing.Size(249, 45); |
|
|
|
|
|
|
|
|
this.lblGoodsName.Size = new System.Drawing.Size(245, 45); |
|
|
this.lblGoodsName.TabIndex = 0; |
|
|
this.lblGoodsName.TabIndex = 0; |
|
|
this.lblGoodsName.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
this.lblGoodsName.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
//
|
|
|
//
|
|
|
@ -353,9 +273,9 @@ |
|
|
this.lblNumber.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
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.Left) |
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
this.lblNumber.Location = new System.Drawing.Point(260, 52); |
|
|
|
|
|
|
|
|
this.lblNumber.Location = new System.Drawing.Point(256, 52); |
|
|
this.lblNumber.Name = "lblNumber"; |
|
|
this.lblNumber.Name = "lblNumber"; |
|
|
this.lblNumber.Size = new System.Drawing.Size(125, 45); |
|
|
|
|
|
|
|
|
this.lblNumber.Size = new System.Drawing.Size(124, 45); |
|
|
this.lblNumber.TabIndex = 0; |
|
|
this.lblNumber.TabIndex = 0; |
|
|
this.lblNumber.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
this.lblNumber.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
//
|
|
|
//
|
|
|
@ -364,12 +284,92 @@ |
|
|
this.lblWeight.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
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.Left) |
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
this.lblWeight.Location = new System.Drawing.Point(392, 52); |
|
|
|
|
|
|
|
|
this.lblWeight.Location = new System.Drawing.Point(387, 52); |
|
|
this.lblWeight.Name = "lblWeight"; |
|
|
this.lblWeight.Name = "lblWeight"; |
|
|
this.lblWeight.Size = new System.Drawing.Size(83, 45); |
|
|
|
|
|
|
|
|
this.lblWeight.Size = new System.Drawing.Size(91, 45); |
|
|
this.lblWeight.TabIndex = 0; |
|
|
this.lblWeight.TabIndex = 0; |
|
|
this.lblWeight.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
this.lblWeight.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
//
|
|
|
//
|
|
|
|
|
|
// uDataGridView1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.uDataGridView1.AllowUserToAddRows = false; |
|
|
|
|
|
this.uDataGridView1.AllowUserToDeleteRows = false; |
|
|
|
|
|
this.uDataGridView1.AllowUserToResizeColumns = false; |
|
|
|
|
|
this.uDataGridView1.AllowUserToResizeRows = false; |
|
|
|
|
|
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; |
|
|
|
|
|
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.uDataGridView1.Location = new System.Drawing.Point(3, 108); |
|
|
|
|
|
this.uDataGridView1.MultiSelect = false; |
|
|
|
|
|
this.uDataGridView1.Name = "uDataGridView1"; |
|
|
|
|
|
this.uDataGridView1.ReadOnly = true; |
|
|
|
|
|
this.uDataGridView1.RowHeadersVisible = false; |
|
|
|
|
|
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(486, 374); |
|
|
|
|
|
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; |
|
|
|
|
|
//
|
|
|
// SegmentationWeightForm
|
|
|
// SegmentationWeightForm
|
|
|
//
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
|
|
@ -394,8 +394,8 @@ |
|
|
this.splitContainer2.Panel2.ResumeLayout(false); |
|
|
this.splitContainer2.Panel2.ResumeLayout(false); |
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); |
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); |
|
|
this.splitContainer2.ResumeLayout(false); |
|
|
this.splitContainer2.ResumeLayout(false); |
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).EndInit(); |
|
|
|
|
|
this.tableLayoutPanel1.ResumeLayout(false); |
|
|
this.tableLayoutPanel1.ResumeLayout(false); |
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).EndInit(); |
|
|
this.ResumeLayout(false); |
|
|
this.ResumeLayout(false); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|