private void btnLogIn_Click(object sender, EventArgs e) { // hide this form and show the main menu frmMainMenu mainmenu = new frmMainMenu(); this.Hide(); mainmenu.Show(); }
private void btnMainMenu_Click(object sender, EventArgs e) { // return back to the main menu frmMainMenu mainmenu = new frmMainMenu(); this.Hide(); mainmenu.Show(); }