/// <summary>
 /// 注销快捷热键
 /// </summary>
 public void UndoShortcutkeyHandRegister()
 {
     ClassHotKey.UnregisterHotKey(Handle, ClassStatic.ShortcutKey.Copy);
     ClassHotKey.UnregisterHotKey(Handle, ClassStatic.ShortcutKey.Paste);
     ClassHotKey.UnregisterHotKey(Handle, ClassStatic.ShortcutKey.Screenshot);
     ClassHotKey.UnregisterHotKey(Handle, ClassStatic.ShortcutKey.Color);
 }
        /// <summary>
        /// 快捷键注册按键
        /// </summary>
        /// <param name="code"></param>
        public void ShortcutkeyHandRegister()
        {
            string temp = ClassStatic.GetConfigSoftware("copy");

            ClassStatic.ShortcutKeys tempkey = GetShortcutKey(temp, ClassHotKey.KeyModifiers.Ctrl, Keys.C);
            if (tempkey.key1 != ClassHotKey.KeyModifiers.Ctrl || tempkey.key2 != Keys.C)
            {
                ClassHotKey.RegisterHotKey(Handle, ClassStatic.ShortcutKey.Copy, tempkey.key1, tempkey.key2);
            }

            temp    = ClassStatic.GetConfigSoftware("paste");
            tempkey = GetShortcutKey(temp, ClassHotKey.KeyModifiers.Ctrl, Keys.V);
            if (tempkey.key1 != ClassHotKey.KeyModifiers.Ctrl || tempkey.key2 != Keys.V)
            {
                ClassHotKey.RegisterHotKey(Handle, ClassStatic.ShortcutKey.Paste, tempkey.key1, tempkey.key2);
            }

            temp    = ClassStatic.GetConfigSoftware("screenshot");
            tempkey = GetShortcutKey(temp, ClassHotKey.KeyModifiers.Ctrl, Keys.P);
            ClassHotKey.RegisterHotKey(Handle, ClassStatic.ShortcutKey.Screenshot, tempkey.key1, tempkey.key2);

            temp    = ClassStatic.GetConfigSoftware("color");
            tempkey = GetShortcutKey(temp, ClassHotKey.KeyModifiers.Ctrl, Keys.L);
            ClassHotKey.RegisterHotKey(Handle, ClassStatic.ShortcutKey.Color, tempkey.key1, tempkey.key2);
        }