/// <summary>
/// 获得高16位值
/// </summary>
/// <param></param>
/// <returns></returns>
public static int GET_Y_LPARAM(int lParam) { return (lParam >> 16); }
/// <summary>
/// 解析出鼠标的新坐标(相对于窗体的坐标)
/// </summary>
/// <param></param>
/// <returns></returns>
public static Point GetPointFromLPARAM(int lParam)
{ return new Point(GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)); }
private Point _mouseDownPos = new Point();
private void button1_Click(object sender, EventArgs e)
{
this.Close();
}
}
}
工程文件:/Files/FiredFish/FormHideLikeQQ