// Disable/Enable Interface / Отключение/включение интерфейса /// <summary> /// stop drawing the interface /// остановить прорисовку интерфейса /// </summary> public void StopPaint() { try { if (_tabBotNames != null && !_tabBotNames.Dispatcher.CheckAccess()) { _tabBotNames.Dispatcher.Invoke(StrategyKeeper_TestingFastEvent); return; } if (_activPanel != null) { _activPanel.StopPaint(); } _fastRegimeOn = true; ServerMaster.StopPaint(); _globalController.StopPaint(); if (_tabBotNames != null) { _tabBotNames.IsEnabled = false; } _log.StopPaint(); } catch (Exception error) { SendNewLogMessage(error.ToString(), LogMessageType.Error); } }