Exemple #1
0
 private void btnIzmeni_Click(object sender, RoutedEventArgs e)
 {
     if (dgDodatnaUsluga.SelectedItem != null)
     {
         DodatnaUslugaEditProzor prozor = new DodatnaUslugaEditProzor((DodatnaUsluga)dgDodatnaUsluga.SelectedItem);
         prozor.ShowDialog();
     }
 }
Exemple #2
0
        private void btnDodaj_Click(object sender, RoutedEventArgs e)
        {
            DodatnaUslugaEditProzor prozor = new DodatnaUslugaEditProzor();

            prozor.ShowDialog();
        }