Example #1
0
 private void VsetkoRodCislo_KeyUp(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Enter)
     {
         try
         {
             var rodCislo = VsetkoRodCislo.Text;
             VsetkoListyKatastra.ItemsSource      = AfrikaKataster.VsetkyListyObcana(rodCislo);
             VsetkoVlastnikove.ItemsSource        = AfrikaKataster.Uloha2(rodCislo);
             VsetkoListyNehnutelnosti.ItemsSource = AfrikaKataster.VsetkoCoVlastniObcanNeh(rodCislo);
         }
         catch (Exception)
         {
             MessageBox.Show("Zle zadane udaje", "Err");
         }
     }
 }
Example #2
0
        private void Uloha2Vyhladaj_Click(object sender, RoutedEventArgs e)
        {
            var rodCislo = InputUloha2RodCislo.Text;

            Uloha2List.ItemsSource = AfrikaKataster.Uloha2(rodCislo);
        }