protected void onCancelNotice(object sender, EventArgs e) { GMUser user = (GMUser)Session["user"]; if (m_selectStr != "") { ParamNotify param = new ParamNotify(); param.m_opType = NoticeOpType.del; param.m_id = m_selectStr; DyOpMgr mgr = user.getSys <DyOpMgr>(SysType.sysTypeDyOp); OpRes res = mgr.doDyop(param, DyOpType.opTypeNotify, user); } genTable(m_result, user); }
protected void onPublishNotice(object sender, EventArgs e) { GMUser user = (GMUser)Session["user"]; ParamNotify param = new ParamNotify(); param.m_id = m_noticeId.Text; param.m_title = m_title.Text; param.m_content = m_content.Text; param.m_day = m_day.Text; DyOpMgr mgr = user.getSys <DyOpMgr>(SysType.sysTypeDyOp); OpRes res = mgr.doDyop(param, DyOpType.opTypeNotify, user); m_res.InnerHtml = OpResMgr.getInstance().getResultString(res); genTable(m_result, user); }