using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; namespace Core.LgMes.Client.LgJobMgt { /// /// FrmCcmResetStatus 的摘要说明。 /// public class FrmCcmResetStatus : System.Windows.Forms.Form { private System.Windows.Forms.GroupBox groupBox1; private System.Windows.Forms.RadioButton radioButton1; private System.Windows.Forms.RadioButton radioButton2; private System.Windows.Forms.RadioButton radioButton3; private System.Windows.Forms.RadioButton radioButton4; private System.Windows.Forms.RadioButton radioButton5; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; private RadioButton radioButton6; /// /// 必需的设计器变量。 /// private System.ComponentModel.Container components = null; public FrmCcmResetStatus() { // // Windows 窗体设计器支持所必需的 // InitializeComponent(); // // TODO: 在 InitializeComponent 调用后添加任何构造函数代码 // } /// /// 清理所有正在使用的资源。 /// protected override void Dispose( bool disposing ) { if( disposing ) { if(components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region Windows 窗体设计器生成的代码 /// /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.radioButton6 = new System.Windows.Forms.RadioButton(); this.radioButton5 = new System.Windows.Forms.RadioButton(); this.radioButton4 = new System.Windows.Forms.RadioButton(); this.radioButton3 = new System.Windows.Forms.RadioButton(); this.radioButton2 = new System.Windows.Forms.RadioButton(); this.radioButton1 = new System.Windows.Forms.RadioButton(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.radioButton6); this.groupBox1.Controls.Add(this.radioButton5); this.groupBox1.Controls.Add(this.radioButton4); this.groupBox1.Controls.Add(this.radioButton3); this.groupBox1.Controls.Add(this.radioButton2); this.groupBox1.Controls.Add(this.radioButton1); this.groupBox1.Location = new System.Drawing.Point(8, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(112, 194); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "去向"; // // radioButton6 // this.radioButton6.Location = new System.Drawing.Point(16, 81); this.radioButton6.Name = "radioButton6"; this.radioButton6.Size = new System.Drawing.Size(64, 24); this.radioButton6.TabIndex = 6; this.radioButton6.Tag = "CCM04"; this.radioButton6.Text = "0#连铸"; this.radioButton6.CheckedChanged += new System.EventHandler(this.radioButton6_CheckedChanged_1); // // radioButton5 // this.radioButton5.Location = new System.Drawing.Point(16, 162); this.radioButton5.Name = "radioButton5"; this.radioButton5.Size = new System.Drawing.Size(64, 24); this.radioButton5.TabIndex = 5; this.radioButton5.Tag = "CCM03"; this.radioButton5.Text = "3#连铸"; this.radioButton5.CheckedChanged += new System.EventHandler(this.radioButton5_CheckedChanged); // // radioButton4 // this.radioButton4.Location = new System.Drawing.Point(16, 135); this.radioButton4.Name = "radioButton4"; this.radioButton4.Size = new System.Drawing.Size(64, 24); this.radioButton4.TabIndex = 4; this.radioButton4.Tag = "CCM02"; this.radioButton4.Text = "2#连铸"; this.radioButton4.CheckedChanged += new System.EventHandler(this.radioButton4_CheckedChanged); // // radioButton3 // this.radioButton3.Location = new System.Drawing.Point(16, 108); this.radioButton3.Name = "radioButton3"; this.radioButton3.Size = new System.Drawing.Size(64, 24); this.radioButton3.TabIndex = 3; this.radioButton3.Tag = "CCM01"; this.radioButton3.Text = "1#连铸"; this.radioButton3.CheckedChanged += new System.EventHandler(this.radioButton3_CheckedChanged); // // radioButton2 // this.radioButton2.Location = new System.Drawing.Point(16, 54); this.radioButton2.Name = "radioButton2"; this.radioButton2.Size = new System.Drawing.Size(64, 24); this.radioButton2.TabIndex = 2; this.radioButton2.Tag = "LFS02"; this.radioButton2.Text = "2#精炼"; this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged); // // radioButton1 // this.radioButton1.Location = new System.Drawing.Point(16, 27); this.radioButton1.Name = "radioButton1"; this.radioButton1.Size = new System.Drawing.Size(64, 24); this.radioButton1.TabIndex = 1; this.radioButton1.Tag = "LFS01"; this.radioButton1.Text = "1#精炼"; this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged); // // button1 // this.button1.Location = new System.Drawing.Point(136, 127); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 1; this.button1.Text = "确认"; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Location = new System.Drawing.Point(136, 167); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(75, 23); this.button2.TabIndex = 2; this.button2.Text = "取消"; this.button2.Click += new System.EventHandler(this.button2_Click); // // FrmCcmResetStatus // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(232, 214); this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.Controls.Add(this.groupBox1); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FrmCcmResetStatus"; this.Text = "设置"; this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); } #endregion public string _strSet = ""; public string _strSta = ""; private void button1_Click(object sender, System.EventArgs e) { this.Close(); } private void button2_Click(object sender, System.EventArgs e) { _strSet = ""; _strSta = ""; this.Close(); } private void radioButton1_CheckedChanged(object sender, System.EventArgs e) { if (this.radioButton1.Checked) { this._strSet = "LFS01"; this._strSta = "LADLEARRIVE"; } } private void radioButton2_CheckedChanged(object sender, System.EventArgs e) { if (this.radioButton2.Checked) { this._strSet = "LFS02"; this._strSta = "LADLEARRIVE"; } } private void radioButton3_CheckedChanged(object sender, System.EventArgs e) { this._strSet = "CCM01"; this._strSta = "LADLEARRIVE"; } private void radioButton4_CheckedChanged(object sender, System.EventArgs e) { this._strSet = "CCM02"; this._strSta = "LADLEARRIVE"; } private void radioButton5_CheckedChanged(object sender, System.EventArgs e) { this._strSet = "CCM03"; this._strSta = "LADLEARRIVE"; } private void radioButton6_CheckedChanged_1(object sender, EventArgs e) { this._strSet = "CCM04"; this._strSta = "LADLEARRIVE"; } } }