public void Render() { if (userResized) { userResized = false; viewer.OnUserResized(); } if (Focused) { RenderFocused(); } viewer.Update(); viewer.Render(); }