首页

c# 抓取鼠标形状 示例

c#

2020-8-30

当鼠标按下 起来的时候抓取鼠标形状

        private void Frm_Main_MouseUp(object sender, MouseEventArgs e)
        {
            Graphics myGraphics = this.CreateGraphics();//创建窗体的Graphics类
            Cursor.Draw(myGraphics, new Rectangle(e.X, e.Y, 10, 10));//调用Cursor类的Draw方法抓取鼠标形状
        }
资源下载此资源下载价格为2D币(VIP免费),请先
资源文件列表
SnatchAtMouse.sln , 929
SnatchAtMouse.suo , 14336
SnatchAtMouse.v11.suo , 14336
SnatchAtMouse/bin/Debug/SnatchAtMouse.exe , 8192
SnatchAtMouse/bin/Debug/SnatchAtMouse.pdb , 22016
SnatchAtMouse/Frm_Main.cs , 705
SnatchAtMouse/Frm_Main.designer.cs , 1708
SnatchAtMouse/Frm_Main.resx , 5814
SnatchAtMouse/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache , 7170
SnatchAtMouse/obj/Debug/SnatchAtMouse.csproj.FileListAbsolute.txt , 3887
SnatchAtMouse/obj/Debug/SnatchAtMouse.csproj.GenerateResource.Cache , 850
SnatchAtMouse/obj/Debug/SnatchAtMouse.csprojResolveAssemblyReference.cache , 1757
SnatchAtMouse/obj/Debug/SnatchAtMouse.exe , 8192
SnatchAtMouse/obj/Debug/SnatchAtMouse.Frm_Main.resources , 180
SnatchAtMouse/obj/Debug/SnatchAtMouse.pdb , 22016
SnatchAtMouse/obj/Debug/SnatchAtMouse.Properties.Resources.resources , 180
SnatchAtMouse/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll , 4608
SnatchAtMouse/Program.cs , 497
SnatchAtMouse/Properties/AssemblyInfo.cs , 1358
SnatchAtMouse/Properties/Resources.Designer.cs , 2866
SnatchAtMouse/Properties/Resources.resx , 5612
SnatchAtMouse/Properties/Settings.Designer.cs , 1113
SnatchAtMouse/Properties/Settings.settings , 249
SnatchAtMouse/SnatchAtMouse.csproj , 3995
没有账号? 忘记密码?

社交账号快速登录