|
|
|
@ -36,6 +36,11 @@ |
|
|
|
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.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(); |
|
|
|
@ -49,11 +54,6 @@ |
|
|
|
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.addBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
this.deleteBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
this.rollBackBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
this.closeBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).BeginInit(); |
|
|
|
this.panel1.SuspendLayout(); |
|
|
|
this.SuspendLayout(); |
|
|
|
@ -76,7 +76,8 @@ |
|
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.uDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
|
|
this.uDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
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, |
|
|
|
@ -106,6 +107,75 @@ |
|
|
|
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)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
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(185, 468); |
|
|
|
this.panel1.Name = "panel1"; |
|
|
|
this.panel1.Size = new System.Drawing.Size(744, 52); |
|
|
|
this.panel1.TabIndex = 2; |
|
|
|
//
|
|
|
|
// 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(624, 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(428, 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(207, 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); |
|
|
|
//
|
|
|
|
// R_ID
|
|
|
|
//
|
|
|
|
this.R_ID.DataPropertyName = "ID"; |
|
|
|
@ -139,7 +209,7 @@ |
|
|
|
//
|
|
|
|
// R_BarCode
|
|
|
|
//
|
|
|
|
this.R_BarCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; |
|
|
|
this.R_BarCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.R_BarCode.DataPropertyName = "ShortCode"; |
|
|
|
this.R_BarCode.HeaderText = "存货条码"; |
|
|
|
this.R_BarCode.MinimumWidth = 100; |
|
|
|
@ -148,6 +218,7 @@ |
|
|
|
//
|
|
|
|
// 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"; |
|
|
|
@ -155,7 +226,7 @@ |
|
|
|
//
|
|
|
|
// R_Goods_Name
|
|
|
|
//
|
|
|
|
this.R_Goods_Name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; |
|
|
|
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; |
|
|
|
@ -170,7 +241,6 @@ |
|
|
|
this.R_Number.HeaderText = "数量"; |
|
|
|
this.R_Number.Name = "R_Number"; |
|
|
|
this.R_Number.ReadOnly = true; |
|
|
|
this.R_Number.Width = 70; |
|
|
|
//
|
|
|
|
// R_InStoreWeight
|
|
|
|
//
|
|
|
|
@ -198,7 +268,6 @@ |
|
|
|
this.R_DiffWeight.HeaderText = "差异"; |
|
|
|
this.R_DiffWeight.Name = "R_DiffWeight"; |
|
|
|
this.R_DiffWeight.ReadOnly = true; |
|
|
|
this.R_DiffWeight.Width = 70; |
|
|
|
//
|
|
|
|
// R_Operator
|
|
|
|
//
|
|
|
|
@ -209,82 +278,12 @@ |
|
|
|
//
|
|
|
|
// R_Time
|
|
|
|
//
|
|
|
|
this.R_Time.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; |
|
|
|
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; |
|
|
|
this.R_Time.Width = 120; |
|
|
|
//
|
|
|
|
// panel1
|
|
|
|
//
|
|
|
|
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
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(185, 468); |
|
|
|
this.panel1.Name = "panel1"; |
|
|
|
this.panel1.Size = new System.Drawing.Size(744, 52); |
|
|
|
this.panel1.TabIndex = 2; |
|
|
|
//
|
|
|
|
// 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); |
|
|
|
//
|
|
|
|
// 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(207, 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); |
|
|
|
//
|
|
|
|
// 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(428, 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); |
|
|
|
//
|
|
|
|
// 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(624, 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); |
|
|
|
//
|
|
|
|
// WeightRecordDialog
|
|
|
|
//
|
|
|
|
@ -299,6 +298,7 @@ |
|
|
|
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); |
|
|
|
@ -309,6 +309,10 @@ |
|
|
|
|
|
|
|
private WinFormControl.UDataGridView uDataGridView1; |
|
|
|
private System.Windows.Forms.Panel panel1; |
|
|
|
private Controls.ColorButton addBtn; |
|
|
|
private Controls.ColorButton deleteBtn; |
|
|
|
private Controls.ColorButton rollBackBtn; |
|
|
|
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; |
|
|
|
@ -322,9 +326,5 @@ |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_DiffWeight; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Operator; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R_Time; |
|
|
|
private Controls.ColorButton addBtn; |
|
|
|
private Controls.ColorButton deleteBtn; |
|
|
|
private Controls.ColorButton rollBackBtn; |
|
|
|
private Controls.ColorButton closeBtn; |
|
|
|
} |
|
|
|
} |