private void ChoixJedi_Click(object sender, RoutedEventArgs e)
 {
     if(SelectorJedi.SelectedItem!=null)
     {
         jediChoisi = ((JediModel)SelectorJedi.SelectedItem).Jedi;
         Jeux jeux = new Jeux(jediChoisi);
         jeux.Show();
         this.Close();
     }
 }
예제 #2
0
 private void ChoixJedi_Click(object sender, RoutedEventArgs e)
 {
     if (SelectorJedi.SelectedItem != null)
     {
         jediChoisi = ((JediModel)SelectorJedi.SelectedItem).Jedi;
         Jeux jeux = new Jeux(jediChoisi);
         jeux.Show();
         this.Close();
     }
 }