Hidistro.UI.SaleSystem.CodeBehind/VDistributorInfo.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace Hidistro.UI.SaleSystem.CodeBehind
{
using Hidistro.Core;
using Hidistro.Entities.Members;
using Hidistro.SaleSystem.Vshop;
using Hidistro.UI.Common.Controls;
using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
[ParseChildren(true)]
public class VDistributorInfo : VMemberTemplatedWebControl
{
private HtmlInputHidden hdlogo;
private HtmlImage imglogo;
private Literal litBackImg;
private HtmlInputText txtacctount;
private HtmlTextArea txtdescription;
private HtmlInputText txtstorename;
private HtmlInputText txtStoreTel;
protected override void AttachChildControls()
{
PageTitle.AddSiteNameTitle("店铺消息");
this.imglogo = (HtmlImage) this.FindControl("imglogo");
this.hdlogo = (HtmlInputHidden) this.FindControl("hdlogo");
this.txtstorename = (HtmlInputText) this.FindControl("txtstorename");
this.txtdescription = (HtmlTextArea) this.FindControl("txtdescription");
this.txtacctount = (HtmlInputText) this.FindControl("txtacctount");
this.txtStoreTel = (HtmlInputText) this.FindControl("txtStoreTel");
DistributorsInfo userIdDistributors = DistributorsBrower.GetUserIdDistributors(Globals.GetCurrentMemberUserId());
if (userIdDistributors.ReferralStatus != 0)
{
HttpContext.Current.Response.Redirect("MemberCenter.aspx");
}
else
{
MemberInfo currentMember = MemberProcessor.GetCurrentMember();
if (userIdDistributors != null)
{
if (!string.IsNullOrEmpty(userIdDistributors.Logo))
{
this.imglogo.Src = userIdDistributors.Logo;
}
this.hdlogo.Value = userIdDistributors.Logo;
this.txtstorename.Value = userIdDistributors.StoreName;
this.txtdescription.Value = userIdDistributors.StoreDescription;
this.txtacctount.Value = userIdDistributors.RequestAccount;
this.txtStoreTel.Value = currentMember.CellPhone;
}
}
}
protected override void OnInit(EventArgs e)
{
if (this.SkinName == null)
{
this.SkinName = "Skin-DistributorInfo.html";
后面还有 6 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
