// // DateField.cs: text entry for date // // Author: Barry Nolte // // Licensed under the MIT license // namespace Terminal.Gui; /// /// Defines the event arguments for and /// events. /// public class DateTimeEventArgs : EventArgs { /// 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; } /// The or format. public string Format { get; } /// The new or value. public T NewValue { get; } /// The old or value. public T OldValue { get; } }