/// <summary> /// Init GUI at start /// </summary> private void Init() { animalController = new AnimalHandler(); lboxCategory.ItemsSource = animalController.getListCategories(); lboxCategory.SelectedIndex = 0; lboxSpecies.ItemsSource = animalController.getListSpecies(lboxCategory.SelectedIndex); lboxSpecies.SelectedIndex = 0; lboxGender.ItemsSource = animalController.getListGender(); lboxGender.SelectedIndex = 0; }