コード例 #1
0
ファイル: Module.cs プロジェクト: beebetter/SMPR_num_an_addon
 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
ファイル: Module.cs プロジェクト: beebetter/SMPR_num_an_addon
 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;
 }