/// <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()); } }
/// <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()); } }