Example #1
0
 private void LoadAnimalType()
 {
     try
     {
         AnimalTypeBLL animTypeBll = new AnimalTypeBLL();
         bool          result      = animTypeBll.GetAnimalType();
         if (result)
         {
             animalTypeBindingSource.DataSource = animTypeBll.animalTypes;
             cbAnimalType.Refresh();
         }
     }
     catch (Exception ex)
     {
         Display.ShowError(ex.Message);
     }
 }