Esempio n. 1
0
        public PageDetailsContact()
        {
            InitializeComponent();
            Contact contact = NavigateContact.GetNavigationData(this.NavigationService);

            labelEmail.Content     = contact.Email;
            labelNom.Content       = contact.Nom;
            labelTelephone.Content = contact.NumeroTelephone;
            image_Contact.Source   = new BitmapImage(new Uri(contact.Image, UriKind.RelativeOrAbsolute));
        }
        public PageConfirmationAjouterContact()
        {
            InitializeComponent();
            Contact c = NavigateContact.GetNavigationData(this.NavigationService);

            if (c.estAjoute)
            {
                label_Fin.Foreground = System.Windows.Media.Brushes.Green;
                label_Fin.Content    = "Contact bien ajouté";
            }
            else
            {
                label_Fin.Foreground = System.Windows.Media.Brushes.Red;
                label_Fin.Content    = "Contact non ajouté, une erreur s'est produite ! Merci de reessayer plus tard.";
            }
        }