Ejemplo n.º 1
0
        private void fetchProfilePicture()
        {
            GraphicsPath gp = new GraphicsPath();

            gp.AddEllipse(0, 0, ProfilePictureBox.Width - 3, ProfilePictureBox.Height - 3);
            Region region = new Region(gp);

            ProfilePictureBox.Region = region;
            ProfilePictureBox.LoadAsync(m_LoggedInUser.PictureNormalURL);
        }
Ejemplo n.º 2
0
 public void FechUserBasicInfo()
 {
     ProfilePictureBox.Invoke(new Action(() => ProfilePictureBox.LoadAsync(User.PictureNormalURL)));
     coverPhotoPictureBox.Invoke(new Action(() => coverPhotoPictureBox.LoadAsync(User.Cover.SourceURL)));
     NameLabel.Invoke(new Action(() => NameLabel.Text         = "Hello " + User.Name));
     UserInfoLabel.Invoke(new Action(() => UserInfoLabel.Text =
                                         "Birthday: " + User.Birthday + Environment.NewLine +
                                         "Email: " + User.Email + Environment.NewLine +
                                         "Gender: " + User.Gender + Environment.NewLine +
                                         "Relationship Status: " + User.RelationshipStatus + Environment.NewLine));
 }
Ejemplo n.º 3
0
 private void fetchProfilePicture()
 {
     ProfilePictureBox.LoadAsync(r_FacebookManager.CurrentUser.PictureNormalURL);
 }
Ejemplo n.º 4
0
 private void fetchProfilePicture()
 {
     ProfilePictureBox.Invoke(new Action(() => ProfilePictureBox.LoadAsync(r_FacebookManager.CurrentUser.PictureNormalURL)));
 }