Exemplo n.º 1
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     if (dataSource != null)
     {
         wndGraphic wndG = new wndGraphic();
         wndG.Owner = this;
         wndG.Show();
         wndG.Data = dataSource;
     }
     else if (cnfg.SpectralDensity)
     {
         wndSpectralDensity wndSD = new wndSpectralDensity(analisis.PassengerDensity, paintObjectList);
         wndSD.Owner = this;
         wndSD.Show();
     }
 }
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     if (dataSource != null)
     {
         wndGraphic wndG = new wndGraphic();
         wndG.Owner = this;
         wndG.Show();
         wndG.Data = dataSource;
     }
     else if(cnfg.SpectralDensity)
     {
         wndSpectralDensity wndSD = new wndSpectralDensity(analisis.PassengerDensity, paintObjectList);
         wndSD.Owner = this;
         wndSD.Show();
     }
 }