.NET Windows Forms in a Nutshell

DateRangeEventArgs

System. Windows .Forms (system. windows .forms.dll) class

This class encapsulates the event arguments for the MonthCalendar.DateChanged and DateSelected events. You can retrieve the Start and End date of the new selection from this object.

public class DateRangeEventArgs : EventArgs { // Public Constructors public DateRangeEventArgs (DateTime start , DateTime end ); // Public Instance Properties public DateTime End {get; } public DateTime Start {get; } }

Hierarchy

System.Object System.EventArgs DateRangeEventArgs

Passed To

DateRangeEventHandler.{BeginInvoke() , Invoke()} , MonthCalendar.{OnDateChanged() , OnDateSelected()}

Категории