private void DispatcherTimer_Tick(object sender, EventArgs eventArgs) { try { m_updatingSelectedMeasurements = true; MeasurementPager.SelectedMeasurements.Clear(); foreach (Guid signalID in AdapterBase.ParseOutputMeasurementKeys(GetDataSource(), false, FilterExpressionTextBox.Text).Select(key => key.SignalID)) { MeasurementPager.SelectedMeasurements.Add(signalID); } } catch { MeasurementPager.SelectedMeasurements.Clear(); } finally { MeasurementPager.ReloadDataGrid(); MeasurementPager.UpdateSelections(); m_updatingSelectedMeasurements = false; m_dispatcherTimer.Stop(); } }