using DTS.Common.Enums; namespace DTS.Common.Events { /// /// Event arguments for the TabControlSelectionChanged event. /// public class TabControlSelectionEventArgs { /// /// Gets the tab control operation type such as AddedItem or RemovedItem. /// public TabControlOperation Operation { get; private set; } /// /// Gets the added or removed tab control's item. /// public object Item { get; private set; } /// /// Creates a new instance of the object. /// /// The tab control operation type such as AddedItem or RemovedItem. /// The added or removed tab control's item. public TabControlSelectionEventArgs(TabControlOperation operation, object item) { Operation = operation; Item = item; } } }