Example #1
0
 public BrandForm(BrandListForm flist)
 {
     InitializeComponent();
     connect = new MySqlConnection();
     connect.ConnectionString = dbconnect.DataConnection();
     formlist = flist;
     //connect.Open();
 }
Example #2
0
        private void ManageBrandBtn_Click(object sender, EventArgs e)
        {
            BrandListForm brand = new BrandListForm();

            brand.TopLevel = false;
            MainPanel.Controls.Add(brand);
            brand.BringToFront();
            brand.Show();
        }