Hidistro.UI.SaleSystem.CodeBehind/VGame.cs

(完整代码) 1KB

namespace Hidistro.UI.SaleSystem.CodeBehind
{
    using Hidistro.Entities.Promotions;
    using Hidistro.UI.Common.Controls;
    using System;

    public class VGame : VMemberTemplatedWebControl
    {
        private string htmlTitle = string.Empty;

        protected override void AttachChildControls()
        {
            PageTitle.AddSiteNameTitle(this.htmlTitle);
        }

        protected override void OnInit(EventArgs e)
        {
            GameType type = GameType.幸运大转盘;
            try
            {
                type = (GameType) Enum.Parse(typeof(GameType), this.Page.Request.QueryString["type"]);
            }
            catch (Exception)
            {
                base.GotoResourceNotFound("");
            }
            this.htmlTitle = type.ToString();
            if (this.SkinName == null)
            {
                switch (type)
                {
                    case GameType.幸运大转盘:
                        this.SkinName = "skin-vGameZhuangPan.html";
                        goto Label_00E3;

                    case GameType.疯狂砸金蛋:
                        this.SkinName = "skin-vGameEgg.html";
                        goto Label_00E3;

                    case GameType.好运翻翻看:
                        this.SkinName = "skin-vGameHaoYun.html";
                        goto Label_00E3;

                    case GameType.大富翁:
                        this.SkinName = "skin-vGameDaFuWen.html";
                        goto Label_00E3;

                    case GameType.刮刮乐:
                        this.SkinName = "skin-vGameGuaGuaLe.html";
                        goto Label_00E3;
                }
                base.GotoResourceNotFound("");
            }
        Label_00E3:
            base.OnInit(e);
        }
    }
}

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

AI 解读 AI

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

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