Exemplo n.º 1
0
 private void logOutFromFacebook()
 {
     v_IsUserConnectedToFB         = false;
     m_AppSettings.LastAccessToken = null;
     UserProfilePictureBox.Invoke(new Action(() => UserProfilePictureBox.ImageLocation             = r_FaceBookAnonymousURL));
     LoginOrDisconnectPictureBox.Invoke(new Action(() => LoginOrDisconnectPictureBox.ImageLocation = r_LoginToFaceBookRequestURL));
     clearAllUserData();
 }
Exemplo n.º 2
0
 private void fetchUserProfilePicture()
 {
     UserProfilePictureBox.Invoke(new Action(() => UserProfilePictureBox.SizeMode      = PictureBoxSizeMode.StretchImage));
     UserProfilePictureBox.Invoke(new Action(() => UserProfilePictureBox.ImageLocation = m_LoggedInUser.PictureLargeURL));
 }