Beispiel #1
0
        private void bttExit_Click(object sender, EventArgs e)
        {
            this.Close();
            fTK f = new fTK(this.TaiKhoanDangNhap);

            f.Show();
        }
Beispiel #2
0
        private void bttLogin_Click(object sender, EventArgs e)
        {
            string tk = this.TaiKhoanDangNhap.TenDangNhap;
            string mk = txbPasswords.Text;

            if (Login(tk, mk))
            {
                TKDAO.Instance.UpdateTen(this.TenHienThiMoi, tk);
                this.TaiKhoanDangNhap.TenHienThi = TenHienThiMoi;
                fTK f = new fTK(this.TaiKhoanDangNhap);
                f.Show();
                this.Close();
            }
            else
            {
                MessageBox.Show("Sai mật khẩu!", "Thông báo");
            }
        }
        private void thôngTinTàiKhoảnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fTK f = new fTK(this.TaiKhoanDangNhap);

            f.Show();
        }