protected override void AddedControl(Control control, int index) { ((TabPanel)control).SetOwner(this); base.AddedControl(control, index); }