System.Windows.Forms.XplatUICarbon.SizeWindow C# (CSharp) Method

SizeWindow() private method

private SizeWindow ( Rectangle rect, IntPtr window ) : void
rect System.Drawing.Rectangle
window System.IntPtr
return void
		internal void SizeWindow (Rectangle rect, IntPtr window) {
			Carbon.Rect qrect = new Carbon.Rect ();

			SetRect (ref qrect, (short)rect.X, (short)rect.Y, (short)(rect.X+rect.Width), (short)(rect.Y+rect.Height));

			SetWindowBounds (window, 33, ref qrect);
		}
XplatUICarbon