/// <summary>
        /// Class constructor taking one input for the parent FreqPlotOptions
        /// </summary>
        /// <param name="parent"> Options modified by this form. </param>
        public FreqPlotOptionsForm(FreqPlotOptions parent)
        {
            parentOptions = parent;

            InitializeComponent();
            waveSelectDropDown.Items.AddRange(Wave.WaveOptions.ToArray());
            waveSelectDropDown.SelectedIndex = Wave.WaveOptions.IndexOf(parentOptions.WaveType.WaveMode);
        }
Example #2
0
 /// <summary>
 /// Class constructor taking path to the data source file for this plot
 /// </summary>
 /// <param name="dataFile"> String path to data file. </param>
 public FreqPlotSettings(string dataFile) : base(dataFile)
 {
     plotOptions = new FreqPlotOptions(new Wave("Haar"));
 }