public static bool RestoreWindowAsync(IntPtr hwnd) { return(WinApiHelper.Import.ShowWindowAsync(hwnd, (WinApiHelper.IsMaxmimized(hwnd) ? 3 : 9))); }