protected override void OnLeave (EventArgs e) { if (SelectedTab != null) SelectedTab.FireLeave (); base.OnLeave (e); }