From b9095eda8f7431bfe6ed62f72747ecc41bcf2812 Mon Sep 17 00:00:00 2001 From: lhiven Date: Mon, 25 Sep 2023 14:16:29 +0900 Subject: [PATCH] =?UTF-8?q?=E9=AA=8C=E8=AF=81=E5=92=8C=E4=B8=AD=E6=8E=A7?= =?UTF-8?q?=E5=BC=B9=E6=A1=86=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Rs.SkyLine/SysConfig/StartPosConfig.Designer.cs | 13 +++++++++++++ Rs.SkyLine/SysConfig/StartPosConfig.cs | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/Rs.SkyLine/SysConfig/StartPosConfig.Designer.cs b/Rs.SkyLine/SysConfig/StartPosConfig.Designer.cs index ff74ad0..f801e3f 100644 --- a/Rs.SkyLine/SysConfig/StartPosConfig.Designer.cs +++ b/Rs.SkyLine/SysConfig/StartPosConfig.Designer.cs @@ -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; } } \ No newline at end of file diff --git a/Rs.SkyLine/SysConfig/StartPosConfig.cs b/Rs.SkyLine/SysConfig/StartPosConfig.cs index f60df94..675d534 100644 --- a/Rs.SkyLine/SysConfig/StartPosConfig.cs +++ b/Rs.SkyLine/SysConfig/StartPosConfig.cs @@ -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 buttonText = new Dictionary(); + 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()); + } } }