コード例 #1
0
 private void btnLancer_Click(object sender, RoutedEventArgs e)
 {
     if (cbJ1.SelectedItem != null && cbJ2.SelectedItem != null && ((Jedi)cbJ1.SelectedItem).ID != ((Jedi)cbJ2.SelectedItem).ID)
     {
         TournoiViewer tv = new TournoiViewer(t,Auto, ((Jedi)cbJ1.SelectedItem).ID, ((Jedi)cbJ2.SelectedItem).ID);
         tv.ShowDialog();
         Close();
     }
 }
コード例 #2
0
 private void btnLancer_Click(object sender, RoutedEventArgs e)
 {
     if (cbJ1.SelectedItem != null && cbJ2.SelectedItem != null && ((Jedi)cbJ1.SelectedItem).ID != ((Jedi)cbJ2.SelectedItem).ID)
     {
         TournoiViewer tv = new TournoiViewer(t, Auto, ((Jedi)cbJ1.SelectedItem).ID, ((Jedi)cbJ2.SelectedItem).ID);
         tv.ShowDialog();
         Close();
     }
 }