コード例 #1
0
        private void addBusinessBtn_Click(object sender, EventArgs e)
        {
            BusinessActions businessOP = new BusinessActions();

            businessOP.Text = "Create";
            businessOP.ShowDialog();
            GetBusinessData();
        }
コード例 #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
     {}
 }