123456789101112131415161718192021 |
- using System;
- namespace Terminal.Gui {
- public class ToplevelEventArgs : EventArgs{
- public ToplevelEventArgs (Toplevel toplevel)
- {
- Toplevel = toplevel;
- }
- /// <summary>
- /// Gets the <see cref="Toplevel"/> that the event is about.
- /// </summary>
- /// <remarks>This is usually but may not always be the same as the sender
- /// in <see cref="EventHandler"/>. For example if the reported event
- /// is about a different <see cref="Toplevel"/> or the event is
- /// raised by a separate class.
- /// </remarks>
- public Toplevel Toplevel { get; }
- }
- }
|