private void ManageBrand_Click(object sender, EventArgs e) { FormBrand frm = new FormBrand(); frm.TopLevel = false; panel3.Controls.Add(frm); frm.BringToFront(); frm.Show(); }
public Form2Brand(FormBrand flist) { InitializeComponent(); cn = new SqlConnection(dbcon.MyConnection()); frmlist = flist; }