Beispiel #1
0
        private void btn_trove_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            FrmQLHoaDon hd = new FrmQLHoaDon();

            hd.MdiParent       = this.MdiParent;
            hd.Dock            = DockStyle.Fill;
            hd.FormBorderStyle = FormBorderStyle.None;
            hd.StartPosition   = FormStartPosition.CenterScreen;
            hd.Show();
        }
 private void btn_trove_Click(object sender, EventArgs e)
 {
     try
     {
         this.Visible = true;
         FrmQLHoaDon f = new FrmQLHoaDon();
         f.MdiParent       = this.MdiParent;
         f.Dock            = DockStyle.Fill;
         f.FormBorderStyle = FormBorderStyle.None;
         f.StartPosition   = FormStartPosition.CenterScreen;
         f.Show();
     }
     catch
     {
     }
 }
Beispiel #3
0
        private void hOAĐƠ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   = "Đặt Phòng"
            };
            bool kt = lsNDBUS.ThemLichSuNguoiDung(lsNDDTO);

            DongFrmCon();
            f9           = new FrmQLHoaDon();
            f9.MdiParent = this;
            f9.Dock      = DockStyle.Fill;
            f9.Show();
        }