コード例 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            YunYingPage page = this.Page as YunYingPage;

            ImageServerUrl = page.ImageServerUrl;


            a1.Attributes.Add("class", htmlaclass);
            a2.Attributes.Add("class", htmlaclass);
            a3.Attributes.Add("class", htmlaclass);
            switch (MenuIndex)
            {
            case 1:
                a1.Attributes.Add("class", currhtmlaclass);
                break;

            case 2:
                a2.Attributes.Add("class", currhtmlaclass);
                break;

            case 3:
                a3.Attributes.Add("class", currhtmlaclass);
                break;

            default:
                a1.Attributes.Add("class", currhtmlaclass);
                break;
            }
        }
コード例 #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (EyouSoft.Common.Utils.GetInt(Request.QueryString["Page"]) > 1)
            {
                PageIndex = EyouSoft.Common.Utils.GetInt(Request.QueryString["Page"]);
            }
            YunYingPage page = this.Page as YunYingPage;

            ImageServerUrl = page.ImageServerUrl;
            if (!Page.IsPostBack)
            {
                this.BindList();
            }
        }