private void settingsButton_Click(object sender, EventArgs e)
 {
     using (SimulationProperties form = new SimulationProperties(setup))
     {
         form.ShowDialog(this);
         UpdateControls();
     }
 }
Example #2
0
        private void button_settings(object sender, EventArgs e)
        {
            SimulationProperties form = new SimulationProperties(config);

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                UpdatePanel();
            }
        }