5 instantiations of DateRangeEventArgs
System.Windows.Forms (3)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (3)
1893OnDateChanged(new DateRangeEventArgs(lower, upper)); 2093OnDateChanged(new DateRangeEventArgs(start, end)); 2151OnDateSelected(new DateRangeEventArgs(start, end));
System.Windows.Forms.Tests (2)
System\Windows\Forms\DateRangeEventArgsTests.cs (1)
19DateRangeEventArgs e = new(start, end);
System\Windows\Forms\MonthCalendarTests.cs (1)
3457yield return new object[] { new DateRangeEventArgs(DateTime.Now, DateTime.Now) };
14 references to DateRangeEventArgs
System.Windows.Forms (3)
System\Windows\Forms\Controls\MonthCalendar\DateRangeEventHandler.cs (1)
6public delegate void DateRangeEventHandler(object? sender, DateRangeEventArgs e);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (2)
1417protected virtual void OnDateChanged(DateRangeEventArgs drevent) 1423protected virtual void OnDateSelected(DateRangeEventArgs drevent)
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DateTimeEditor.DateTimeUI.cs (1)
74private void OnDateSelected(object? sender, DateRangeEventArgs? e)
System.Windows.Forms.Tests (5)
System\Windows\Forms\DateRangeEventArgsTests.cs (1)
19DateRangeEventArgs e = new(start, end);
System\Windows\Forms\MonthCalendarTests.cs (4)
3462public void MonthCalendar_Calendar_OnDateChanged_Invoke_CallsDateChanged(DateRangeEventArgs eventArgs) 3486public void MonthCalendar_Calendar_OnDateSelected_Invoke_CallsDateSelected(DateRangeEventArgs eventArgs) 4794public new void OnDateChanged(DateRangeEventArgs e) => base.OnDateChanged(e); 4796public new void OnDateSelected(DateRangeEventArgs e) => base.OnDateSelected(e);
System.Windows.Forms.UI.IntegrationTests (4)
MonthCalendarTests.cs (4)
92calendar.DateSelected += (object? sender, DateRangeEventArgs e) => callDateSelectedCount++; 93calendar.DateChanged += (object? sender, DateRangeEventArgs e) => callDateChangedCount++; 114calendar.DateSelected += (object? sender, DateRangeEventArgs e) => callDateSelectedCount++; 115calendar.DateChanged += (object? sender, DateRangeEventArgs e) => callDateChangedCount++;
WinFormsControlsTest (1)
Calendar.cs (1)
20private unsafe void monthCalendar1_DateSelected(object sender, DateRangeEventArgs e)