Exemplo n.º 1
0
        public FrmSearchProduct(FrmDanhMucSanPham frmParent)
        {
            InitializeComponent();

            productManager = new ProductManager();
            productNameManager = new ProductNameManager();
            categoryManager = new CategoryManager();
            unitManager = new UnitManager();
            countryManager = new CountryManager();
            manufacturerManager = new ManufacturerManager();
            productStatusManager = new ProductStatusManager();

            this.frmParent = frmParent;
        }
Exemplo n.º 2
0
 private void tsmiDanhMucSanPham_Click(object sender, EventArgs e)
 {
     if (DanhMucSanPham == null || DanhMucSanPham.IsDisposed)
     {
         DanhMucSanPham = new FrmDanhMucSanPham();
         DanhMucSanPham.MdiParent = this;
         DanhMucSanPham.Show();
     }
     DanhMucSanPham.BringToFront();
 }