Beispiel #1
0
        private void DiversityPage_Loaded(object sender, RoutedEventArgs e)
        {
            if ((SyncStatus.Instance.Sync & SyncStatus.SyncState.CollectionDefinitions) == SyncStatus.SyncState.None)
            {
                ProgressInformationWindow progressWindow = new ProgressInformationWindow();
                progressWindow.DataContext = defLoader.Progress;

                defLoader.loadCollectionDefinitions();

                progressWindow.ShowDialog();

                SyncStatus.Instance.Sync |= SyncStatus.SyncState.CollectionDefinitions;
            }
        }