Esempio n. 1
0
 /// <summary>
 /// Static constructor
 /// </summary>
 static Settings()
 {
     UI = new UISettings();
     G15 = new G15Settings();
     IGB = new IGBSettings();
     Proxy = new ProxySettings(); 
     Updates = new UpdateSettings();
     Calendar = new CalendarSettings();
     Exportation = new ExportationSettings();
     Notifications = new NotificationSettings();
 }
Esempio n. 2
0
        /// <summary>
        /// Static constructor.
        /// </summary>
        static Settings()
        {
            UI = new UISettings();
            G15 = new G15Settings();
            IGB = new IgbSettings();
            Proxy = new ProxySettings();
            Updates = new UpdateSettings();
            Calendar = new CalendarSettings();
            Exportation = new ExportationSettings();
            MarketPricer = new MarketPricerSettings();
            Notifications = new NotificationSettings();
            LoadoutsProvider = new LoadoutsProviderSettings();
            PortableEveInstallations = new PortableEveInstallationsSettings();
            CloudStorageServiceProvider = new CloudStorageServiceProviderSettings();

            EveMonClient.TimerTick += EveMonClient_TimerTick;
        }
        public SerializableSettings()
        {
            Plans = new List<SerializablePlan>();
            Accounts = new List<SerializableAccount>();
            Characters = new List<SerializableSettingsCharacter>();
            MonitoredCharacters = new List<MonitoredCharacterSettings>();

            APIProviders = new SerializableAPIProviders();
            Notifications = new NotificationSettings();
            Exportation = new ExportationSettings();
            Scheduler = new SerializableScheduler();
            Calendar = new CalendarSettings();
            Updates = new UpdateSettings();
            Proxy = new ProxySettings();
            IGB = new IGBSettings();
            G15 = new G15Settings();
            UI = new UISettings();
        }
Esempio n. 4
0
 public SerializableSettings()
 {
     m_plans = new Collection<SerializablePlan>();
     m_apiKeys = new Collection<SerializableAPIKey>();
     m_characters = new Collection<SerializableSettingsCharacter>();
     m_monitoredCharacters = new Collection<MonitoredCharacterSettings>();
     CloudStorageServiceProvider = new CloudStorageServiceProviderSettings();
     PortableEveInstallations = new PortableEveInstallationsSettings();
     Notifications = new NotificationSettings();
     APIProviders = new APIProvidersSettings();
     LoadoutsProvider = new LoadoutsProviderSettings();
     MarketPricer = new MarketPricerSettings();
     Exportation = new ExportationSettings();
     Scheduler = new SchedulerSettings();
     Calendar = new CalendarSettings();
     Updates = new UpdateSettings();
     Proxy = new ProxySettings();
     IGB = new IgbSettings();
     G15 = new G15Settings();
     UI = new UISettings();
 }
Esempio n. 5
0
        internal UISettings Clone()
        {
            var clone = new UISettings();
            clone.UseStoredSearchFilters = this.UseStoredSearchFilters;
            clone.ShowTextInToolStrip = this.ShowTextInToolStrip;
            clone.MainWindowCloseBehaviour = this.MainWindowCloseBehaviour;
            clone.SystemTrayIcon = this.SystemTrayIcon;
            clone.SafeForWork = this.SafeForWork;

            foreach (var pair in this.WindowLocations) clone.WindowLocations.Add(pair.Key, pair.Value.Clone());
            foreach (var pair in this.Splitters) clone.Splitters.Add(pair.Key, pair.Value);
            clone.ConfirmedTips.AddRange(this.ConfirmedTips);

            clone.CertificateBrowser = this.CertificateBrowser.Clone();
            clone.SystemTrayTooltip = this.SystemTrayTooltip.Clone();
            clone.BlueprintBrowser = this.BlueprintBrowser.Clone();
            clone.SystemTrayPopup = this.SystemTrayPopup.Clone();
            clone.SkillPieChart = this.SkillPieChart.Clone();
            clone.SkillBrowser = this.SkillBrowser.Clone();
            clone.ShipBrowser = this.ShipBrowser.Clone();
            clone.ItemBrowser = this.ItemBrowser.Clone();
            clone.MainWindow = this.MainWindow.Clone();
            clone.PlanWindow = this.PlanWindow.Clone();
            clone.Scheduler = this.Scheduler.Clone();

            return clone;
        }