private void LoadPage()
        {
            mainWindow.btnNext.IsEnabled = false;
            downloader = mainWindow.IdpDownloader;

            // The institutions should have been loaded already
            Debug.Assert(downloader.Loaded);

            UpdateInstitutions(downloader.ClosestProviders);

            tbTitle.Text = "Select institution";
        }
Exemple #2
0
 private void Load()
 {
     IdpDownloader      = new IdentityProviderDownloader();
     ExtractedEapConfig = GetBundledEapConfig();
     if (PersistingStore.IdentityProvider != null)
     {
         LoadPageInstalledProfile();
     }
     else if (ExtractedEapConfig != null)
     {
         // loads summary form so user can confirm installation
         eapConfig   = ExtractedEapConfig;
         ExtractFlag = true;
         LoadPageProfileOverview();
     }
     else
     {
         LoadPageMainMenu();
     }
 }