private void ShowConfigDialog() { ConfigWindow dlg = new ConfigWindow(_sys); _sys.StopMonitoring(); if (dlg.ShowDialog() == true) { RestartSystem(); } else { _sys.StartMonitoring(); } }
private void StopMonitoring() { _sys.StopMonitoring(); //_timer.Stop(); }