#region - 拖拽功能实现Dll -
[Description("使能拖拽功能.")]
[DllImportAttribute("user32.dll")]
public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam);
[DllImportAttribute("user32.dll")]
public static extern bool ReleaseCapture();
#endregion
public Form1()
{
}
private void Window_CanDrap(object sender, MouseEventArgs e)
{
}