Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            ADMIN_LOGIN l2 = new ADMIN_LOGIN();

            l2.Show();
            this.Hide();
        }
Exemplo n.º 2
0
 private void logout_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("Do you want to logout ?", "LOGING OUT", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
     {
         ADMIN_LOGIN al = new ADMIN_LOGIN();
         al.Show();
         this.Hide();
     }
     else
     {
         this.Activate();
     }
 }