Exemple #1
0
        private void btnLogout_Click(object sender, EventArgs e)
        {
            GUI_Login lg = new GUI_Login();

            this.Hide();
            lg.ShowDialog();
            this.Close();
        }
Exemple #2
0
        private void btnLogin_Click(object sender, EventArgs e)
        {
            GUI_Login login = new GUI_Login();

            login.ShowDialog();
            Account = login.Account;
            if (Account != null)
            {
                resetBtn(true);
                checkLogin();
            }
        }
Exemple #3
0
 private void btnCancel_Click(object sender, EventArgs e)
 {
     if (sTmp.Equals("Login"))
     {
         GUI_Login lg = new GUI_Login();
         this.Hide();
         lg.ShowDialog();
         this.Close();
     }
     if (sTmp.Equals("editMK"))
     {
         QLTK.GUI.GUI_DoiMK hd = new QLTK.GUI.GUI_DoiMK(TK);
         this.Hide();
         hd.ShowDialog();
         this.Close();
     }
 }