protected override void OnSizeChanged(EventArgs e) { base.OnSizeChanged (e); this.AutoScroll = false; this.AutoScroll = true; }