public TasksWindow(TextBox task1, TextBox task2) { InitializeComponent(); this.task = task1; this.task_id = task2; display.ShowTasks(DataGridTask); }
private void UpdateTaskButton_Click(object sender, RoutedEventArgs e) { UpdateTask(); display.ShowTasks(datagrid); }
private void ShowTasksButton_Click(object sender, RoutedEventArgs e) { display.ShowTasks(DataGridTask); }