• 大小: 0.13M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-24
  • 语言: C#
  • 标签:

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CustomHOTKEY
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        HOOK Hook = new HOOK();//实例化自定义类HOOK
        public static string[] Arrstr = new string[6];//记录屏蔽的热键
        public static string[] ArrHotkey = new string[32];//记录自定义的热键
        public static bool istabPage = true;//判断是设置热键,还是屏蔽热键
        bool isShift = false;//判断是否为组合键
        string front = ““;//记录组合键前一键的值
        string tem_s = ““;//记录单键或组合键的值
        string tem_dir = ““;//记录路径
        public static int tem_Set = 0;//标识,判断当前键是否为屏蔽的热键
        public static int tem_Hotkey = 0;//标识,判断当前键是否为自定义的热键

        private void Form1_Load(object sender EventArgs e)
        {
            Hook.KeyDown += new KeyEventHandler(Hook_

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         926  2009-02-13 15:41  sj\01\CustomHOTKEY\CustomHOTKEY.sln
     文件       16384  2009-02-13 15:50  sj\01\CustomHOTKEY\CustomHOTKEY.suo
     文件        3805  2009-02-13 15:47  sj\01\CustomHOTKEY\CustomHOTKEY\CustomHOTKEY.csproj
     文件       17890  2009-02-13 15:49  sj\01\CustomHOTKEY\CustomHOTKEY\Form1.cs
     文件       12873  2009-02-13 15:48  sj\01\CustomHOTKEY\CustomHOTKEY\Form1.Designer.cs
     文件        6017  2009-02-13 15:48  sj\01\CustomHOTKEY\CustomHOTKEY\Form1.resx
     文件        7352  2009-02-13 15:43  sj\01\CustomHOTKEY\CustomHOTKEY\HOOK.cs
     文件         493  2009-02-13 15:41  sj\01\CustomHOTKEY\CustomHOTKEY\Program.cs
     文件       18944  2009-02-13 15:49  sj\01\CustomHOTKEY\CustomHOTKEY\bin\Debug\CustomHOTKEY.exe
     文件       36352  2009-02-13 15:49  sj\01\CustomHOTKEY\CustomHOTKEY\bin\Debug\CustomHOTKEY.pdb
     文件       14328  2009-02-13 15:50  sj\01\CustomHOTKEY\CustomHOTKEY\bin\Debug\CustomHOTKEY.vshost.exe
     文件        1031  2009-02-13 15:50  sj\01\CustomHOTKEY\CustomHOTKEY\obj\Debug\CustomHOTKEY.csproj.FileListAbsolute.txt
     文件         847  2009-02-13 15:48  sj\01\CustomHOTKEY\CustomHOTKEY\obj\Debug\CustomHOTKEY.csproj.GenerateResource.Cache
     文件       18944  2009-02-13 15:49  sj\01\CustomHOTKEY\CustomHOTKEY\obj\Debug\CustomHOTKEY.exe
     文件         180  2009-02-13 15:48  sj\01\CustomHOTKEY\CustomHOTKEY\obj\Debug\CustomHOTKEY.Form1.resources
     文件       36352  2009-02-13 15:49  sj\01\CustomHOTKEY\CustomHOTKEY\obj\Debug\CustomHOTKEY.pdb
     文件         180  2009-02-13 15:47  sj\01\CustomHOTKEY\CustomHOTKEY\obj\Debug\CustomHOTKEY.Properties.Resources.resources
     文件        1356  2009-02-13 15:41  sj\01\CustomHOTKEY\CustomHOTKEY\Properties\AssemblyInfo.cs
     文件        2874  2009-02-13 15:41  sj\01\CustomHOTKEY\CustomHOTKEY\Properties\Resources.Designer.cs
     文件        5612  2009-02-13 15:41  sj\01\CustomHOTKEY\CustomHOTKEY\Properties\Resources.resx
     文件        1097  2009-02-13 15:41  sj\01\CustomHOTKEY\CustomHOTKEY\Properties\Settings.Designer.cs
     文件         249  2009-02-13 15:41  sj\01\CustomHOTKEY\CustomHOTKEY\Properties\Settings.settings
     文件       10752  2009-02-23 08:25  sl\设置和屏蔽系统热键\新建 Microsoft Word 文档.doc
     文件         908  2009-01-12 16:10  sl\设置和屏蔽系统热键\热键.sln
     文件       19456  2009-02-23 09:04  sl\设置和屏蔽系统热键\热键.suo
     文件       20293  2009-02-23 09:00  sl\设置和屏蔽系统热键\热键\Form1.cs
     文件       26363  2009-01-12 16:11  sl\设置和屏蔽系统热键\热键\Form1.Designer.cs
     文件        6017  2008-12-17 13:24  sl\设置和屏蔽系统热键\热键\Form1.resx
     文件        7367  2009-01-12 17:12  sl\设置和屏蔽系统热键\热键\HOOK.cs
     文件         508  2009-01-12 15:55  sl\设置和屏蔽系统热键\热键\Program.cs
     文件        3758  2008-12-16 13:55  sl\设置和屏蔽系统热键\热键\热键.csproj
............此处省略17个文件信息

评论

共有 条评论