コード例 #1
0
    protected override void OnLoad(EventArgs e)
    {
        base.OnLoad(e);

        if (!IsPostBack)
        {
            this.CrmTreetop.UserID = UserSession.User.AU_Code;
            AU_Code       = UserSession.User.AU_Code;
            AU_Type       = UserSession.User.UG_UType;
            AU_AD_OM_Code = UserSession.DealerEmpl.DE_AD_OM_Code;

            CurrentPage = new BL_TabLinkList().GetLevelLink(UserSession.User.AU_UG_Code, Request.RawUrl, Interna, out MI_Name);
        }

        if (Interna)
        {
            name_Table       = BL_Reports.GetValues("4103", "text_en");
            name_Table_value = BL_Reports.GetValues("4103", "value");
            name_Chart       = BL_Reports.GetValues("4104", "text_en");
            name_Chart_value = BL_Reports.GetValues("4104", "value");
        }
        else
        {
            name_Table       = BL_Reports.GetValues("4103", "text_cn");
            name_Table_value = BL_Reports.GetValues("4103", "value");
            name_Chart       = BL_Reports.GetValues("4104", "text_cn");
            name_Chart_value = BL_Reports.GetValues("4104", "value");
        }
    }
コード例 #2
0
    protected override void OnLoad(EventArgs e)
    {
        base.OnLoad(e);
        if (!IsPostBack)
        {
            this.CrmTreetop.UserID = UserSession.User.AU_Code;
            AU_Code       = UserSession.User.AU_Code;
            AU_Type       = UserSession.User.UG_UType;
            AU_AD_OM_Code = UserSession.DealerEmpl.DE_AD_OM_Code;
        }

        name_Maintain_value    = BL_Reports.GetValues("4094", "value");
        name_Obtain_value      = BL_Reports.GetValues("4095", "value");
        name_Branding_value    = BL_Reports.GetValues("4096", "value");
        name_Events_value      = BL_Reports.GetValues("4097", "value");
        name_Surveys_value     = BL_Reports.GetValues("4098", "value");
        name_Reminders_value   = BL_Reports.GetValues("4099", "value");
        name_Newsletters_value = BL_Reports.GetValues("4100", "value");
        name_Tips_value        = BL_Reports.GetValues("4101", "value");

        if (Interna)
        {
            name_Maintain    = BL_Reports.GetValues("4094", "text_en");
            name_Obtain      = BL_Reports.GetValues("4095", "text_en");
            name_Branding    = BL_Reports.GetValues("4096", "text_en");
            name_Events      = BL_Reports.GetValues("4097", "text_en");
            name_Surveys     = BL_Reports.GetValues("4098", "text_en");
            name_Reminders   = BL_Reports.GetValues("4099", "text_en");
            name_Newsletters = BL_Reports.GetValues("4100", "text_en");
            name_Tips        = BL_Reports.GetValues("4101", "text_en");
        }
        else
        {
            name_Maintain    = BL_Reports.GetValues("4094", "text_cn");
            name_Obtain      = BL_Reports.GetValues("4095", "text_cn");
            name_Branding    = BL_Reports.GetValues("4096", "text_cn");
            name_Events      = BL_Reports.GetValues("4097", "text_cn");
            name_Surveys     = BL_Reports.GetValues("4098", "text_cn");
            name_Reminders   = BL_Reports.GetValues("4099", "text_cn");
            name_Newsletters = BL_Reports.GetValues("4100", "text_cn");
            name_Tips        = BL_Reports.GetValues("4101", "text_cn");
        }
        bindData();
    }