Esempio n. 1
0
        //Chuyen sang quan ly phieu xuat
        private void btnTimPhieuXuat_Click(object sender, EventArgs e)
        {
            Form frm = ThongTin.KiemTraTonTai(typeof(FormQuanLyXuatHang), this.ParentForm);

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                FormQuanLyXuatHang fQLXuatHang = new FormQuanLyXuatHang();
                fQLXuatHang.MdiParent = this.ParentForm;
                fQLXuatHang.Show();
            }
        }
Esempio n. 2
0
        private void xuatHangToolStripMenuItemQLXuatHang_Click(object sender, EventArgs e)
        {
            Form frm = KiemTraTonTai(typeof(FormQuanLyXuatHang));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                FormQuanLyXuatHang fQLXuatHang = new FormQuanLyXuatHang();
                fQLXuatHang.MdiParent = this;
                fQLXuatHang.Show();
            }
        }
Esempio n. 3
0
        private void PhieuXuat_barButtonItem_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frm = KiemTraTonTai(typeof(FormQuanLyXuatHang));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                FormQuanLyXuatHang fQLXuatHang = new FormQuanLyXuatHang();
                fQLXuatHang.MdiParent = this;
                fQLXuatHang.Show();
            }
        }