summaryrefslogtreecommitdiffstats
path: root/samples/OAuthConsumer/Twitter.aspx.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-05-08 07:43:13 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2010-05-08 07:43:13 -0700
commit3a5a761063327f919d72d04e47968c8556a6fd36 (patch)
tree962b5692889ff320985c3862b08a1527798a116f /samples/OAuthConsumer/Twitter.aspx.cs
parent1be3ed304dcf79725ca099f8df54a601c26e145b (diff)
downloadDotNetOpenAuth-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.cs12
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