示例#1
0
 private void VlozKataster_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         var InputNazov = InputNazovKatUzemia.Text;
         var IdKat      = int.Parse(InputIDKatUzem.Text);
         var uspech     = AfrikaKataster.PridajKatastralUzemie(IdKat, InputNazov);
         if (uspech == "OK")
         {
             Uloha15List.ItemsSource = AfrikaKataster.Uloha15();
         }
         else
         {
             MessageBox.Show(uspech, "ERR");
         }
     }
     catch (Exception)
     {
         MessageBox.Show("Zle zadane parametre", "ERR");
     }
 }
示例#2
0
 private void StackPanel_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     VsetkoKatastre.ItemsSource        = AfrikaKataster.Uloha15();
     VsetkoObcaniaKatastra.ItemsSource = AfrikaKataster.VsetkoObyvatelstvo();
     AktivnyPanel(UlohVsetkoPanel);
 }
示例#3
0
 private void Kataster_Click(object sender, RoutedEventArgs e)
 {
     AktivnyPanel(KatUzemPanel);
     Uloha15List.ItemsSource = AfrikaKataster.Uloha15();
 }