📄 pointlogdetail.cs
字号:
namespace PowerEasy.WebSite.Admin.User
{
using PowerEasy.Controls;
using PowerEasy.Model.UserManage;
using PowerEasy.UserManage;
using PowerEasy.Web.UI;
using System;
using System.Web.UI.WebControls;
public class PointLogDetail : AdminPage
{
protected Label LblIncomePayOut;
protected Label LblInputer;
protected Label LblIP;
protected Label LblLogTime;
protected Label LblMemo;
protected Label LblRemark;
protected Label LblTimes;
protected Label LblUserName;
protected ExtendedSiteMapPath SmpNavigator;
protected void Page_Load(object sender, EventArgs e)
{
int logId = BasePage.RequestInt32("LogID");
if (!this.Page.IsPostBack)
{
UserPointLogInfo pointLogById = UserPointLog.GetPointLogById(logId);
if (!pointLogById.IsNull)
{
this.LblLogTime.Text = pointLogById.LogTime.ToString();
this.LblUserName.Text = pointLogById.UserName;
this.LblIP.Text = pointLogById.IP;
if (pointLogById.IncomePayOut == 1)
{
this.LblIncomePayOut.Text = "收入 " + pointLogById.Point.ToString();
}
else
{
this.LblIncomePayOut.Text = "支出 " + pointLogById.Point.ToString();
}
this.LblTimes.Text = pointLogById.Times.ToString();
this.LblInputer.Text = pointLogById.Inputer;
this.LblRemark.Text = pointLogById.Remark;
this.LblMemo.Text = pointLogById.Memo;
}
else
{
AdminPage.WriteErrMsg("<li>找不到对应记录!</li>");
}
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -