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) { ProxyOptions srcOptions = source as ProxyOptions; if (srcOptions == null) { return; } Server = srcOptions.Server; Port = srcOptions.Port; Login = srcOptions.Login; Password = srcOptions.Password; UseProxy = srcOptions.UseProxy; }
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; }