private void importRegFile(string path) { String RegFileName = path; RegistryKey key = workKey; RegistryFunctions registryFunctions = new RegistryFunctions(); registryFunctions.ImportVirtualRegistryFromFile(RegFileName, key); // Refresh the local registry tree OnPackageOpenUI(); dirty = true; }
internal void RegFileExport() { SaveFileDialog sfd = new SaveFileDialog(); sfd.AddExtension = true; sfd.Filter = "Registry file (*.reg)|*.reg"; if (sfd.ShowDialog() == DialogResult.OK) { String RegFileName = sfd.FileName; // Read Registry Keys in the package RegistryKey key = workKey; String virtKey = treeHelper.GetFullNodeName(fsFolderTree.SelectedNode); RegistryFunctions registryFunctions = new RegistryFunctions(); registryFunctions.ExportVirtualRegistryToFile(RegFileName, key, virtKey); } }
private void importRegFile(string path) { String RegFileName = path; RegistryKey key = workKey; RegistryFunctions registryFunctions = new RegistryFunctions(); registryFunctions.ImportVirtualRegistryFromFile(RegFileName, key); // Refresh the local registry tree OnPackageOpenUI(); dirty = true; }
internal void RegFileExport() { SaveFileDialog sfd = new SaveFileDialog(); sfd.AddExtension = true; sfd.Filter = "Registry file (*.reg)|*.reg"; if (sfd.ShowDialog() == DialogResult.OK) { String RegFileName = sfd.FileName; // Read Registry Keys in the package RegistryKey key = workKey; String virtKey = treeHelper.GetFullNodeName(fsFolderTree.SelectedNode); RegistryFunctions registryFunctions = new RegistryFunctions(); registryFunctions.ExportVirtualRegistryToFile(RegFileName, key, virtKey); } }