protected override void OnLayout(LayoutEventArgs levent) { this.CalculateTabs(); base.OnLayout(levent); }