private void btnEdit_Click(object sender, RoutedEventArgs e)
        {
            try {
                if (RendezVousDataGrid.SelectedItem != null && memberuser.ModificationRendezVous == true)
                {
                    SVC.RendezVou SelectRendezVous = RendezVousDataGrid.SelectedItem as SVC.RendezVou;


                    PrendreRendezVous CLMedecin = new PrendreRendezVous(SelectRendezVous, proxy, memberuser, callback, 2, null);
                    CLMedecin.Show();

                    /*probléme selected item*/
                }
            }
            catch (Exception ex)
            {
                MessageBoxResult result = Xceed.Wpf.Toolkit.MessageBox.Show(ex.Message, Medicus.Properties.Resources.SiteWeb, MessageBoxButton.OK, MessageBoxImage.Stop);
            }
        }
        private void btnNew_Click(object sender, RoutedEventArgs e)
        {
            try {
                if (memberuser.CréationRendezVous == true)
                {
                    SVC.RendezVou SelectRendezVous = new RendezVou
                    {
                        PrisPar = memberuser.UserName,
                    };


                    PrendreRendezVous CLMedecin = new PrendreRendezVous(SelectRendezVous, proxy, memberuser, callback, 3, null);
                    CLMedecin.Show();
                }
            }
            catch (Exception ex)
            {
                MessageBoxResult result = Xceed.Wpf.Toolkit.MessageBox.Show(ex.Message, Medicus.Properties.Resources.SiteWeb, MessageBoxButton.OK, MessageBoxImage.Stop);
            }
        }