Example #1
0
        public void getLoginDialog()
        {
            var fbLoginDialog = new FacebookLoginDialog(AppId, extendedPermissions);

            fbLoginDialog.ShowDialog();

            if (DisplayAppropriateMessage(fbLoginDialog.FacebookOAuthResult))
            {
                setUserData();
                setAlbumNames();
            }
            else
            {
                System.Windows.Forms.MessageBox.Show("Fehler bei der Authentifizierung");
                Environment.Exit(-1);
            }
        }
Example #2
0
        public void getLoginDialog()
        {
            var fbLoginDialog = new FacebookLoginDialog(AppId, extendedPermissions);

            fbLoginDialog.ShowDialog();

            if (DisplayAppropriateMessage(fbLoginDialog.FacebookOAuthResult))
            {
                setUserData();
                setAlbumNames();
            }
            else
            {
                System.Windows.Forms.MessageBox.Show("Fehler bei der Authentifizierung");
                Environment.Exit(-1);
            }
        }