Example #1
0
        private void btnBrand_Click(object sender, EventArgs e)
        {
            frmBrandList frm = new frmBrandList();

            frm.TopLevel = false;
            panel4.Controls.Add(frm);
            frm.BringToFront();
            frm.Show();
        }
Example #2
0
 public frmBrand(frmBrandList fList)
 {
     InitializeComponent();
     cn      = new SqlConnection(dBCon.MyConnection());
     frmList = fList;
 }