예제 #1
0
 private void RemoveAll(HttpContext context)
 {
     if (EventLogs.DeleteAllLogs())
     {
         base.ReturnSuccessResult(context, "成功删除了所有操作日志", 0, true);
         return;
     }
     throw new HidistroAshxException("在删除过程中出现未知错误");
 }
예제 #2
0
 private void lkbDeleteAll_Click(object sender, System.EventArgs e)
 {
     if (EventLogs.DeleteAllLogs())
     {
         this.BindLogs();
         this.ShowMsg("成功删除了所有操作日志", true);
         return;
     }
     this.ShowMsg("在删除过程中出现未知错误", false);
 }
 protected void btnClear_Click(object sender, EventArgs e)
 {
     if (EventLogs.DeleteAllLogs())
     {
         this.BindLogs();
         this.ShowMsg("成功删除了所有操作日志", true);
     }
     else
     {
         this.ShowMsg("在删除过程中出现未知错误", false);
     }
 }
예제 #4
0
 private void lkbDeleteAll_Click(object sender, EventArgs e)
 {
     if (EventLogs.DeleteAllLogs())
     {
         BindLogs();
         ShowMsg("成功删除了所有操作日志", true);
     }
     else
     {
         ShowMsg("在删除过程中出现未知错误", false);
     }
 }