private void ShowConfigDialog()
        {
            ConfigWindow dlg = new ConfigWindow(_sys);

            _sys.StopMonitoring();

            if (dlg.ShowDialog() == true)
            {
                RestartSystem();
            }
            else
            {
                _sys.StartMonitoring();
            }
        }
示例#2
0
 private void StopMonitoring()
 {
     _sys.StopMonitoring();
     //_timer.Stop();
 }