/// <summary> /// The get size. /// </summary> /// <param name="width"> /// The width. /// </param> /// <param name="height"> /// The height. /// </param> protected virtual void GetSize(out int width, out int height) { width = 0; height = 0; if (mMainWindow == IntPtr.Zero) { return; } NativeMethods.GetWindowSize(Host, out width, out height); }