public static Result ConfirmCategoryRemove() { return(Dialogs.confirmDialog(CONFIRM_CATEGORY_REMOVE_MSG)); }
public static Result ConfirmPromptForSave() { return(Dialogs.confirmDialog(CONFIRM_PROMPT_FOR_SAVE_MSG)); }
public static Result ConfirmTaskRemove() { return(Dialogs.confirmDialog(CONFIRM_TASK_REMOVE_MSG)); }
public static void CategoryEdit(MainViewModel mainVM) { Dialogs.showDialog(new DialogCategoryAddEditViewModel(mainVM, false)); }
public static void About() { Dialogs.showDialog(new DialogAboutViewModel()); }
public static void TaskEdit(MainViewModel mainVM) { Dialogs.showDialog(new DialogTaskAddEditViewModel(mainVM, false)); }
public static void PrintAll() { PrintDocument printDoc = new PrintDocument(); Dialogs.PrintDialog(printDoc.Create(mainVM.File.Tasks)); }
public static void PrintIncomplete() { PrintDocument printDoc = new PrintDocument(true); Dialogs.PrintDialog(printDoc.Create(getIncompleteOnly(mainVM.File.Tasks))); }
public static void CategoryEdit() { Dialogs.CategoryEdit(mainVM); updateStatusBar("Category Edited successfully."); }
public static void TaskEdit() { Dialogs.TaskEdit(mainVM); updateStatusBar("Task edited successfully."); }
public static void TaskAdd() { Dialogs.TaskAdd(mainVM); updateStatusBar("Task added successfully."); }
public static void About() { Dialogs.About(); }
public static void Settings() { Dialogs.Settings(mainVM); Assist.Settings.ApplyTheme(); updateStatusBar("Settings changed successfully."); }