示例#1
0
 private void btnStartZhihuan_Click(object sender, EventArgs e)
 {
     //HPTCMessageBox.MSBox m = new HPTCMessageBox.MSBox("警 告","请确定C1松开!", HPTCMessageBox.MSBox.MSBoxIcon.Warning, global::ALS.Properties.Resources.StepLi_1);
     UserCtrl.MsgBox m = new UserCtrl.MsgBox("警告: 请确定管夹C1松开!", UserCtrl.MsgBox.MSBoxIcon.Warning, global::ALS.Properties.Resources.StepLi_1, true);
     if (DialogResult.OK == m.ShowDialog())
     {
         if (_btnsLiAlsWizard != null)
         {
             _btnsLiAlsWizard(this.btnStartPE, e);
         }
         this.btnStartPE.Enabled = false;
         this.btnPausePE.Enabled = true;
         this.wizardControl1.SelectedPage.AllowNext = false;
         this.wizardControl1.SelectedPage.AllowBack = false;
     }
 }
示例#2
0
 private void btnReadRecycle_Click(object sender, EventArgs e)
 {
     //HPTCMessageBox.MSBox m = new HPTCMessageBox.MSBox("警 告","请确定管夹C1松开!", HPTCMessageBox.MSBox.MSBoxIcon.Warning, global::ALS.Properties.Resources.stepLi_3);
     UserCtrl.MsgBox m = new UserCtrl.MsgBox("警告: 请确定AD2放置在V6与双腔储液袋内袋出口之间!", UserCtrl.MsgBox.MSBoxIcon.Warning, global::ALS.Properties.Resources.stepLi_3, true);
     if (DialogResult.OK == m.ShowDialog())
     {
         if (_btnsLiAlsWizard != null)
         {
             _btnsLiAlsWizard(this.btnReadRecycle, e);
         }
         this.wizardControl1.SelectedPage.AllowNext = false;
         this.wizardControl1.SelectedPage.AllowBack = false;
         this.btnStopReady.Enabled   = true;
         this.btnReadRecycle.Enabled = false;
     }
 }