registry.cs

来自「POCKET PC,照片管理系统!提供了真正意义上的目录打开功能」· CS 代码 · 共 18 行

CS
18
字号
using System;
using Addot.Internals;

namespace Addot.Win32
{
    /// <summary>
    /// Microsoft.Win32 implementation for the .Net Compact Framework.
    /// Please, refer to the .Net framework for the complete documentation.
    /// </summary>
	public sealed class Registry
	{
        public static readonly RegistryKey ClassesRoot = new RegistryKey((uint)NativeRegistry.RootKey.HKEY_CLASSES_ROOT, null, null);
        public static readonly RegistryKey CurrentUser = new RegistryKey((uint)NativeRegistry.RootKey.HKEY_CURRENT_USER, null, null);
        public static readonly RegistryKey LocalMachine = new RegistryKey((uint)NativeRegistry.RootKey.HKEY_LOCAL_MACHINE, null, null);
        public static readonly RegistryKey Users = new RegistryKey((uint)NativeRegistry.RootKey.HKEY_USERS, null, null);
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?