private void loadAlertlog() { alertLogDic.Clear(); if (bol == false) { lblDate.Visible = false; dtpStartTime.Visible = false; dtpEndTime.Visible = false; btnSearch.Visible = false; btnSelect.Visible = false; btnReverseSelection.Visible = false; simpleButton1.Visible = false; //获取保养日志信息 alertLogDic.Add("QueryMaintenanceLogInfo", null); if (LogEvent != null) { LogEvent(alertLogDic); } } else { dtpStartTime.Value = DateTime.Now.Date; dtpEndTime.Value = DateTime.Now.Date; //获取操作日志信息 MaintenanceLogInfoAdd(systemLogCheck.QueryOperationLogInfo("QueryOperationLogInfo", dtpStartTime.Value.ToString(), dtpEndTime.Value.AddDays(1).ToString())); } }