Exemplo n.º 1
0
 private void Eqalizer_Closed(object sender, EventArgs e)
 {
     eqalizer = null;
     eqButton.IsChecked = false;
 }
Exemplo n.º 2
0
 private void ToggleButton_Click_2(object sender, RoutedEventArgs e)
 {
     if (((ToggleButton)sender).IsChecked == true)
     {
         if (eqalizer == null)
         {
             eqalizer = new Equalizer(sett);
             eqalizer.Closed += Eqalizer_Closed;
         }
         eqalizer.Show();
     }
     else
         eqalizer.Close();
 }