Bloom.CollectionCreating.NewCollectionWizard.GetNewCollectionSettings C# (CSharp) Method

GetNewCollectionSettings() public method

public GetNewCollectionSettings ( ) : NewCollectionSettings
return Bloom.Collection.NewCollectionSettings
        public NewCollectionSettings GetNewCollectionSettings()
        {
            return _collectionInfo;
        }

Usage Example

示例#1
0
        public static string CreateNewCollection()
        {
            bool showNewCollectionWizard = Settings.Default.MruProjects.Latest == null;

            using (var dlg = new NewCollectionWizard(showNewCollectionWizard))
            {
                dlg.ShowInTaskbar = showNewCollectionWizard;                //if we're at this stage, there isn't a bloom icon there already.
                if (DialogResult.OK != dlg.ShowDialog())
                {
                    return(null);
                }
                //review: this is a bit weird... we clone it instead of just using it just becuase this code path
                //can handle creating the path from scratch
                return(new CollectionSettings(dlg.GetNewCollectionSettings()).SettingsFilePath);
            }
        }
All Usage Examples Of Bloom.CollectionCreating.NewCollectionWizard::GetNewCollectionSettings