Example #1
0
 private void addButton_Click(object sender, EventArgs e)
 {
    // aShopProduct = new Shop();
     //aProduct = new Product();
     AddItemUI addItemUiForm = new AddItemUI(aShopProduct);
     addItemUiForm.Show();
 }
Example #2
0
 private void addButton_Click(object sender, EventArgs e)
 {
     if (aShopInfo != null)
     {
         AddItemUI addItemUiForm = new AddItemUI(aShopInfo);
         addItemUiForm.Show();    
     }
     else
     {
         MessageBox.Show("please At first Create a Shop");
     }
 }
Example #3
0
 private void addButton_Click(object sender, EventArgs e)
 {
     AddItemUI addItemUuiForm = new AddItemUI(aShop);
     addItemUuiForm.Show();
 }