public PlanWindowSettings()
        {
            DimUntrainable = true;
            OnlyShowSelectionSummaryOnMultiSelect = true;

            PrioritiesMsgBox = new CustomMsgBoxSettings();
            ObsoleteEntryRemovalBehaviour = ObsoleteEntryRemovalBehaviour.RemoveConfirmed;

            var displayedColumns = new PlanColumn[] { 
                PlanColumn.Priority, 
                PlanColumn.SkillName, 
                PlanColumn.TrainingTime, 
                PlanColumn.SkillRank, 
                PlanColumn.PrimaryAttribute,
                PlanColumn.SecondaryAttribute,
                PlanColumn.SkillGroup,
                PlanColumn.SPPerHour };

            Columns = EnumExtensions.GetValues<PlanColumn>().Where(x => x != PlanColumn.None).Select(x => 
                new PlanColumnSettings { Column = x, Visible = displayedColumns.Contains(x), Width = -1 }).ToArray();
        }
Exemple #2
0
        public PlanWindowSettings()
        {
            DimUntrainable       = true;
            ShowMsgBoxCustom     = true;
            ShowObsEntriesMsgBox = true;

            var displayedColumns = new PlanColumn[] {
                PlanColumn.Priority,
                PlanColumn.SkillName,
                PlanColumn.TrainingTime,
                PlanColumn.SkillRank,
                PlanColumn.PrimaryAttribute,
                PlanColumn.SecondaryAttribute,
                PlanColumn.SkillGroup,
                PlanColumn.SPPerHour
            };

            Columns = EnumExtensions.GetValues <PlanColumn>().Where(x => x != PlanColumn.None).Select(x =>
                                                                                                      new PlanColumnSettings {
                Column = x, Visible = displayedColumns.Contains(x), Width = -1
            }).ToArray();
        }
        public PlanWindowSettings()
        {
            DimUntrainable = true;
            OnlyShowSelectionSummaryOnMultiSelect = true;

            PrioritiesMsgBox = new CustomMsgBoxSettings();
            ObsoleteEntryRemovalBehaviour = ObsoleteEntryRemovalBehaviour.RemoveConfirmed;

            var displayedColumns = new PlanColumn[] {
                PlanColumn.Priority,
                PlanColumn.SkillName,
                PlanColumn.TrainingTime,
                PlanColumn.SkillRank,
                PlanColumn.PrimaryAttribute,
                PlanColumn.SecondaryAttribute,
                PlanColumn.SkillGroup,
                PlanColumn.SPPerHour
            };

            Columns = EnumExtensions.GetValues <PlanColumn>().Where(x => x != PlanColumn.None).Select(x =>
                                                                                                      new PlanColumnSettings {
                Column = x, Visible = displayedColumns.Contains(x), Width = -1
            }).ToArray();
        }