BloomTests.ToPalaso.OpenAndCreateDialogTests.LaunchDemoDialog C# (CSharp) Method

LaunchDemoDialog() private method

private LaunchDemoDialog ( ) : void
return void
        public void LaunchDemoDialog()
        {
            Browser.SetUpXulRunner();
            var mru = new MostRecentPathsList();
            foreach (var dir in Directory.GetDirectories(NewCollectionWizard.DefaultParentDirectoryForCollections))
            {
                foreach (var path in Directory.GetFiles(dir, "*.bloomCollection"))
                {
                    mru.AddNewPath(path);
                    break;
                }
            }
            using (var dlg = new OpenAndCreateCollectionDialog(mru))
            {
                dlg.ShowDialog();
            }
        }
OpenAndCreateDialogTests