Exemple #1
0
        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;
        }
Exemple #2
0
        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;
        }
Exemple #3
0
        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;
        }
Exemple #4
0
        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;
        }