public pocetniTip()
 {
     instance = this;
     baza     = new Baza();
     baza.ucitajTipove();
     tipovi           = baza.Tipovi;
     this.DataContext = this;
     InitializeComponent();
     WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
 }
        private void Tipp(object sender, RoutedEventArgs e)
        {
            var s = new Projekat.Tip.pocetniTip();

            s.Show();
        }