using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Terminal.Gui { /// /// for the event /// public class ToggleEventArgs : EventArgs { /// /// Creates a new instance of the class. /// /// /// public ToggleEventArgs (bool? oldValue, bool? newValue) { OldValue = oldValue; NewValue = newValue; } /// /// The previous checked state /// public bool? OldValue { get; } /// /// The new checked state /// public bool? NewValue { get; } } }