protected internal void StopSlideAnimation() { this.animatingSlide = false; // make sure we're the right height this.Height = this.slideEndHeight; this.slideEndHeight = -1; this.DoLayout(); }