private void UpdateTask_Click(object sender, RoutedEventArgs e) { if (boardViewModel.IsViewable()) { TaskInsertUpdate taskInUp = new TaskInsertUpdate(boardViewModel.SelectedTask, true, boardViewModel.LoggedinUser, boardViewModel.Board.Columns[boardViewModel.SelectedTask.ColumnOrdinal], boardViewModel.FilterText); taskInUp.ShowDialog(); } }
private void AddTask_Click(object sender, RoutedEventArgs e) { TaskInsertUpdate taskInUp = new TaskInsertUpdate(null, false, boardViewModel.LoggedinUser, boardViewModel.Board.Columns.ElementAt(0), boardViewModel.FilterText); taskInUp.ShowDialog(); }