public DetailsPage() { InitializeComponent(); UtilisateurPhone user = (UtilisateurPhone)PhoneApplicationService.Current.State["Utilisateur"]; TBAdresse.Text = user.Adresse; TBUser.Text = user.Nom + " " + user.Prenom; TBEmail.Text = user.Email; TBLogin.Text = user.Login; }
public MainPage() { InitializeComponent(); WCFProxy = new ServicePhoneClient(); user = (UtilisateurPhone)PhoneApplicationService.Current.State["Utilisateur"]; TBUsername.Text = user.Nom + " " + user.Prenom; idCalledPerson = new List <int>(); smartVigilance = new RepertoirePhone { NTel = "080510504", IDContact = 8, Nom = "Smart", Prenom = "Vigilance", Priorite = 0, IDUtilisateur = user.ID, }; WCFProxy.GetRepertoireCompleted += WCFProxy_GetRepertoireCompleted; WCFProxy.GetRepertoireAsync(user.ID); }