public LoginFacebookPanel() { InitializeComponent(); m_initialHeight = Height; m_connectingToFacebook = LoadingPanel.Title; FacebookApi = new FacebookClient( new OAuthCryptoSet(Settings.Default.FacebookApiKey) ); LoadingPanel.ResetLoading(); AuthorizationUriWorker.RunWorkerAsync(); }
public LoginTwitterPanel() { InitializeComponent(); m_initialHeight = Height; m_connectingToTwitter = LoadingPanel.Title; TwitterApi = new TwitterClient( new OAuthCryptoSet( Settings.Default.TwitterApiKey, Settings.Default.TwitterApiSecret ) ); AuthorizationUriWorker.RunWorkerAsync(); }