110,538
社区成员
发帖
与我相关
我的任务
分享
[System.Runtime.InteropServices.DllImport("user32.dll")]
public static extern int PostMessage(IntPtr hwnd, int wMsg, int wParam, int lParam);
public const int WM_CLOSE = 0x10;
PostMessage(Handle, WM_CLOSE, 0, 0);