public void ParametersChange(Utils.State parameters) { PreviousParameters = parameters.Clone(); PreviousParameters.TimeInterval *= 1000; PreviousParameters.Fading *= 100; PreviousParameters.Coefficients = PreviousParameters.Coefficients.ConvertAll((float val) => val * 1000); Reset(); }
public Form2() { InitializeComponent(); Parameters = new Utils.State(); CountValueChanged(null, null); UpdateParameters(); PreviousParameters = Parameters.Clone(); }