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); }