예제 #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
파일: Twitter.cs 프로젝트: xarrez/LiveSplit
        /*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;
        }