Hidistro.UI.SaleSystem.zbCodeBehind/VGetRedPager.cs

(完整代码) 1KB

namespace Hidistro.UI.SaleSystem.zbCodeBehind
{
    using Hidistro.UI.Common.Controls;
    using System;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.HtmlControls;

    [ParseChildren(true)]
    public class VGetRedPager : VshopTemplatedWebControl
    {
        private HtmlInputHidden hdId;
        private HtmlInputHidden hdUserId;

        protected override void AttachChildControls()
        {
            string str = HttpContext.Current.Request.QueryString.Get("id");
            string str2 = HttpContext.Current.Request.QueryString.Get("userid");
            if (!(string.IsNullOrEmpty(str) || string.IsNullOrEmpty(str2)))
            {
                this.hdId = (HtmlInputHidden) this.FindControl("hdID");
                this.hdUserId = (HtmlInputHidden) this.FindControl("hdUserid");
                this.hdId.Value = str;
                this.hdUserId.Value = str2;
            }
            PageTitle.AddSiteNameTitle("获取优惠券");
        }

        protected override void OnInit(EventArgs e)
        {
            if (this.SkinName == null)
            {
                this.SkinName = "skin-VGetRedPager.html";
            }
            base.OnInit(e);
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。