public override CloseEventArgs ShowDialog() { form = new frmModule(Methods, currentMethod); form.DataCalculate += delegate { RunMethod(); }; form.DataLoad += _loadVector; form.DataSave += _saveVector; form.ShowDialog(); return(LastResult); }
public override void Show(Form MdiParent) { form = new frmModule(Methods, currentMethod); form.Text = Name; if (MdiParent != null && MdiParent.IsMdiContainer) { form.MdiParent = MdiParent; } form.Show(); form.FormClosed += form_FormClosed; form.DataCalculate += delegate { RunMethod(); }; form.DataLoad += _loadVector; form.DataSave += _saveVector; }