6 references to new
System.Windows.Forms (6)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
707get => new(SelectionStart, SelectionEnd);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (1)
254return success ? new((DateTime)gridInfo.stStart, (DateTime)gridInfo.stEnd) : null;
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (4)
57return new SelectionRange(DateTime.Now.Date, DateTime.Now.Date); 68return new SelectionRange(values[0], values[1]); 79return new SelectionRange(dt, dt); 145return new SelectionRange((DateTime)propertyValues["Start"]!,