Esempio n. 1
0
 private void btnPromena_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         DataRowView row = (DataRowView)TabelaReferenti.SelectedItems[0];
         pnlRight.Children.Clear();
         ReferentIzmeniPodatke rp = new ReferentIzmeniPodatke(row, TabelaReferenti);
         pnlRight.Children.Add(rp);
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex);
     }
 }
Esempio n. 2
0
 private void btnIzmeni_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         DataRowView row = (DataRowView)TabelaReferenti.SelectedItems[0];
         pnlRight.Children.Clear();
         ReferentIzmeniPodatke rp = new ReferentIzmeniPodatke(row, TabelaReferenti);
         pnlRight.Children.Add(rp);
     }
     catch (Exception ex)
     {
         MessageBox.Show("Niste izabrali");
     }
 }