If you mean that your control extends TabControl you can use TabControl.SelectionChanged event and SelectionChangedEventArgs.AddedItems to get the SelectedItem and SelectionChangedEventArgs.RemovedItems to get the unselected.
If you're using a custom control built from scratch you'll have to implement your own events and you can use the refered delegate and EventArgs. Bigsby, Lisboa, Portugal
Edited byBigsbyMonday, September 08, 2008 4:48 PMUpdate
Proposed as answer byMarco ZhouTuesday, September 09, 2008 6:15 AM
Marked as answer byMarco ZhouFriday, September 12, 2008 10:07 AM