Exemple #1
0
        private void FrmMain_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.Hide();
            loginScreen login = new loginScreen();

            login.Show();
        }
Exemple #2
0
        //btn_LogOut Click event handler
        private void btn_LogOut_Click(object sender, EventArgs e)
        {
            this.Hide();
            loginScreen login = new loginScreen();

            login.Show();
        }