示例#1
0
        private void OpenAddTask(Task task, bool edit)
        {
            AddTask dialog = new AddTask(task);

            dialog.edit       = edit;
            dialog.Destroyed += HandleDialogClose;
            dialog.Show();
        }
示例#2
0
 internal static void EditTask(Task task)
 {
     if (task != null)
     {
         AddTask taskEdit = new AddTask(task);
         taskEdit.Show();
     }
     else
     {
         SuggestTask();
     }
 }
示例#3
0
 static internal void EditTask(Task task)
 {
     if (task != null)
     {
         AddTask taskEdit = new AddTask(task);
         taskEdit.Show();
     }
     else
     {
         SuggestTask();
     }
 }
示例#4
0
 internal static void AddTask(bool InProgress)
 {
     AddTask task = new AddTask(InProgress);
     task.Show();
 }
示例#5
0
        static internal void AddTask(bool InProgress)
        {
            AddTask task = new AddTask(InProgress);

            task.Show();
        }
示例#6
0
 private void OpenAddTask(Task task, bool edit)
 {
     AddTask dialog = new AddTask (task);
     dialog.edit = edit;
     dialog.Destroyed += HandleDialogClose;
     dialog.Show();
 }