Пример #1
0
        private void NationalityPicker_SelectedIndexChanged(object sender, EventArgs e)
        {
            string selectedCountry = NationalityPicker.Items[NationalityPicker.SelectedIndex];

            vm.AddToList(selectedCountry);
            StatesPicker.ItemsSource = vm.StateList;
        }