示例#1
0
        private void button3_Click(object sender, EventArgs e)
        {
            formProductList prodForm = new formProductList
            {
                TopLevel = false
            };

            buttonCategory.Controls.Add(prodForm);
            prodForm.BringToFront();
            prodForm.Show();
        }
示例#2
0
 public formProduct(formProductList frm)
 {
     InitializeComponent();
     cn    = new SqlConnection(dbCon.MyConnection());
     flist = frm;
 }