private void ImportFromRegistry()
        {
            List <FavoriteConfigurationElement> favoritesFromRegistry = ImportRdpRegistry.Import(this.connectionManager);

            lock (this.DiscoveredConnections)
            {
                this.DiscoveredConnections.AddRange(favoritesFromRegistry);
            }
        }
Esempio n. 2
0
        private void ScanRegistryToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var favoritesToImport = ImportRdpRegistry.Import(this.connectionManager);

            ImportFavoritesWithManagerImport(favoritesToImport);
        }
Esempio n. 3
0
        private void scanRegistryToolStripMenuItem_Click(object sender, EventArgs e)
        {
            List <FavoriteConfigurationElement> favoritesToImport = ImportRdpRegistry.Import();

            this.ImportFavoritesWithManagerImport(favoritesToImport);
        }