Ejemplo n.º 1
0
        private static void SavePath(string ainFileName, DialogTopic topic, string path)
        {
            if (String.IsNullOrEmpty(ainFileName))
            {
                ainFileName = "Default";
            }
            string regPath = "Directories\\" + ainFileName;
            string regKey  = topic.ToString();

            RegistryUtility.SaveSetting(regKey, regPath, path);
        }
 private void SaveToRegistry()
 {
     RegistryUtility.SaveSetting("RecentFiles", "", filesList);
 }