|
|
|
@ -29,12 +29,12 @@ |
|
|
|
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(); |
|
|
|
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 dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = 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.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer(); |
|
|
|
this.panel1 = new System.Windows.Forms.Panel(); |
|
|
|
this.enableWeight = new System.Windows.Forms.CheckBox(); |
|
|
|
@ -58,16 +58,16 @@ |
|
|
|
this.timerChectNetStatus = new System.Windows.Forms.Timer(this.components); |
|
|
|
this.timerSyncToService = new System.Windows.Forms.Timer(this.components); |
|
|
|
this.timerCheckSyncSucessed = new System.Windows.Forms.Timer(this.components); |
|
|
|
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.序号 = 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.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(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); |
|
|
|
this.splitContainer1.Panel1.SuspendLayout(); |
|
|
|
this.splitContainer1.Panel2.SuspendLayout(); |
|
|
|
@ -245,6 +245,7 @@ |
|
|
|
this.btnCreateBill.TabIndex = 0; |
|
|
|
this.btnCreateBill.Text = "创建领料"; |
|
|
|
this.btnCreateBill.UseVisualStyleBackColor = true; |
|
|
|
this.btnCreateBill.Click += new System.EventHandler(this.btnCreateBill_Click); |
|
|
|
//
|
|
|
|
// btnSubmit
|
|
|
|
//
|
|
|
|
@ -296,17 +297,17 @@ |
|
|
|
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.gridChecked.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
|
|
dataGridViewCellStyle13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.gridChecked.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle13; |
|
|
|
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); |
|
|
|
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.gridChecked.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
|
|
dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle14.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle14.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.gridChecked.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle14; |
|
|
|
this.gridChecked.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.gridChecked.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.序号, |
|
|
|
@ -320,9 +321,9 @@ |
|
|
|
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.gridChecked.RowsDefaultCellStyle = dataGridViewCellStyle3; |
|
|
|
dataGridViewCellStyle15.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle15.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.gridChecked.RowsDefaultCellStyle = dataGridViewCellStyle15; |
|
|
|
this.gridChecked.RowTemplate.Height = 23; |
|
|
|
this.gridChecked.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.gridChecked.Size = new System.Drawing.Size(693, 320); |
|
|
|
@ -346,17 +347,17 @@ |
|
|
|
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.gridUnCheck.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
dataGridViewCellStyle16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.gridUnCheck.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle16; |
|
|
|
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); |
|
|
|
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.gridUnCheck.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5; |
|
|
|
dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle17.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle17.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle17.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle17.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle17.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.gridUnCheck.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle17; |
|
|
|
this.gridUnCheck.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.gridUnCheck.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.uncheck序号, |
|
|
|
@ -370,9 +371,9 @@ |
|
|
|
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.gridUnCheck.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.gridUnCheck.RowsDefaultCellStyle = dataGridViewCellStyle18; |
|
|
|
this.gridUnCheck.RowTemplate.Height = 23; |
|
|
|
this.gridUnCheck.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.gridUnCheck.Size = new System.Drawing.Size(699, 200); |
|
|
|
@ -400,7 +401,6 @@ |
|
|
|
//
|
|
|
|
// timerSyncToService
|
|
|
|
//
|
|
|
|
this.timerSyncToService.Enabled = true; |
|
|
|
this.timerSyncToService.Interval = 5000; |
|
|
|
this.timerSyncToService.Tick += new System.EventHandler(this.timerSyncToService_Tick); |
|
|
|
//
|
|
|
|
@ -410,43 +410,6 @@ |
|
|
|
this.timerCheckSyncSucessed.Interval = 4000; |
|
|
|
this.timerCheckSyncSucessed.Tick += new System.EventHandler(this.timerCheckSyncSucessed_Tick); |
|
|
|
//
|
|
|
|
// 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 = "BarCode"; |
|
|
|
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 = "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; |
|
|
|
//
|
|
|
|
// 序号
|
|
|
|
//
|
|
|
|
this.序号.DataPropertyName = "ID"; |
|
|
|
@ -484,6 +447,44 @@ |
|
|
|
this.重量.Name = "重量"; |
|
|
|
this.重量.ReadOnly = true; |
|
|
|
//
|
|
|
|
// uncheck序号
|
|
|
|
//
|
|
|
|
this.uncheck序号.DataPropertyName = "ID"; |
|
|
|
this.uncheck序号.HeaderText = "序号"; |
|
|
|
this.uncheck序号.Name = "uncheck序号"; |
|
|
|
this.uncheck序号.ReadOnly = true; |
|
|
|
this.uncheck序号.Visible = false; |
|
|
|
//
|
|
|
|
// uncheck条码
|
|
|
|
//
|
|
|
|
this.uncheck条码.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.uncheck条码.DataPropertyName = "BarCode"; |
|
|
|
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 = "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; |
|
|
|
//
|
|
|
|
// TrunksIousOutInStoreForm
|
|
|
|
//
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
|
|
|
@ -499,6 +500,7 @@ |
|
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TrunksIousOutInStoreForm_FormClosing); |
|
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.TrunksIousOutInStoreForm_FormClosed); |
|
|
|
this.Load += new System.EventHandler(this.TrunksIousOutInStoreForm_Load); |
|
|
|
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TrunksIousOutInStoreForm_KeyDown); |
|
|
|
this.splitContainer1.Panel1.ResumeLayout(false); |
|
|
|
this.splitContainer1.Panel2.ResumeLayout(false); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); |
|
|
|
|