public static void RedrawWindow(IntPtr hwnd, RedrawWindowFlags flags) { Api_User32.RedrawWindow(hwnd, IntPtr.Zero, IntPtr.Zero, (uint)flags); }