mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 17:57:57 +01:00
* Move all public nested classes out into own files * Move more nested classes out * Tidy up and treat CA1034 as an error. Fix remaining nested classes. * Remove partial keyword from ThemeManager as it is no longer needed * Rename Bar to BarSeriesBar to more clearly indicate it is part of GraphView subsystem * Fix xmldoc references * Revert nesting changes to ConsoleDrivers * Change to file scoped namespaces and revert renames - LineCanvasCell back to just Cell - ApplicationRunState back to just RunState * Switch to file scoped namespaces
32 lines
645 B
C#
32 lines
645 B
C#
using System;
|
|
|
|
namespace Terminal.Gui {
|
|
|
|
/// <summary>
|
|
/// Describes a change in <see cref="TabView.SelectedTab"/>
|
|
/// </summary>
|
|
public class TabChangedEventArgs : EventArgs {
|
|
|
|
/// <summary>
|
|
/// The previously selected tab. May be null
|
|
/// </summary>
|
|
public Tab OldTab { get; }
|
|
|
|
/// <summary>
|
|
/// The currently selected tab. May be null
|
|
/// </summary>
|
|
public Tab NewTab { get; }
|
|
|
|
/// <summary>
|
|
/// Documents a tab change
|
|
/// </summary>
|
|
/// <param name="oldTab"></param>
|
|
/// <param name="newTab"></param>
|
|
public TabChangedEventArgs (Tab oldTab, Tab newTab)
|
|
{
|
|
OldTab = oldTab;
|
|
NewTab = newTab;
|
|
}
|
|
}
|
|
}
|