91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 50KB
    文件類型: .rar
    金幣: 2
    下載: 3 次
    發布日期: 2021-06-01
  • 語言: C#
  • 標簽: C#??

資源簡介

1.實現了SPY++的核心功能,獲取窗口句柄、窗口標題、類型名等信息; 2.實現了高亮功能;

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Runtime.InteropServices;
using?System.Text;
using?System.Windows.Forms;
using?BIC_GDI;



namespace?MySpy1
{
????public?partial?class?Form1?:?Form
????{
????????public?class?COMRECT
????????{
????????????public?int?left;
????????????public?int?top;
????????????public?int?right;
????????????public?int?bottom;
????????????public?COMRECT()
????????????{
????????????}
????????????public?COMRECT(int?left?int?top?int?right?int?bottom)
????????????{
????????????????this.left?=?left;
????????????????this.top?=?top;
????????????????this.right?=?right;
????????????????this.bottom?=?bottom;
????????????}
????????}

????????[DllImport(“user32.dll“?EntryPoint?=?“WindowFromPoint“)]//指定坐標處窗體句柄???????
????????public?static?extern?IntPtr?WindowFromPoint(int?xPoint?int?yPoint);

????????[DllImport(“user32.dll“)]
????????public?extern?static?int?GetWindowText(IntPtr?hWnd?StringBuilder?lpString?int?nMaxCount);

????????[DllImport(“user32.dll“?SetLastError?=?true?CharSet?=?CharSet.Auto)]
????????public?static?extern?int?GetClassName(IntPtr?hWnd?StringBuilder?lpClassName?int?nMaxCount);

????????[DllImport(“user32.dll“)]
????????private?static?extern?int?GetWindowRect(IntPtr?hwnd?ref??Rectangle?lpRect);

????????[DllImport(“User32.dll“)]
????????private?static?extern?IntPtr?GetWindowDC(IntPtr?hwnd);

????????[DllImport(“user32.dll“?CharSet?=?CharSet.Auto?ExactSpelling?=?true)]
????????public?static?extern?bool?RedrawWindow(IntPtr?hwnd?COMRECT?rcUpdate?IntPtr?hrgnUpdate?int?flags);


????????[DllImport(“user32.dll“?CharSet?=?CharSet.Auto?ExactSpelling?=?true)]
????????public?static?extern?bool?UpdateWindow(IntPtr?hWnd);


????????[DllImport(“user32.dll“?CharSet?=?CharSet.Auto?ExactSpelling?=?true)]
????????public?static?extern?bool?InvalidateRect(IntPtr?hWnd?COMRECT?rect?bool?erase);






????????private?IntPtr?OldWnd;
????????public?Form1()
????????{
????????????InitializeComponent();
????????}

????????private?void?button1_Click(object?sender?EventArgs?e)
????????{
????????????timer1.Enabled?=?!timer1.Enabled;
????????????if?(timer1.Enabled)
????????????{
????????????????button1.Text?=?“Stop“;
????????????}
????????????else
????????????{
????????????????button1.Text?=?“Start“;
????????????}
????????}

????????private?void?timer1_Tick(object?sender?EventArgs?e)
????????{
????????????IntPtr?hWnd?=?WindowFromPoint(Cursor.Position.X?Cursor.Position.Y);
????????????//?IntPtr?hWnd?=Win32.WindowFromPoint(Cursor.Position);

????????????if?(OldWnd?!=?IntPtr.Zero?&&?OldWnd?!=?hWnd)
????????????{
????????????????Refresh(OldWnd);?//erase?old?window
????????????}
????????????if?(hWnd?==?IntPtr.Zero)
????????????{
????????????????textBox1.Text?=?null;
????????????????textBox2.Text?=?null;
????????????????textBo

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????12800??2013-08-02?18:27??MySpy1\bin\Debug\MySpy1.exe

?????文件??????28160??2013-08-02?18:27??MySpy1\bin\Debug\MySpy1.pdb

?????文件??????11592??2013-08-02?18:28??MySpy1\bin\Debug\MySpy1.vshost.exe

?????文件??????32768??2007-03-04?07:43??MySpy1\bin\Debug\Win32GDI.dll

?????文件???????6516??2013-08-02?18:27??MySpy1\Form1.cs

?????文件???????7251??2013-08-02?17:19??MySpy1\Form1.Designer.cs

?????文件???????6008??2013-08-02?17:19??MySpy1\Form1.resx

?????文件???????3802??2013-08-02?16:35??MySpy1\MySpy1.csproj

?????文件?????????74??2013-08-02?16:32??MySpy1\MySpy1.csproj.user

?????文件????????901??2013-08-02?16:32??MySpy1\MySpy1.sln

????..A..H.?????13824??2013-08-02?18:36??MySpy1\MySpy1.suo

?????文件????????421??2013-08-02?18:28??MySpy1\obj\Debug\MySpy1.csproj.FileListAbsolute.txt

?????文件????????847??2013-08-02?17:19??MySpy1\obj\Debug\MySpy1.csproj.GenerateResource.Cache

?????文件??????12800??2013-08-02?18:27??MySpy1\obj\Debug\MySpy1.exe

?????文件????????180??2013-08-02?17:19??MySpy1\obj\Debug\MySpy1.Form1.resources

?????文件??????28160??2013-08-02?18:27??MySpy1\obj\Debug\MySpy1.pdb

?????文件????????180??2013-08-02?16:35??MySpy1\obj\Debug\MySpy1.Properties.Resources.resources

?????文件???????3748??2013-08-02?16:35??MySpy1\obj\Debug\ResolveAssemblyReference.cache

?????文件????????487??2013-08-02?16:32??MySpy1\Program.cs

?????文件???????1368??2013-08-02?16:32??MySpy1\Properties\AssemblyInfo.cs

?????文件???????2862??2013-08-02?16:32??MySpy1\Properties\Resources.Designer.cs

?????文件???????5612??2013-08-02?16:32??MySpy1\Properties\Resources.resx

?????文件???????1091??2013-08-02?16:32??MySpy1\Properties\Settings.Designer.cs

?????文件????????249??2013-08-02?16:32??MySpy1\Properties\Settings.settings

?????目錄??????????0??2013-08-02?16:32??MySpy1\obj\Debug\TempPE

?????目錄??????????0??2013-08-02?16:35??MySpy1\bin\Debug

?????目錄??????????0??2013-08-02?16:32??MySpy1\bin\Release

?????目錄??????????0??2013-08-02?18:27??MySpy1\obj\Debug

?????目錄??????????0??2013-08-02?16:32??MySpy1\obj\Release

?????目錄??????????0??2013-08-02?16:32??MySpy1\bin

............此處省略6個文件信息

評論

共有 條評論