2222222222222

using System;
using System.Collections.Generic;
using System.Data;
using System.Text;

public partial class design_dn_puzzle : QpDesign.BLL.BasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!this.Page.IsPostBack)
        {
            this.Session["ChooseStep"] = "PreviewProduct";

            this.GetDesignConfig();

            this.hidd_pixel_info.Value = string.Concat("[", QpDesign.DAL.Product.GetProductPixel("PUZZLE").ToPixelInfo(), "]");
            this.Render();
        }
    }

    private void GetDesignConfig()
    {
        if (this.Session["ImageList"] != null)
            this.hidd_image_info.Value = this.Session["ImageList"].ToString();
    }

    private void Render()
    {
        if (this.FindControl("divStepBox") != null)
        {
            System.Web.UI.HtmlControls.HtmlGenericControl obj = (System.Web.UI.HtmlControls.HtmlGenericControl)this.FindControl("divStepBox");

            obj.InnerHtml = QpDesign.BLL.TrackerBar.GetTrackerBar("PUZZLE").Render(this);
        }
    }

    protected void btn_next_step_ServerClick(object sender, EventArgs e)
    {
        this.Session["PreviewProduct"] = "Y";

        this.Page.Response.Redirect("../cart/cart_add.aspx?product=80C03E812BFF27DE");
    }
}

你可能感兴趣的:(UI,Web)