Exemple #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     m_ProductCategoryMgr = Global.GetStore().ProductCategoryMgr;
     m_ProductTypeMgr     = Global.GetStore().ProductTypeMgr;
     m_TypeInCategoryMgr  = Global.GetStore().TypeInCategoryMgr;
     m_ProductInTypeMgr   = Global.GetStore().ProductInTypeMgr;
     m_ProductMgr         = Global.GetStore().ProductMgr;
     m_PromotionMgr       = Global.GetStore().PromotionMgr;
 }
    protected void Page_Load(object sender, EventArgs e)
    {
        m_ProductCategoryMgr = Global.GetStore().ProductCategoryMgr;
        m_ProductTypeMgr     = Global.GetStore().ProductTypeMgr;
        m_TypeInCategoryMgr  = Global.GetStore().TypeInCategoryMgr;
        m_ProductInTypeMgr   = Global.GetStore().ProductInTypeMgr;
        m_ProductMgr         = Global.GetStore().ProductMgr;
        m_PromotionMgr       = Global.GetStore().PromotionMgr;

        string id = Request["id"];

        if (string.IsNullOrEmpty(id))
        {
            Response.End();
            return;
        }
        m_ProductCategory = (CProductCategory)m_ProductCategoryMgr.Find(new Guid(id));
    }