private void covarClick(object sender, System.EventArgs e) { if (covarForm.IsDisposed) { covarForm = new CovarianceForm(); } if (covar != null) { covarForm.Reset(covar); covarForm.Show(); covarForm.BringToFront(); } }
public FitForm(GraphControl graph) { // // Required for Windows Form Designer support // InitializeComponent(); this.graph = graph; parForm = new ParForm(); covarForm = new CovarianceForm(); data.DropDownStyle = ComboBoxStyle.DropDownList; function.DropDownStyle = ComboBoxStyle.DropDownList; fit = new FPlotFit.Fit(); fit.Step += new FPlotFit.StepEventHandler(Step); invoke = new StepInvokeHandler(StepInvoke); }
private void covarClick(object sender, System.EventArgs e) { if (covarForm.IsDisposed) covarForm = new CovarianceForm(); if (covar != null) { covarForm.Reset(covar); covarForm.Show(); covarForm.BringToFront(); } }