本文整理汇总了C#中AccountInfo类的典型用法代码示例。如果您正苦于以下问题:C# AccountInfo类的具体用法?C# AccountInfo怎么用?C# AccountInfo使用的例子? 这里精选的类代码示例或许可以为您提供帮助。
示例1: ShowAccountInfo
private void ShowAccountInfo(AccountInfo accountInfo)
{
LiteralResult.Text = string.Format("[{0}]{1} {2}", accountInfo.ZoneName, accountInfo.AccountName,StringDef.AccountInfo);
TextAccount.Text = accountInfo.AccountName;
TextZoneName.Text = accountInfo.ZoneName;
TextEndDate.Text = accountInfo.EndDate.ToString();
TextLeftSecond.Text = accountInfo.LeftSecond.ToString();
TextLastLoginTime.Text = accountInfo.LastLoginTime.ToString();
TextLastLoginIP.Text = accountInfo.LastLoginIP.ToString();
TextLastLogoutTime.Text = accountInfo.LastLogoutTime.ToString();
TextLeftCoin.Text = accountInfo.LeftCoin.ToString();
TextLeftSecond.Text = accountInfo.LeftSecond.ToString();
TextActiveIP.Text = accountInfo.ActiveIP.ToString();
TextActiveTime.Text = accountInfo.ActiveTime.ToString();
TextActiveType.Text = accountInfo.ActiveType.ToString();
TextExtPoint0.Text = accountInfo.ExtPoint0.ToString();
TextExtPoint1.Text = accountInfo.ExtPoint1.ToString();
TextExtPoint2.Text = accountInfo.ExtPoint2.ToString();
TextExtPoint3.Text = accountInfo.ExtPoint3.ToString();
TextExtPoint4.Text = accountInfo.ExtPoint4.ToString();
TextExtPoint5.Text = accountInfo.ExtPoint5.ToString();
TextExtPoint6.Text = accountInfo.ExtPoint6.ToString();
TextExtPoint7.Text = accountInfo.ExtPoint7.ToString();
TextState.Text = TheAdminServer.PaySysAgent.GetAccountState(accountInfo.AccountName).ToString();
TextGatewayInfo.Text = TheAdminServer.PaySysAgent.GetGatewayByAccount(accountInfo.AccountName);
HyperLinkSetPassword.NavigateUrl = string.Format("~/PaySys/AccountPassword.aspx?{0}={1}",
WebConfig.ParamAccount, accountInfo.AccountName);
}
原文链接:
http://www.jxszl.com/biancheng/C/556450.html