Example #1
0
 private void lstTasks_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (lstTasks.SelectedItem != null)
     {
         Business_TaskListModel model  = (Business_TaskListModel)lstTasks.SelectedItem;
         TaskDetailsWindow      window = new TaskDetailsWindow(model.TaskID);
         window.Show();
     }
 }
Example #2
0
        private void miAddTask_Click(object sender, RoutedEventArgs e)
        {
            TaskDetailsWindow window = new TaskDetailsWindow();

            window.Show();
        }