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; //重写win32API
namespace MouseThroughForm
{
public partial class Frm_Main : Form
{
public Frm_Main()
{
InitializeComponent();
}
private const uint WS_EX_LAYERED = 0x80000; //不可随便修改
private const int WS_EX_TRANSPARENT = 0x20;
private const int GWL_EXSTYLE = (-20);
private string Var_genre = "";//记录当前操作的类型
#region 在窗口结构中为指定的窗口设置信息
/// <summary>
/// 在窗口结构中为指定的窗口设置信息
/// </summary>
/// <param name="hwnd">欲为其取得信息的窗口的句柄</param>
/// <param name="