Esempio n. 1
0
        private void btnKho_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form form = IsActive12(typeof(QuanLy_DienThoai.Views.frmHangHoa));

            if (form == null)
            {
                frmHangHoa Child = new frmHangHoa();
                Child.MdiParent = this;
                Child.Show();
            }
            else
            {
                form.Activate();
            }
        }
Esempio n. 2
0
 public frmImportHangHoa(frmHangHoa _frm)
 {
     InitializeComponent();
     gridView1.Invalidate();
     gridView1.IndicatorWidth = 40;
     InitLookUp_KhoHang();
     InitLookUp_PhanLoai();
     dtable.Columns.Add("Product_ID", typeof(string));
     dtable.Columns.Add("Product_Name", typeof(string));
     dtable.Columns.Add("Barcode", typeof(string));
     dtable.Columns.Add("Unit", typeof(string));
     dtable.Columns.Add("Product_Group_ID", typeof(string));
     dtable.Columns.Add("TEN_NGANH", typeof(string));
     dtable.Columns.Add("Org_Price", typeof(string));
     dtable.Columns.Add("Sale_Price", typeof(string));
     dtable.Columns.Add("Retail_Price", typeof(string));
     frmhanghoa = _frm;
 }
Esempio n. 3
0
        private void MnStripSp_Click(object sender, EventArgs e)
        {
            frmHangHoa frmSP = new frmHangHoa();

            frmSP.Show();
        }
Esempio n. 4
0
        private void btnHangHoa_Click(object sender, EventArgs e)
        {
            frmHangHoa hh = new frmHangHoa();

            hh.Show();
        }
Esempio n. 5
0
        private void hàngHoáToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmHangHoa hh = new frmHangHoa();

            hh.ShowDialog();
        }
Esempio n. 6
0
        private void frmHangHoa_Click(object sender, EventArgs e)
        {
            frmHangHoa f = new frmHangHoa();

            f.Show();
        }
Esempio n. 7
0
        private void hàngHóaToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            frmHangHoa HH = new frmHangHoa();

            HH.ShowDialog();
        }