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(); } }
public void Setup() { _MostRecentPathsList = new MostRecentPathsList(); }