private void leave()
 {
     frmMainMenu mainMenu = new frmMainMenu();
     mainMenu.Show();
     this.Close();
 }
 private void cmdBack_Click(object sender, System.EventArgs e)
 {
     //this just puts you back to the main menu;
     this.Close();
     frmMainMenu mainMenu = new frmMainMenu();
     mainMenu.Show();
 }