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; }
public void Assign(IOptions source) { CircleChartOptions srcOptions = source as CircleChartOptions; if (srcOptions == null) { return; } for (int i = 0; i < MAX_BRUSHES; i++) { BrushColor[i] = srcOptions.BrushColor[i]; } ArcText = srcOptions.ArcText; HideEmptySegments = srcOptions.HideEmptySegments; LTRCorrection = srcOptions.LTRCorrection; }
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; }