Пример #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UISettings"/> class.
        /// </summary>
        public UISettings()
        {
            MainWindowCloseBehaviour = CloseBehaviour.Exit;

            WindowLocations = new ModifiedSerializableDictionary <string, WindowLocationSettings>();
            Splitters       = new ModifiedSerializableDictionary <string, int>();
            m_confirmedTips = new Collection <string>();

            CertificateDataBrowser = new CertificateBrowserSettings();
            BlueprintDataBrowser   = new BlueprintBrowserSettings();
            SkillDataBrowser       = new SkillBrowserSettings();
            ShipDataBrowser        = new ShipBrowserSettings();
            ItemDataBrowser        = new ItemBrowserSettings();

            CertificateCharacterDataBrowser = new CertificateBrowserSettings();
            BlueprintCharacterDataBrowser   = new BlueprintBrowserSettings();
            SkillCharacterDataBrowser       = new SkillBrowserSettings();
            ShipCharacterDataBrowser        = new ShipBrowserSettings();
            ItemCharacterDataBrowser        = new ItemBrowserSettings();

            CertificateBrowser = new CertificateBrowserSettings();
            BlueprintBrowser   = new BlueprintBrowserSettings();
            SkillBrowser       = new SkillBrowserSettings();
            ShipBrowser        = new ShipBrowserSettings();
            ItemBrowser        = new ItemBrowserSettings();

            SystemTrayTooltip = new TrayTooltipSettings();
            SkillPieChart     = new SkillPieChartSettings();
            SystemTrayPopup   = new TrayPopupSettings();
            MainWindow        = new MainWindowSettings();
            PlanWindow        = new PlanWindowSettings();
            Scheduler         = new SchedulerUISettings();

            UseStoredSearchFilters = true;
        }
Пример #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UISettings"/> class.
        /// </summary>
        public UISettings()
        {
            MainWindowCloseBehaviour = CloseBehaviour.Exit;

            WindowLocations = new ModifiedSerializableDictionary<string, WindowLocationSettings>();
            Splitters = new ModifiedSerializableDictionary<string, int>();
            m_confirmedTips = new Collection<string>();

            CertificateDataBrowser = new CertificateBrowserSettings();
            BlueprintDataBrowser = new BlueprintBrowserSettings();
            SkillDataBrowser = new SkillBrowserSettings();
            ShipDataBrowser = new ShipBrowserSettings();
            ItemDataBrowser = new ItemBrowserSettings();

            CertificateCharacterDataBrowser = new CertificateBrowserSettings();
            BlueprintCharacterDataBrowser = new BlueprintBrowserSettings();
            SkillCharacterDataBrowser = new SkillBrowserSettings();
            ShipCharacterDataBrowser = new ShipBrowserSettings();
            ItemCharacterDataBrowser = new ItemBrowserSettings();

            CertificateBrowser = new CertificateBrowserSettings();
            BlueprintBrowser = new BlueprintBrowserSettings();
            SkillBrowser = new SkillBrowserSettings();
            ShipBrowser = new ShipBrowserSettings();
            ItemBrowser = new ItemBrowserSettings();

            SystemTrayTooltip = new TrayTooltipSettings();
            SkillPieChart = new SkillPieChartSettings();
            SystemTrayPopup = new TrayPopupSettings();
            MainWindow = new MainWindowSettings();
            PlanWindow = new PlanWindowSettings();
            Scheduler = new SchedulerUISettings();

            UseStoredSearchFilters = true;
        }
Пример #3
0
 internal SkillPieChartSettings Clone()
 {
     var clone = new SkillPieChartSettings();
     clone.Colors.AddRange(this.Colors.Select(x => x.Clone()));
     clone.MergeMinorGroups = this.MergeMinorGroups;
     clone.InitialAngle = this.InitialAngle;
     clone.SliceHeight = this.SliceHeight;
     clone.SortBySize = this.SortBySize;
     return clone;
 }
Пример #4
0
        internal SkillPieChartSettings Clone()
        {
            var clone = new SkillPieChartSettings();

            clone.Colors.AddRange(this.Colors.Select(x => x.Clone()));
            clone.MergeMinorGroups = this.MergeMinorGroups;
            clone.InitialAngle     = this.InitialAngle;
            clone.SliceHeight      = this.SliceHeight;
            clone.SortBySize       = this.SortBySize;
            return(clone);
        }
Пример #5
0
        public UISettings()
        {
            MainWindowCloseBehaviour = CloseBehaviour.Exit;

            WindowLocations = new SerializableDictionary <string, SerializableRectangle>();
            Splitters       = new SerializableDictionary <string, int>();

            CertificateBrowser = new CertificateBrowserSettings();
            SystemTrayTooltip  = new TrayTooltipSettings();
            SkillPieChart      = new SkillPieChartSettings();
            SystemTrayPopup    = new TrayPopupSettings();
            SkillBrowser       = new SkillBrowserSettings();
            ShipBrowser        = new ShipBrowserSettings();
            ItemBrowser        = new ItemBrowserSettings();
            MainWindow         = new MainWindowSettings();
            PlanWindow         = new PlanWindowSettings();
            Scheduler          = new SchedulerUISettings();
            ConfirmedTips      = new List <String>();

            UseStoredSearchFilters = true;
        }
Пример #6
0
        /// <summary>
        /// Constructor
        /// </summary>
        public UISettings()
        {
            MainWindowCloseBehaviour = CloseBehaviour.Exit;

            WindowLocations = new SerializableDictionary<string, SerializableRectangle>();
            Splitters = new SerializableDictionary<string, int>();

            CertificateBrowser = new CertificateBrowserSettings();
            BlueprintBrowser = new BlueprintBrowserSettings();
            SystemTrayTooltip = new TrayTooltipSettings();
            SkillPieChart = new SkillPieChartSettings();
            SystemTrayPopup = new TrayPopupSettings();
            SkillBrowser = new SkillBrowserSettings();
            ShipBrowser = new ShipBrowserSettings();
            ItemBrowser = new ItemBrowserSettings();
            MainWindow = new MainWindowSettings();
            PlanWindow = new PlanWindowSettings();
            Scheduler = new SchedulerUISettings();
            ConfirmedTips = new List<String>();

            UseStoredSearchFilters = true;
            ShowTextInToolStrip = true;
        }