diff options
-rw-r--r-- | projecttemplates/WebFormsRelyingParty/Members/AccountInfo.aspx.cs | 12 | ||||
-rw-r--r-- | projecttemplates/WebFormsRelyingParty/Setup.aspx.cs | 10 |
2 files changed, 11 insertions, 11 deletions
diff --git a/projecttemplates/WebFormsRelyingParty/Members/AccountInfo.aspx.cs b/projecttemplates/WebFormsRelyingParty/Members/AccountInfo.aspx.cs index bf76dea..1ca6d10 100644 --- a/projecttemplates/WebFormsRelyingParty/Members/AccountInfo.aspx.cs +++ b/projecttemplates/WebFormsRelyingParty/Members/AccountInfo.aspx.cs @@ -17,15 +17,15 @@ namespace WebFormsRelyingParty.Members { public partial class AccountInfo : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { Global.LoggedInUser.AuthenticationTokens.Load(); - Repeater1.DataSource = Global.LoggedInUser.AuthenticationTokens; + this.Repeater1.DataSource = Global.LoggedInUser.AuthenticationTokens; if (!IsPostBack) { - Repeater1.DataBind(); - emailBox.Text = Global.LoggedInUser.EmailAddress; - firstNameBox.Text = Global.LoggedInUser.FirstName; - lastNameBox.Text = Global.LoggedInUser.LastName; + this.Repeater1.DataBind(); + this.emailBox.Text = Global.LoggedInUser.EmailAddress; + this.firstNameBox.Text = Global.LoggedInUser.FirstName; + this.lastNameBox.Text = Global.LoggedInUser.LastName; } - firstNameBox.Focus(); + this.firstNameBox.Focus(); } protected void openIdBox_LoggingIn(object sender, OpenIdEventArgs e) { diff --git a/projecttemplates/WebFormsRelyingParty/Setup.aspx.cs b/projecttemplates/WebFormsRelyingParty/Setup.aspx.cs index c99dce6..fb94358 100644 --- a/projecttemplates/WebFormsRelyingParty/Setup.aspx.cs +++ b/projecttemplates/WebFormsRelyingParty/Setup.aspx.cs @@ -17,7 +17,7 @@ protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { - openidLogin.Focus(); + this.openidLogin.Focus(); } } @@ -25,15 +25,15 @@ // We don't actually want to log in... we just want the claimed identifier. e.Cancel = true; if (e.IsDirectedIdentity) { - noOPIdentifierLabel.Visible = true; - } else if (!databaseCreated) { - this.CreateDatabase(e.ClaimedIdentifier, openidLogin.Text); + this.noOPIdentifierLabel.Visible = true; + } else if (!this.databaseCreated) { + this.CreateDatabase(e.ClaimedIdentifier, this.openidLogin.Text); this.MultiView1.ActiveViewIndex = 1; // indicate we have already created the database so that if the // identifier the user gave has multiple service endpoints, // we won't try to recreate the database as the next one is considered. - databaseCreated = true; + this.databaseCreated = true; } } |