-
大小: 0.93M文件類型: .zip金幣: 1下載: 0 次發(fā)布日期: 2020-12-26
- 語言: C#
- 標(biāo)簽:
資源簡介
掛機(jī)時鎖定可以參考這個實(shí)例
代碼片段和文件信息
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?SystemLock
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????}
????????private?Point?mouseOffset;//鼠標(biāo)位置
????????private?bool?isMouseDown?=?false;//表示鼠標(biāo)是否按下
????????private?void?pictureBox2_Click(object?sender?EventArgs?e)
????????{
????????????Application.Exit();//窗體的關(guān)閉按鈕
????????}
????????private?void?pictureBox1_MouseDown(object?sender?MouseEventArgs?e)
????????{
????????????int?xOffset;
????????????int?yOffset;
????????????if?(e.Button?==?MouseButtons.Left
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-01-19?10:30??系統(tǒng)掛機(jī)鎖\
?????目錄???????????0??2013-01-19?10:30??系統(tǒng)掛機(jī)鎖\SystemLock\
?????文件?????????920??2008-12-12?15:21??系統(tǒng)掛機(jī)鎖\SystemLock.sln
?????文件???????13312??2009-02-10?08:52??系統(tǒng)掛機(jī)鎖\SystemLock.suo
?????目錄???????????0??2013-01-19?10:30??系統(tǒng)掛機(jī)鎖\SystemLock\bin\
?????目錄???????????0??2013-01-19?10:30??系統(tǒng)掛機(jī)鎖\SystemLock\bin\Debug\
?????文件??????245248??2009-01-05?10:39??系統(tǒng)掛機(jī)鎖\SystemLock\bin\Debug\SystemLock.exe
?????文件???????46592??2009-01-05?10:39??系統(tǒng)掛機(jī)鎖\SystemLock\bin\Debug\SystemLock.pdb
?????文件???????14328??2009-02-10?08:45??系統(tǒng)掛機(jī)鎖\SystemLock\bin\Debug\SystemLock.vshost.exe
?????文件?????????490??2007-07-21?01:33??系統(tǒng)掛機(jī)鎖\SystemLock\bin\Debug\SystemLock.vshost.exe.manifest
?????文件????????3088??2008-12-29?10:15??系統(tǒng)掛機(jī)鎖\SystemLock\Form1.cs
?????文件????????8891??2008-12-29?10:15??系統(tǒng)掛機(jī)鎖\SystemLock\Form1.Designer.cs
?????文件????????5814??2008-12-29?10:15??系統(tǒng)掛機(jī)鎖\SystemLock\Form1.resx
?????文件????????2654??2008-12-12?15:22??系統(tǒng)掛機(jī)鎖\SystemLock\Form2.cs
?????文件????????3549??2008-12-12?15:22??系統(tǒng)掛機(jī)鎖\SystemLock\Form2.Designer.cs
?????文件????????6008??2008-12-12?15:22??系統(tǒng)掛機(jī)鎖\SystemLock\Form2.resx
?????文件????????1450??2008-12-29?10:19??系統(tǒng)掛機(jī)鎖\SystemLock\Form3.cs
?????文件????????6274??2008-12-29?10:19??系統(tǒng)掛機(jī)鎖\SystemLock\Form3.Designer.cs
?????文件????????5814??2008-12-29?10:19??系統(tǒng)掛機(jī)鎖\SystemLock\Form3.resx
?????文件????????3774??2008-12-12?17:08??系統(tǒng)掛機(jī)鎖\SystemLock\lock.ico
?????文件????????2907??2009-01-05?10:39??系統(tǒng)掛機(jī)鎖\SystemLock\myHook.cs
?????目錄???????????0??2013-01-19?10:30??系統(tǒng)掛機(jī)鎖\SystemLock\obj\
?????目錄???????????0??2013-01-19?10:30??系統(tǒng)掛機(jī)鎖\SystemLock\obj\Debug\
?????目錄???????????0??2012-05-02?09:55??系統(tǒng)掛機(jī)鎖\SystemLock\obj\Debug\Refactor\
?????文件????????3741??2009-02-10?08:45??系統(tǒng)掛機(jī)鎖\SystemLock\obj\Debug\SystemLock.csproj.FileListAbsolute.txt
?????文件????????1028??2010-08-18?17:50??系統(tǒng)掛機(jī)鎖\SystemLock\obj\Debug\SystemLock.csproj.GenerateResource.Cache
?????文件??????245248??2009-01-05?10:39??系統(tǒng)掛機(jī)鎖\SystemLock\obj\Debug\SystemLock.exe
?????文件?????????180??2008-12-29?10:15??系統(tǒng)掛機(jī)鎖\SystemLock\obj\Debug\SystemLock.Form1.resources
?????文件?????????180??2008-12-12?17:10??系統(tǒng)掛機(jī)鎖\SystemLock\obj\Debug\SystemLock.Form2.resources
?????文件?????????180??2008-12-29?10:19??系統(tǒng)掛機(jī)鎖\SystemLock\obj\Debug\SystemLock.Form3.resources
?????文件???????46592??2009-01-05?10:39??系統(tǒng)掛機(jī)鎖\SystemLock\obj\Debug\SystemLock.pdb
............此處省略13個文件信息
- 上一篇:C#讀取/寫入ini文件
- 下一篇:C# 如何修改系統(tǒng)時間
評論
共有 條評論