• 大小: 0.05M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 鼠标  按键  屏蔽  

资源简介

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;
using System.Runtime.InteropServices;

namespace NullificationMouse
{
    public partial class Frm_Main : Form
    {
        public Frm_Main()
        {
            InitializeComponent();
        }
        MouseHook mouseHook = new MouseHook();
        #region 设置系统热键用到的声明
        [DllImport(“user32.dll“ SetLastError = true)]
        public static extern bool RegisterHotKey(IntPtr Hwnd int Id KeyModifiers keyModifiers Keys key);

        [DllImport(“user32.dll“ SetLastError = true)]
        public static extern bool UnregisterHotKey(IntPtr Hwnd int Id);

        [Flags()]
     

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      14336  2016-12-22 03:36  NullificationMouse\NullificationMouse\bin\Debug\NullificationMouse.exe

     文件      44544  2016-12-22 03:36  NullificationMouse\NullificationMouse\bin\Debug\NullificationMouse.pdb

     文件      14328  2016-12-22 03:36  NullificationMouse\NullificationMouse\bin\Debug\NullificationMouse.vshost.exe

     文件        490  2016-12-22 03:36  NullificationMouse\NullificationMouse\bin\Debug\NullificationMouse.vshost.exe.manifest

     文件       3486  2016-12-21 17:48  NullificationMouse\NullificationMouse\Frm_Main.cs

     文件       7246  2016-12-21 17:48  NullificationMouse\NullificationMouse\Frm_Main.Designer.cs

     文件       7404  2016-12-21 17:48  NullificationMouse\NullificationMouse\Frm_Main.resx

     文件       6523  2016-12-21 17:48  NullificationMouse\NullificationMouse\MouseHook.cs

     文件       4080  2016-12-21 17:48  NullificationMouse\NullificationMouse\NullificationMouse.csproj

     文件       7062  2016-12-22 03:36  NullificationMouse\NullificationMouse\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       3274  2016-12-22 03:36  NullificationMouse\NullificationMouse\obj\Debug\NullificationMouse.csproj.FileListAbsolute.txt

     文件        908  2016-12-22 03:35  NullificationMouse\NullificationMouse\obj\Debug\NullificationMouse.csproj.GenerateResource.Cache

     文件      14336  2016-12-22 03:35  NullificationMouse\NullificationMouse\obj\Debug\NullificationMouse.exe

     文件        180  2016-12-22 03:35  NullificationMouse\NullificationMouse\obj\Debug\NullificationMouse.Form1.resources

     文件        180  2016-12-22 03:35  NullificationMouse\NullificationMouse\obj\Debug\NullificationMouse.Frm_Main.resources

     文件      44544  2016-12-22 03:35  NullificationMouse\NullificationMouse\obj\Debug\NullificationMouse.pdb

     文件        180  2016-12-22 03:35  NullificationMouse\NullificationMouse\obj\Debug\NullificationMouse.Properties.Resources.resources

     文件       4608  2016-12-22 04:18  NullificationMouse\NullificationMouse\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件        502  2016-12-21 17:48  NullificationMouse\NullificationMouse\Program.cs

     文件       1368  2016-12-21 21:17  NullificationMouse\NullificationMouse\Properties\AssemblyInfo.cs

     文件       2876  2016-12-21 21:17  NullificationMouse\NullificationMouse\Properties\Resources.Designer.cs

     文件       5612  2016-12-21 21:17  NullificationMouse\NullificationMouse\Properties\Resources.resx

     文件       1118  2016-12-21 21:17  NullificationMouse\NullificationMouse\Properties\Settings.Designer.cs

     文件        249  2016-12-21 21:17  NullificationMouse\NullificationMouse\Properties\Settings.settings

     文件        944  2016-12-21 16:09  NullificationMouse\NullificationMouse.sln

     目录          0  2016-12-22 04:18  NullificationMouse\NullificationMouse\obj\Debug\Refactor

     目录          0  2016-12-22 04:18  NullificationMouse\NullificationMouse\obj\Debug\TempPE

     目录          0  2016-12-22 03:36  NullificationMouse\NullificationMouse\bin\Debug

     目录          0  2016-12-22 03:36  NullificationMouse\NullificationMouse\bin\Release

     目录          0  2016-12-22 04:18  NullificationMouse\NullificationMouse\obj\Debug

............此处省略8个文件信息

评论

共有 条评论