/// <summary> /// Draws the DFT button click. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> private void DrawDftButtonClick(object sender, System.EventArgs e) { var originalValuesVector = FourierTransformUtils.GetFunctionVector(ChooseFunction.OriginalFunction); this.DrawOriginal(originalValuesVector, zedGraphControl1); DrawDFT(originalValuesVector, zedGraphControl2, zedGraphControl3, zedGraphControl4); label4.Text = FourierTransformUtils.Complexibility.ToString(); }
private void button2_Click(object sender, System.EventArgs e) { var originalValuesVector = FourierTransformUtils.GetFunctionVector(ChooseFunction.OriginalFunction); this.DrawOriginal(originalValuesVector, zedGraphControl8); DrawFFT(originalValuesVector, zedGraphControl7, zedGraphControl6, zedGraphControl5); label5.Text = FourierTransformUtils.Complexibility.ToString(); }