Mythran
10/29/2008 3:51:00 PM
"sloan" <sloan@ipass.net> wrote in message
news:#XHjX4cOJHA.4328@TK2MSFTNGP02.phx.gbl...
> That trick ROCKS!
>
> I altered slightly, to get 90%
>
> Console.WindowWidth = (Console.LargestWindowWidth * 9 / 10);
>
> Console.WindowHeight = (Console.LargestWindowHeight * 9 / 10);
>
>
>
Or you could have used:
Console.WindowWidth = Console.LargestWindowWidth * 0.9
Console.WindowHeight = Console.LargestWindowHeight * 0.9
:D It's math. Multiple ways to do the same thing :)
hth,
Mythran