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; }
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; }