Exemple #1
0
        void UpdateRefreshCountStatus()
        {
            if (DatasourceWatcher.Instance.RecordCountDifference > 0)
            {
                brdrRefresh.Visibility = System.Windows.Visibility.Visible;
                Fader.Begin();
                //        this.tbRecordCount.Text = "Records: " + DatasourceWatcher.Instance.CurrentApplicationRecordCount + " of " + DatasourceWatcher.Instance.CurrentDatasourceRecordCount;
            }
            else
            {
                brdrRefresh.Visibility = System.Windows.Visibility.Collapsed;
            }

            tbRefreshCount.Text = DatasourceWatcher.Instance.RecordCountDifference.ToString();
        }