示例#1
0
        static ITwitterAuthorizer DoFormOAuth(out string screenName)
        {
            var form = new TwitterOAuthForm();

            form.ShowDialog();

            screenName = ((WebAuthorizer)form.Authorizer).Credentials.ScreenName;

            return(form.Authorizer);
        }
示例#2
0
        /*static ITwitterAuthorizer DoPinFormOAuth(out String screenName)
        {
            var form = new OAuthForm();
            form.ShowDialog();

            screenName = form.Authorizer.Credentials.ScreenName;

            return form.Authorizer;
        }*/

        static ITwitterAuthorizer DoFormOAuth(out string screenName)
        {
            var form = new TwitterOAuthForm();
            form.ShowDialog();

            screenName = ((WebAuthorizer)form.Authorizer).Credentials.ScreenName;

            return form.Authorizer;
        }