Beispiel #1
0
 private void buttonLogin_Click(object sender, EventArgs e)
 {
     if (FacebookServiceSession.TryToLogIn())
     {
         Form formFacebookAccountBoard = new FormFacebookAccountBoard();
         swapLoginFormToAccountBoardForm(formFacebookAccountBoard);
     }
 }
Beispiel #2
0
        private void buttonLogin_Click(object sender, EventArgs e)
        {
            if (FacebookServiceSession.TryToLogIn())
            {
                Form formFacebookAccountBoard = new FormFacebookAccountBoard();
                swapLoginFormToAccountBoardForm(formFacebookAccountBoard);

            }
        }
Beispiel #3
0
 private void InitAccountBoard()
 {
     if (result.ErrorMessage == null)
     {
         this.Hide();
         DialogResult facebookAccountResult = new FormFacebookAccountBoard(result.LoggedInUser).ShowDialog();
         closeOrLogout(facebookAccountResult);
     }
     else
     {
         MessageBox.Show(result.ErrorMessage);
     }
 }