[DllImport("user32.dll")] public static extern bool FlashWindow(IntPtr handle, bool bInvert); public static extern IntPtr SendMessage(IntPtr hWnd, int msg, int wparam, int lparam);
IDE提示:SendMessage方法没有实现(没有RVA)。
------解决方案--------------------
[DllImport("user32.dll")] public static extern bool FlashWindow(IntPtr handle, bool bInvert); [DllImport("user32.dll")] public static extern IntPtr SendMessage(IntPtr hWnd, int msg, int wparam, int lparam);
------解决方案--------------------