private void buttonSimulationForm_Click(object sender, EventArgs e) { try { SimulationForm form = new SimulationForm(); form.ShowDialog(); } catch (Exception) { throw; } }
private void buttonSimulationForm_Click(object sender, EventArgs e) { var form = new SimulationForm(); form.ShowDialog(); }