验证和中控弹框验证

master
lhiven 2 years ago
parent fd4dcc1b4c
commit b9095eda8f

@ -121,6 +121,7 @@
this.btnTeachNozzleZ2GrabHeight = new System.Windows.Forms.Button();
this.btnTeachNozzleZ3GrabHeight = new System.Windows.Forms.Button();
this.btnTeachNozzleZ1GrabHeight = new System.Windows.Forms.Button();
this.button9 = new System.Windows.Forms.Button();
this.panelEx1.SuspendLayout();
this.groupBox3.SuspendLayout();
this.groupBox1.SuspendLayout();
@ -1466,11 +1467,22 @@
this.btnTeachNozzleZ1GrabHeight.UseVisualStyleBackColor = false;
this.btnTeachNozzleZ1GrabHeight.Click += new System.EventHandler(this.Teach_Click);
//
// button9
//
this.button9.Location = new System.Drawing.Point(1245, 180);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(75, 23);
this.button9.TabIndex = 4;
this.button9.Text = "button9";
this.button9.UseVisualStyleBackColor = true;
this.button9.Click += new System.EventHandler(this.button9_Click_1);
//
// StartPosConfig
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1405, 704);
this.Controls.Add(this.button9);
this.Controls.Add(this.groupBox4);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.panelEx1);
@ -1585,5 +1597,6 @@
private System.Windows.Forms.Button btnTeachNozzleZ2GrabHeight;
private System.Windows.Forms.Button btnTeachNozzleZ3GrabHeight;
private System.Windows.Forms.Button btnTeachNozzleZ1GrabHeight;
private System.Windows.Forms.Button button9;
}
}

@ -78,5 +78,18 @@ namespace Rs.MotionPlat.SysConfig
TakeFailMsg msg = new TakeFailMsg();
CloseResult cr = msg.ShowMsg("dfsd");
}
private void button9_Click_1(object sender, EventArgs e)
{
TestCenterMessageBox box = new TestCenterMessageBox();
Dictionary<ETipButton, string> buttonText = new Dictionary<ETipButton, string>();
buttonText.Add(ETipButton.Yes, "继续|Continue");
buttonText.Add(ETipButton.Cancel, "跳过|Skip");
buttonText.Add(ETipButton.Retry, "重试|Retry");
buttonText.Add(ETipButton.No, "结束上料|EndInput");
box.Show(111,"fasdf", (ETipButton.Yes| ETipButton.No| ETipButton.Retry|ETipButton.Cancel),buttonText);
SchedulingMessageBox msgbox = box.WaitResult();
Msg.ShowInfo(msgbox.Button.ToString());
}
}
}

Loading…
Cancel
Save