Esempio n. 1
0
        private void addBusinessBtn_Click(object sender, EventArgs e)
        {
            BusinessActions businessOP = new BusinessActions();

            businessOP.Text = "Create";
            businessOP.ShowDialog();
            GetBusinessData();
        }
Esempio n. 2
0
 private void businessEditBtn_Click(object sender, EventArgs e)
 {
     try
     {
         BusinessActions businessOP = new BusinessActions();
         businessOP.EditBusiness(Convert.ToInt32(businessNumber.Text));
         businessOP.Text = "Edit";
         businessOP.ShowDialog();
         GetBusinessData();
     }
     catch
     {}
 }