using System; namespace Terminal.Gui { public class ToplevelEventArgs : EventArgs{ 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; } } }