示例#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());
 }