登陆代码

 1ExpandedBlockStart.gifContractedBlock.gif  override protected void InitializeSkin(Control skin) dot.gif{
 2InBlock.gif
 3InBlock.gif            // Find the username control
 4InBlock.gif            username = (TextBox) skin.FindControl("username");
 5InBlock.gif
 6InBlock.gif            // Find the password control
 7InBlock.gif            password = (TextBox) skin.FindControl("password");
 8InBlock.gif
 9InBlock.gif            // Find the login button
10InBlock.gif            loginButton = (Button) skin.FindControl("loginButton");
11InBlock.gif            loginButton.Click += new System.EventHandler(LoginButton_Click);
12InBlock.gif            loginButton.Text = ResourceManager.GetString("LoginSmall_Button");
13InBlock.gif            // 设置cookie默认保存时间为30天 by venjiang
14InBlock.gif            autoLogin = (DropDownList) skin.FindControl("autoLogin");
15InBlock.gif            if ( autoLogin.Items.FindByValue("30"!= null)
16InBlock.gif                autoLogin.Items.FindByValue("30" ).Selected = true;
17InBlock.gif
18InBlock.gif            
19InBlock.gif            // Find the autologin checkbox
20InBlock.gif            //autoLogin = (CheckBox) skin.FindControl("autoLogin"); 罗田修改040823
21InBlock.gif            //autoLogin.Text = ResourceManager.GetString("LoginSmall_AutoLogin");
22InBlock.gif            
23InBlock.gif            
24InBlock.gif
25ExpandedBlockEnd.gif        }

转载于:https://www.cnblogs.com/DataBinder/archive/2005/07/12/191452.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值