資源簡介
當鼠標按下 起來的時候抓取鼠標形狀
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Linq;
using?System.Windows.Forms;
using?System.Runtime.InteropServices;
namespace?SnatchAtMouse
{
????public?partial?class?Frm_Main?:?Form
????{
????????public?Frm_Main()
????????{
????????????InitializeComponent();
????????}
????????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方法抓取鼠標形狀
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2011-12-22?23:11??SnatchAtMouse\
?????文件?????????929??2013-05-05?19:11??SnatchAtMouse.sln
?????文件???????14336??2010-11-04?18:48??SnatchAtMouse.suo
?????文件???????14336??2010-11-04?18:48??SnatchAtMouse.v11.suo
?????目錄???????????0??2011-12-22?23:11??SnatchAtMouse\bin\
?????目錄???????????0??2013-05-05?19:11??SnatchAtMouse\bin\Debug\
?????文件????????8192??2013-05-05?19:11??SnatchAtMouse\bin\Debug\SnatchAtMouse.exe
?????文件???????22016??2013-05-05?19:11??SnatchAtMouse\bin\Debug\SnatchAtMouse.pdb
?????文件?????????705??2010-07-10?21:01??SnatchAtMouse\Frm_Main.cs
?????文件????????1708??2010-07-09?16:42??SnatchAtMouse\Frm_Main.designer.cs
?????文件????????5814??2010-07-09?16:42??SnatchAtMouse\Frm_Main.resx
?????目錄???????????0??2011-12-22?23:11??SnatchAtMouse\obj\
?????目錄???????????0??2013-05-05?19:11??SnatchAtMouse\obj\Debug\
?????文件????????7170??2013-05-05?19:11??SnatchAtMouse\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
?????目錄???????????0??2011-12-22?23:11??SnatchAtMouse\obj\Debug\Refactor\
?????文件????????3887??2013-05-05?19:11??SnatchAtMouse\obj\Debug\SnatchAtMouse.csproj.FileListAbsolute.txt
?????文件?????????850??2013-05-05?19:11??SnatchAtMouse\obj\Debug\SnatchAtMouse.csproj.GenerateResource.Cache
?????文件????????1757??2013-05-05?19:11??SnatchAtMouse\obj\Debug\SnatchAtMouse.csprojResolveAssemblyReference.cache
?????文件????????8192??2013-05-05?19:11??SnatchAtMouse\obj\Debug\SnatchAtMouse.exe
?????文件?????????180??2013-05-05?19:11??SnatchAtMouse\obj\Debug\SnatchAtMouse.Frm_Main.resources
?????文件???????22016??2013-05-05?19:11??SnatchAtMouse\obj\Debug\SnatchAtMouse.pdb
?????文件?????????180??2013-05-05?19:11??SnatchAtMouse\obj\Debug\SnatchAtMouse.Properties.Resources.resources
?????目錄???????????0??2013-05-05?19:11??SnatchAtMouse\obj\Debug\TempPE\
?????文件????????4608??2013-05-05?19:11??SnatchAtMouse\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
?????文件?????????497??2010-07-09?16:41??SnatchAtMouse\Program.cs
?????目錄???????????0??2011-12-22?23:11??SnatchAtMouse\Properties\
?????文件????????1358??2010-07-09?16:40??SnatchAtMouse\Properties\AssemblyInfo.cs
?????文件????????2866??2013-05-05?19:11??SnatchAtMouse\Properties\Resources.Designer.cs
?????文件????????5612??2010-07-09?16:40??SnatchAtMouse\Properties\Resources.resx
?????文件????????1113??2013-05-05?19:11??SnatchAtMouse\Properties\Settings.Designer.cs
?????文件?????????249??2010-07-09?16:40??SnatchAtMouse\Properties\Settings.settings
............此處省略1個文件信息
- 上一篇:c# 十字光標定位
- 下一篇:winform 自動播放圖片,全屏播放
評論
共有 條評論