Ejemplo n.º 1
0
 private void LoadFarmerList()
 {
     try
     {
         var farmers = Factories.CreateFarmers().GetAllRecord();
         foreach (var item in farmers)
         {
             cboFarmer.Items.Add(new ItemX(item.FullName, item.ID.ToString()));
         }
     }
     catch (Exception)
     {
         throw;
     }
 }