资源简介
代码片段和文件信息
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 ScreenLeftButton
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
MouseHook mouseHook = new MouseHook();
//标识屏蔽条件
public static bool flagL = false;
private void button1_Click(object sender EventArgs e)
{
flagL = true;
mouseHook.StartHook();
//调用钩子后获取鼠标的按下事件
mouseHook.MouseDown += new MouseEventHandler(Mouse_Down);
textBox1.Text = “ 鼠标左键已被屏蔽,解除屏蔽的方法为使用键盘Tab键将光标移动至“解除屏蔽”按钮,按下Enter键!“;
}
#region 传递鼠标事件的函数
void Mouse_Down(object sender MouseEventArgs e)
{
AddMouseValueEvent(e.Button.ToString());
}
public void AddMouseValueEven
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 938 2009-01-09 15:36 sj\01\ScreenLeftButton\ScreenLeftButton.sln
文件 10752 2009-01-09 17:09 sj\01\ScreenLeftButton\ScreenLeftButton.suo
文件 1458 2009-01-09 15:58 sj\01\ScreenLeftButton\ScreenLeftButton\Form1.cs
文件 4598 2009-01-09 15:55 sj\01\ScreenLeftButton\ScreenLeftButton\Form1.Designer.cs
文件 5814 2009-01-09 15:55 sj\01\ScreenLeftButton\ScreenLeftButton\Form1.resx
文件 6098 2009-01-09 15:54 sj\01\ScreenLeftButton\ScreenLeftButton\MouseHook.cs
文件 497 2009-01-09 15:36 sj\01\ScreenLeftButton\ScreenLeftButton\Program.cs
文件 3818 2009-01-09 17:09 sj\01\ScreenLeftButton\ScreenLeftButton\ScreenLeftButton.csproj
文件 11776 2009-01-09 15:57 sj\01\ScreenLeftButton\ScreenLeftButton\bin\Debug\ScreenLeftButton.exe
文件 30208 2009-01-09 15:57 sj\01\ScreenLeftButton\ScreenLeftButton\bin\Debug\ScreenLeftButton.pdb
文件 14328 2009-01-09 15:58 sj\01\ScreenLeftButton\ScreenLeftButton\bin\Debug\ScreenLeftButton.vshost.exe
文件 490 2007-07-21 01:33 sj\01\ScreenLeftButton\ScreenLeftButton\bin\Debug\ScreenLeftButton.vshost.exe.manifest
文件 851 2009-01-09 15:58 sj\01\ScreenLeftButton\ScreenLeftButton\obj\Debug\ScreenLeftButton.csproj.FileListAbsolute.txt
文件 847 2009-01-09 15:55 sj\01\ScreenLeftButton\ScreenLeftButton\obj\Debug\ScreenLeftButton.csproj.GenerateResource.Cache
文件 11776 2009-01-09 15:57 sj\01\ScreenLeftButton\ScreenLeftButton\obj\Debug\ScreenLeftButton.exe
文件 180 2009-01-09 15:55 sj\01\ScreenLeftButton\ScreenLeftButton\obj\Debug\ScreenLeftButton.Form1.resources
文件 30208 2009-01-09 15:57 sj\01\ScreenLeftButton\ScreenLeftButton\obj\Debug\ScreenLeftButton.pdb
文件 180 2009-01-09 15:54 sj\01\ScreenLeftButton\ScreenLeftButton\obj\Debug\ScreenLeftButton.Properties.Resources.resources
文件 1364 2009-01-09 15:36 sj\01\ScreenLeftButton\ScreenLeftButton\Properties\AssemblyInfo.cs
文件 2882 2009-01-09 15:36 sj\01\ScreenLeftButton\ScreenLeftButton\Properties\Resources.Designer.cs
文件 5612 2009-01-09 15:36 sj\01\ScreenLeftButton\ScreenLeftButton\Properties\Resources.resx
文件 1101 2009-01-09 15:36 sj\01\ScreenLeftButton\ScreenLeftButton\Properties\Settings.Designer.cs
文件 249 2009-01-09 15:36 sj\01\ScreenLeftButton\ScreenLeftButton\Properties\Settings.settings
文件 941 2009-01-09 15:59 sj\02\ScreenRightButton\ScreenRightButton.sln
文件 16384 2009-01-09 17:09 sj\02\ScreenRightButton\ScreenRightButton.suo
文件 1411 2009-01-09 17:09 sj\02\ScreenRightButton\ScreenRightButton\Form1.cs
文件 4599 2009-01-09 16:03 sj\02\ScreenRightButton\ScreenRightButton\Form1.Designer.cs
文件 5814 2009-01-09 16:03 sj\02\ScreenRightButton\ScreenRightButton\Form1.resx
文件 6097 2009-01-09 16:04 sj\02\ScreenRightButton\ScreenRightButton\MouseHook.cs
文件 498 2009-01-09 15:59 sj\02\ScreenRightButton\ScreenRightButton\Program.cs
文件 3820 2009-01-09 16:03 sj\02\ScreenRightButton\ScreenRightButton\ScreenRightButton.csproj
............此处省略38个文件信息
相关资源
- C# 显示磁盘目录信息
- 解析
- 即系
- IconPanel ToolTip
- CSDN small
- 生成8位密码程序
- .net 2.0 List 去重 类似 distinct()函数
- c# 简单的借书/还书
- DCOM授权
- sina授权登录
- 计算你人生 剩余几个月
- 经纬度在范围内外判断
- VS批注批量修改CommentHelper
- 远控系列软件2(远控服务器端)
- 生成星号金字塔
- 控制动物的奔跑与停止
- UART_veryhuo.com
- mysql生成随机码
- C# 简易计算器源码
- c# 取消 Alt+F4(关闭窗口)源码
- C# 石头剪刀布入门级控制台源码
- C# 仿记事本(可用作备注/书签)
- C#(switch/if)入门级
- 将Excel数据分解到多个文本文件
- 将文本文件数据分解到Excel中的不同数
- 为一个Excel文件创建多个工作表
- 将数据利用Excel生成图表
- 将多个Excel文件进行自动汇总
- 自动用递增变化的数据填充Excel
- 读取多个Word文档文件到Excel同一数据
评论
共有 条评论