void view_OnResetPwd(object sender, Views.Backstage.EditUserArgs e) { bool isReset = Model.ResetPwd(e.userId, e.Pwd, e.UserId); View.ExeResturnResetMsg(isReset); }
void view_OnInitDept(object sender, Views.Backstage.EditUserArgs e) { DataTable dtDept = Model.QueryDept(); View.ExeBindDept(dtDept); }
void view_OnEditUser(object sender, Views.Backstage.EditUserArgs e) { bool isEdit = Model.EditUser(e.UserName, e.DeptId, e.UserId, e.userId); View.ExeResturnEditMsg(isEdit); }