Exemple #1
0
        private void onSelect(object sender, RoutedEventArgs e)
        {
            PreparePersonsForm form = new PreparePersonsForm(persons);
            var res = form.ShowDialog();

            if (res == true)
            {
                choosenpersons = form.pl2;
                UpdateUi();
            }
        }
Exemple #2
0
        private void ChooseCommandExecute(object obj)
        {
            var form = new PreparePersonsForm(_foundPeoples);

            if (form.ShowDialog() == false)
            {
                return;
            }

            _chosenPeoples = form.pl2;

            ChosenPeoplesString = string.Format("Выбрано : {0}", _chosenPeoples.Count);
        }