private void btnLogout_Click(object sender, EventArgs e) { GUI_Login lg = new GUI_Login(); this.Hide(); lg.ShowDialog(); this.Close(); }
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(); } }
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(); } }