private void btnDialogOk_Click(object sender, RoutedEventArgs e)
        {

            AddAppointment inputDialog = new AddAppointment();
            if (inputDialog.ShowDialog() == true)
                Refresh();
        }
 private void image_Click(object sender, RoutedEventArgs e)
 {
     //Button button = sender as System.Windows.Controls.Button;
     //Hours user = button.DataContext as Hours;
     //MessageBox.Show(user.Practitioner + "  " + user.Start);
     AddAppointment inputDialog = new AddAppointment();
     if (inputDialog.ShowDialog() == true)
     Refresh();
 }