Login.aspx.cs
(完整代码) 1KB//===============================================================================================
//
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Permissive License.
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
// All other rights reserved.
//
//===============================================================================================
using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MyWebPagesStarterKit;
using MyWebPagesStarterKit.Controls;
using System.Web.Security;
public partial class NLogin : PageBaseClass
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Control ctl = Login1.FindControl("UserName");
if (ctl != null)
{
(ctl).Focus();
}
}
}
protected void OnLoggingIn(object sender, EventArgs e)
{
TextBox txtUserName = (TextBox)Login1.FindControl("UserName");
Login1.UserName = txtUserName.Text.ToLower();
}
protected void CancelEmail(object sender, MailMessageEventArgs e) {
e.Cancel = true;
}
protected void PasswordRecovery_SendingMail(object sender, MailMessageEventArgs e)
{
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
