|
|
namespace ButcherFactory.WeightCount_
|
|
|
{
|
|
|
partial class DiscontWeightSetDialog
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// Required designer variable.
|
|
|
/// </summary>
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
/// <summary>
|
|
|
/// Clean up any resources being used.
|
|
|
/// </summary>
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
protected override void Dispose(bool disposing)
|
|
|
{
|
|
|
if (disposing && (components != null))
|
|
|
{
|
|
|
components.Dispose();
|
|
|
}
|
|
|
base.Dispose(disposing);
|
|
|
}
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
/// <summary>
|
|
|
/// Required method for Designer support - do not modify
|
|
|
/// the contents of this method with the code editor.
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DiscontWeightSetDialog));
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = 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();
|
|
|
this.uLabel2 = new WinFormControl.ULabel();
|
|
|
this.nameBox = new System.Windows.Forms.TextBox();
|
|
|
this.discontBox = new System.Windows.Forms.TextBox();
|
|
|
this.addBtn = new WinFormControl.UButton();
|
|
|
this.mGrid = new WinFormControl.UDataGridView();
|
|
|
this.uLabel3 = new WinFormControl.ULabel();
|
|
|
this.totalLbl = new WinFormControl.ULabel();
|
|
|
this.okBtn = new WinFormControl.UButton();
|
|
|
this.U_Number = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.U_Name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.U_Standard = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.U_NumberEdit = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.U_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.DelCol = new System.Windows.Forms.DataGridViewButtonColumn();
|
|
|
this.uLabel1 = new WinFormControl.ULabel();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.mGrid)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// uLabel2
|
|
|
//
|
|
|
this.uLabel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.uLabel2.AutoSize = true;
|
|
|
this.uLabel2.BackColor = System.Drawing.Color.Transparent;
|
|
|
this.uLabel2.Font = new System.Drawing.Font("宋体", 15F);
|
|
|
this.uLabel2.Location = new System.Drawing.Point(151, 29);
|
|
|
this.uLabel2.Name = "uLabel2";
|
|
|
this.uLabel2.Size = new System.Drawing.Size(89, 20);
|
|
|
this.uLabel2.TabIndex = 17;
|
|
|
this.uLabel2.Text = "扣重项:";
|
|
|
//
|
|
|
// nameBox
|
|
|
//
|
|
|
this.nameBox.Font = new System.Drawing.Font("宋体", 15F);
|
|
|
this.nameBox.Location = new System.Drawing.Point(232, 26);
|
|
|
this.nameBox.Name = "nameBox";
|
|
|
this.nameBox.Size = new System.Drawing.Size(144, 30);
|
|
|
this.nameBox.TabIndex = 18;
|
|
|
//
|
|
|
// discontBox
|
|
|
//
|
|
|
this.discontBox.Font = new System.Drawing.Font("宋体", 15F);
|
|
|
this.discontBox.Location = new System.Drawing.Point(471, 26);
|
|
|
this.discontBox.Name = "discontBox";
|
|
|
this.discontBox.Size = new System.Drawing.Size(144, 30);
|
|
|
this.discontBox.TabIndex = 20;
|
|
|
//
|
|
|
// addBtn
|
|
|
//
|
|
|
this.addBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.addBtn.AsClicked = false;
|
|
|
this.addBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("addBtn.BackgroundImage")));
|
|
|
this.addBtn.EnableGroup = false;
|
|
|
this.addBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214)))));
|
|
|
this.addBtn.FlatAppearance.BorderSize = 0;
|
|
|
this.addBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.addBtn.Font = new System.Drawing.Font("宋体", 15F);
|
|
|
this.addBtn.ForeColor = System.Drawing.Color.Black;
|
|
|
this.addBtn.Location = new System.Drawing.Point(643, 22);
|
|
|
this.addBtn.Name = "addBtn";
|
|
|
this.addBtn.PlaySound = false;
|
|
|
this.addBtn.SelfControlEnable = false;
|
|
|
this.addBtn.Size = new System.Drawing.Size(111, 34);
|
|
|
this.addBtn.SoundType = WinFormControl.SoundType.Click;
|
|
|
this.addBtn.TabIndex = 26;
|
|
|
this.addBtn.Text = "添加";
|
|
|
this.addBtn.UseVisualStyleBackColor = true;
|
|
|
this.addBtn.WithStataHode = false;
|
|
|
this.addBtn.Click += new System.EventHandler(this.addBtn_Click);
|
|
|
//
|
|
|
// mGrid
|
|
|
//
|
|
|
this.mGrid.AllowUserToAddRows = false;
|
|
|
this.mGrid.AllowUserToDeleteRows = false;
|
|
|
this.mGrid.AllowUserToResizeColumns = false;
|
|
|
this.mGrid.AllowUserToResizeRows = false;
|
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
|
|
|
this.mGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
|
|
this.mGrid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.mGrid.BackgroundColor = System.Drawing.Color.White;
|
|
|
this.mGrid.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.mGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
|
|
this.mGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
this.mGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.U_Number,
|
|
|
this.U_Name,
|
|
|
this.U_Standard,
|
|
|
this.U_NumberEdit,
|
|
|
this.U_Weight,
|
|
|
this.DelCol});
|
|
|
this.mGrid.Location = new System.Drawing.Point(36, 87);
|
|
|
this.mGrid.MultiSelect = false;
|
|
|
this.mGrid.Name = "mGrid";
|
|
|
this.mGrid.ReadOnly = true;
|
|
|
this.mGrid.RowHeadersVisible = false;
|
|
|
dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218)))));
|
|
|
this.mGrid.RowsDefaultCellStyle = dataGridViewCellStyle5;
|
|
|
this.mGrid.RowTemplate.Height = 60;
|
|
|
this.mGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
|
this.mGrid.Size = new System.Drawing.Size(724, 358);
|
|
|
this.mGrid.TabIndex = 27;
|
|
|
this.mGrid.CellMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.mGrid_CellMouseClick);
|
|
|
this.mGrid.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.mGrid_CellPainting);
|
|
|
//
|
|
|
// uLabel3
|
|
|
//
|
|
|
this.uLabel3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.uLabel3.AutoSize = true;
|
|
|
this.uLabel3.BackColor = System.Drawing.Color.Transparent;
|
|
|
this.uLabel3.Font = new System.Drawing.Font("宋体", 15F);
|
|
|
this.uLabel3.Location = new System.Drawing.Point(220, 482);
|
|
|
this.uLabel3.Name = "uLabel3";
|
|
|
this.uLabel3.Size = new System.Drawing.Size(89, 20);
|
|
|
this.uLabel3.TabIndex = 28;
|
|
|
this.uLabel3.Text = "总扣重:";
|
|
|
//
|
|
|
// totalLbl
|
|
|
//
|
|
|
this.totalLbl.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.totalLbl.AutoSize = true;
|
|
|
this.totalLbl.BackColor = System.Drawing.Color.Transparent;
|
|
|
this.totalLbl.Font = new System.Drawing.Font("宋体", 15F);
|
|
|
this.totalLbl.ForeColor = System.Drawing.Color.Red;
|
|
|
this.totalLbl.Location = new System.Drawing.Point(315, 482);
|
|
|
this.totalLbl.Name = "totalLbl";
|
|
|
this.totalLbl.Size = new System.Drawing.Size(19, 20);
|
|
|
this.totalLbl.TabIndex = 29;
|
|
|
this.totalLbl.Text = "0";
|
|
|
//
|
|
|
// okBtn
|
|
|
//
|
|
|
this.okBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.okBtn.AsClicked = false;
|
|
|
this.okBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("okBtn.BackgroundImage")));
|
|
|
this.okBtn.EnableGroup = false;
|
|
|
this.okBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214)))));
|
|
|
this.okBtn.FlatAppearance.BorderSize = 0;
|
|
|
this.okBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.okBtn.Font = new System.Drawing.Font("宋体", 15F);
|
|
|
this.okBtn.ForeColor = System.Drawing.Color.Black;
|
|
|
this.okBtn.Location = new System.Drawing.Point(471, 475);
|
|
|
this.okBtn.Name = "okBtn";
|
|
|
this.okBtn.PlaySound = false;
|
|
|
this.okBtn.SelfControlEnable = false;
|
|
|
this.okBtn.Size = new System.Drawing.Size(111, 34);
|
|
|
this.okBtn.SoundType = WinFormControl.SoundType.Click;
|
|
|
this.okBtn.TabIndex = 30;
|
|
|
this.okBtn.Text = "确定";
|
|
|
this.okBtn.UseVisualStyleBackColor = true;
|
|
|
this.okBtn.WithStataHode = false;
|
|
|
this.okBtn.Click += new System.EventHandler(this.okBtn_Click);
|
|
|
//
|
|
|
// U_Number
|
|
|
//
|
|
|
this.U_Number.HeaderText = "Number";
|
|
|
this.U_Number.Name = "U_Number";
|
|
|
this.U_Number.ReadOnly = true;
|
|
|
this.U_Number.Visible = false;
|
|
|
//
|
|
|
// U_Name
|
|
|
//
|
|
|
this.U_Name.DataPropertyName = "Name";
|
|
|
this.U_Name.HeaderText = "扣重项";
|
|
|
this.U_Name.Name = "U_Name";
|
|
|
this.U_Name.ReadOnly = true;
|
|
|
this.U_Name.Width = 180;
|
|
|
//
|
|
|
// U_Standard
|
|
|
//
|
|
|
this.U_Standard.DataPropertyName = "Standard";
|
|
|
dataGridViewCellStyle3.Format = "#0.##";
|
|
|
this.U_Standard.DefaultCellStyle = dataGridViewCellStyle3;
|
|
|
this.U_Standard.HeaderText = "标准重";
|
|
|
this.U_Standard.Name = "U_Standard";
|
|
|
this.U_Standard.ReadOnly = true;
|
|
|
this.U_Standard.Width = 120;
|
|
|
//
|
|
|
// U_NumberEdit
|
|
|
//
|
|
|
this.U_NumberEdit.HeaderText = "数量";
|
|
|
this.U_NumberEdit.Name = "U_NumberEdit";
|
|
|
this.U_NumberEdit.ReadOnly = true;
|
|
|
this.U_NumberEdit.Width = 200;
|
|
|
//
|
|
|
// U_Weight
|
|
|
//
|
|
|
this.U_Weight.DataPropertyName = "Weight";
|
|
|
dataGridViewCellStyle4.Format = "#0.######";
|
|
|
this.U_Weight.DefaultCellStyle = dataGridViewCellStyle4;
|
|
|
this.U_Weight.HeaderText = "扣重";
|
|
|
this.U_Weight.Name = "U_Weight";
|
|
|
this.U_Weight.ReadOnly = true;
|
|
|
this.U_Weight.Width = 120;
|
|
|
//
|
|
|
// DelCol
|
|
|
//
|
|
|
this.DelCol.HeaderText = "删除";
|
|
|
this.DelCol.Name = "DelCol";
|
|
|
this.DelCol.ReadOnly = true;
|
|
|
this.DelCol.Text = "删除";
|
|
|
//
|
|
|
// uLabel1
|
|
|
//
|
|
|
this.uLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.uLabel1.AutoSize = true;
|
|
|
this.uLabel1.BackColor = System.Drawing.Color.Transparent;
|
|
|
this.uLabel1.Font = new System.Drawing.Font("宋体", 15F);
|
|
|
this.uLabel1.Location = new System.Drawing.Point(394, 29);
|
|
|
this.uLabel1.Name = "uLabel1";
|
|
|
this.uLabel1.Size = new System.Drawing.Size(89, 20);
|
|
|
this.uLabel1.TabIndex = 19;
|
|
|
this.uLabel1.Text = "标准重:";
|
|
|
//
|
|
|
// DiscontWeightSetDialog
|
|
|
//
|
|
|
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(788, 537);
|
|
|
this.Controls.Add(this.okBtn);
|
|
|
this.Controls.Add(this.totalLbl);
|
|
|
this.Controls.Add(this.uLabel3);
|
|
|
this.Controls.Add(this.mGrid);
|
|
|
this.Controls.Add(this.addBtn);
|
|
|
this.Controls.Add(this.discontBox);
|
|
|
this.Controls.Add(this.uLabel1);
|
|
|
this.Controls.Add(this.nameBox);
|
|
|
this.Controls.Add(this.uLabel2);
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
|
this.MaximizeBox = false;
|
|
|
this.MinimizeBox = false;
|
|
|
this.Name = "DiscontWeightSetDialog";
|
|
|
this.Text = "扣重设置";
|
|
|
((System.ComponentModel.ISupportInitialize)(this.mGrid)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
this.PerformLayout();
|
|
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
private WinFormControl.ULabel uLabel2;
|
|
|
private System.Windows.Forms.TextBox nameBox;
|
|
|
private System.Windows.Forms.TextBox discontBox;
|
|
|
private WinFormControl.UButton addBtn;
|
|
|
private WinFormControl.UDataGridView mGrid;
|
|
|
private WinFormControl.ULabel uLabel3;
|
|
|
private WinFormControl.ULabel totalLbl;
|
|
|
private WinFormControl.UButton okBtn;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_Number;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_Name;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_Standard;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_NumberEdit;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_Weight;
|
|
|
private System.Windows.Forms.DataGridViewButtonColumn DelCol;
|
|
|
private WinFormControl.ULabel uLabel1;
|
|
|
}
|
|
|
}
|