Exemplo n.º 1
0
 private void PrikaziClanove()
 {
     ListBox1.Items.Clear();
     listaClanova = cDal.VratiClanove();
     foreach (Clan c in listaClanova)
     {
         ListBox1.Items.Add(c);
     }
 }
        public WindowIznajmljivanjePromena()
        {
            InitializeComponent();
            VideoKlub2019 db = new VideoKlub2019();

            cDal         = new ClanDal(db);
            fDal         = new FilmDal(db);
            listaClanova = cDal.VratiClanove();
            listaFilmova = fDal.VratiFilmove();
        }
 private void PrikaziClanove()
 {
     ComboBoxClan.ItemsSource = null;
     listaClanova             = cDal.VratiClanove();
     ComboBoxClan.ItemsSource = listaClanova;
 }
Exemplo n.º 4
0
 private void PrikaziClanove()
 {
     listaClanova         = cDal.VratiClanove();
     ListBox1.ItemsSource = null;
     ListBox1.ItemsSource = listaClanova;
 }