private void runToolStripMenuItem_Click(object sender, EventArgs e) { DummyObj obj = new DummyObj(); frmRun fRun = new frmRun(obj); if (fRun.ShowDialog() == DialogResult.OK) { Run(obj.Step, obj.Iteration); UpdateTablesAndDiagrams(); this.pbDashboard.Refresh(); } }
public frmRun(DummyObj obj) { this.obj = obj; InitializeComponent(); }