private void ShowTaskItemsButton_Click(object sender, RoutedEventArgs e) { int task_ref = 0; if (task_id.Text != "") { task_ref = Int32.Parse(task_id.Text); } display.ShowItemsForTask(DataGridItem, task_ref); }
private void ShowTaskItemsButton_Click(object sender, RoutedEventArgs e) { int task_ref = 0; if (task_id.Text != "") { task_ref = Int32.Parse(task_id.Text); } display.ShowItemsForTask(DataGridItem, task_ref); }