コード例 #1
0
        private void btnDetaljnije_Click(object sender, RoutedEventArgs e)
        {
            Racun             selektovaniRacun = view.CurrentItem as Racun;
            RacunIzmenaProzor rip = new RacunIzmenaProzor(selektovaniRacun, RacunIzmenaProzor.Stanje.IZMENA);

            rip.ShowDialog();
        }
コード例 #2
0
        private void btnDodaj_Click(object sender, RoutedEventArgs e)
        {
            Racun             racun = new Racun();
            RacunIzmenaProzor rip   = new RacunIzmenaProzor(racun);

            rip.ShowDialog();
        }
コード例 #3
0
        private void btnGenerisiRacun_Click(object sender, RoutedEventArgs e)
        {
            Racun racun = new Racun();

            Racun.Create(racun);
            RacunIzmenaProzor rip = new RacunIzmenaProzor(racun, RacunIzmenaProzor.Stanje.DODAVANJE, RacunIzmenaProzor.Pristup.PRODAVAC);

            rip.ShowDialog();
        }