using System; namespace Terminal.Gui { /// /// Describes a change in /// public class TabChangedEventArgs : EventArgs { /// /// The previously selected tab. May be null /// public TabView.Tab OldTab { get; } /// /// The currently selected tab. May be null /// public TabView.Tab NewTab { get; } /// /// Documents a tab change /// /// /// public TabChangedEventArgs (TabView.Tab oldTab, TabView.Tab newTab) { OldTab = oldTab; NewTab = newTab; } } }