Ejemplo n.º 1
0
        private void btn_quayve_Click(object sender, EventArgs e)
        {
            this.Close();
            FrmQLThucDon ql = new FrmQLThucDon();

            ql.MdiParent       = FrmChinh.ActiveForm;
            ql.Dock            = DockStyle.Fill;
            ql.FormBorderStyle = FormBorderStyle.None;
            ql.StartPosition   = FormStartPosition.CenterScreen;
            ql.Show();
        }
Ejemplo n.º 2
0
        private void tHƯCĐƠNToolStripMenuItem_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ý Thực Đơn"
            };
            bool kt = lsNDBUS.ThemLichSuNguoiDung(lsNDDTO);

            DongFrmCon();
            f4           = new FrmQLThucDon();
            f4.MdiParent = this;
            f4.Dock      = DockStyle.Fill;
            f4.Show();
        }