4 types derived from MonthCalendar
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DateTimeEditor.DateTimeUI.cs (1)
86private class DateTimeMonthCalendar : MonthCalendar
System.Windows.Forms.Tests (3)
System\Windows\Forms\MonthCalendarTests.cs (3)
2465private class CustomGetMinReqRectMonthCalendar : MonthCalendar 2493private class InvalidGetMinReqRectMonthCalendar : MonthCalendar 4726private class SubMonthCalendar : MonthCalendar
290 instantiations of MonthCalendar
Accessibility_Core_App (1)
CommonControl2.Designer.cs (1)
59this.monthCalendar1 = new System.Windows.Forms.MonthCalendar();
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\MonthCalendarDesignerTests.cs (2)
14using MonthCalendar monthCalendar = new(); 24using MonthCalendar monthCalendar = new();
System.Windows.Forms.Tests (283)
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarAccessibleObjectTests.cs (25)
15using MonthCalendar control = new(); 30using MonthCalendar control = new(); 45using MonthCalendar control = new(); 58using MonthCalendar control = new(); 99using MonthCalendar control = new(); 113using MonthCalendar control = new(); 136using MonthCalendar control = new(); 166using MonthCalendar control = new(); 178using MonthCalendar control = new(); 192using MonthCalendar control = new(); 205using MonthCalendar control = new(); 217using MonthCalendar control = new(); 229using MonthCalendar control = new(); 241using MonthCalendar control = new(); 254using MonthCalendar control = new(); 266using MonthCalendar control = new(); 284using MonthCalendar control = new(); 307using MonthCalendar control = new(); 320using MonthCalendar control = new(); 332using MonthCalendar control = new(); 346using MonthCalendar control = new() 374using MonthCalendar control = new(); 388using MonthCalendar control = new() 416using MonthCalendar control = new(); 428using MonthCalendar control = new();
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarBodyAccessibleObjectTests.cs (20)
15using MonthCalendar control = new(); 28using MonthCalendar control = new(); 45using MonthCalendar control = new(); 58using MonthCalendar control = new(); 71using MonthCalendar control = new(); 84using MonthCalendar control = new(); 96using MonthCalendar control = new(); 108using MonthCalendar control = new(); 134using MonthCalendar control = new(); 160using MonthCalendar control = new(); 172using MonthCalendar control = new(); 182using MonthCalendar control = new(); 192using MonthCalendar control = new(); 204using MonthCalendar control = new(); 214using MonthCalendar control = new(); 228using MonthCalendar control = new(); 253using MonthCalendar control = new(); 281using MonthCalendar control = new() { ShowWeekNumbers = showWeekNumbers }; 304using MonthCalendar control = new() { ShowWeekNumbers = true }; 320using MonthCalendar control = new();
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarButtonAccessibleObjectTests.cs (9)
14using MonthCalendar control = new(); 28using MonthCalendar control = new(); 39using MonthCalendar control = new(); 50using MonthCalendar control = new(); 63using MonthCalendar control = new(); 76using MonthCalendar control = new(); 89using MonthCalendar control = new(); 102using MonthCalendar control = new(); 119using MonthCalendar control = new();
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarCellAccessibleObjectTests.cs (13)
16using MonthCalendar control = new(); 47using MonthCalendar control = new(); 64using MonthCalendar control = new(); 78using MonthCalendar control = new(); 88using MonthCalendar control = new(); 106using MonthCalendar control = new(); 129using MonthCalendar control = new(); 148using MonthCalendar control = new(); 164using MonthCalendar control = new(); 178using MonthCalendar control = new() 220using MonthCalendar control = new() 253using MonthCalendar control = new(); 266using MonthCalendar control = new() { ShowWeekNumbers = showWeekNumbers };
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarDayOfWeekCellAccessibleObjectTests.cs (12)
14using MonthCalendar control = new(); 34using MonthCalendar control = new(); 44using MonthCalendar control = new(); 54using MonthCalendar control = new(); 64using MonthCalendar control = new(); 76using MonthCalendar control = new(); 88using MonthCalendar control = new(); 100using MonthCalendar control = new(); 112using MonthCalendar control = new(); 126using MonthCalendar control = new() 169using MonthCalendar control = new() 201using MonthCalendar control = new();
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarHeaderAccessibleObjectTests.cs (3)
15using MonthCalendar control = new(); 33using MonthCalendar control = new(); 47using MonthCalendar control = new();
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarNextButtonAccessibleObjectTests.cs (1)
15using MonthCalendar control = new();
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarPreviousButtonAccessibleObjectTests.cs (7)
14using MonthCalendar control = new(); 27using MonthCalendar control = new(); 40using MonthCalendar control = new(); 53using MonthCalendar control = new(); 66using MonthCalendar control = new(); 77using MonthCalendar control = new(); 91using MonthCalendar control = new();
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarRowAccessibleObjectTests.cs (11)
14using MonthCalendar control = new(); 35using MonthCalendar control = new(); 47using MonthCalendar control = new(); 59using MonthCalendar control = new(); 71using MonthCalendar control = new(); 86using MonthCalendar control = new(); 102using MonthCalendar control = new(); 114using MonthCalendar control = new(); 127using MonthCalendar control = new(); 162using MonthCalendar control = new(); 186using MonthCalendar control = new() { ShowWeekNumbers = true };
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarTodayLinkAccessibleObjectTests.cs (8)
14using MonthCalendar control = new(); 31using MonthCalendar control = new(); 44using MonthCalendar control = new(); 61using MonthCalendar control = new(); 75using MonthCalendar control = new(); 90using MonthCalendar control = new(); 101using MonthCalendar control = new(); 115using MonthCalendar control = new();
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarWeekNumberCellAccessibleObjectTests.cs (14)
14using MonthCalendar control = new(); 26using MonthCalendar control = new(); 36using MonthCalendar control = new(); 46using MonthCalendar control = new(); 56using MonthCalendar control = new(); 68using MonthCalendar control = new(); 80using MonthCalendar control = new(); 92using MonthCalendar control = new(); 104using MonthCalendar control = new(); 116using MonthCalendar control = new(); 130using MonthCalendar control = new() 160using MonthCalendar control = new() 191using MonthCalendar control = new(); 207using MonthCalendar control = new();
System\Windows\Forms\AccessibleObjects\MonthCalendar.MonthCalendarAccessibleObjectTests.cs (28)
24using MonthCalendar monthCalendar = new() 39using MonthCalendar monthCalendar = new(); 67using MonthCalendar monthCalendar = new(); 80using MonthCalendar monthCalendar = new(); 94using MonthCalendar monthCalendar = new(); 105using MonthCalendar monthCalendar = new(); 115using MonthCalendar monthCalendar = new(); 132using MonthCalendar monthCalendar = new(); 144using MonthCalendar monthCalendar = new(); 168using MonthCalendar monthCalendar = new(); 182using MonthCalendar monthCalendar = new(); 194using MonthCalendar monthCalendar = new(); 210using MonthCalendar monthCalendar = new(); 219using MonthCalendar monthCalendar = new(); 229using MonthCalendar monthCalendar = new(); 240using MonthCalendar monthCalendar = new(); 251using MonthCalendar monthCalendar = new() { ShowToday = false }; 262using MonthCalendar monthCalendar = new(); 274using MonthCalendar monthCalendar = new(); 284using MonthCalendar monthCalendar = new(); 294using MonthCalendar monthCalendar = new(); 306using MonthCalendar monthCalendar = new(); 323using MonthCalendar monthCalendar = new(); 334using MonthCalendar monthCalendar = new(); 345using MonthCalendar monthCalendar = new(); 356using MonthCalendar monthCalendar = new(); 371using MonthCalendar monthCalendar = new(); 386using MonthCalendar calendar = new();
System\Windows\Forms\AccessibleObjects\MonthCalendar.MonthCalendarChildAccessibleObjectTests.cs (7)
21using MonthCalendar control = new(); 40using MonthCalendar control = new(); 53using MonthCalendar control = new(); 65using MonthCalendar control = new(); 81using MonthCalendar control = new(); 93using MonthCalendar control = new(); 105using MonthCalendar control = new();
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
180new MonthCalendar(), new string[]
System\Windows\Forms\MonthCalendarTests.cs (124)
197using MonthCalendar calendar = new() 234using MonthCalendar calendar = new(); 289using MonthCalendar control = new() 312using MonthCalendar control = new(); 340using MonthCalendar control = new(); 376using MonthCalendar control = new() 392using MonthCalendar control = new(); 453using MonthCalendar control = new(); 489using MonthCalendar control = new(); 525using MonthCalendar calendar = new() 562using MonthCalendar calendar = new(); 624using MonthCalendar calendar = new() 643using MonthCalendar calendar = new() 664using MonthCalendar calendar = new(); 695using MonthCalendar calendar = new(); 729using MonthCalendar calendar = new(); 738using MonthCalendar calendar = new(); 811using MonthCalendar calendar = new() 828using MonthCalendar calendar = new() 847using MonthCalendar calendar = new(); 883using MonthCalendar calendar = new() 915using MonthCalendar calendar = new(); 932using MonthCalendar control = new() 958using MonthCalendar control = new(); 986using MonthCalendar control = new(); 1224using MonthCalendar control = new() 1241using MonthCalendar control = new(); 1269using MonthCalendar control = new(); 1305using MonthCalendar control = new(); 1322using MonthCalendar calendar = new() 1343using MonthCalendar calendar = new(); 1375using MonthCalendar calendar = new(); 1392using MonthCalendar calendar = new() 1409using MonthCalendar calendar = new(); 1439using MonthCalendar calendar = new(); 1455using MonthCalendar calendar = new() 1476using MonthCalendar calendar = new(); 1508using MonthCalendar calendar = new(); 1515using MonthCalendar calendar = new(); 1551using MonthCalendar calendar = new() 1588using MonthCalendar calendar = new(); 1637using MonthCalendar control = new() 1654using MonthCalendar control = new(); 1682using MonthCalendar control = new(); 1725using MonthCalendar control = new() 1765using MonthCalendar control = new() 1815using MonthCalendar control = new() 1853using MonthCalendar control = new() 1890using MonthCalendar calendar = new() 1907using MonthCalendar calendar = new(); 1937using MonthCalendar calendar = new(); 1957using MonthCalendar calendar = new() 1976using MonthCalendar calendar = new(); 2006using MonthCalendar calendar = new(); 2017using MonthCalendar calendar = new(); 2039using MonthCalendar calendar = new() 2058using MonthCalendar calendar = new(); 2088using MonthCalendar calendar = new(); 2098using MonthCalendar calendar = new(); 2136using MonthCalendar calendar = new() 2161using MonthCalendar calendar = new(); 2197using MonthCalendar calendar = new(); 2214using MonthCalendar calendar = new(); 2423using MonthCalendar control = new(); 2522using MonthCalendar control = new(); 2547using MonthCalendar control = new(); 2585using MonthCalendar control = new(); 2635using MonthCalendar control = new() 2652using MonthCalendar control = new(); 2680using MonthCalendar control = new(); 2722using MonthCalendar calendar = new() 2739using MonthCalendar calendar = new(); 2767using MonthCalendar calendar = new(); 2781using MonthCalendar calendar = new() 2798using MonthCalendar calendar = new(); 2826using MonthCalendar calendar = new(); 2833using MonthCalendar control = new(); 2857using MonthCalendar calendar = new() 2876using MonthCalendar calendar = new(); 2906using MonthCalendar calendar = new(); 2917using MonthCalendar calendar = new(); 2935using MonthCalendar calendar = new() 2952using MonthCalendar calendar = new(); 2980using MonthCalendar calendar = new(); 2987using MonthCalendar calendar = new(); 3026using MonthCalendar calendar = new(); 3094using MonthCalendar calendar = new(); 3133using MonthCalendar calendar = new(); 3201using MonthCalendar calendar = new(); 3240using MonthCalendar calendar = new(); 3966using MonthCalendar calendar = new(); 3987using MonthCalendar calendar = new(); 4021using MonthCalendar calendar = new(); 4033using MonthCalendar calendar = new(); 4073using MonthCalendar calendar = new(); 4094using MonthCalendar calendar = new(); 4128using MonthCalendar calendar = new(); 4145using MonthCalendar calendar = new(); 4189using MonthCalendar calendar = new() { Size = new Size(600, 600), FirstDayOfWeek = Day.Sunday }; 4239using MonthCalendar calendar = new(); 4260using MonthCalendar monthCalendar = new(); 4271using MonthCalendar monthCalendar = new(); 4284using MonthCalendar monthCalendar = new(); 4309using MonthCalendar monthCalendar = new(); 4323using MonthCalendar monthCalendar = new(); 4348using MonthCalendar monthCalendar = new(); 4364using MonthCalendar monthCalendar = new(); 4379using MonthCalendar monthCalendar = new(); 4398using MonthCalendar monthCalendar = new(); 4430using MonthCalendar monthCalendar = new(); 4445using MonthCalendar monthCalendar = new(); 4456MonthCalendar calendar = new(); 4489using MonthCalendar calendar = new(); 4511using MonthCalendar calendar = new(); 4540using MonthCalendar calendar = new(); 4560using MonthCalendar calendar = new(); 4576using MonthCalendar calendar = new(); 4635using MonthCalendar calendar = new(); 4650using MonthCalendar calendar = new(); 4664using MonthCalendar calendar = new(); 4675using MonthCalendar calendar = new(); 4686using MonthCalendar calendar = new(); 4697using MonthCalendar calendar = new(); 4708using MonthCalendar calendar = new();
System.Windows.Forms.UI.IntegrationTests (3)
MonthCalendarAccessibleObjectTests.cs (1)
44MonthCalendar control = new()
MonthCalendarTests.cs (2)
206MonthCalendar control = new() 230MonthCalendar control = new()
WinFormsControlsTest (1)
Calendar.Designer.cs (1)
34this.monthCalendar1 = new System.Windows.Forms.MonthCalendar();
382 references to MonthCalendar
Accessibility_Core_App (1)
CommonControl2.Designer.cs (1)
305private System.Windows.Forms.MonthCalendar monthCalendar1;
DesignSurface (2)
MainForm.cs (2)
251MonthCalendar monthCalendar1 = surface.CreateControl<MonthCalendar>(new Size(230, 170), new Point(10, 110));
System.Windows.Forms (45)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarAccessibleObject.cs (1)
13/// Represents an accessible object for a calendar in <see cref="MonthCalendar"/> control.
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarBodyAccessibleObject.cs (1)
13/// Represents an accessible object for a calendar body in <see cref="MonthCalendar"/> control.
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarButtonAccessibleObject.cs (1)
15/// Represents an accessible object for buttons in <see cref="MonthCalendar"/> control.
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarCellAccessibleObject.cs (1)
14/// Represents an accessible object for a calendar date cell in <see cref="MonthCalendar"/> control.
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarDayOfWeekCellAccessibleObject.cs (1)
12/// Represents an accessible object for a calendar day of week cell in <see cref="MonthCalendar"/> control.
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarHeaderAccessibleObject.cs (1)
12/// Represents an accessible object for a calendar header in <see cref="MonthCalendar"/> control.
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarNextButtonAccessibleObject.cs (1)
12/// Represents an accessible object for the Next button in <see cref="MonthCalendar"/> control.
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarPreviousButtonAccessibleObject.cs (1)
12/// Represents an accessible object for the Previous button in <see cref="MonthCalendar"/> control.
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarRowAccessibleObject.cs (1)
14/// Represents an accessible object for a row in <see cref="MonthCalendar"/> control.
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarTodayLinkAccessibleObject.cs (1)
12/// Represents an accessible object for the Today button in <see cref="MonthCalendar"/> control.
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarWeekNumberCellAccessibleObject.cs (1)
12/// Represents an accessible object for a calendar week number cell in <see cref="MonthCalendar"/> control.
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (2)
40/// <see cref="MonthCalendar"/>. The user must call <see cref="UpdateBoldedDates"/> to force the repaint of the bolded 41/// dates, otherwise the <see cref="MonthCalendar"/> will not paint properly. The following is an example of this:
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (31)
25public MonthCalendarAccessibleObject(MonthCalendar owner) : base(owner) 46if (!this.IsOwnerHandleCreated(out MonthCalendar? _)) 127internal MONTH_CALDENDAR_MESSAGES_VIEW CalendarView => this.TryGetOwnerAs(out MonthCalendar? owner) ? owner._mcCurView : MONTH_CALDENDAR_MESSAGES_VIEW.MCMV_MONTH; 133if (!this.IsOwnerHandleCreated(out MonthCalendar? _) || CalendarsAccessibleObjects is null) 160if (!this.IsOwnerHandleCreated(out MonthCalendar? _)) 201internal DayOfWeek FirstDayOfWeek => this.TryGetOwnerAs(out MonthCalendar? owner) ? CastDayToDayOfWeek(owner.FirstDayOfWeek) : CastDayToDayOfWeek(Day.Default); 203internal bool Focused => this.TryGetOwnerAs(out MonthCalendar? owner) && owner.Focused; 206=> _focusedCellAccessibleObject ??= this.TryGetOwnerAs(out MonthCalendar? owner) ? GetCellByDate(owner._focusedDate) : null; 220if (!this.IsOwnerHandleCreated(out MonthCalendar? _) || CalendarsAccessibleObjects is null) 238if (!this.IsOwnerHandleCreated(out MonthCalendar? owner)) 260if (!this.IsOwnerHandleCreated(out MonthCalendar? owner)) 282if (!this.IsOwnerHandleCreated(out MonthCalendar? owner)) 322if (!this.IsOwnerHandleCreated(out MonthCalendar? _) || CalendarsAccessibleObjects is null) 378=> this.TryGetOwnerAs(out MonthCalendar? owner) && owner.IsHandleCreated 390if (!this.IsOwnerHandleCreated(out MonthCalendar? owner)) 409if (!this.IsOwnerHandleCreated(out MonthCalendar? _) || CalendarsAccessibleObjects is null) 429this.TryGetOwnerAs(out MonthCalendar? owner) && owner.AccessibleRole == AccessibleRole.Default 447if (this.TryGetOwnerAs(out MonthCalendar? owner) && owner.GetType().BaseType is Type baseType) 458internal bool IsEnabled => this.TryGetOwnerAs(out MonthCalendar? owner) && owner.Enabled; 460internal bool IsHandleCreated => this.IsOwnerHandleCreated(out MonthCalendar? _); 471internal DateTime MinDate => this.TryGetOwnerAs(out MonthCalendar? owner) ? owner.MinDate : DateTime.MinValue; 472internal DateTime MaxDate => this.TryGetOwnerAs(out MonthCalendar? owner) ? owner.MaxDate : DateTime.MaxValue; 488if (!this.IsOwnerHandleCreated(out MonthCalendar? _)) 509if (!this.IsOwnerHandleCreated(out MonthCalendar? _) || _calendarsAccessibleObjects is null) 546internal SelectionRange SelectionRange => this.TryGetOwnerAs(out MonthCalendar? owner) ? owner.SelectionRange : new SelectionRange(); 553if (this.IsOwnerHandleCreated(out MonthCalendar? owner)) 559internal bool ShowToday => this.TryGetOwnerAs(out MonthCalendar? owner) && owner.ShowToday; 561internal bool ShowWeekNumbers => this.TryGetOwnerAs(out MonthCalendar? owner) && owner.ShowWeekNumbers; 563internal DateTime TodayDate => this.TryGetOwnerAs(out MonthCalendar? owner) ? owner.TodayDate : DateTime.Today; 572MonthCalendar? owner; 623if (!this.TryGetOwnerAs(out MonthCalendar? owner))
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarChildAccessibleObject.cs (1)
12/// Represents an accessible object for a calendar child in <see cref="MonthCalendar"/> control.
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DateTimeEditor.DateTimeUI.cs (1)
16private readonly MonthCalendar _monthCalendar = new DateTimeMonthCalendar();
System.Windows.Forms.Design.Tests (7)
EnsureEditorsTests.cs (5)
118[InlineData(typeof(MonthCalendar), "MaxDate", typeof(DateTimeEditor))] 119[InlineData(typeof(MonthCalendar), "MinDate", typeof(DateTimeEditor))] 120[InlineData(typeof(MonthCalendar), "SelectionEnd", typeof(DateTimeEditor))] 121[InlineData(typeof(MonthCalendar), "SelectionStart", typeof(DateTimeEditor))] 122[InlineData(typeof(MonthCalendar), "TodayDate", typeof(DateTimeEditor))]
System\Windows\Forms\Design\MonthCalendarDesignerTests.cs (2)
14using MonthCalendar monthCalendar = new(); 24using MonthCalendar monthCalendar = new();
System.Windows.Forms.Tests (313)
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarAccessibleObjectTests.cs (26)
6using static System.Windows.Forms.MonthCalendar; 15using MonthCalendar control = new(); 30using MonthCalendar control = new(); 45using MonthCalendar control = new(); 58using MonthCalendar control = new(); 99using MonthCalendar control = new(); 113using MonthCalendar control = new(); 136using MonthCalendar control = new(); 166using MonthCalendar control = new(); 178using MonthCalendar control = new(); 192using MonthCalendar control = new(); 205using MonthCalendar control = new(); 217using MonthCalendar control = new(); 229using MonthCalendar control = new(); 241using MonthCalendar control = new(); 254using MonthCalendar control = new(); 266using MonthCalendar control = new(); 284using MonthCalendar control = new(); 307using MonthCalendar control = new(); 320using MonthCalendar control = new(); 332using MonthCalendar control = new(); 346using MonthCalendar control = new() 374using MonthCalendar control = new(); 388using MonthCalendar control = new() 416using MonthCalendar control = new(); 428using MonthCalendar control = new();
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarBodyAccessibleObjectTests.cs (22)
6using static System.Windows.Forms.MonthCalendar; 15using MonthCalendar control = new(); 28using MonthCalendar control = new(); 45using MonthCalendar control = new(); 58using MonthCalendar control = new(); 71using MonthCalendar control = new(); 84using MonthCalendar control = new(); 96using MonthCalendar control = new(); 108using MonthCalendar control = new(); 134using MonthCalendar control = new(); 160using MonthCalendar control = new(); 172using MonthCalendar control = new(); 182using MonthCalendar control = new(); 192using MonthCalendar control = new(); 204using MonthCalendar control = new(); 214using MonthCalendar control = new(); 228using MonthCalendar control = new(); 239private CalendarBodyAccessibleObject CreateCalendarBodyAccessibleObject(MonthCalendar control, int calendarIndex = 0) 253using MonthCalendar control = new(); 281using MonthCalendar control = new() { ShowWeekNumbers = showWeekNumbers }; 304using MonthCalendar control = new() { ShowWeekNumbers = true }; 320using MonthCalendar control = new();
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarButtonAccessibleObjectTests.cs (10)
5using static System.Windows.Forms.MonthCalendar; 14using MonthCalendar control = new(); 28using MonthCalendar control = new(); 39using MonthCalendar control = new(); 50using MonthCalendar control = new(); 63using MonthCalendar control = new(); 76using MonthCalendar control = new(); 89using MonthCalendar control = new(); 102using MonthCalendar control = new(); 119using MonthCalendar control = new();
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarCellAccessibleObjectTests.cs (15)
6using static System.Windows.Forms.MonthCalendar; 16using MonthCalendar control = new(); 47using MonthCalendar control = new(); 64using MonthCalendar control = new(); 78using MonthCalendar control = new(); 88using MonthCalendar control = new(); 106using MonthCalendar control = new(); 115private CalendarCellAccessibleObject CreateCalendarCellAccessibleObject(MonthCalendar control, int calendarIndex = 0, int rowIndex = 0, int columnIndex = 0) 129using MonthCalendar control = new(); 148using MonthCalendar control = new(); 164using MonthCalendar control = new(); 178using MonthCalendar control = new() 220using MonthCalendar control = new() 253using MonthCalendar control = new(); 266using MonthCalendar control = new() { ShowWeekNumbers = showWeekNumbers };
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarDayOfWeekCellAccessibleObjectTests.cs (14)
5using static System.Windows.Forms.MonthCalendar; 14using MonthCalendar control = new(); 34using MonthCalendar control = new(); 44using MonthCalendar control = new(); 54using MonthCalendar control = new(); 64using MonthCalendar control = new(); 76using MonthCalendar control = new(); 88using MonthCalendar control = new(); 100using MonthCalendar control = new(); 112using MonthCalendar control = new(); 126using MonthCalendar control = new() 169using MonthCalendar control = new() 201using MonthCalendar control = new(); 209private CalendarDayOfWeekCellAccessibleObject CreateCalendarDayOfWeekCellCellAccessibleObject(MonthCalendar control, int calendarIndex = 0, int rowIndex = 0, int columnIndex = 0)
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarHeaderAccessibleObjectTests.cs (5)
6using static System.Windows.Forms.MonthCalendar; 15using MonthCalendar control = new(); 33using MonthCalendar control = new(); 47using MonthCalendar control = new(); 57private CalendarHeaderAccessibleObject CreateCalendarHeaderAccessibleObject(MonthCalendar control, int calendarIndex = 0)
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarNextButtonAccessibleObjectTests.cs (2)
6using static System.Windows.Forms.MonthCalendar; 15using MonthCalendar control = new();
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarPreviousButtonAccessibleObjectTests.cs (8)
5using static System.Windows.Forms.MonthCalendar; 14using MonthCalendar control = new(); 27using MonthCalendar control = new(); 40using MonthCalendar control = new(); 53using MonthCalendar control = new(); 66using MonthCalendar control = new(); 77using MonthCalendar control = new(); 91using MonthCalendar control = new();
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarRowAccessibleObjectTests.cs (13)
5using static System.Windows.Forms.MonthCalendar; 14using MonthCalendar control = new(); 35using MonthCalendar control = new(); 47using MonthCalendar control = new(); 59using MonthCalendar control = new(); 71using MonthCalendar control = new(); 86using MonthCalendar control = new(); 102using MonthCalendar control = new(); 114using MonthCalendar control = new(); 127using MonthCalendar control = new(); 162using MonthCalendar control = new(); 186using MonthCalendar control = new() { ShowWeekNumbers = true }; 207private CalendarRowAccessibleObject CreateCalendarRowAccessibleObject(MonthCalendar control, int calendarIndex = 0, int rowIndex = 0)
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarTodayLinkAccessibleObjectTests.cs (9)
5using static System.Windows.Forms.MonthCalendar; 14using MonthCalendar control = new(); 31using MonthCalendar control = new(); 44using MonthCalendar control = new(); 61using MonthCalendar control = new(); 75using MonthCalendar control = new(); 90using MonthCalendar control = new(); 101using MonthCalendar control = new(); 115using MonthCalendar control = new();
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarWeekNumberCellAccessibleObjectTests.cs (16)
5using static System.Windows.Forms.MonthCalendar; 14using MonthCalendar control = new(); 26using MonthCalendar control = new(); 36using MonthCalendar control = new(); 46using MonthCalendar control = new(); 56using MonthCalendar control = new(); 68using MonthCalendar control = new(); 80using MonthCalendar control = new(); 92using MonthCalendar control = new(); 104using MonthCalendar control = new(); 116using MonthCalendar control = new(); 130using MonthCalendar control = new() 160using MonthCalendar control = new() 191using MonthCalendar control = new(); 207using MonthCalendar control = new(); 215private CalendarWeekNumberCellAccessibleObject CreateCalendarWeekNumberCellAccessibleObject(MonthCalendar control, int calendarIndex = 0, int rowIndex = 0, int columnIndex = 0)
System\Windows\Forms\AccessibleObjects\MonthCalendar.MonthCalendarAccessibleObjectTests.cs (29)
5using static System.Windows.Forms.MonthCalendar; 24using MonthCalendar monthCalendar = new() 39using MonthCalendar monthCalendar = new(); 67using MonthCalendar monthCalendar = new(); 80using MonthCalendar monthCalendar = new(); 94using MonthCalendar monthCalendar = new(); 105using MonthCalendar monthCalendar = new(); 115using MonthCalendar monthCalendar = new(); 132using MonthCalendar monthCalendar = new(); 144using MonthCalendar monthCalendar = new(); 168using MonthCalendar monthCalendar = new(); 182using MonthCalendar monthCalendar = new(); 194using MonthCalendar monthCalendar = new(); 210using MonthCalendar monthCalendar = new(); 219using MonthCalendar monthCalendar = new(); 229using MonthCalendar monthCalendar = new(); 240using MonthCalendar monthCalendar = new(); 251using MonthCalendar monthCalendar = new() { ShowToday = false }; 262using MonthCalendar monthCalendar = new(); 274using MonthCalendar monthCalendar = new(); 284using MonthCalendar monthCalendar = new(); 294using MonthCalendar monthCalendar = new(); 306using MonthCalendar monthCalendar = new(); 323using MonthCalendar monthCalendar = new(); 334using MonthCalendar monthCalendar = new(); 345using MonthCalendar monthCalendar = new(); 356using MonthCalendar monthCalendar = new(); 371using MonthCalendar monthCalendar = new(); 386using MonthCalendar calendar = new();
System\Windows\Forms\AccessibleObjects\MonthCalendar.MonthCalendarChildAccessibleObjectTests.cs (8)
6using static System.Windows.Forms.MonthCalendar; 21using MonthCalendar control = new(); 40using MonthCalendar control = new(); 53using MonthCalendar control = new(); 65using MonthCalendar control = new(); 81using MonthCalendar control = new(); 93using MonthCalendar control = new(); 105using MonthCalendar control = new();
System\Windows\Forms\MonthCalendar.HitTestInfoTests.cs (1)
4using static System.Windows.Forms.MonthCalendar;
System\Windows\Forms\MonthCalendarTests.cs (135)
8using static System.Windows.Forms.MonthCalendar; 197using MonthCalendar calendar = new() 234using MonthCalendar calendar = new(); 289using MonthCalendar control = new() 312using MonthCalendar control = new(); 340using MonthCalendar control = new(); 376using MonthCalendar control = new() 392using MonthCalendar control = new(); 453using MonthCalendar control = new(); 489using MonthCalendar control = new(); 525using MonthCalendar calendar = new() 562using MonthCalendar calendar = new(); 624using MonthCalendar calendar = new() 643using MonthCalendar calendar = new() 664using MonthCalendar calendar = new(); 695using MonthCalendar calendar = new(); 729using MonthCalendar calendar = new(); 738using MonthCalendar calendar = new(); 811using MonthCalendar calendar = new() 828using MonthCalendar calendar = new() 847using MonthCalendar calendar = new(); 883using MonthCalendar calendar = new() 915using MonthCalendar calendar = new(); 932using MonthCalendar control = new() 958using MonthCalendar control = new(); 986using MonthCalendar control = new(); 1224using MonthCalendar control = new() 1241using MonthCalendar control = new(); 1269using MonthCalendar control = new(); 1305using MonthCalendar control = new(); 1322using MonthCalendar calendar = new() 1343using MonthCalendar calendar = new(); 1375using MonthCalendar calendar = new(); 1392using MonthCalendar calendar = new() 1409using MonthCalendar calendar = new(); 1439using MonthCalendar calendar = new(); 1455using MonthCalendar calendar = new() 1476using MonthCalendar calendar = new(); 1508using MonthCalendar calendar = new(); 1515using MonthCalendar calendar = new(); 1551using MonthCalendar calendar = new() 1588using MonthCalendar calendar = new(); 1637using MonthCalendar control = new() 1654using MonthCalendar control = new(); 1682using MonthCalendar control = new(); 1725using MonthCalendar control = new() 1765using MonthCalendar control = new() 1815using MonthCalendar control = new() 1853using MonthCalendar control = new() 1890using MonthCalendar calendar = new() 1907using MonthCalendar calendar = new(); 1937using MonthCalendar calendar = new(); 1957using MonthCalendar calendar = new() 1976using MonthCalendar calendar = new(); 2006using MonthCalendar calendar = new(); 2017using MonthCalendar calendar = new(); 2039using MonthCalendar calendar = new() 2058using MonthCalendar calendar = new(); 2088using MonthCalendar calendar = new(); 2098using MonthCalendar calendar = new(); 2136using MonthCalendar calendar = new() 2161using MonthCalendar calendar = new(); 2197using MonthCalendar calendar = new(); 2214using MonthCalendar calendar = new(); 2423using MonthCalendar control = new(); 2522using MonthCalendar control = new(); 2547using MonthCalendar control = new(); 2585using MonthCalendar control = new(); 2635using MonthCalendar control = new() 2652using MonthCalendar control = new(); 2680using MonthCalendar control = new(); 2722using MonthCalendar calendar = new() 2739using MonthCalendar calendar = new(); 2767using MonthCalendar calendar = new(); 2781using MonthCalendar calendar = new() 2798using MonthCalendar calendar = new(); 2826using MonthCalendar calendar = new(); 2833using MonthCalendar control = new(); 2857using MonthCalendar calendar = new() 2876using MonthCalendar calendar = new(); 2906using MonthCalendar calendar = new(); 2917using MonthCalendar calendar = new(); 2935using MonthCalendar calendar = new() 2952using MonthCalendar calendar = new(); 2980using MonthCalendar calendar = new(); 2987using MonthCalendar calendar = new(); 3026using MonthCalendar calendar = new(); 3094using MonthCalendar calendar = new(); 3133using MonthCalendar calendar = new(); 3201using MonthCalendar calendar = new(); 3240using MonthCalendar calendar = new(); 3966using MonthCalendar calendar = new(); 3987using MonthCalendar calendar = new(); 4021using MonthCalendar calendar = new(); 4033using MonthCalendar calendar = new(); 4073using MonthCalendar calendar = new(); 4094using MonthCalendar calendar = new(); 4128using MonthCalendar calendar = new(); 4145using MonthCalendar calendar = new(); 4189using MonthCalendar calendar = new() { Size = new Size(600, 600), FirstDayOfWeek = Day.Sunday }; 4239using MonthCalendar calendar = new(); 4260using MonthCalendar monthCalendar = new(); 4271using MonthCalendar monthCalendar = new(); 4284using MonthCalendar monthCalendar = new(); 4309using MonthCalendar monthCalendar = new(); 4323using MonthCalendar monthCalendar = new(); 4334private (CalendarRowAccessibleObject, CalendarCellAccessibleObject) CreateCalendarObjects(MonthCalendar control, int calendarIndex = 0, int rowIndex = 0, int columnIndex = 0) 4348using MonthCalendar monthCalendar = new(); 4364using MonthCalendar monthCalendar = new(); 4379using MonthCalendar monthCalendar = new(); 4398using MonthCalendar monthCalendar = new(); 4430using MonthCalendar monthCalendar = new(); 4445using MonthCalendar monthCalendar = new(); 4454private MonthCalendar InitializeCalendarWithDates() 4456MonthCalendar calendar = new(); 4477using MonthCalendar calendar = InitializeCalendarWithDates(); 4479typeof(MonthCalendar).GetMethod(methodName).Invoke(calendar, methodName.Contains("All") ? null : new object[] { new DateTime(2022, 1, 1) }); 4480((DateTime[])typeof(MonthCalendar).GetProperty(propertyName).GetValue(calendar)).Length.Should().Be(expectedCount); 4489using MonthCalendar calendar = new(); 4511using MonthCalendar calendar = new(); 4540using MonthCalendar calendar = new(); 4560using MonthCalendar calendar = new(); 4574private void TestResetColorProperty(Func<MonthCalendar, Color> getColor, Action<MonthCalendar, Color> setColor, Action<dynamic> resetColor) 4576using MonthCalendar calendar = new(); 4623private void TestResetProperty<T>(MonthCalendar calendar, Action<MonthCalendar, T> setProperty, Func<MonthCalendar, T> getProperty, T testValue, T expectedValue, Action<dynamic> resetProperty) 4635using MonthCalendar calendar = new(); 4650using MonthCalendar calendar = new(); 4664using MonthCalendar calendar = new(); 4675using MonthCalendar calendar = new(); 4686using MonthCalendar calendar = new(); 4697using MonthCalendar calendar = new(); 4708using MonthCalendar calendar = new();
System.Windows.Forms.UI.IntegrationTests (12)
MonthCalendarAccessibleObjectTests.cs (3)
6using static System.Windows.Forms.MonthCalendar; 38private async Task RunTestAsync(Func<Form, MonthCalendar, Task> runTest) 44MonthCalendar control = new()
MonthCalendarTests.cs (9)
7using static System.Windows.Forms.MonthCalendar; 160static unsafe Rectangle GetCalendarGridRect(MonthCalendar control, MCGRIDINFO_PART part) 174private Point GetCellPositionByDate(MonthCalendar calendar, DateTime dateTime) 181private async Task ClickOnDateAsync(Form form, MonthCalendar calendar, DateTime date) 189private async Task ClickOnDateTwiceAsync(Form form, MonthCalendar calendar, DateTime date) 200private async Task RunClickTestAsync(Func<Form, MonthCalendar, Task> runTest) 206MonthCalendar control = new() 224private async Task RunTestAsync(Func<Form, MonthCalendar, Task> runTest) 230MonthCalendar control = new()
WinFormsControlsTest (1)
Calendar.Designer.cs (1)
260private System.Windows.Forms.MonthCalendar monthCalendar1;