Ejemplo n.º 1
0
 private void ADD_Click(object sender, EventArgs e)
 {
     if (Retailer.Checked)
     {
         ApplicationManager.addBuyer(BuyerID.Text, BuyerName.Text, Retailer.Text);
     }
     if (WholeSaller.Checked)
     {
         ApplicationManager.addBuyer(BuyerID.Text, BuyerName.Text, WholeSaller.Text);
     }
     BuyerID.Text        = BuyerID.Name;
     BuyerName.Text      = BuyerName.Name;
     Retailer.Checked    = false;
     WholeSaller.Checked = false;
 }