Beispiel #1
0
 public CategoryForm(CategoryListForm clist)
 {
     InitializeComponent();
     connect = new MySqlConnection();
     connect.ConnectionString = dbconnect.DataConnection();
     categlist = clist;
 }
Beispiel #2
0
        private void ManageCategoryBtn_Click(object sender, EventArgs e)
        {
            CategoryListForm CatList = new CategoryListForm();

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