Пример #1
0
        private void BtnNewUserMainMenu_Click(object sender, EventArgs e)
        {
            //Go back to Main Menu
            this.Hide();
            frmMainLogin frmMainLogin = new frmMainLogin();

            frmMainLogin.Show();
        }
Пример #2
0
        private void BtnMainMenuLogout_Click(object sender, EventArgs e)
        {
            //Go back to login screen
            frmMainLogin frm = new frmMainLogin();

            this.Close();
            frm.Show();
        }