private void rateHospital_Click(object sender, RoutedEventArgs e)
        {
            _kojiJePritisnut = rateHospital;
            PatientRatesPage pa = new PatientRatesPage(this, parent, _selektovan);

            parent.startWindow.Content = pa;
            return;
        }
        private void rate_Click(object sender, RoutedEventArgs e)
        {
            _kojiJePritisnut = rate;
            if (PrikazPregleda.SelectedItem == null)
            {
                MessageBox.Show("Morate selektovati termin kod lekara!", "Greška");
            }
            else
            {
                _selektovan = (Appointment)PrikazPregleda.SelectedItem;
                parent.iconAndNameDoctor.Visibility = Visibility.Visible;
                PatientRatesPage pa = new PatientRatesPage(this, parent, _selektovan);
                parent.startWindow.Content = pa;
            }

            return;
        }