Exemplo n.º 1
0
        private void CategoryButton_Click(object sender, EventArgs e)
        {
            CategoryListForm clf = new CategoryListForm();

            clf.TopLevel = false;
            panel3.Controls.Add(clf);
            clf.BringToFront();
            clf.LoadCategory();
            clf.Show();
        }
Exemplo n.º 2
0
 public CategoryAdd(CategoryListForm frm)
 {
     InitializeComponent();
     cn       = new SqlConnection(dbcon.MyConnection());
     listForm = frm;
 }