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