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