using System; namespace Terminal.Gui { /// /// implementation for the event. /// public class ToplevelClosingEventArgs : EventArgs { /// /// The toplevel requesting stop. /// public View RequestingTop { get; } /// /// Provides an event cancellation option. /// public bool Cancel { get; set; } /// /// Initializes the event arguments with the requesting toplevel. /// /// The . public ToplevelClosingEventArgs (Toplevel requestingTop) { RequestingTop = requestingTop; } } }