private void Core_ProxyCountChanged(int proxyCount) { Action method = delegate { try { if (SelectedHeaderButton == CoreRadioButton) { SingleGrid.Refresh(); } } catch (Exception exception) { ShowOverlayError(exception); } }; TryBeginInvoke(method); }
private void Core_IsInitializedChanged(bool isInitialized) { Action method = delegate { try { if (SelectedHeaderButton == CoreRadioButton) { SingleGrid.Refresh(); } } catch (Exception exception) { ShowOverlayError(exception); } }; TryBeginInvoke(method); }