private void RunClick(object sender, EventArgs e) { Command c = new Command(command.Text); command.MarkErrors(c); if (c.Exception != null) { ExceptionForm exForm = new ExceptionForm(Model, c.Exception); exForm.Show(); exForm.BringToFront(); } }
void Message() { ExceptionForm f = new ExceptionForm(Model, ex); f.Show(); }