Exemplo n.º 1
0
        private void btn_quayve_Click(object sender, EventArgs e)
        {
            this.Close();
            FrmQLTaiKhoan qltk = new FrmQLTaiKhoan();

            qltk.MdiParent       = FrmChinh.ActiveForm;
            qltk.Dock            = DockStyle.Fill;
            qltk.FormBorderStyle = FormBorderStyle.None;
            qltk.StartPosition   = FormStartPosition.CenterScreen;
            qltk.Show();
        }
Exemplo n.º 2
0
        private void tAIKHOANNGƯƠIDUNGToolStripMenuItem_Click(object sender, EventArgs e)
        {
            lsNDDTO = new LichSuNguoiDungDTO()
            {
                MAND     = nvDangNhap.MAND,
                MANV     = nvDangNhap.MANV,
                THOIGIAN = DateTime.Parse(DateTime.Now.ToString("dd/MM/yyy HH:mm")),
                SUKIEN   = "Quản Lý Tài Khoản"
            };
            bool kt = lsNDBUS.ThemLichSuNguoiDung(lsNDDTO);

            lsNDBUS = new LichSuNguoiDungBUS();
            DongFrmCon();
            f2           = new FrmQLTaiKhoan();
            f2.MdiParent = this;
            f2.Dock      = DockStyle.Fill;
            f2.Show();
        }