private void FillingAllComboBox() { _SocieteManager.FillingComboBox(_DefaultSociete, bindingSourceSociete, comboBoxSociete); _RegionManager.FillingComboBox(_DefaultRegion, bindingSourceRegion, comboBoxRegion); _ContratManager.FillingComboBox(_DefaultContrat, bindingSourceContrat, comboBoxContrat); _PosteManager.FillingComboBox(_DefaultPoste, bindingSourcePoste, comboBoxPoste); }
private void FillingAllComboBox() { SocieteManager societeManager = new SocieteManager(); RegionManager regionManager = new RegionManager(); ContratManager contratManager = new ContratManager(); PosteManager posteManager = new PosteManager(); JourManager jourManager = new JourManager("derniers jours"); societeManager.FillingComboBox(_DefaultSociete, bindingSourceSociete, comboBoxSociete); regionManager.FillingComboBox(_DefaultRegion, bindingSourceRegion, comboBoxRegion); contratManager.FillingComboBox(_DefaultContrat, bindingSourceContrat, comboBoxContrat); posteManager.FillingComboBox(_DefaultPoste, bindingSourcePoste, comboBoxPoste); jourManager.FillingComboBox(_DefaultJour, bindingSourceJour, comboBoxJour); }