예제 #1
0
        public LoginFacebookPanel()
        {
            InitializeComponent();

            m_initialHeight        = Height;
            m_connectingToFacebook = LoadingPanel.Title;

            FacebookApi = new FacebookClient(
                new OAuthCryptoSet(Settings.Default.FacebookApiKey)
                );

            LoadingPanel.ResetLoading();
            AuthorizationUriWorker.RunWorkerAsync();
        }
예제 #2
0
        public LoginTwitterPanel()
        {
            InitializeComponent();

            m_initialHeight       = Height;
            m_connectingToTwitter = LoadingPanel.Title;

            TwitterApi = new TwitterClient(
                new OAuthCryptoSet(
                    Settings.Default.TwitterApiKey,
                    Settings.Default.TwitterApiSecret
                    )
                );

            AuthorizationUriWorker.RunWorkerAsync();
        }