protected virtual void SetVisibleCore (bool visible) { this.visible = visible; this.OnVisibleChanged (EventArgs.Empty); if (this.visible) BeginAnimation (); else StopAnimation (); this.Invalidate (); } #endregion