Пример #1
0
 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();
 }
Пример #2
0
 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();
 }