Exemplo n.º 1
0
 private void NewButtonClick(object sender, RoutedEventArgs e)
 {
     if (!TeamEditButton.IsEnabled)
     {
         TeamEditor win2 = new TeamEditor();
         win2.Show();
     }
     else
     {
     }
 }
Exemplo n.º 2
0
 private void EditButtonClick(object sender, RoutedEventArgs e)
 {
     if (!TeamEditButton.IsEnabled)
     {
         TeamEditor win2 = new TeamEditor(teamList.ElementAt(TeamListLB.SelectedIndex).IdTeam);
         win2.Show();
     }
     else
     {
     }
 }