protected void Page_Load(object sender, EventArgs e) { if (!base.IsPostBack) { PubFunction.BindUserSelect(this._UserShopID, this.sltUserID, true, false); this.Get_ParameterList(this.QueryCondition()); this.shopi = this._UserShopID; } }
protected void Page_Load(object sender, EventArgs e) { if (!base.IsPostBack) { PubFunction.BindShopSelect(this._UserShopID, this.sltSysShopID, true); PubFunction.BindUserSelect(this._UserShopID, this.sltSysUserID, true, false); this.Get_SysLogList(this.Condition()); this.drpPageSize.SelectedIndex = 1; } }
protected void Page_Load(object sender, EventArgs e) { if (!base.IsPostBack) { PubFunction.BindUserSelect(this._UserShopID, this.sltUserID, true, false); PubFunction.BindShopSelect(this._UserShopID, this.sltShop, this._UserShopID, this._UserShopID != 1); this.BingChangeType(); this.Get_ParameterList(this.QueryCondition()); this.txtUser.Value = this._UserName; PubFunction.Get_PrintTitle(ref this.lblPrintTitle, ref this.lblPrintFoot, this._UserShopID); } this.PointNum.Value = PubFunction.GetPointNum("CKRKML"); }
protected void Page_Load(object sender, EventArgs e) { PubFunction.BindShopSelect(this._UserShopID, this.sltShop, true); PubFunction.BindUserSelect(this._UserShopID, this.sltUserID, true, false); if (PubFunction.curParameter.dataAuthority != 0) { if (this._UserShopID > 1) { this.sltShop.Value = this._UserShopID.ToString(); this.sltShop.Attributes.Add("disabled", "disabled"); } } }
protected void Page_Load(object sender, EventArgs e) { this.ltCustom.Text = "<input type='text' id='text' name='text' class='border_radius'/>"; PubFunction.BindMemLevelSelect(this.sltMemLevelID, true); PubFunction.BindShopSelect(this._UserShopID, this.sltShop, true); PubFunction.BindCustomField(this._UserShopID, this.sltCustomField, true, 1); PubFunction.BindUserSelect(this._UserShopID, this.sltMemUserID, true, false); if (PubFunction.curParameter.dataAuthority == 1 && this._UserShopID > 1) { this.sltShop.Value = this._UserShopID.ToString(); } if (!base.IsPostBack) { this.Query(); } }
protected void Page_Load(object sender, EventArgs e) { if (!base.IsPostBack) { this.Session["QuerySql"] = null; this.ltCustom.Text = "<input type='text' id='text' name='text' class='border_radius'/>"; PubFunction.BindMemLevelSelect(this.sltMemLevelID, true); PubFunction.BindShopSelect(this._UserShopID, this.sltShop, true); PubFunction.BindCustomField(this._UserShopID, this.sltCustomField, true, 1); PubFunction.BindUserSelect(this._UserShopID, this.sltMemUserID, true, false); if (PubFunction.curParameter.dataAuthority == 1) { if (this._UserShopID > 1) { this.sltShop.Value = this._UserShopID.ToString(); } } this.GetMemList(this.QueryCondition()); this.SetQuickBtn(); this.chkSms.Checked = this.curParameter.bolSms; PubFunction.BindCouponSelect(this.sltCoupon, false); this.btnAllMemPointReset.Visible = false; } }
protected void Page_Load(object sender, EventArgs e) { if (!base.IsPostBack) { PubFunction.BindShopSelect(this._UserShopID, this.sltShop, false); PubFunction.BindMemLevelSelect(this.sltMemLevelID, false); PubFunction.BindUserSelect(this._UserShopID, this.sltMemUserID, false, false); PubFunction.BindStaff(this._UserShopID, this.sltStaff, true); this.chkSMS.Checked = (this.curParameter.bolMoneySms && PubFunction.curParameter.bolAutoSendSMSByMemRegister); this.chkIsSMS.Checked = this.curParameter.bolSms; this.sltShop.Value = this._UserShopID.ToString(); this.sltShop.Attributes.Add("disabled", "disabled"); this.chkMMS.Checked = (this.curParameter.bolMMS && PubFunction.curParameter.bolAutoSendMMSByMemRegister); if (PubFunction.curParameter.RegNullPwd) { this.sppwd1.Attributes.Add("style", "display:none;"); this.sppwd2.Attributes.Add("style", "display:none;"); } this.RegNullPwd.Checked = PubFunction.curParameter.RegNullPwd; this.txtMemPassword.Value = ""; this.txtMemPasswordCheck.Value = ""; this.chkIsIsPast.Checked = PubFunction.curParameter.bolPastTime; this.chkRegisterStaff.Checked = PubFunction.curParameter.bolIsMemRegisterStaff; if (!PubFunction.curParameter.bolIsMemRegisterStaff) { this.tdStaff.Visible = false; this.tddStaff.Visible = false; } if (!PubFunction.curParameter.bolMoneyAndPoint) { this.txtMemPoint.Attributes.Add("readonly", "true"); this.txtMemPoint.Style.Add("background-color", "#eee"); this.txtMemMoney.Attributes.Add("readonly", "true"); this.txtMemMoney.Style.Add("background-color", "#eee"); } if (base.Request.QueryString["MemID"] != null) { this.GetMemToEdit(int.Parse(base.Request.QueryString["MemID"])); this.trMemPassword.Visible = false; this.ucSysArea.NeedBind = false; this.btnQRCode.Attributes.Add("style", "display:none"); this.btnSendSenseICCard.Style.Add("display", "none"); this.btnContactICCard.Style.Add("display", "none"); } else { PubFunction.BindAddCustomFields(this.tbCustomField, "Mem"); this.txtMemPoint.Value = "0"; this.txtMemMoney.Value = "0"; this.txtMemCreateTime.Value = DateTime.Now.ToString("yyyy-MM-dd"); this.sltMemUserID.Value = this._UserID.ToString(); this.btnQRCode.Style.Add("display", (this.curParameter.bolMMS && this.curParameter.bolAutoSendMMSByMemRegister) ? "\"\"" : "none"); if (!this.curParameter.bolSenseiccard) { this.btnSendSenseICCard.Style.Add("display", "none"); } if (!this.curParameter.bolContacticcard) { this.btnContactICCard.Style.Add("display", "none"); } } this.isSendRWM.Style.Add("display", (this.curParameter.bolMMS && this.curParameter.bolAutoSendMMSByMemRegister) ? "\"\"" : "none"); } }