/// <summary> /// Performs the action for the "Plan To N" and "Remove" menu options. /// </summary> /// <param name="operation"></param> /// <returns></returns> public static bool Perform(Form parentForm, IPlanOperation operation) { using (var window = new PlanToOperationForm(operation)) { var result = window.ShowDialog(parentForm); return(result == DialogResult.OK); } }
/// <summary> /// Performs the action for the "Plan To N" and "Remove" menu options. /// </summary> /// <param name="operation"></param> /// <returns></returns> public static bool Perform(Form parentForm, IPlanOperation operation) { using (var window = new PlanToOperationForm(operation)) { var result = window.ShowDialog(parentForm); return result == DialogResult.OK; } }