示例#1
0
 public override CloseEventArgs ShowDialog()
 {
     form = new frmModule(Methods, currentMethod);
     form.DataCalculate += delegate { RunMethod(); };
     form.DataLoad      += _loadVector;
     form.DataSave      += _saveVector;
     form.ShowDialog();
     return(LastResult);
 }
示例#2
0
 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;
 }