private void updateUserInformationBindingSource() { if (m_LoggedIn) { try { if (m_CurrentUserInformation == null) { m_CurrentUserInformation = new UserInformationAdapter(); } userInformationBindingSource.DataSource = m_CurrentUserInformation; } catch (Exception ex) { MessageBox.Show(ex.Message); } } }
private void buttonFetchResumeInformationFromFacebook_Click(object sender, EventArgs e) { if (m_LoggedIn) { try { if (m_CurrentUserInformation == null) { m_CurrentUserInformation = new UserInformationAdapter(); } userInformationBindingSource.DataSource = m_CurrentUserInformation; } catch (Exception ex) { MessageBox.Show(ex.Message); } } }