示例#1
0
 /// <summary>
 /// Occurs when this command is clicked
 /// </summary>
 public override void OnClick()
 {
     Hy.Check.UI.Forms.FrmTaskWizard frmTaskCreate = new Hy.Check.UI.Forms.FrmTaskWizard();
     if (frmTaskCreate.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         CheckApplication.CurrentTask = frmTaskCreate.GetCurrentTask();
         CheckApplication.TaskChanged(frmTaskCreate.GetCurrentTask());
     }
 }
示例#2
0
 /// <summary>
 /// Occurs when this command is clicked
 /// </summary>
 public override void OnClick()
 {
     Hy.Check.UI.Forms.FrmTaskWizard frmTaskCreate =new Hy.Check.UI.Forms.FrmTaskWizard();
     if (frmTaskCreate.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         CheckApplication.CurrentTask = frmTaskCreate.GetCurrentTask();
         CheckApplication.TaskChanged(frmTaskCreate.GetCurrentTask());
     }
 }