Example #1
0
        private SiteManager()
        {
            AvailableSites = new List<SiteInfo>();
            AvailableSites.Add(new SiteInfoGermany());
            AvailableSites.Add(new SiteInfoNetherlands());
            AvailableSites.Add(new SiteInfoPoland());
            //AvailableSites.Add(new SiteInfoUSA());
            //AvailableSites.Add(new SiteInfoUK());

            foreach (SiteInfo si in AvailableSites)
            {
                si.LoadSettings();
            }
            _activeSite = (from a in AvailableSites where a.ID == PluginSettings.Instance.ActiveSiteID select a).FirstOrDefault();
        }
Example #2
0
 public KeyRequestForm(SiteInfo siteInfo):this()
 {
     _siteInfo = siteInfo;
 }