private GlobalOptions() { fChartOptions = new TreeChartOptions(); fEventFilters = new StringList(); fMRUFiles = new List <MRUFile>(); fNameFilters = new StringList(); fResidenceFilters = new StringList(); fPedigreeOptions = new PedigreeOptions(); fProxy = new ProxyOptions(); fRelations = new StringList(); fAncestorsCircleOptions = new AncestorsCircleOptions(); fGeocoder = "Google"; fRemovableMediaWarning = true; fLoadRecentFiles = true; fEmbeddedMediaPlayer = true; fAllowMediaStoreReferences = false; fUseExtendedNotes = false; fIndividualListColumns = IndividualListMan.CreateIndividualListColumns(); fIndividualListColumns.ResetDefaults(); fLanguages = new List <LangRecord>(); fLastBases = new StringList(); fAutosave = false; fAutosaveInterval = 10; }
public void Assign(IOptions source) { TreeChartOptions srcOptions = source as TreeChartOptions; if (srcOptions == null) { return; } FamilyVisible = srcOptions.FamilyVisible; NameVisible = srcOptions.NameVisible; PatronymicVisible = srcOptions.PatronymicVisible; NickVisible = srcOptions.NickVisible; DiffLines = srcOptions.DiffLines; BirthDateVisible = srcOptions.BirthDateVisible; DeathDateVisible = srcOptions.DeathDateVisible; OnlyYears = srcOptions.OnlyYears; Kinship = srcOptions.Kinship; PortraitsVisible = srcOptions.PortraitsVisible; DefaultPortraits = srcOptions.DefaultPortraits; SignsVisible = srcOptions.SignsVisible; CertaintyIndexVisible = srcOptions.CertaintyIndexVisible; TraceSelected = srcOptions.TraceSelected; ChildlessExclude = srcOptions.ChildlessExclude; Decorative = srcOptions.Decorative; MaleColor = srcOptions.MaleColor; FemaleColor = srcOptions.FemaleColor; UnkSexColor = srcOptions.UnkSexColor; UnHusbandColor = srcOptions.UnHusbandColor; UnWifeColor = srcOptions.UnWifeColor; DefFontName = srcOptions.DefFontName; DefFontSize = srcOptions.DefFontSize; DefFontColor = srcOptions.DefFontColor; DefFontStyle = srcOptions.DefFontStyle; InvertedTree = srcOptions.InvertedTree; MarriagesDates = srcOptions.MarriagesDates; ShowPlaces = srcOptions.ShowPlaces; HideUnknownSpouses = srcOptions.HideUnknownSpouses; DottedLinesOfAdoptedChildren = srcOptions.DottedLinesOfAdoptedChildren; SeparateDatesAndPlacesLines = srcOptions.SeparateDatesAndPlacesLines; BoldNames = srcOptions.BoldNames; SeparateDepth = srcOptions.SeparateDepth; BorderStyle = srcOptions.BorderStyle; BranchDistance = srcOptions.BranchDistance; LevelDistance = srcOptions.LevelDistance; Margins = srcOptions.Margins; SpouseDistance = srcOptions.SpouseDistance; }
private GlobalOptions() { fTreeChartOptions = new TreeChartOptions(); fEventFilters = new StringList(); fMRUFiles = new List <MRUFile>(); fNameFilters = new StringList(); fResidenceFilters = new StringList(); fPedigreeOptions = new PedigreeOptions(); fProxy = new ProxyOptions(); fRelations = new StringList(); fCircleChartOptions = new CircleChartOptions(); fGeocoder = "Google"; fRemovableMediaWarning = true; fLoadRecentFiles = true; fEmbeddedMediaPlayer = true; fAllowMediaStoreReferences = false; fAllowMediaStoreRelativeReferences = true; fMediaStoreDefault = 0; fAllowDeleteMediaFileFromStgArc = true; fAllowDeleteMediaFileFromRefs = false; fDeleteMediaFileWithoutConfirm = false; fUseExtendedNotes = false; fAutoCheckUpdates = true; fAutoSortChildren = true; fAutoSortSpouses = false; fCheckTreeSize = true; fIndividualListColumns = IndividualListMan.CreateIndividualListColumns(); fIndividualListColumns.ResetDefaults(); fLanguages = new List <LangRecord>(); fLastBases = new StringList(); fAutosave = false; fAutosaveInterval = 10; fListOptions = new ListOptionsCollection(); fReadabilityHighlightRows = true; fShortKinshipForm = false; fSurnameFirstInOrder = true; fCharsetDetection = false; fFirstCapitalLetterInNames = false; fGeoSearchCountry = string.Empty; }
private GlobalOptions() { fTreeChartOptions = new TreeChartOptions(); fEventFilters = new StringList(); fMRUFiles = new List <MRUFile>(); fNameFilters = new StringList(); fResidenceFilters = new StringList(); fPedigreeOptions = new PedigreeOptions(); fProxy = new ProxyOptions(); fRelations = new StringList(); fCircleChartOptions = new CircleChartOptions(); fGeocoder = "Google"; fRemovableMediaWarning = true; fLoadRecentFiles = true; fEmbeddedMediaPlayer = true; fAllowMediaStoreReferences = false; fUseExtendedNotes = false; fAutoCheckUpdates = true; fAutoSortChildren = true; fAutoSortSpouses = false; fCheckTreeSize = true; fIndividualListColumns = IndividualListMan.CreateIndividualListColumns(); fIndividualListColumns.ResetDefaults(); fLanguages = new List <LangRecord>(); fLastBases = new StringList(); fAutosave = false; fAutosaveInterval = 10; fListOptions = new ListOptionsCollection(); fReadabilityHighlightRows = true; fCharsetDetection = false; }