using System; namespace Terminal.Gui { /// /// Event args for the event /// public class FilesSelectedEventArgs : EventArgs { /// /// Set to true if you want to prevent the selection /// going ahead (this will leave the /// still showing). /// public bool Cancel { get; set; } /// /// The dialog where the choice is being made. Use /// and/or to evaluate the users choice. /// public FileDialog Dialog { get; } /// /// Creates a new instance of the /// /// public FilesSelectedEventArgs (FileDialog dialog) { Dialog = dialog; } } }