Beispiel #1
0
 /// <summary>
 /// Clean up all resources that we created.
 /// </summary>
 public override void ShutDown()
 {
     if (debugForm != null)
     {
         debugForm.Close();
         debugForm.Dispose();
         debugForm = null;
     }
 }
Beispiel #2
0
 /// <summary>
 /// Called when the flightmodel is being initialized.
 /// </summary>
 public override void Initialize()
 {
     debugForm             = new DebugForm();
     debugForm.FlightModel = this;
     debugForm.Show();
 }