} // Dodaje predmete

        void btn_Click(object sender, RoutedEventArgs e)
        {
            izabranipredmet = ((Button)(sender)).Content.ToString();



            IzabraniPredmet p = new IzabraniPredmet(izabranipredmet);

            this.NavigationService.Navigate(p);
        }
        void btn_Click(object sender, RoutedEventArgs e)
        {
            izabranipredmet = ((Button)(sender)).Content.ToString();

            IzabraniPredmet p = new IzabraniPredmet(izabranipredmet);
            this.NavigationService.Navigate(p);
        }