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)); }
private void fetchProfilePicture() { ProfilePictureBox.Invoke(new Action(() => ProfilePictureBox.LoadAsync(r_FacebookManager.CurrentUser.PictureNormalURL))); }