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; } }
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; } }