/// <summary> /// Called when the control's client rectangle is changed. /// </summary> protected virtual void OnClientRectangleUpdated() { if (!IsChangingSize && Initialized && DrawMode == ControlDrawMode.UNIQUE_RENDER_TARGET) { CreateRenderTarget(); } ClientRectangleUpdated?.Invoke(this, EventArgs.Empty); }
/// <summary> /// Called when the control's client rectangle is changed. /// </summary> protected virtual void OnClientRectangleUpdated() { ClientRectangleUpdated?.Invoke(this, EventArgs.Empty); }