private void buttonStatusUpdate_Click(object sender, EventArgs e) { if (isLoading) { return; } viewAdapter.LogConfig = logConfig; viewAdapter.SaveLogConfig(); CMSLogger.UpdateLogger(); UpdateStatus(); if (CMSLogger.CanCreateLogEvent(false, false, false, "CMSLogBehaviorEvent")) { CMSLogBehaviorEvent logEvent = new CMSLogBehaviorEvent(logConfig); CMSLogger.SendLogEvent(logEvent); } }