Resize(Size) Method
Resizes the window to the specified Size.
C# Syntax
void Resize( 
   Size size
)

Parameters

size
The size to resize to (in pixels).