private void DisposeMonitors() { if (_monitorTimer != null) { _monitorTimer.Stop(); _monitorTimer = null; } if (MonitorManager != null) { MonitorManager.Dispose(); _monitorManager = null; } }