private void DeleteAnnounce_Click(object sender, EventArgs e) { #region 除公告 if (this.CheckCookie()) { Announcements.DeleteAnnouncements(DNTRequest.GetString("id")); //记录日志 AdminVistLogs.InsertLog(this.userid, this.username, this.usergroupid, this.grouptitle, this.ip, "删除公告", "删除公告,标题为:" + title.Text); base.RegisterStartupScript("PAGE", "window.location.href='global_announcegrid.aspx';"); } #endregion }