private void UpdateWindowRegion_EmptyDocumentArea() { Rectangle rect = this.DocumentWindowBounds; this.SetRegion(new[] { rect }); }