Esempio n. 1
0
        private void Uloha5Vyhladaj_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                var nazovNeh = InputUloha5NazovKat.Text;
                var cisNeh   = int.Parse(InputUloha5CisNehnutel.Text);

                Uloha5List.ItemsSource = AfrikaKataster.Uloha5(nazovNeh, cisNeh);
            }
            catch (Exception)
            {
                MessageBox.Show("Zle zadane parametre", "ERR");
            }
        }