Beispiel #1
0
        private void buttonEdit_Click(object sender, EventArgs e)
        {
            AddProductPanel addProductPanel = new AddProductPanel(product, method);

            control.Controls.Clear();
            control.Controls.Add(addProductPanel);
        }
Beispiel #2
0
 private void btnAutoriz_click()
 {
     menuStrip1.Visible = true;
     panel1.Visible     = true;
     listProducts       = new ListProducts(panel1);
     addProductPanel    = new AddProductPanel();
     panel1.Controls.Add(listProducts);
 }