Ejemplo n.º 1
0
        private void btn_AddSubtask_Click(object sender, RoutedEventArgs e)
        {
            var subtaskAddDialog = new AddSubtask(this.Assignment.Id);

            subtaskAddDialog.ShowDialog();
            Load(this.Assignment.Id);
            RefreshBindings(this.PagingManager.CurrentPage);
        }
Ejemplo n.º 2
0
 private void btn_EditSubtask_Click(object sender, RoutedEventArgs e)
 {
     if (this.SelectedSubtask != null)
     {
         var subtaskEditDialog = new AddSubtask(this.SelectedSubtask.Id, this.Assignment.Id);
         subtaskEditDialog.ShowDialog();
         Load(this.Assignment.Id);
         RefreshBindings(this.PagingManager.CurrentPage);
     }
 }