|
|
namespace WeighAndGrading
|
|
|
{
|
|
|
partial class BodyDiscontSetting
|
|
|
{
|
|
|
/// <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.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
this.uDataGridView1 = new BWP.WinFormControl.UDataGridView();
|
|
|
this.closeBtn = new System.Windows.Forms.Button();
|
|
|
this.saveBtn = new System.Windows.Forms.Button();
|
|
|
this.S_ID = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.S_Name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.S_Discont = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).BeginInit();
|
|
|
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.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.uDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
|
|
this.uDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
this.uDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.S_ID,
|
|
|
this.S_Name,
|
|
|
this.S_Discont});
|
|
|
this.uDataGridView1.Location = new System.Drawing.Point(16, 12);
|
|
|
this.uDataGridView1.MultiSelect = false;
|
|
|
this.uDataGridView1.Name = "uDataGridView1";
|
|
|
this.uDataGridView1.ReadOnly = true;
|
|
|
this.uDataGridView1.RowHeadersVisible = false;
|
|
|
dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218)))));
|
|
|
this.uDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle4;
|
|
|
this.uDataGridView1.RowTemplate.Height = 40;
|
|
|
this.uDataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
|
this.uDataGridView1.Size = new System.Drawing.Size(320, 300);
|
|
|
this.uDataGridView1.TabIndex = 0;
|
|
|
this.uDataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.uDataGridView1_CellClick);
|
|
|
//
|
|
|
// closeBtn
|
|
|
//
|
|
|
this.closeBtn.Font = new System.Drawing.Font("宋体", 15F);
|
|
|
this.closeBtn.Location = new System.Drawing.Point(189, 326);
|
|
|
this.closeBtn.Name = "closeBtn";
|
|
|
this.closeBtn.Size = new System.Drawing.Size(75, 35);
|
|
|
this.closeBtn.TabIndex = 21;
|
|
|
this.closeBtn.Text = "关闭";
|
|
|
this.closeBtn.UseVisualStyleBackColor = true;
|
|
|
this.closeBtn.Click += new System.EventHandler(this.closeBtn_Click);
|
|
|
//
|
|
|
// saveBtn
|
|
|
//
|
|
|
this.saveBtn.Font = new System.Drawing.Font("宋体", 15F);
|
|
|
this.saveBtn.Location = new System.Drawing.Point(83, 326);
|
|
|
this.saveBtn.Name = "saveBtn";
|
|
|
this.saveBtn.Size = new System.Drawing.Size(75, 35);
|
|
|
this.saveBtn.TabIndex = 20;
|
|
|
this.saveBtn.Text = "保存";
|
|
|
this.saveBtn.UseVisualStyleBackColor = true;
|
|
|
this.saveBtn.Click += new System.EventHandler(this.saveBtn_Click);
|
|
|
//
|
|
|
// S_ID
|
|
|
//
|
|
|
this.S_ID.DataPropertyName = "ID";
|
|
|
this.S_ID.HeaderText = "ID";
|
|
|
this.S_ID.Name = "S_ID";
|
|
|
this.S_ID.ReadOnly = true;
|
|
|
this.S_ID.Visible = false;
|
|
|
//
|
|
|
// S_Name
|
|
|
//
|
|
|
this.S_Name.DataPropertyName = "Name";
|
|
|
this.S_Name.HeaderText = "扣重项";
|
|
|
this.S_Name.Name = "S_Name";
|
|
|
this.S_Name.ReadOnly = true;
|
|
|
this.S_Name.Width = 120;
|
|
|
//
|
|
|
// S_Discont
|
|
|
//
|
|
|
this.S_Discont.DataPropertyName = "Discont";
|
|
|
dataGridViewCellStyle3.Format = "#0.######";
|
|
|
this.S_Discont.DefaultCellStyle = dataGridViewCellStyle3;
|
|
|
this.S_Discont.HeaderText = "扣重";
|
|
|
this.S_Discont.Name = "S_Discont";
|
|
|
this.S_Discont.ReadOnly = true;
|
|
|
this.S_Discont.Width = 170;
|
|
|
//
|
|
|
// BodyDiscontSetting
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
this.ClientSize = new System.Drawing.Size(354, 381);
|
|
|
this.ControlBox = false;
|
|
|
this.Controls.Add(this.closeBtn);
|
|
|
this.Controls.Add(this.saveBtn);
|
|
|
this.Controls.Add(this.uDataGridView1);
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
|
this.Name = "BodyDiscontSetting";
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
this.Text = "胴体扣重设置";
|
|
|
((System.ComponentModel.ISupportInitialize)(this.uDataGridView1)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
private BWP.WinFormControl.UDataGridView uDataGridView1;
|
|
|
private System.Windows.Forms.Button closeBtn;
|
|
|
private System.Windows.Forms.Button saveBtn;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn S_ID;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn S_Name;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn S_Discont;
|
|
|
}
|
|
|
}
|