|
|
|
@ -28,6 +28,7 @@ |
|
|
|
/// </summary>
|
|
|
|
private void InitializeComponent() |
|
|
|
{ |
|
|
|
this.components = new System.ComponentModel.Container(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
@ -36,10 +37,7 @@ |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer(); |
|
|
|
this.panel1 = new System.Windows.Forms.Panel(); |
|
|
|
this.richTextBox1 = new System.Windows.Forms.RichTextBox(); |
|
|
|
this.label1 = new System.Windows.Forms.Label(); |
|
|
|
this.weightControl1 = new BWP.WinFormControl.WeightControl(); |
|
|
|
this.button1 = new System.Windows.Forms.Button(); |
|
|
|
this.btnWeightSet = new System.Windows.Forms.Button(); |
|
|
|
this.splitContainer2 = new System.Windows.Forms.SplitContainer(); |
|
|
|
this.uComboBox1 = new BWP.WinFormControl.UComboBox(); |
|
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
|
|
@ -47,12 +45,26 @@ |
|
|
|
this.btnSubmit = new System.Windows.Forms.Button(); |
|
|
|
this.btnSyncData = new System.Windows.Forms.Button(); |
|
|
|
this.splitContainer3 = new System.Windows.Forms.SplitContainer(); |
|
|
|
this.splitContainer4 = new System.Windows.Forms.SplitContainer(); |
|
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.uDataGridView1 = new BWP.WinFormControl.UDataGridView(); |
|
|
|
this.gridChecked = 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.重量 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.groupBox3 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.uDataGridView2 = new BWP.WinFormControl.UDataGridView(); |
|
|
|
this.gridUnCheck = new System.Windows.Forms.DataGridView(); |
|
|
|
this.uncheck序号 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.uncheck条码 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.uncheck产品名称 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.uncheck规格 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.uncheck数量 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.uncheck重量 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.timer1 = new System.Windows.Forms.Timer(this.components); |
|
|
|
this.enableWeight = new System.Windows.Forms.CheckBox(); |
|
|
|
this.panel2 = new System.Windows.Forms.Panel(); |
|
|
|
this.lblChengZhong = new System.Windows.Forms.Label(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); |
|
|
|
this.splitContainer1.Panel1.SuspendLayout(); |
|
|
|
this.splitContainer1.Panel2.SuspendLayout(); |
|
|
|
@ -65,20 +77,18 @@ |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit(); |
|
|
|
this.splitContainer3.Panel1.SuspendLayout(); |
|
|
|
this.splitContainer3.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit(); |
|
|
|
this.splitContainer4.Panel1.SuspendLayout(); |
|
|
|
this.splitContainer4.Panel2.SuspendLayout(); |
|
|
|
this.splitContainer4.SuspendLayout(); |
|
|
|
this.groupBox2.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).BeginInit(); |
|
|
|
this.groupBox3.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView2)).BeginInit(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gridChecked)).BeginInit(); |
|
|
|
this.groupBox1.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gridUnCheck)).BeginInit(); |
|
|
|
this.panel2.SuspendLayout(); |
|
|
|
this.SuspendLayout(); |
|
|
|
//
|
|
|
|
// splitContainer1
|
|
|
|
//
|
|
|
|
this.splitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; |
|
|
|
this.splitContainer1.Location = new System.Drawing.Point(0, 0); |
|
|
|
this.splitContainer1.Name = "splitContainer1"; |
|
|
|
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; |
|
|
|
@ -91,57 +101,32 @@ |
|
|
|
//
|
|
|
|
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2); |
|
|
|
this.splitContainer1.Size = new System.Drawing.Size(1276, 741); |
|
|
|
this.splitContainer1.SplitterDistance = 99; |
|
|
|
this.splitContainer1.SplitterDistance = 130; |
|
|
|
this.splitContainer1.SplitterWidth = 1; |
|
|
|
this.splitContainer1.TabIndex = 0; |
|
|
|
//
|
|
|
|
// panel1
|
|
|
|
//
|
|
|
|
this.panel1.Controls.Add(this.richTextBox1); |
|
|
|
this.panel1.Controls.Add(this.label1); |
|
|
|
this.panel1.Controls.Add(this.weightControl1); |
|
|
|
this.panel1.Controls.Add(this.button1); |
|
|
|
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.panel1.Controls.Add(this.enableWeight); |
|
|
|
this.panel1.Controls.Add(this.panel2); |
|
|
|
this.panel1.Controls.Add(this.btnWeightSet); |
|
|
|
this.panel1.Location = new System.Drawing.Point(11, 3); |
|
|
|
this.panel1.Name = "panel1"; |
|
|
|
this.panel1.Size = new System.Drawing.Size(1251, 100); |
|
|
|
this.panel1.TabIndex = 1; |
|
|
|
//
|
|
|
|
// richTextBox1
|
|
|
|
//
|
|
|
|
this.richTextBox1.Location = new System.Drawing.Point(426, 5); |
|
|
|
this.richTextBox1.Name = "richTextBox1"; |
|
|
|
this.richTextBox1.Size = new System.Drawing.Size(277, 90); |
|
|
|
this.richTextBox1.TabIndex = 2; |
|
|
|
this.richTextBox1.Text = ""; |
|
|
|
//
|
|
|
|
// label1
|
|
|
|
//
|
|
|
|
this.label1.AutoSize = true; |
|
|
|
this.label1.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
this.label1.Location = new System.Drawing.Point(314, 33); |
|
|
|
this.label1.Name = "label1"; |
|
|
|
this.label1.Size = new System.Drawing.Size(106, 24); |
|
|
|
this.label1.TabIndex = 1; |
|
|
|
this.label1.Text = "扫码区:"; |
|
|
|
// btnWeightSet
|
|
|
|
//
|
|
|
|
// weightControl1
|
|
|
|
//
|
|
|
|
this.weightControl1.Location = new System.Drawing.Point(3, 5); |
|
|
|
this.weightControl1.Name = "weightControl1"; |
|
|
|
this.weightControl1.Size = new System.Drawing.Size(156, 92); |
|
|
|
this.weightControl1.TabIndex = 0; |
|
|
|
this.weightControl1.TypeOfWeight = BWP.WinFormControl.WeightType.Xk3190A9; |
|
|
|
this.weightControl1.ValueFormat = "0.00"; |
|
|
|
//
|
|
|
|
// button1
|
|
|
|
//
|
|
|
|
this.button1.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
this.button1.Location = new System.Drawing.Point(1158, 22); |
|
|
|
this.button1.Name = "button1"; |
|
|
|
this.button1.Size = new System.Drawing.Size(90, 46); |
|
|
|
this.button1.TabIndex = 0; |
|
|
|
this.button1.Text = "称设置"; |
|
|
|
this.button1.UseVisualStyleBackColor = true; |
|
|
|
this.btnWeightSet.Font = new System.Drawing.Font("宋体", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
this.btnWeightSet.Location = new System.Drawing.Point(249, 53); |
|
|
|
this.btnWeightSet.Name = "btnWeightSet"; |
|
|
|
this.btnWeightSet.Size = new System.Drawing.Size(111, 33); |
|
|
|
this.btnWeightSet.TabIndex = 0; |
|
|
|
this.btnWeightSet.Text = "称设置"; |
|
|
|
this.btnWeightSet.UseVisualStyleBackColor = true; |
|
|
|
this.btnWeightSet.Click += new System.EventHandler(this.btnWeightSet_Click); |
|
|
|
//
|
|
|
|
// splitContainer2
|
|
|
|
//
|
|
|
|
@ -161,8 +146,8 @@ |
|
|
|
// splitContainer2.Panel2
|
|
|
|
//
|
|
|
|
this.splitContainer2.Panel2.Controls.Add(this.splitContainer3); |
|
|
|
this.splitContainer2.Size = new System.Drawing.Size(1276, 641); |
|
|
|
this.splitContainer2.SplitterDistance = 261; |
|
|
|
this.splitContainer2.Size = new System.Drawing.Size(1276, 610); |
|
|
|
this.splitContainer2.SplitterDistance = 260; |
|
|
|
this.splitContainer2.SplitterWidth = 1; |
|
|
|
this.splitContainer2.TabIndex = 0; |
|
|
|
//
|
|
|
|
@ -228,55 +213,35 @@ |
|
|
|
//
|
|
|
|
// splitContainer3.Panel1
|
|
|
|
//
|
|
|
|
this.splitContainer3.Panel1.Controls.Add(this.splitContainer4); |
|
|
|
this.splitContainer3.Size = new System.Drawing.Size(1014, 641); |
|
|
|
this.splitContainer3.Panel1.Controls.Add(this.groupBox2); |
|
|
|
this.splitContainer3.Panel1.Controls.Add(this.groupBox1); |
|
|
|
this.splitContainer3.Size = new System.Drawing.Size(1015, 610); |
|
|
|
this.splitContainer3.SplitterDistance = 726; |
|
|
|
this.splitContainer3.SplitterWidth = 1; |
|
|
|
this.splitContainer3.TabIndex = 0; |
|
|
|
//
|
|
|
|
// splitContainer4
|
|
|
|
//
|
|
|
|
this.splitContainer4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.splitContainer4.Location = new System.Drawing.Point(0, 0); |
|
|
|
this.splitContainer4.Name = "splitContainer4"; |
|
|
|
this.splitContainer4.Orientation = System.Windows.Forms.Orientation.Horizontal; |
|
|
|
//
|
|
|
|
// splitContainer4.Panel1
|
|
|
|
//
|
|
|
|
this.splitContainer4.Panel1.Controls.Add(this.groupBox2); |
|
|
|
this.splitContainer4.Panel1.Controls.Add(this.groupBox1); |
|
|
|
//
|
|
|
|
// splitContainer4.Panel2
|
|
|
|
//
|
|
|
|
this.splitContainer4.Panel2.Controls.Add(this.groupBox3); |
|
|
|
this.splitContainer4.Size = new System.Drawing.Size(726, 641); |
|
|
|
this.splitContainer4.SplitterDistance = 320; |
|
|
|
this.splitContainer4.SplitterWidth = 1; |
|
|
|
this.splitContainer4.TabIndex = 0; |
|
|
|
//
|
|
|
|
// groupBox2
|
|
|
|
//
|
|
|
|
this.groupBox2.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.groupBox2.Controls.Add(this.uDataGridView1); |
|
|
|
this.groupBox2.Location = new System.Drawing.Point(3, 2); |
|
|
|
this.groupBox2.Controls.Add(this.gridChecked); |
|
|
|
this.groupBox2.Location = new System.Drawing.Point(14, 259); |
|
|
|
this.groupBox2.Name = "groupBox2"; |
|
|
|
this.groupBox2.Size = new System.Drawing.Size(718, 312); |
|
|
|
this.groupBox2.TabIndex = 0; |
|
|
|
this.groupBox2.Size = new System.Drawing.Size(699, 340); |
|
|
|
this.groupBox2.TabIndex = 1; |
|
|
|
this.groupBox2.TabStop = false; |
|
|
|
this.groupBox2.Text = "待提交明细"; |
|
|
|
this.groupBox2.Text = "已提交"; |
|
|
|
//
|
|
|
|
// uDataGridView1
|
|
|
|
// gridChecked
|
|
|
|
//
|
|
|
|
this.uDataGridView1.AllowUserToAddRows = false; |
|
|
|
this.uDataGridView1.AllowUserToDeleteRows = false; |
|
|
|
this.uDataGridView1.AllowUserToResizeColumns = false; |
|
|
|
this.uDataGridView1.AllowUserToResizeRows = false; |
|
|
|
this.gridChecked.AllowUserToAddRows = false; |
|
|
|
this.gridChecked.AllowUserToDeleteRows = false; |
|
|
|
this.gridChecked.AllowUserToResizeColumns = false; |
|
|
|
this.gridChecked.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.uDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
|
|
this.uDataGridView1.BackgroundColor = System.Drawing.Color.White; |
|
|
|
this.gridChecked.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
|
|
this.gridChecked.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); |
|
|
|
@ -284,56 +249,94 @@ |
|
|
|
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.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.uDataGridView1.Location = new System.Drawing.Point(3, 17); |
|
|
|
this.uDataGridView1.MultiSelect = false; |
|
|
|
this.uDataGridView1.Name = "uDataGridView1"; |
|
|
|
this.uDataGridView1.ReadOnly = true; |
|
|
|
this.uDataGridView1.RowHeadersVisible = false; |
|
|
|
this.gridChecked.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
|
|
this.gridChecked.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.gridChecked.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.序号, |
|
|
|
this.条码, |
|
|
|
this.产品名称, |
|
|
|
this.规格, |
|
|
|
this.数量, |
|
|
|
this.重量}); |
|
|
|
this.gridChecked.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.gridChecked.Location = new System.Drawing.Point(3, 17); |
|
|
|
this.gridChecked.MultiSelect = false; |
|
|
|
this.gridChecked.Name = "gridChecked"; |
|
|
|
this.gridChecked.ReadOnly = true; |
|
|
|
this.gridChecked.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(712, 292); |
|
|
|
this.uDataGridView1.TabIndex = 0; |
|
|
|
this.gridChecked.RowsDefaultCellStyle = dataGridViewCellStyle3; |
|
|
|
this.gridChecked.RowTemplate.Height = 23; |
|
|
|
this.gridChecked.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.gridChecked.Size = new System.Drawing.Size(693, 320); |
|
|
|
this.gridChecked.TabIndex = 4; |
|
|
|
//
|
|
|
|
// 序号
|
|
|
|
//
|
|
|
|
this.序号.DataPropertyName = "ID"; |
|
|
|
this.序号.HeaderText = "序号"; |
|
|
|
this.序号.Name = "序号"; |
|
|
|
this.序号.ReadOnly = true; |
|
|
|
//
|
|
|
|
// 条码
|
|
|
|
//
|
|
|
|
this.条码.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.条码.DataPropertyName = "Code"; |
|
|
|
this.条码.HeaderText = "条码"; |
|
|
|
this.条码.Name = "条码"; |
|
|
|
this.条码.ReadOnly = true; |
|
|
|
//
|
|
|
|
// 产品名称
|
|
|
|
//
|
|
|
|
this.产品名称.DataPropertyName = "Goods_Name"; |
|
|
|
this.产品名称.HeaderText = "产品名称"; |
|
|
|
this.产品名称.Name = "产品名称"; |
|
|
|
this.产品名称.ReadOnly = true; |
|
|
|
this.产品名称.Width = 120; |
|
|
|
//
|
|
|
|
// 规格
|
|
|
|
//
|
|
|
|
this.规格.DataPropertyName = "Goods_Spec"; |
|
|
|
this.规格.HeaderText = "规格"; |
|
|
|
this.规格.Name = "规格"; |
|
|
|
this.规格.ReadOnly = true; |
|
|
|
//
|
|
|
|
// 数量
|
|
|
|
//
|
|
|
|
this.数量.DataPropertyName = "Number"; |
|
|
|
this.数量.HeaderText = "数量"; |
|
|
|
this.数量.Name = "数量"; |
|
|
|
this.数量.ReadOnly = true; |
|
|
|
//
|
|
|
|
// 重量
|
|
|
|
//
|
|
|
|
this.重量.DataPropertyName = "Weight"; |
|
|
|
this.重量.HeaderText = "重量"; |
|
|
|
this.重量.Name = "重量"; |
|
|
|
this.重量.ReadOnly = true; |
|
|
|
//
|
|
|
|
// groupBox1
|
|
|
|
//
|
|
|
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Left) |
|
|
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.groupBox1.Location = new System.Drawing.Point(3, 3); |
|
|
|
this.groupBox1.Controls.Add(this.gridUnCheck); |
|
|
|
this.groupBox1.Location = new System.Drawing.Point(14, 15); |
|
|
|
this.groupBox1.Name = "groupBox1"; |
|
|
|
this.groupBox1.Size = new System.Drawing.Size(718, 312); |
|
|
|
this.groupBox1.Size = new System.Drawing.Size(705, 220); |
|
|
|
this.groupBox1.TabIndex = 0; |
|
|
|
this.groupBox1.TabStop = false; |
|
|
|
this.groupBox1.Text = "groupBox1"; |
|
|
|
this.groupBox1.Text = "待提交"; |
|
|
|
//
|
|
|
|
// groupBox3
|
|
|
|
// gridUnCheck
|
|
|
|
//
|
|
|
|
this.groupBox3.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.groupBox3.Controls.Add(this.uDataGridView2); |
|
|
|
this.groupBox3.Location = new System.Drawing.Point(3, 3); |
|
|
|
this.groupBox3.Name = "groupBox3"; |
|
|
|
this.groupBox3.Size = new System.Drawing.Size(718, 319); |
|
|
|
this.groupBox3.TabIndex = 0; |
|
|
|
this.groupBox3.TabStop = false; |
|
|
|
this.groupBox3.Text = "产品明细"; |
|
|
|
//
|
|
|
|
// uDataGridView2
|
|
|
|
//
|
|
|
|
this.uDataGridView2.AllowUserToAddRows = false; |
|
|
|
this.uDataGridView2.AllowUserToDeleteRows = false; |
|
|
|
this.uDataGridView2.AllowUserToResizeColumns = false; |
|
|
|
this.uDataGridView2.AllowUserToResizeRows = false; |
|
|
|
this.gridUnCheck.AllowUserToAddRows = false; |
|
|
|
this.gridUnCheck.AllowUserToDeleteRows = false; |
|
|
|
this.gridUnCheck.AllowUserToResizeColumns = false; |
|
|
|
this.gridUnCheck.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.uDataGridView2.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
this.uDataGridView2.BackgroundColor = System.Drawing.Color.White; |
|
|
|
this.gridUnCheck.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
this.gridUnCheck.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); |
|
|
|
@ -341,21 +344,111 @@ |
|
|
|
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.uDataGridView2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5; |
|
|
|
this.uDataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.uDataGridView2.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.uDataGridView2.Location = new System.Drawing.Point(3, 17); |
|
|
|
this.uDataGridView2.MultiSelect = false; |
|
|
|
this.uDataGridView2.Name = "uDataGridView2"; |
|
|
|
this.uDataGridView2.ReadOnly = true; |
|
|
|
this.uDataGridView2.RowHeadersVisible = false; |
|
|
|
this.gridUnCheck.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5; |
|
|
|
this.gridUnCheck.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.gridUnCheck.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.uncheck序号, |
|
|
|
this.uncheck条码, |
|
|
|
this.uncheck产品名称, |
|
|
|
this.uncheck规格, |
|
|
|
this.uncheck数量, |
|
|
|
this.uncheck重量}); |
|
|
|
this.gridUnCheck.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.gridUnCheck.Location = new System.Drawing.Point(3, 17); |
|
|
|
this.gridUnCheck.MultiSelect = false; |
|
|
|
this.gridUnCheck.Name = "gridUnCheck"; |
|
|
|
this.gridUnCheck.ReadOnly = true; |
|
|
|
this.gridUnCheck.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.uDataGridView2.RowsDefaultCellStyle = dataGridViewCellStyle6; |
|
|
|
this.uDataGridView2.RowTemplate.Height = 23; |
|
|
|
this.uDataGridView2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.uDataGridView2.Size = new System.Drawing.Size(712, 299); |
|
|
|
this.uDataGridView2.TabIndex = 0; |
|
|
|
this.gridUnCheck.RowsDefaultCellStyle = dataGridViewCellStyle6; |
|
|
|
this.gridUnCheck.RowTemplate.Height = 23; |
|
|
|
this.gridUnCheck.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.gridUnCheck.Size = new System.Drawing.Size(699, 200); |
|
|
|
this.gridUnCheck.TabIndex = 3; |
|
|
|
//
|
|
|
|
// uncheck序号
|
|
|
|
//
|
|
|
|
this.uncheck序号.DataPropertyName = "ID"; |
|
|
|
this.uncheck序号.HeaderText = "序号"; |
|
|
|
this.uncheck序号.Name = "uncheck序号"; |
|
|
|
this.uncheck序号.ReadOnly = true; |
|
|
|
//
|
|
|
|
// uncheck条码
|
|
|
|
//
|
|
|
|
this.uncheck条码.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.uncheck条码.DataPropertyName = "Code"; |
|
|
|
this.uncheck条码.HeaderText = "条码"; |
|
|
|
this.uncheck条码.Name = "uncheck条码"; |
|
|
|
this.uncheck条码.ReadOnly = true; |
|
|
|
//
|
|
|
|
// uncheck产品名称
|
|
|
|
//
|
|
|
|
this.uncheck产品名称.DataPropertyName = "Goods_Name"; |
|
|
|
this.uncheck产品名称.HeaderText = "产品名称"; |
|
|
|
this.uncheck产品名称.Name = "uncheck产品名称"; |
|
|
|
this.uncheck产品名称.ReadOnly = true; |
|
|
|
this.uncheck产品名称.Width = 120; |
|
|
|
//
|
|
|
|
// uncheck规格
|
|
|
|
//
|
|
|
|
this.uncheck规格.DataPropertyName = "Goods_Spec"; |
|
|
|
this.uncheck规格.HeaderText = "规格"; |
|
|
|
this.uncheck规格.Name = "uncheck规格"; |
|
|
|
this.uncheck规格.ReadOnly = true; |
|
|
|
//
|
|
|
|
// uncheck数量
|
|
|
|
//
|
|
|
|
this.uncheck数量.DataPropertyName = "Number"; |
|
|
|
this.uncheck数量.HeaderText = "数量"; |
|
|
|
this.uncheck数量.Name = "uncheck数量"; |
|
|
|
this.uncheck数量.ReadOnly = true; |
|
|
|
//
|
|
|
|
// uncheck重量
|
|
|
|
//
|
|
|
|
this.uncheck重量.DataPropertyName = "Weight"; |
|
|
|
this.uncheck重量.HeaderText = "重量"; |
|
|
|
this.uncheck重量.Name = "uncheck重量"; |
|
|
|
this.uncheck重量.ReadOnly = true; |
|
|
|
//
|
|
|
|
// timer1
|
|
|
|
//
|
|
|
|
this.timer1.Enabled = true; |
|
|
|
this.timer1.Interval = 1000; |
|
|
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick); |
|
|
|
//
|
|
|
|
// enableWeight
|
|
|
|
//
|
|
|
|
this.enableWeight.AutoCheck = false; |
|
|
|
this.enableWeight.AutoSize = true; |
|
|
|
this.enableWeight.Font = new System.Drawing.Font("宋体", 18F); |
|
|
|
this.enableWeight.Location = new System.Drawing.Point(249, 8); |
|
|
|
this.enableWeight.Name = "enableWeight"; |
|
|
|
this.enableWeight.Size = new System.Drawing.Size(125, 28); |
|
|
|
this.enableWeight.TabIndex = 33; |
|
|
|
this.enableWeight.Text = "启用称重"; |
|
|
|
this.enableWeight.UseVisualStyleBackColor = true; |
|
|
|
this.enableWeight.Click += new System.EventHandler(this.enableWeight_Click); |
|
|
|
//
|
|
|
|
// panel2
|
|
|
|
//
|
|
|
|
this.panel2.BackColor = System.Drawing.Color.Black; |
|
|
|
this.panel2.Controls.Add(this.lblChengZhong); |
|
|
|
this.panel2.Location = new System.Drawing.Point(3, 8); |
|
|
|
this.panel2.Name = "panel2"; |
|
|
|
this.panel2.Size = new System.Drawing.Size(237, 78); |
|
|
|
this.panel2.TabIndex = 32; |
|
|
|
//
|
|
|
|
// lblChengZhong
|
|
|
|
//
|
|
|
|
this.lblChengZhong.AutoSize = true; |
|
|
|
this.lblChengZhong.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
this.lblChengZhong.ForeColor = System.Drawing.Color.Red; |
|
|
|
this.lblChengZhong.Location = new System.Drawing.Point(15, 18); |
|
|
|
this.lblChengZhong.Name = "lblChengZhong"; |
|
|
|
this.lblChengZhong.Size = new System.Drawing.Size(97, 40); |
|
|
|
this.lblChengZhong.TabIndex = 0; |
|
|
|
this.lblChengZhong.Text = "0.00"; |
|
|
|
//
|
|
|
|
// TrunksIousOutInStoreForm
|
|
|
|
//
|
|
|
|
@ -363,11 +456,15 @@ |
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
this.ClientSize = new System.Drawing.Size(1276, 741); |
|
|
|
this.Controls.Add(this.splitContainer1); |
|
|
|
this.KeyPreview = true; |
|
|
|
this.MaximizeBox = false; |
|
|
|
this.MinimizeBox = false; |
|
|
|
this.Name = "TrunksIousOutInStoreForm"; |
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; |
|
|
|
this.Text = "胴体白条出入库"; |
|
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized; |
|
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TrunksIousOutInStoreForm_FormClosing); |
|
|
|
this.Load += new System.EventHandler(this.TrunksIousOutInStoreForm_Load); |
|
|
|
this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TrunksIousOutInStoreForm_KeyUp); |
|
|
|
this.splitContainer1.Panel1.ResumeLayout(false); |
|
|
|
this.splitContainer1.Panel2.ResumeLayout(false); |
|
|
|
@ -383,14 +480,12 @@ |
|
|
|
this.splitContainer3.Panel1.ResumeLayout(false); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit(); |
|
|
|
this.splitContainer3.ResumeLayout(false); |
|
|
|
this.splitContainer4.Panel1.ResumeLayout(false); |
|
|
|
this.splitContainer4.Panel2.ResumeLayout(false); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit(); |
|
|
|
this.splitContainer4.ResumeLayout(false); |
|
|
|
this.groupBox2.ResumeLayout(false); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).EndInit(); |
|
|
|
this.groupBox3.ResumeLayout(false); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView2)).EndInit(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gridChecked)).EndInit(); |
|
|
|
this.groupBox1.ResumeLayout(false); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gridUnCheck)).EndInit(); |
|
|
|
this.panel2.ResumeLayout(false); |
|
|
|
this.panel2.PerformLayout(); |
|
|
|
this.ResumeLayout(false); |
|
|
|
|
|
|
|
} |
|
|
|
@ -399,9 +494,6 @@ |
|
|
|
|
|
|
|
private System.Windows.Forms.SplitContainer splitContainer1; |
|
|
|
private System.Windows.Forms.Panel panel1; |
|
|
|
private System.Windows.Forms.RichTextBox richTextBox1; |
|
|
|
private System.Windows.Forms.Label label1; |
|
|
|
private BWP.WinFormControl.WeightControl weightControl1; |
|
|
|
private System.Windows.Forms.SplitContainer splitContainer2; |
|
|
|
private System.Windows.Forms.Button btnSyncData; |
|
|
|
private System.Windows.Forms.SplitContainer splitContainer3; |
|
|
|
@ -409,12 +501,26 @@ |
|
|
|
private System.Windows.Forms.Label label2; |
|
|
|
private System.Windows.Forms.Button btnCreateBill; |
|
|
|
private System.Windows.Forms.Button btnSubmit; |
|
|
|
private System.Windows.Forms.SplitContainer splitContainer4; |
|
|
|
private System.Windows.Forms.GroupBox groupBox1; |
|
|
|
private System.Windows.Forms.Button btnWeightSet; |
|
|
|
private System.Windows.Forms.GroupBox groupBox2; |
|
|
|
private System.Windows.Forms.GroupBox groupBox3; |
|
|
|
private System.Windows.Forms.Button button1; |
|
|
|
private BWP.WinFormControl.UDataGridView uDataGridView1; |
|
|
|
private BWP.WinFormControl.UDataGridView uDataGridView2; |
|
|
|
private System.Windows.Forms.GroupBox groupBox1; |
|
|
|
private System.Windows.Forms.DataGridView gridUnCheck; |
|
|
|
private BWP.WinFormControl.UDataGridView gridChecked; |
|
|
|
private System.Windows.Forms.Timer timer1; |
|
|
|
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 重量; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn uncheck序号; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn uncheck条码; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn uncheck产品名称; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn uncheck规格; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn uncheck数量; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn uncheck重量; |
|
|
|
private System.Windows.Forms.CheckBox enableWeight; |
|
|
|
private System.Windows.Forms.Panel panel2; |
|
|
|
private System.Windows.Forms.Label lblChengZhong; |
|
|
|
} |
|
|
|
} |