Beispiel #1
0
 public FormulairePatientViewModel()
 {
     try
     {
         singleUser = Singleton.getInstance();
         _nav       = SimpleIoc.Default.GetInstance <INavigation>();
         CreateCommands();
         ListeNom    = PatientData.GetListeNom();
         ListePrenom = PatientData.GetListePrenom();
         Messenger.Default.Register <Singleton>(this, "Singleton", OnConnected);
         Messenger.Default.Register <bool>(this, "ConnInsc", ConnInsc);
         Messenger.Default.Register <bool>(this, "ConnSupp", ConnSupp);
     }
     catch (Exception ex)
     {
         GestionErreur.GerrerErreur(ex);
     }
 }