Exemple #1
0
 public static Result ConfirmCategoryRemove()
 {
     return(Dialogs.confirmDialog(CONFIRM_CATEGORY_REMOVE_MSG));
 }
Exemple #2
0
 public static Result ConfirmPromptForSave()
 {
     return(Dialogs.confirmDialog(CONFIRM_PROMPT_FOR_SAVE_MSG));
 }
Exemple #3
0
 public static Result ConfirmTaskRemove()
 {
     return(Dialogs.confirmDialog(CONFIRM_TASK_REMOVE_MSG));
 }
Exemple #4
0
 public static void CategoryEdit(MainViewModel mainVM)
 {
     Dialogs.showDialog(new DialogCategoryAddEditViewModel(mainVM, false));
 }
Exemple #5
0
 public static void About()
 {
     Dialogs.showDialog(new DialogAboutViewModel());
 }
Exemple #6
0
 public static void TaskEdit(MainViewModel mainVM)
 {
     Dialogs.showDialog(new DialogTaskAddEditViewModel(mainVM, false));
 }
Exemple #7
0
        public static void PrintAll()
        {
            PrintDocument printDoc = new PrintDocument();

            Dialogs.PrintDialog(printDoc.Create(mainVM.File.Tasks));
        }
Exemple #8
0
        public static void PrintIncomplete()
        {
            PrintDocument printDoc = new PrintDocument(true);

            Dialogs.PrintDialog(printDoc.Create(getIncompleteOnly(mainVM.File.Tasks)));
        }
Exemple #9
0
 public static void CategoryEdit()
 {
     Dialogs.CategoryEdit(mainVM);
     updateStatusBar("Category Edited successfully.");
 }
Exemple #10
0
 public static void TaskEdit()
 {
     Dialogs.TaskEdit(mainVM);
     updateStatusBar("Task edited successfully.");
 }
Exemple #11
0
 public static void TaskAdd()
 {
     Dialogs.TaskAdd(mainVM);
     updateStatusBar("Task added successfully.");
 }
Exemple #12
0
 public static void About()
 {
     Dialogs.About();
 }
Exemple #13
0
 public static void Settings()
 {
     Dialogs.Settings(mainVM);
     Assist.Settings.ApplyTheme();
     updateStatusBar("Settings changed successfully.");
 }