示例#1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     this.GetModule();
     if (PubFunction.ISCheckKey)
     {
         if (PubFunction.IEbrowser)
         {
             this.CreateKeyScript();
         }
         else
         {
             base.Response.Write("<script>top.location.href='index.aspx'</script>");
         }
     }
     this.EditUser.InnerText     = this._UserName;
     this.lblUserName.InnerText  = this._UserName;
     this.UseriD.Value           = this._UserID.ToString();
     this.lblUserShop.InnerText  = PubFunction.ShopIDToName(this._UserShopID);
     this.lblUserShop.InnerText  = PubFunction.ShopIDToName(this._UserShopID);
     this.lblUserGroup.InnerText = PubFunction.GroupIDToName(this._UserShopID);
     this.chkIsTel.Checked       = PubFunction.curParameter.bolTel;
     this.chkTelNoMember.Checked = PubFunction.curParameter.bolTelNoMember;
     switch (PubFunction.curParameter.istry)
     {
     case 1:
         this.EditUser.Attributes.Add("onclick", "EditUser()");
         break;
     }
     this.GetModule();
 }