private void btnManageProduct_Click(object sender, EventArgs e) { frmProductList productList = new frmProductList(); productList.TopLevel = false; panelContainer.Controls.Add(productList); productList.BringToFront(); productList.LoadRecords(); productList.Show(); }
public frmProduct(frmProductList frmProductList) { InitializeComponent(); _frmProductList = frmProductList; }