// // DateField.cs: text entry for date // // Author: Barry Nolte // // Licensed under the MIT license // using System; namespace Terminal.Gui { /// /// Defines the event arguments for and events. /// public class DateTimeEventArgs : EventArgs { /// /// The old or value. /// public T OldValue { get; } /// /// The new or value. /// public T NewValue { get; } /// /// The or format. /// public string Format { get; } /// /// Initializes a new instance of /// /// The old or value. /// The new or value. /// The or format string. public DateTimeEventArgs (T oldValue, T newValue, string format) { OldValue = oldValue; NewValue = newValue; Format = format; } } }