Ejemplo n.º 1
0
        public MainForm()
        {
            InitializeComponent();
            searcher = new RegistryExplorer.Registry.RegSearcher();

            searcher.SearchComplete += new System.EventHandler <
                RegistryExplorer.Registry.SearchCompleteEventArgs>(searcher_SearchComplete);

            searcher.MatchFound += new System.EventHandler <
                RegistryExplorer.Registry.MatchFoundEventArgs>(searcher_MatchFound);

            favorites = new RegistryExplorer.Collections.EventDictionary <string, string>();

            favorites.ItemAdded += new System.EventHandler <
                RegistryExplorer.Collections.ItemEventArgs <string, string>
                >(favorites_ItemAdded);

            favorites.ItemRemoved += new System.EventHandler <
                RegistryExplorer.Collections.ItemEventArgs <string, string>
                >(favorites_ItemRemoved);
        }
 public RemoveFavoritesDialog(RegistryExplorer.Collections.EventDictionary <string, string> favorites)
 {
     InitializeComponent();
     this.favorites = favorites;
 }