private static void Socket_CrashReport(string err)
 {
     MessageBox.Show("There was a network error -> Report: " + err);
     DestroyNetwork();
     C_General.DestroyGame();
 }
 /// <summary>
 /// Handles Exit button press.
 /// </summary>
 public void BtnExit_Click(object sender, EventArgs e)
 {
     C_Sound.PlaySound("Click.ogg");
     C_General.DestroyGame();
 }
 private static void Socket_ConnectionLost()
 {
     MessageBox.Show("Connection was terminated! Returning to Main Menu");
     DestroyNetwork();
     C_General.DestroyGame(true);
 }
 /// <summary>
 /// clean up and close the game.
 /// </summary>
 public void FrmMenu_Disposed(object sender, EventArgs e)
 {
     C_General.DestroyGame();
 }