using System;
namespace Terminal.Gui {
///
/// Args for events that relate to a specific .
///
public class ToplevelEventArgs : EventArgs{
///
/// Creates a new instance of the class.
///
///
public ToplevelEventArgs (Toplevel toplevel)
{
Toplevel = toplevel;
}
///
/// Gets the that the event is about.
///
/// This is usually but may not always be the same as the sender
/// in . For example if the reported event
/// is about a different or the event is
/// raised by a separate class.
///
public Toplevel Toplevel { get; }
}
}