void parametersForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (parametersForm != null)
     {
         parametersForm.Dispose();
         parametersForm = null;
     }
 }
 private void buttonCollisionParameters_Click(object sender, EventArgs e)
 {
     if ((parametersForm == null) && (ModelControl != null))
     {
         parametersForm             = new CollisionParametersForm(ModelControl);
         parametersForm.FormClosed += new FormClosedEventHandler(parametersForm_FormClosed);
     }
     if (parametersForm != null)
     {
         parametersForm.Show();
         parametersForm.BringToFront();
     }
 }