protected override void OnResize(EventArgs e) { try { InitScrollbars(); SetAutoSize(); } catch {} CreateRows(); base.OnResize(e); }