Beispiel #1
0
        private void btnAddKhoMacDinh_Click(object sender, EventArgs e)
        {
            frmAddWarehouse fAddWarehouse = new frmAddWarehouse();

            fAddWarehouse.ShowDialog();
            LoadKhoHang();
        }
Beispiel #2
0
        private void nbiKhoHang_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            frmAddWarehouse fAddWarehouse = new frmAddWarehouse();

            AddNhatKy("Thêm", "Kho Hàng");
            fAddWarehouse.ShowDialog();
        }
        private void btnAdd_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmAddWarehouse fAddWarehouse = new frmAddWarehouse();

            fAddWarehouse.ShowDialog();

            if (statusAction == 1)
            {
                AddNhatKy("Thêm");
                loadWarehouse();
                statusAction = 0;
            }
            else
            {
            }
        }