Example #1
0
        private void bIzmeni_Click(object sender, RoutedEventArgs e)
        {
            Korisnik            k   = dgKorisnici.SelectedItem as Korisnik;
            KorisniciEditWindow kew = new KorisniciEditWindow(k, MOD.IZMENA);

            kew.ShowDialog();
        }
Example #2
0
        private void bDodaj_Click(object sender, RoutedEventArgs e)
        {
            Korisnik            k   = new Korisnik();
            KorisniciEditWindow kew = new KorisniciEditWindow(k);

            kew.ShowDialog();
        }