using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Terminal.Gui { /// /// Args for events that relate to specific /// public class ViewEventArgs :EventArgs{ /// /// Creates a new instance of the class. /// /// public ViewEventArgs (View view) { View = view; } /// /// The view that the event is about. /// /// /// Can be different from the sender of the /// for example if event describes the adding a child then sender may /// be the parent while is the child /// being added. /// public View View { get; } } }