private void OnCmdRefresh() { NotifyContentList.Clear(); if (MonitorAllConfig.Instance().GetSendEMailLog(SelectedTimes)) { List <NotifyContent> temp = MonitorAllConfig.Instance().NotifyContentList; for (int i = 0; i < temp.Count; i++) { NotifyContentList.Add(temp[i]); } } }
public bool OnCmdDeleteLog() { NotifyContentList.Clear(); return(MonitorAllConfig.Instance().DeleteOneSendEMailLog(SelectedTimes)); }