You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
371 lines
19 KiB
C#
371 lines
19 KiB
C#
namespace Mesnac.Action.ChemicalWeighing.Technical.PmtRecipe
|
|
{
|
|
partial class FrmRecipe
|
|
{
|
|
/// <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()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.btnOk = new System.Windows.Forms.Button();
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.chcIsEnable = new System.Windows.Forms.CheckBox();
|
|
this.txtTotalError = new System.Windows.Forms.TextBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.DGVMaterialSet = new System.Windows.Forms.DataGridView();
|
|
this.contextMenuStripMaterial = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.toolStripMenuItemAdd = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripMenuItemDel = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.txtRecipeName = new System.Windows.Forms.TextBox();
|
|
this.label25 = new System.Windows.Forms.Label();
|
|
this.label21 = new System.Windows.Forms.Label();
|
|
this.txtRemark = new System.Windows.Forms.TextBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.label12 = new System.Windows.Forms.Label();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
|
this.dataGridViewComboEditBoxColumn1 = new Mesnac.Action.ChemicalWeighing.Technical.PmtRecipe.DataGridViewComboEditBoxColumn();
|
|
this.ColumnMaterial = new Mesnac.Action.ChemicalWeighing.Technical.PmtRecipe.DataGridViewComboEditBoxColumn();
|
|
this.ColumnSetWeight = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ColumnSetError = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.TheoryRate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.IsRate = new Mesnac.Action.ChemicalWeighing.Technical.PmtRecipe.DataGridViewComboEditBoxColumn();
|
|
this.groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.DGVMaterialSet)).BeginInit();
|
|
this.contextMenuStripMaterial.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.label1.Location = new System.Drawing.Point(7, 24);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(109, 19);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "新配方名称";
|
|
//
|
|
// btnOk
|
|
//
|
|
this.btnOk.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnOk.Location = new System.Drawing.Point(264, 459);
|
|
this.btnOk.Name = "btnOk";
|
|
this.btnOk.Size = new System.Drawing.Size(122, 32);
|
|
this.btnOk.TabIndex = 3;
|
|
this.btnOk.Text = "确定(&O)";
|
|
this.btnOk.UseVisualStyleBackColor = true;
|
|
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
|
|
//
|
|
// btnCancel
|
|
//
|
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.btnCancel.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnCancel.Location = new System.Drawing.Point(465, 460);
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Size = new System.Drawing.Size(116, 32);
|
|
this.btnCancel.TabIndex = 4;
|
|
this.btnCancel.Text = "取消(&C)";
|
|
this.btnCancel.UseVisualStyleBackColor = true;
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.chcIsEnable);
|
|
this.groupBox1.Controls.Add(this.txtTotalError);
|
|
this.groupBox1.Controls.Add(this.label6);
|
|
this.groupBox1.Controls.Add(this.DGVMaterialSet);
|
|
this.groupBox1.Controls.Add(this.txtRecipeName);
|
|
this.groupBox1.Controls.Add(this.label25);
|
|
this.groupBox1.Controls.Add(this.label21);
|
|
this.groupBox1.Controls.Add(this.txtRemark);
|
|
this.groupBox1.Controls.Add(this.label5);
|
|
this.groupBox1.Controls.Add(this.label12);
|
|
this.groupBox1.Controls.Add(this.label4);
|
|
this.groupBox1.Controls.Add(this.label1);
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(762, 441);
|
|
this.groupBox1.TabIndex = 5;
|
|
this.groupBox1.TabStop = false;
|
|
//
|
|
// chcIsEnable
|
|
//
|
|
this.chcIsEnable.AutoSize = true;
|
|
this.chcIsEnable.Enabled = false;
|
|
this.chcIsEnable.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold);
|
|
this.chcIsEnable.Location = new System.Drawing.Point(588, 61);
|
|
this.chcIsEnable.Margin = new System.Windows.Forms.Padding(2);
|
|
this.chcIsEnable.Name = "chcIsEnable";
|
|
this.chcIsEnable.Size = new System.Drawing.Size(128, 23);
|
|
this.chcIsEnable.TabIndex = 14;
|
|
this.chcIsEnable.Text = "修改总误差";
|
|
this.chcIsEnable.UseVisualStyleBackColor = true;
|
|
this.chcIsEnable.CheckedChanged += new System.EventHandler(this.chcIsEnable_CheckedChanged);
|
|
//
|
|
// txtTotalError
|
|
//
|
|
this.txtTotalError.Enabled = false;
|
|
this.txtTotalError.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.txtTotalError.Location = new System.Drawing.Point(142, 55);
|
|
this.txtTotalError.Name = "txtTotalError";
|
|
this.txtTotalError.Size = new System.Drawing.Size(425, 29);
|
|
this.txtTotalError.TabIndex = 13;
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.label6.Location = new System.Drawing.Point(7, 59);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(109, 19);
|
|
this.label6.TabIndex = 12;
|
|
this.label6.Text = "设置总误差";
|
|
//
|
|
// DGVMaterialSet
|
|
//
|
|
this.DGVMaterialSet.AllowUserToAddRows = false;
|
|
this.DGVMaterialSet.AllowUserToDeleteRows = false;
|
|
this.DGVMaterialSet.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
this.DGVMaterialSet.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.DGVMaterialSet.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.ColumnMaterial,
|
|
this.ColumnSetWeight,
|
|
this.ColumnSetError,
|
|
this.TheoryRate,
|
|
this.IsRate});
|
|
this.DGVMaterialSet.ContextMenuStrip = this.contextMenuStripMaterial;
|
|
this.DGVMaterialSet.Location = new System.Drawing.Point(142, 131);
|
|
this.DGVMaterialSet.Name = "DGVMaterialSet";
|
|
this.DGVMaterialSet.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
|
this.DGVMaterialSet.RowHeadersWidth = 62;
|
|
this.DGVMaterialSet.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|
this.DGVMaterialSet.RowTemplate.Height = 23;
|
|
this.DGVMaterialSet.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.DGVMaterialSet.Size = new System.Drawing.Size(598, 296);
|
|
this.DGVMaterialSet.TabIndex = 8;
|
|
this.DGVMaterialSet.RowHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.DGVMaterialSet_RowHeaderMouseClick);
|
|
this.DGVMaterialSet.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.DGVMaterialSet_RowsAdded);
|
|
//
|
|
// contextMenuStripMaterial
|
|
//
|
|
this.contextMenuStripMaterial.ImageScalingSize = new System.Drawing.Size(20, 20);
|
|
this.contextMenuStripMaterial.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.toolStripMenuItemAdd,
|
|
this.toolStripMenuItemDel});
|
|
this.contextMenuStripMaterial.Name = "contextMenuStripMaterial";
|
|
this.contextMenuStripMaterial.Size = new System.Drawing.Size(101, 48);
|
|
//
|
|
// toolStripMenuItemAdd
|
|
//
|
|
this.toolStripMenuItemAdd.Name = "toolStripMenuItemAdd";
|
|
this.toolStripMenuItemAdd.Size = new System.Drawing.Size(100, 22);
|
|
this.toolStripMenuItemAdd.Text = "增加";
|
|
this.toolStripMenuItemAdd.Click += new System.EventHandler(this.toolStripMenuItemAdd_Click);
|
|
//
|
|
// toolStripMenuItemDel
|
|
//
|
|
this.toolStripMenuItemDel.Name = "toolStripMenuItemDel";
|
|
this.toolStripMenuItemDel.Size = new System.Drawing.Size(100, 22);
|
|
this.toolStripMenuItemDel.Text = "删除";
|
|
this.toolStripMenuItemDel.Click += new System.EventHandler(this.toolStripMenuItemDel_Click);
|
|
//
|
|
// txtRecipeName
|
|
//
|
|
this.txtRecipeName.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.txtRecipeName.Location = new System.Drawing.Point(142, 21);
|
|
this.txtRecipeName.Name = "txtRecipeName";
|
|
this.txtRecipeName.Size = new System.Drawing.Size(425, 29);
|
|
this.txtRecipeName.TabIndex = 7;
|
|
//
|
|
// label25
|
|
//
|
|
this.label25.AutoSize = true;
|
|
this.label25.ForeColor = System.Drawing.Color.Red;
|
|
this.label25.Location = new System.Drawing.Point(119, 97);
|
|
this.label25.Name = "label25";
|
|
this.label25.Size = new System.Drawing.Size(11, 12);
|
|
this.label25.TabIndex = 3;
|
|
this.label25.Text = "*";
|
|
//
|
|
// label21
|
|
//
|
|
this.label21.AutoSize = true;
|
|
this.label21.ForeColor = System.Drawing.Color.Red;
|
|
this.label21.Location = new System.Drawing.Point(117, 30);
|
|
this.label21.Name = "label21";
|
|
this.label21.Size = new System.Drawing.Size(11, 12);
|
|
this.label21.TabIndex = 3;
|
|
this.label21.Text = "*";
|
|
//
|
|
// txtRemark
|
|
//
|
|
this.txtRemark.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.txtRemark.Location = new System.Drawing.Point(144, 92);
|
|
this.txtRemark.Name = "txtRemark";
|
|
this.txtRemark.Size = new System.Drawing.Size(425, 29);
|
|
this.txtRemark.TabIndex = 2;
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.label5.Location = new System.Drawing.Point(29, 137);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(89, 19);
|
|
this.label5.TabIndex = 1;
|
|
this.label5.Text = "物料设置";
|
|
//
|
|
// label12
|
|
//
|
|
this.label12.AutoSize = true;
|
|
this.label12.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.label12.Location = new System.Drawing.Point(587, 96);
|
|
this.label12.Name = "label12";
|
|
this.label12.Size = new System.Drawing.Size(91, 19);
|
|
this.label12.TabIndex = 1;
|
|
this.label12.Text = "(可不填)";
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.label4.Location = new System.Drawing.Point(29, 95);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(89, 19);
|
|
this.label4.TabIndex = 1;
|
|
this.label4.Text = "备注信息";
|
|
//
|
|
// checkBox1
|
|
//
|
|
this.checkBox1.AutoSize = true;
|
|
this.checkBox1.Checked = true;
|
|
this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.checkBox1.Enabled = false;
|
|
this.checkBox1.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold);
|
|
this.checkBox1.Location = new System.Drawing.Point(32, 464);
|
|
this.checkBox1.Margin = new System.Windows.Forms.Padding(2);
|
|
this.checkBox1.Name = "checkBox1";
|
|
this.checkBox1.Size = new System.Drawing.Size(108, 23);
|
|
this.checkBox1.TabIndex = 6;
|
|
this.checkBox1.Text = "是否启用";
|
|
this.checkBox1.UseVisualStyleBackColor = true;
|
|
//
|
|
// dataGridViewComboEditBoxColumn1
|
|
//
|
|
this.dataGridViewComboEditBoxColumn1.HeaderText = "物料";
|
|
this.dataGridViewComboEditBoxColumn1.MinimumWidth = 8;
|
|
this.dataGridViewComboEditBoxColumn1.Name = "dataGridViewComboEditBoxColumn1";
|
|
this.dataGridViewComboEditBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.dataGridViewComboEditBoxColumn1.Width = 167;
|
|
//
|
|
// ColumnMaterial
|
|
//
|
|
this.ColumnMaterial.HeaderText = "物料";
|
|
this.ColumnMaterial.MinimumWidth = 8;
|
|
this.ColumnMaterial.Name = "ColumnMaterial";
|
|
this.ColumnMaterial.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
//
|
|
// ColumnSetWeight
|
|
//
|
|
this.ColumnSetWeight.HeaderText = "设定重量";
|
|
this.ColumnSetWeight.MinimumWidth = 8;
|
|
this.ColumnSetWeight.Name = "ColumnSetWeight";
|
|
//
|
|
// ColumnSetError
|
|
//
|
|
this.ColumnSetError.HeaderText = "设定误差";
|
|
this.ColumnSetError.MinimumWidth = 8;
|
|
this.ColumnSetError.Name = "ColumnSetError";
|
|
//
|
|
// TheoryRate
|
|
//
|
|
this.TheoryRate.HeaderText = "理论固含率(%)";
|
|
this.TheoryRate.Name = "TheoryRate";
|
|
//
|
|
// IsRate
|
|
//
|
|
this.IsRate.HeaderText = "是否有固含量";
|
|
this.IsRate.MinimumWidth = 6;
|
|
this.IsRate.Name = "IsRate";
|
|
this.IsRate.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.IsRate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
//
|
|
// FrmRecipe
|
|
//
|
|
this.AcceptButton = this.btnOk;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.btnCancel;
|
|
this.ClientSize = new System.Drawing.Size(786, 512);
|
|
this.Controls.Add(this.checkBox1);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(this.btnCancel);
|
|
this.Controls.Add(this.btnOk);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.MaximizeBox = false;
|
|
this.Name = "FrmRecipe";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "添加新配方";
|
|
this.Activated += new System.EventHandler(this.FrmPlan_Activated);
|
|
this.Load += new System.EventHandler(this.FrmPlan_Load);
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.DGVMaterialSet)).EndInit();
|
|
this.contextMenuStripMaterial.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Button btnOk;
|
|
private System.Windows.Forms.Button btnCancel;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.Label label21;
|
|
private System.Windows.Forms.TextBox txtRecipeName;
|
|
private System.Windows.Forms.Label label25;
|
|
private System.Windows.Forms.TextBox txtRemark;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.DataGridView DGVMaterialSet;
|
|
private System.Windows.Forms.Label label12;
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStripMaterial;
|
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemAdd;
|
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemDel;
|
|
private System.Windows.Forms.CheckBox checkBox1;
|
|
private DataGridViewComboEditBoxColumn dataGridViewComboEditBoxColumn1;
|
|
private System.Windows.Forms.CheckBox chcIsEnable;
|
|
private System.Windows.Forms.TextBox txtTotalError;
|
|
private System.Windows.Forms.Label label6;
|
|
private DataGridViewComboEditBoxColumn ColumnMaterial;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnSetWeight;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnSetError;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn TheoryRate;
|
|
private DataGridViewComboEditBoxColumn IsRate;
|
|
}
|
|
} |