diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-05-08 07:43:13 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-05-08 07:43:13 -0700 |
commit | 3a5a761063327f919d72d04e47968c8556a6fd36 (patch) | |
tree | 962b5692889ff320985c3862b08a1527798a116f /samples/OAuthConsumer/Twitter.aspx.cs | |
parent | 1be3ed304dcf79725ca099f8df54a601c26e145b (diff) | |
download | DotNetOpenAuth-3a5a761063327f919d72d04e47968c8556a6fd36.zip DotNetOpenAuth-3a5a761063327f919d72d04e47968c8556a6fd36.tar.gz DotNetOpenAuth-3a5a761063327f919d72d04e47968c8556a6fd36.tar.bz2 |
StyleCop fixes.
Diffstat (limited to 'samples/OAuthConsumer/Twitter.aspx.cs')
-rw-r--r-- | samples/OAuthConsumer/Twitter.aspx.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/samples/OAuthConsumer/Twitter.aspx.cs b/samples/OAuthConsumer/Twitter.aspx.cs index 44350ca..12450e6 100644 --- a/samples/OAuthConsumer/Twitter.aspx.cs +++ b/samples/OAuthConsumer/Twitter.aspx.cs @@ -36,7 +36,7 @@ protected void Page_Load(object sender, EventArgs e) { if (this.TokenManager != null) { - MultiView1.ActiveViewIndex = 1; + this.MultiView1.ActiveViewIndex = 1; if (!IsPostBack) { var twitter = new WebConsumer(TwitterConsumer.ServiceDescription, this.TokenManager); @@ -79,8 +79,8 @@ protected void uploadProfilePhotoButton_Click(object sender, EventArgs e) { if (profilePhoto.PostedFile.ContentType == null) { - photoUploadedLabel.Visible = true; - photoUploadedLabel.Text = "Select a file first."; + this.photoUploadedLabel.Visible = true; + this.photoUploadedLabel.Text = "Select a file first."; return; } @@ -88,9 +88,9 @@ XDocument imageResult = TwitterConsumer.UpdateProfileImage( twitter, this.AccessToken, - profilePhoto.PostedFile.InputStream, - profilePhoto.PostedFile.ContentType); - photoUploadedLabel.Visible = true; + this.profilePhoto.PostedFile.InputStream, + this.profilePhoto.PostedFile.ContentType); + this.photoUploadedLabel.Visible = true; } } }
\ No newline at end of file |