private static void CheckUserSettings()
        {
            RegistryKey xMenuToolsSettings = Registry.CurrentUser.CreateSubKey("SOFTWARE\\xMenuTools\\Settings");

            if (xMenuToolsSettings == null)
            {
                SetRegistryItems.SetItems();
            }
        }
Exemplo n.º 2
0
        private static void CheckUserSettings()
        {
            if (xMenuToolsSettings == null)
            {
                RegistryKey Software = Registry.CurrentUser.OpenSubKey("SOFTWARE", true);
                Software.CreateSubKey("xMenuTools");
                RegistryKey SoftwarexMenuTools = Registry.CurrentUser.OpenSubKey("SOFTWARE\\xMenuTools", true);
                SoftwarexMenuTools.CreateSubKey("Settings");

                SetRegistryItems.SetItems();
            }
        }