예제 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     RegisterOEMSkins("form.css");
     if (!IsPostBack)
     {
         OnLineCustomerView view = OnLineCustomerService.Query(this.CurrentCompany.CompanyId);
         if (view != null)
         {
             this.txtTitle.Text   = view.Title;
             this.ftbContent.Text = view.Content;
         }
     }
     BindMember();
 }
예제 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     RegisterOEMSkins("core.css");
     RegisterOEMSkins("from.css");
     RegisterOEMSkins("page.css");
     if (!IsPostBack)
     {
         Guid           companyId      = isOem()? BasePage.OEM.CompanyId : OnLineCustomerService.QueryPlatForm();
         PublishRoles   publishRoles   = isOem() ? PublishRoles.OEM : PublishRoles.平台;
         OnLineCustomer onLineCustomer = OnLineCustomerService.Query(companyId, publishRoles);
         if (onLineCustomer != null)
         {
             this.lblTitle.Text   = onLineCustomer.Title;
             this.lblContent.Text = onLineCustomer.Content;
             BindDividGroup(onLineCustomer);
         }
     }
 }