Example #1
0
        private void btn_Dong_Click(object sender, EventArgs e)
        {
            this.Close();
            frm_HoaDon a = new frm_HoaDon();

            a.Show();
        }
Example #2
0
        private void mnuHoaDon_Click(object sender, EventArgs e)
        {
            frm_HoaDon hoadon = new frm_HoaDon();

            hoadon.MdiParent = this;
            hoadon.Show();
        }
Example #3
0
        private void label11_Click(object sender, EventArgs e)
        {
            this.Hide();
            frm_HoaDon a = new frm_HoaDon();

            a.Show();
        }
Example #4
0
        private void panel7_Click(object sender, EventArgs e)
        {
            this.Hide();
            frm_HoaDon HoaDon = new frm_HoaDon();

            HoaDon.Show();
            // this.Hide();
        }
Example #5
0
        private void barButtonItem6_ItemClick(object sender, ItemClickEventArgs e)
        {
            panelQuanLyNghiepVu.Controls.Clear(); //clear mang hình panel
            frm_HoaDon frm = new frm_HoaDon();    //khởi tạo form Tài Khoản

            //thêm vào panel chinh 1 form mới
            this.IsMdiContainer = true;//tùy chỉnh trong form chính thuộc tính IsMdiContainer cho ko tràng form
            frm.MdiParent       = this;
            this.panelQuanLyNghiepVu.Controls.Add(frm);
            frm.Show();
        }
Example #6
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     i++;
     if (i == 1)
     {
         timer1.Stop();
         In();
         this.Close();
         frm_HoaDon a = new frm_HoaDon();
         a.Show();
     }
 }
Example #7
0
 private void frm_HangHoa_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.Control == true && e.KeyCode == Keys.P)
     {
         this.Hide();
         frm_CaNhan CaNhan = new frm_CaNhan();
         CaNhan.Show();
     }
     if (e.Control == true && e.KeyCode == Keys.E)
     {
         this.Hide();
         frm_NhanVien01 NhanVien = new frm_NhanVien01();
         NhanVien.Show();
     }
     if (e.Control == true && e.KeyCode == Keys.R)
     {
         this.Hide();
         frm_BaoCao BaoCao = new frm_BaoCao();
         BaoCao.Show();
     }
     if (e.Control == true && e.KeyCode == Keys.G)
     {
         this.Hide();
         frm_HangHoa HangHoa = new frm_HangHoa();
         HangHoa.Show();
     }
     if (e.Control == true && e.KeyCode == Keys.B)
     {
         this.Hide();
         frm_HoaDon HoaDon = new frm_HoaDon();
         HoaDon.Show();
     }
     if (e.Control == true && e.KeyCode == Keys.C)
     {
         this.Hide();
         frm_KhachHang KhachHang = new frm_KhachHang();
         KhachHang.Show();
     }
 }