private void button_New_Click(object sender, RoutedEventArgs e) { //opens the window for adding a new project, sprint, story, task NewItemWindow niw = new NewItemWindow(_currentSelection + 1, _viewModel); niw.ShowDialog(); }
private void menu_addTeam_Click(object sender, RoutedEventArgs e) { //opens the window for creating a new team NewItemWindow niw = new NewItemWindow(selection.Team, _viewModel); niw.ShowDialog(); }