Пример #1
0
 public static DialogResult SetFrequencyAmplitude()
 {
     if (me == null)
     {
         me = new frmAddFrequencyAmplitude();
     }
     return(me.ShowDialog());
 }
Пример #2
0
 public static DialogResult SetFrequencyAmplitude(double frequency, double amplitude)
 {
     if (me == null)
     {
         me = new frmAddFrequencyAmplitude();
     }
     me.numFrequency.Value = Convert.ToDecimal(frequency);
     me.numAmplitude.Value = Convert.ToDecimal(amplitude);
     return(me.ShowDialog());
 }