Esempio n. 1
0
        private void label2_Click(object sender, EventArgs e)
        {
            this.Hide();
            Login_Form login_Form = new Login_Form();

            login_Form.Show();
        }
Esempio n. 2
0
        private void logoutBtn_Click(object sender, EventArgs e)
        {
            var confirmResult = MessageBox.Show("Log out ?",
                                                "Confirm logout!!",
                                                MessageBoxButtons.YesNo,
                                                MessageBoxIcon.Question);

            if (confirmResult == DialogResult.Yes)
            {
                Login_Form login_Form = new Login_Form();
                this.Close();
                login_Form.Show();
            }
        }