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