Interaction logic for OptionsForm.xaml
Inheritance: System.Windows.Window
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     if (options != null)
     {
         options.Close();
     }
     options          = new OptionsForm();
     options.Supports = CurrentSupports;
     options.Closed  += options_Closed;
     options.Show();
 }
Esempio n. 2
0
 void options_Closed( object sender, EventArgs e )
 {
     options = null;
 }
Esempio n. 3
0
 private void Button_Click_1( object sender, RoutedEventArgs e )
 {
     if (options != null)
         options.Close();
     options = new OptionsForm();
     options.Supports = CurrentSupports;
     options.Closed += options_Closed;
     options.Show();
 }
 void options_Closed(object sender, EventArgs e)
 {
     options = null;
 }