|
|
@ -28,296 +28,323 @@ |
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
private void InitializeComponent() |
|
|
private void InitializeComponent() |
|
|
{ |
|
|
{ |
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = 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 dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
|
|
this.uDataGridView1 = new WinFormControl.UDataGridView(); |
|
|
|
|
|
this.R_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_Selected = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_Image = new System.Windows.Forms.DataGridViewImageColumn(); |
|
|
|
|
|
this.R_Idx = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_BarCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_Goods_Code = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_Goods_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_InStoreWeight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_DiffWeight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_Operator = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_Time = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.panel1 = new System.Windows.Forms.Panel(); |
|
|
|
|
|
this.deleteLogBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
|
|
this.closeBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
|
|
this.rollBackBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
|
|
this.deleteBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
|
|
this.addBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).BeginInit(); |
|
|
|
|
|
this.panel1.SuspendLayout(); |
|
|
|
|
|
this.SuspendLayout(); |
|
|
|
|
|
//
|
|
|
|
|
|
// uDataGridView1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.uDataGridView1.AllowUserToAddRows = false; |
|
|
|
|
|
this.uDataGridView1.AllowUserToDeleteRows = false; |
|
|
|
|
|
this.uDataGridView1.AllowUserToResizeColumns = false; |
|
|
|
|
|
this.uDataGridView1.AllowUserToResizeRows = false; |
|
|
|
|
|
dataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
|
|
this.uDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle8; |
|
|
|
|
|
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; |
|
|
|
|
|
this.uDataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None; |
|
|
|
|
|
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
|
|
dataGridViewCellStyle9.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
|
|
dataGridViewCellStyle9.ForeColor = System.Drawing.Color.White; |
|
|
|
|
|
dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
|
|
this.uDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9; |
|
|
|
|
|
this.uDataGridView1.ColumnHeadersHeight = 40; |
|
|
|
|
|
this.uDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; |
|
|
|
|
|
this.uDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
|
|
this.R_ID, |
|
|
|
|
|
this.R_Selected, |
|
|
|
|
|
this.R_Image, |
|
|
|
|
|
this.R_Idx, |
|
|
|
|
|
this.R_BarCode, |
|
|
|
|
|
this.R_Goods_Code, |
|
|
|
|
|
this.R_Goods_Name, |
|
|
|
|
|
this.R_Number, |
|
|
|
|
|
this.R_InStoreWeight, |
|
|
|
|
|
this.R_Weight, |
|
|
|
|
|
this.R_DiffWeight, |
|
|
|
|
|
this.R_Operator, |
|
|
|
|
|
this.R_Time}); |
|
|
|
|
|
this.uDataGridView1.Location = new System.Drawing.Point(12, 22); |
|
|
|
|
|
this.uDataGridView1.MultiSelect = false; |
|
|
|
|
|
this.uDataGridView1.Name = "uDataGridView1"; |
|
|
|
|
|
this.uDataGridView1.ReadOnly = true; |
|
|
|
|
|
this.uDataGridView1.RowHeadersVisible = false; |
|
|
|
|
|
dataGridViewCellStyle14.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
dataGridViewCellStyle14.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
|
|
this.uDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle14; |
|
|
|
|
|
this.uDataGridView1.RowTemplate.Height = 40; |
|
|
|
|
|
this.uDataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
|
|
this.uDataGridView1.Size = new System.Drawing.Size(1045, 434); |
|
|
|
|
|
this.uDataGridView1.TabIndex = 0; |
|
|
|
|
|
this.uDataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.uDataGridView1_CellClick); |
|
|
|
|
|
this.uDataGridView1.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.uDataGridView1_CellFormatting); |
|
|
|
|
|
//
|
|
|
|
|
|
// R_ID
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_ID.DataPropertyName = "ID"; |
|
|
|
|
|
this.R_ID.HeaderText = "ID"; |
|
|
|
|
|
this.R_ID.Name = "R_ID"; |
|
|
|
|
|
this.R_ID.ReadOnly = true; |
|
|
|
|
|
this.R_ID.Visible = false; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_Selected
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_Selected.DataPropertyName = "Selected"; |
|
|
|
|
|
this.R_Selected.HeaderText = "Selected"; |
|
|
|
|
|
this.R_Selected.Name = "R_Selected"; |
|
|
|
|
|
this.R_Selected.ReadOnly = true; |
|
|
|
|
|
this.R_Selected.Visible = false; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_Image
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_Image.HeaderText = "选中"; |
|
|
|
|
|
this.R_Image.Name = "R_Image"; |
|
|
|
|
|
this.R_Image.ReadOnly = true; |
|
|
|
|
|
this.R_Image.Width = 50; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_Idx
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_Idx.DataPropertyName = "Idx"; |
|
|
|
|
|
this.R_Idx.HeaderText = "序号"; |
|
|
|
|
|
this.R_Idx.Name = "R_Idx"; |
|
|
|
|
|
this.R_Idx.ReadOnly = true; |
|
|
|
|
|
this.R_Idx.Width = 75; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_BarCode
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_BarCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
|
|
this.R_BarCode.DataPropertyName = "ShortCode"; |
|
|
|
|
|
this.R_BarCode.HeaderText = "存货条码"; |
|
|
|
|
|
this.R_BarCode.MinimumWidth = 100; |
|
|
|
|
|
this.R_BarCode.Name = "R_BarCode"; |
|
|
|
|
|
this.R_BarCode.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_Goods_Code
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_Goods_Code.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
|
|
this.R_Goods_Code.DataPropertyName = "Goods_Code"; |
|
|
|
|
|
this.R_Goods_Code.HeaderText = "产品编码"; |
|
|
|
|
|
this.R_Goods_Code.Name = "R_Goods_Code"; |
|
|
|
|
|
this.R_Goods_Code.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_Goods_Name
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_Goods_Name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
|
|
this.R_Goods_Name.DataPropertyName = "Goods_Name"; |
|
|
|
|
|
this.R_Goods_Name.HeaderText = "产品名称"; |
|
|
|
|
|
this.R_Goods_Name.MinimumWidth = 100; |
|
|
|
|
|
this.R_Goods_Name.Name = "R_Goods_Name"; |
|
|
|
|
|
this.R_Goods_Name.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_Number
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_Number.DataPropertyName = "Number"; |
|
|
|
|
|
dataGridViewCellStyle10.Format = "#0.######"; |
|
|
|
|
|
this.R_Number.DefaultCellStyle = dataGridViewCellStyle10; |
|
|
|
|
|
this.R_Number.HeaderText = "数量"; |
|
|
|
|
|
this.R_Number.Name = "R_Number"; |
|
|
|
|
|
this.R_Number.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_InStoreWeight
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_InStoreWeight.DataPropertyName = "InStoreWeight"; |
|
|
|
|
|
dataGridViewCellStyle11.Format = "#0.######"; |
|
|
|
|
|
this.R_InStoreWeight.DefaultCellStyle = dataGridViewCellStyle11; |
|
|
|
|
|
this.R_InStoreWeight.HeaderText = "入库重量"; |
|
|
|
|
|
this.R_InStoreWeight.Name = "R_InStoreWeight"; |
|
|
|
|
|
this.R_InStoreWeight.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_Weight
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_Weight.DataPropertyName = "Weight"; |
|
|
|
|
|
dataGridViewCellStyle12.Format = "#0.######"; |
|
|
|
|
|
this.R_Weight.DefaultCellStyle = dataGridViewCellStyle12; |
|
|
|
|
|
this.R_Weight.HeaderText = "重量"; |
|
|
|
|
|
this.R_Weight.Name = "R_Weight"; |
|
|
|
|
|
this.R_Weight.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_DiffWeight
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_DiffWeight.DataPropertyName = "DiffWeight"; |
|
|
|
|
|
dataGridViewCellStyle13.Format = "#0.######"; |
|
|
|
|
|
this.R_DiffWeight.DefaultCellStyle = dataGridViewCellStyle13; |
|
|
|
|
|
this.R_DiffWeight.HeaderText = "差异"; |
|
|
|
|
|
this.R_DiffWeight.Name = "R_DiffWeight"; |
|
|
|
|
|
this.R_DiffWeight.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_Operator
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_Operator.DataPropertyName = "Operator"; |
|
|
|
|
|
this.R_Operator.HeaderText = "操作员"; |
|
|
|
|
|
this.R_Operator.Name = "R_Operator"; |
|
|
|
|
|
this.R_Operator.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_Time
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_Time.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
|
|
this.R_Time.DataPropertyName = "Time"; |
|
|
|
|
|
this.R_Time.HeaderText = "时间"; |
|
|
|
|
|
this.R_Time.MinimumWidth = 120; |
|
|
|
|
|
this.R_Time.Name = "R_Time"; |
|
|
|
|
|
this.R_Time.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// panel1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.panel1.Anchor = System.Windows.Forms.AnchorStyles.Bottom; |
|
|
|
|
|
this.panel1.Controls.Add(this.deleteLogBtn); |
|
|
|
|
|
this.panel1.Controls.Add(this.closeBtn); |
|
|
|
|
|
this.panel1.Controls.Add(this.rollBackBtn); |
|
|
|
|
|
this.panel1.Controls.Add(this.deleteBtn); |
|
|
|
|
|
this.panel1.Controls.Add(this.addBtn); |
|
|
|
|
|
this.panel1.Location = new System.Drawing.Point(54, 462); |
|
|
|
|
|
this.panel1.Name = "panel1"; |
|
|
|
|
|
this.panel1.Size = new System.Drawing.Size(942, 52); |
|
|
|
|
|
this.panel1.TabIndex = 2; |
|
|
|
|
|
//
|
|
|
|
|
|
// deleteLogBtn
|
|
|
|
|
|
//
|
|
|
|
|
|
this.deleteLogBtn.BackColor = System.Drawing.Color.Red; |
|
|
|
|
|
this.deleteLogBtn.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
this.deleteLogBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
|
|
this.deleteLogBtn.Location = new System.Drawing.Point(822, 5); |
|
|
|
|
|
this.deleteLogBtn.Name = "deleteLogBtn"; |
|
|
|
|
|
this.deleteLogBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(215)))), ((int)(((byte)(107))))); |
|
|
|
|
|
this.deleteLogBtn.Size = new System.Drawing.Size(117, 43); |
|
|
|
|
|
this.deleteLogBtn.TabIndex = 7; |
|
|
|
|
|
this.deleteLogBtn.Text = "删除记录"; |
|
|
|
|
|
this.deleteLogBtn.UseVisualStyleBackColor = false; |
|
|
|
|
|
this.deleteLogBtn.Click += new System.EventHandler(this.deleteLogBtn_Click); |
|
|
|
|
|
//
|
|
|
|
|
|
// closeBtn
|
|
|
|
|
|
//
|
|
|
|
|
|
this.closeBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(135)))), ((int)(((byte)(245))))); |
|
|
|
|
|
this.closeBtn.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
this.closeBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
|
|
this.closeBtn.Location = new System.Drawing.Point(418, 5); |
|
|
|
|
|
this.closeBtn.Name = "closeBtn"; |
|
|
|
|
|
this.closeBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(215)))), ((int)(((byte)(107))))); |
|
|
|
|
|
this.closeBtn.Size = new System.Drawing.Size(117, 43); |
|
|
|
|
|
this.closeBtn.TabIndex = 3; |
|
|
|
|
|
this.closeBtn.Text = "关闭"; |
|
|
|
|
|
this.closeBtn.UseVisualStyleBackColor = false; |
|
|
|
|
|
this.closeBtn.Click += new System.EventHandler(this.closeBtn_Click); |
|
|
|
|
|
//
|
|
|
|
|
|
// rollBackBtn
|
|
|
|
|
|
//
|
|
|
|
|
|
this.rollBackBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(75)))), ((int)(((byte)(71))))); |
|
|
|
|
|
this.rollBackBtn.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
this.rollBackBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
|
|
this.rollBackBtn.Location = new System.Drawing.Point(177, 5); |
|
|
|
|
|
this.rollBackBtn.Name = "rollBackBtn"; |
|
|
|
|
|
this.rollBackBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(215)))), ((int)(((byte)(107))))); |
|
|
|
|
|
this.rollBackBtn.Size = new System.Drawing.Size(117, 43); |
|
|
|
|
|
this.rollBackBtn.TabIndex = 6; |
|
|
|
|
|
this.rollBackBtn.Text = "退回"; |
|
|
|
|
|
this.rollBackBtn.UseVisualStyleBackColor = false; |
|
|
|
|
|
this.rollBackBtn.Click += new System.EventHandler(this.rollBackBtn_Click); |
|
|
|
|
|
//
|
|
|
|
|
|
// deleteBtn
|
|
|
|
|
|
//
|
|
|
|
|
|
this.deleteBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(25))))); |
|
|
|
|
|
this.deleteBtn.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
this.deleteBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
|
|
this.deleteBtn.Location = new System.Drawing.Point(649, 5); |
|
|
|
|
|
this.deleteBtn.Name = "deleteBtn"; |
|
|
|
|
|
this.deleteBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(215)))), ((int)(((byte)(107))))); |
|
|
|
|
|
this.deleteBtn.Size = new System.Drawing.Size(117, 43); |
|
|
|
|
|
this.deleteBtn.TabIndex = 5; |
|
|
|
|
|
this.deleteBtn.Text = "删除且更新"; |
|
|
|
|
|
this.deleteBtn.UseVisualStyleBackColor = false; |
|
|
|
|
|
this.deleteBtn.Click += new System.EventHandler(this.deleteBtn_Click); |
|
|
|
|
|
//
|
|
|
|
|
|
// addBtn
|
|
|
|
|
|
//
|
|
|
|
|
|
this.addBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(198)))), ((int)(((byte)(58))))); |
|
|
|
|
|
this.addBtn.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
this.addBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
|
|
this.addBtn.Location = new System.Drawing.Point(3, 5); |
|
|
|
|
|
this.addBtn.Name = "addBtn"; |
|
|
|
|
|
this.addBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(215)))), ((int)(((byte)(107))))); |
|
|
|
|
|
this.addBtn.Size = new System.Drawing.Size(117, 43); |
|
|
|
|
|
this.addBtn.TabIndex = 3; |
|
|
|
|
|
this.addBtn.Text = "新增"; |
|
|
|
|
|
this.addBtn.UseVisualStyleBackColor = false; |
|
|
|
|
|
this.addBtn.Click += new System.EventHandler(this.addBtn_Click); |
|
|
|
|
|
//
|
|
|
|
|
|
// WeightRecordDialog
|
|
|
|
|
|
//
|
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
|
|
this.BackColor = System.Drawing.Color.White; |
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(1069, 528); |
|
|
|
|
|
this.Controls.Add(this.panel1); |
|
|
|
|
|
this.Controls.Add(this.uDataGridView1); |
|
|
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; |
|
|
|
|
|
this.MinimizeBox = false; |
|
|
|
|
|
this.Name = "WeightRecordDialog"; |
|
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
|
|
|
|
|
this.Text = "称重记录"; |
|
|
|
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized; |
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).EndInit(); |
|
|
|
|
|
this.panel1.ResumeLayout(false); |
|
|
|
|
|
this.ResumeLayout(false); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = 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(); |
|
|
|
|
|
this.uDataGridView1 = new WinFormControl.UDataGridView(); |
|
|
|
|
|
this.panel1 = new System.Windows.Forms.Panel(); |
|
|
|
|
|
this.deleteLogBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
|
|
this.closeBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
|
|
this.rollBackBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
|
|
this.deleteBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
|
|
this.addBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
|
|
this.R_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_Selected = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_Image = new System.Windows.Forms.DataGridViewImageColumn(); |
|
|
|
|
|
this.R_Idx = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_BarCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_Goods_Code = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_Goods_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_InStoreWeight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_DiffWeight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_Operator = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
this.R_Time = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).BeginInit(); |
|
|
|
|
|
this.panel1.SuspendLayout(); |
|
|
|
|
|
this.SuspendLayout(); |
|
|
|
|
|
//
|
|
|
|
|
|
// 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; |
|
|
|
|
|
this.uDataGridView1.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.uDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
|
|
|
|
this.uDataGridView1.ColumnHeadersHeight = 40; |
|
|
|
|
|
this.uDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; |
|
|
|
|
|
this.uDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
|
|
this.R_ID, |
|
|
|
|
|
this.R_Selected, |
|
|
|
|
|
this.R_Image, |
|
|
|
|
|
this.R_Idx, |
|
|
|
|
|
this.R_BarCode, |
|
|
|
|
|
this.R_Goods_Code, |
|
|
|
|
|
this.R_Goods_Name, |
|
|
|
|
|
this.R_Number, |
|
|
|
|
|
this.R_InStoreWeight, |
|
|
|
|
|
this.R_Weight, |
|
|
|
|
|
this.R_DiffWeight, |
|
|
|
|
|
this.R_Operator, |
|
|
|
|
|
this.R_Time}); |
|
|
|
|
|
this.uDataGridView1.Location = new System.Drawing.Point(16, 28); |
|
|
|
|
|
this.uDataGridView1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
|
|
|
|
|
this.uDataGridView1.MultiSelect = false; |
|
|
|
|
|
this.uDataGridView1.Name = "uDataGridView1"; |
|
|
|
|
|
this.uDataGridView1.ReadOnly = true; |
|
|
|
|
|
this.uDataGridView1.RowHeadersVisible = false; |
|
|
|
|
|
this.uDataGridView1.RowHeadersWidth = 51; |
|
|
|
|
|
dataGridViewCellStyle7.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
dataGridViewCellStyle7.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
|
|
this.uDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle7; |
|
|
|
|
|
this.uDataGridView1.RowTemplate.Height = 40; |
|
|
|
|
|
this.uDataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
|
|
this.uDataGridView1.Size = new System.Drawing.Size(1393, 542); |
|
|
|
|
|
this.uDataGridView1.TabIndex = 0; |
|
|
|
|
|
this.uDataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.uDataGridView1_CellClick); |
|
|
|
|
|
this.uDataGridView1.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.uDataGridView1_CellFormatting); |
|
|
|
|
|
//
|
|
|
|
|
|
// panel1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.panel1.Anchor = System.Windows.Forms.AnchorStyles.Bottom; |
|
|
|
|
|
this.panel1.Controls.Add(this.deleteLogBtn); |
|
|
|
|
|
this.panel1.Controls.Add(this.closeBtn); |
|
|
|
|
|
this.panel1.Controls.Add(this.rollBackBtn); |
|
|
|
|
|
this.panel1.Controls.Add(this.deleteBtn); |
|
|
|
|
|
this.panel1.Controls.Add(this.addBtn); |
|
|
|
|
|
this.panel1.Location = new System.Drawing.Point(72, 578); |
|
|
|
|
|
this.panel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
|
|
|
|
|
this.panel1.Name = "panel1"; |
|
|
|
|
|
this.panel1.Size = new System.Drawing.Size(1256, 65); |
|
|
|
|
|
this.panel1.TabIndex = 2; |
|
|
|
|
|
//
|
|
|
|
|
|
// deleteLogBtn
|
|
|
|
|
|
//
|
|
|
|
|
|
this.deleteLogBtn.BackColor = System.Drawing.Color.Red; |
|
|
|
|
|
this.deleteLogBtn.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
this.deleteLogBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
|
|
this.deleteLogBtn.Location = new System.Drawing.Point(1096, 6); |
|
|
|
|
|
this.deleteLogBtn.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
|
|
|
|
|
this.deleteLogBtn.Name = "deleteLogBtn"; |
|
|
|
|
|
this.deleteLogBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(215)))), ((int)(((byte)(107))))); |
|
|
|
|
|
this.deleteLogBtn.Size = new System.Drawing.Size(156, 54); |
|
|
|
|
|
this.deleteLogBtn.TabIndex = 7; |
|
|
|
|
|
this.deleteLogBtn.Text = "删除记录"; |
|
|
|
|
|
this.deleteLogBtn.UseVisualStyleBackColor = false; |
|
|
|
|
|
this.deleteLogBtn.Click += new System.EventHandler(this.deleteLogBtn_Click); |
|
|
|
|
|
//
|
|
|
|
|
|
// closeBtn
|
|
|
|
|
|
//
|
|
|
|
|
|
this.closeBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(135)))), ((int)(((byte)(245))))); |
|
|
|
|
|
this.closeBtn.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
this.closeBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
|
|
this.closeBtn.Location = new System.Drawing.Point(557, 6); |
|
|
|
|
|
this.closeBtn.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
|
|
|
|
|
this.closeBtn.Name = "closeBtn"; |
|
|
|
|
|
this.closeBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(215)))), ((int)(((byte)(107))))); |
|
|
|
|
|
this.closeBtn.Size = new System.Drawing.Size(156, 54); |
|
|
|
|
|
this.closeBtn.TabIndex = 3; |
|
|
|
|
|
this.closeBtn.Text = "关闭"; |
|
|
|
|
|
this.closeBtn.UseVisualStyleBackColor = false; |
|
|
|
|
|
this.closeBtn.Click += new System.EventHandler(this.closeBtn_Click); |
|
|
|
|
|
//
|
|
|
|
|
|
// rollBackBtn
|
|
|
|
|
|
//
|
|
|
|
|
|
this.rollBackBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(75)))), ((int)(((byte)(71))))); |
|
|
|
|
|
this.rollBackBtn.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
this.rollBackBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
|
|
this.rollBackBtn.Location = new System.Drawing.Point(236, 6); |
|
|
|
|
|
this.rollBackBtn.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
|
|
|
|
|
this.rollBackBtn.Name = "rollBackBtn"; |
|
|
|
|
|
this.rollBackBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(215)))), ((int)(((byte)(107))))); |
|
|
|
|
|
this.rollBackBtn.Size = new System.Drawing.Size(156, 54); |
|
|
|
|
|
this.rollBackBtn.TabIndex = 6; |
|
|
|
|
|
this.rollBackBtn.Text = "退回"; |
|
|
|
|
|
this.rollBackBtn.UseVisualStyleBackColor = false; |
|
|
|
|
|
this.rollBackBtn.Click += new System.EventHandler(this.rollBackBtn_Click); |
|
|
|
|
|
//
|
|
|
|
|
|
// deleteBtn
|
|
|
|
|
|
//
|
|
|
|
|
|
this.deleteBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(25))))); |
|
|
|
|
|
this.deleteBtn.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
this.deleteBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
|
|
this.deleteBtn.Location = new System.Drawing.Point(865, 6); |
|
|
|
|
|
this.deleteBtn.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
|
|
|
|
|
this.deleteBtn.Name = "deleteBtn"; |
|
|
|
|
|
this.deleteBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(215)))), ((int)(((byte)(107))))); |
|
|
|
|
|
this.deleteBtn.Size = new System.Drawing.Size(156, 54); |
|
|
|
|
|
this.deleteBtn.TabIndex = 5; |
|
|
|
|
|
this.deleteBtn.Text = "删除且更新"; |
|
|
|
|
|
this.deleteBtn.UseVisualStyleBackColor = false; |
|
|
|
|
|
this.deleteBtn.Click += new System.EventHandler(this.deleteBtn_Click); |
|
|
|
|
|
//
|
|
|
|
|
|
// addBtn
|
|
|
|
|
|
//
|
|
|
|
|
|
this.addBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(198)))), ((int)(((byte)(58))))); |
|
|
|
|
|
this.addBtn.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
|
|
this.addBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
|
|
this.addBtn.Location = new System.Drawing.Point(4, 6); |
|
|
|
|
|
this.addBtn.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
|
|
|
|
|
this.addBtn.Name = "addBtn"; |
|
|
|
|
|
this.addBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(215)))), ((int)(((byte)(107))))); |
|
|
|
|
|
this.addBtn.Size = new System.Drawing.Size(156, 54); |
|
|
|
|
|
this.addBtn.TabIndex = 3; |
|
|
|
|
|
this.addBtn.Text = "新增"; |
|
|
|
|
|
this.addBtn.UseVisualStyleBackColor = false; |
|
|
|
|
|
this.addBtn.Click += new System.EventHandler(this.addBtn_Click); |
|
|
|
|
|
//
|
|
|
|
|
|
// R_ID
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_ID.DataPropertyName = "ID"; |
|
|
|
|
|
this.R_ID.HeaderText = "ID"; |
|
|
|
|
|
this.R_ID.MinimumWidth = 6; |
|
|
|
|
|
this.R_ID.Name = "R_ID"; |
|
|
|
|
|
this.R_ID.ReadOnly = true; |
|
|
|
|
|
this.R_ID.Visible = false; |
|
|
|
|
|
this.R_ID.Width = 125; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_Selected
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_Selected.DataPropertyName = "Selected"; |
|
|
|
|
|
this.R_Selected.HeaderText = "Selected"; |
|
|
|
|
|
this.R_Selected.MinimumWidth = 6; |
|
|
|
|
|
this.R_Selected.Name = "R_Selected"; |
|
|
|
|
|
this.R_Selected.ReadOnly = true; |
|
|
|
|
|
this.R_Selected.Visible = false; |
|
|
|
|
|
this.R_Selected.Width = 125; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_Image
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_Image.HeaderText = "选中"; |
|
|
|
|
|
this.R_Image.MinimumWidth = 6; |
|
|
|
|
|
this.R_Image.Name = "R_Image"; |
|
|
|
|
|
this.R_Image.ReadOnly = true; |
|
|
|
|
|
this.R_Image.Width = 50; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_Idx
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_Idx.DataPropertyName = "Idx"; |
|
|
|
|
|
this.R_Idx.HeaderText = "序号"; |
|
|
|
|
|
this.R_Idx.MinimumWidth = 6; |
|
|
|
|
|
this.R_Idx.Name = "R_Idx"; |
|
|
|
|
|
this.R_Idx.ReadOnly = true; |
|
|
|
|
|
this.R_Idx.Width = 50; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_BarCode
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_BarCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
|
|
this.R_BarCode.DataPropertyName = "ShortCode"; |
|
|
|
|
|
this.R_BarCode.HeaderText = "存货条码"; |
|
|
|
|
|
this.R_BarCode.MinimumWidth = 100; |
|
|
|
|
|
this.R_BarCode.Name = "R_BarCode"; |
|
|
|
|
|
this.R_BarCode.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_Goods_Code
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_Goods_Code.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
|
|
this.R_Goods_Code.DataPropertyName = "Goods_Code"; |
|
|
|
|
|
this.R_Goods_Code.HeaderText = "产品编码"; |
|
|
|
|
|
this.R_Goods_Code.MinimumWidth = 6; |
|
|
|
|
|
this.R_Goods_Code.Name = "R_Goods_Code"; |
|
|
|
|
|
this.R_Goods_Code.ReadOnly = true; |
|
|
|
|
|
this.R_Goods_Code.Width = 60; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_Goods_Name
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_Goods_Name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
|
|
this.R_Goods_Name.DataPropertyName = "Goods_Name"; |
|
|
|
|
|
this.R_Goods_Name.HeaderText = "产品名称"; |
|
|
|
|
|
this.R_Goods_Name.MinimumWidth = 100; |
|
|
|
|
|
this.R_Goods_Name.Name = "R_Goods_Name"; |
|
|
|
|
|
this.R_Goods_Name.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_Number
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_Number.DataPropertyName = "Number"; |
|
|
|
|
|
dataGridViewCellStyle3.Format = "#0.######"; |
|
|
|
|
|
this.R_Number.DefaultCellStyle = dataGridViewCellStyle3; |
|
|
|
|
|
this.R_Number.HeaderText = "数量"; |
|
|
|
|
|
this.R_Number.MinimumWidth = 6; |
|
|
|
|
|
this.R_Number.Name = "R_Number"; |
|
|
|
|
|
this.R_Number.ReadOnly = true; |
|
|
|
|
|
this.R_Number.Width = 60; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_InStoreWeight
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_InStoreWeight.DataPropertyName = "InStoreWeight"; |
|
|
|
|
|
dataGridViewCellStyle4.Format = "#0.######"; |
|
|
|
|
|
this.R_InStoreWeight.DefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
|
|
this.R_InStoreWeight.HeaderText = "入库重量"; |
|
|
|
|
|
this.R_InStoreWeight.MinimumWidth = 6; |
|
|
|
|
|
this.R_InStoreWeight.Name = "R_InStoreWeight"; |
|
|
|
|
|
this.R_InStoreWeight.ReadOnly = true; |
|
|
|
|
|
this.R_InStoreWeight.Width = 60; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_Weight
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_Weight.DataPropertyName = "Weight"; |
|
|
|
|
|
dataGridViewCellStyle5.Format = "#0.######"; |
|
|
|
|
|
this.R_Weight.DefaultCellStyle = dataGridViewCellStyle5; |
|
|
|
|
|
this.R_Weight.HeaderText = "重量"; |
|
|
|
|
|
this.R_Weight.MinimumWidth = 6; |
|
|
|
|
|
this.R_Weight.Name = "R_Weight"; |
|
|
|
|
|
this.R_Weight.ReadOnly = true; |
|
|
|
|
|
this.R_Weight.Width = 60; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_DiffWeight
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_DiffWeight.DataPropertyName = "DiffWeight"; |
|
|
|
|
|
dataGridViewCellStyle6.Format = "#0.######"; |
|
|
|
|
|
this.R_DiffWeight.DefaultCellStyle = dataGridViewCellStyle6; |
|
|
|
|
|
this.R_DiffWeight.HeaderText = "差异"; |
|
|
|
|
|
this.R_DiffWeight.MinimumWidth = 6; |
|
|
|
|
|
this.R_DiffWeight.Name = "R_DiffWeight"; |
|
|
|
|
|
this.R_DiffWeight.ReadOnly = true; |
|
|
|
|
|
this.R_DiffWeight.Width = 60; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_Operator
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_Operator.DataPropertyName = "Operator"; |
|
|
|
|
|
this.R_Operator.HeaderText = "操作员"; |
|
|
|
|
|
this.R_Operator.MinimumWidth = 6; |
|
|
|
|
|
this.R_Operator.Name = "R_Operator"; |
|
|
|
|
|
this.R_Operator.ReadOnly = true; |
|
|
|
|
|
this.R_Operator.Width = 125; |
|
|
|
|
|
//
|
|
|
|
|
|
// R_Time
|
|
|
|
|
|
//
|
|
|
|
|
|
this.R_Time.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
|
|
this.R_Time.DataPropertyName = "Time"; |
|
|
|
|
|
this.R_Time.HeaderText = "时间"; |
|
|
|
|
|
this.R_Time.MinimumWidth = 120; |
|
|
|
|
|
this.R_Time.Name = "R_Time"; |
|
|
|
|
|
this.R_Time.ReadOnly = true; |
|
|
|
|
|
//
|
|
|
|
|
|
// WeightRecordDialog
|
|
|
|
|
|
//
|
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); |
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
|
|
this.BackColor = System.Drawing.Color.White; |
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(1425, 660); |
|
|
|
|
|
this.Controls.Add(this.panel1); |
|
|
|
|
|
this.Controls.Add(this.uDataGridView1); |
|
|
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; |
|
|
|
|
|
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
|
|
|
|
|
this.MinimizeBox = false; |
|
|
|
|
|
this.Name = "WeightRecordDialog"; |
|
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
|
|
|
|
|
this.Text = "称重记录"; |
|
|
|
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized; |
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).EndInit(); |
|
|
|
|
|
this.panel1.ResumeLayout(false); |
|
|
|
|
|
this.ResumeLayout(false); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#endregion
|
|
|
#endregion
|
|
|
@ -328,19 +355,19 @@ |
|
|
private Controls.ColorButton deleteBtn; |
|
|
private Controls.ColorButton deleteBtn; |
|
|
private Controls.ColorButton rollBackBtn; |
|
|
private Controls.ColorButton rollBackBtn; |
|
|
private Controls.ColorButton closeBtn; |
|
|
private Controls.ColorButton closeBtn; |
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_ID; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Selected; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewImageColumn R_Image; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Idx; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_BarCode; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Goods_Code; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Goods_Name; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Number; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_InStoreWeight; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Weight; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_DiffWeight; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Operator; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Time; |
|
|
|
|
|
private Controls.ColorButton deleteLogBtn; |
|
|
|
|
|
|
|
|
private Controls.ColorButton deleteLogBtn; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_ID; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Selected; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewImageColumn R_Image; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Idx; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_BarCode; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Goods_Code; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Goods_Name; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Number; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_InStoreWeight; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Weight; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_DiffWeight; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Operator; |
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Time; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |