Ejemplo n.º 1
0
        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);
            }
        }
Ejemplo n.º 2
0
        private void MenuItem_Click_1(object sender, RoutedEventArgs e)
        {
            try
            {
                if (MemBerShip.CréationRendezVous == true)
                {
                    SVC.RendezVou SelectRendezVous = new RendezVou
                    {
                        PrisPar = MemBerShip.UserName,
                    };


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