static ITwitterAuthorizer DoFormOAuth(out string screenName) { var form = new TwitterOAuthForm(); form.ShowDialog(); screenName = ((WebAuthorizer)form.Authorizer).Credentials.ScreenName; return(form.Authorizer); }
/*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; }