28 instantiations of MdiClient
System.Windows.Forms (1)
System\Windows\Forms\Form.cs (1)
1110
Controls.Add(new
MdiClient
());
System.Windows.Forms.Tests (27)
System\Windows\Forms\MdiClient.ControlCollectionTests.cs (1)
11
using MdiClient owner =
new
();
System\Windows\Forms\MdiClientTests.cs (26)
18
using MdiClient control =
new
();
94
using MdiClient control =
new
()
110
using MdiClient control =
new
();
146
using MdiClient control =
new
();
162
using MdiClient control =
new
();
183
using MdiClient control =
new
()
198
using MdiClient control =
new
()
214
using MdiClient control =
new
();
262
using MdiClient control =
new
()
277
using MdiClient control =
new
()
293
using MdiClient control =
new
();
329
using MdiClient control =
new
()
353
using MdiClient control =
new
()
378
using MdiClient control =
new
()
423
using MdiClient control =
new
()
436
using MdiClient control =
new
();
460
using MdiClient control =
new
();
493
using MdiClient control =
new
();
588
using MdiClient control =
new
();
697
using MdiClient control =
new
()
849
using MdiClient control =
new
()
1011
using MdiClient control =
new
()
1149
using MdiClient control =
new
();
1173
using MdiClient control =
new
();
1198
using MdiClient control =
new
();
1208
using MdiClient control =
new
();
55 references to MdiClient
System.Windows.Forms (14)
System\Windows\Forms\Control.cs (1)
8088
bool formRTL = ((this is Form || this is
MdiClient
) && IsMirrored);
System\Windows\Forms\Form.ControlCollection.cs (1)
31
if (value is
MdiClient
client && _owner._ctlClient is null)
System\Windows\Forms\Form.cs (4)
154
private
MdiClient
? _ctlClient;
1438
internal
MdiClient
? MdiClient => _ctlClient;
3294
MdiClient
? mdiClient = MdiParentInternal.MdiClient;
3822
if (ctl is
MdiClient
)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
1604
if (innerMostFCC.ParentInternal is not (not null and
MdiClient
))
System\Windows\Forms\Layout\DefaultLayout.cs (1)
450
if (element is
MdiClient
)
System\Windows\Forms\MDI\MDIClient.ControlCollection.cs (2)
13
private readonly
MdiClient
_owner;
15
public ControlCollection(
MdiClient
owner) : base(owner)
System\Windows\Forms\MDI\MDIClient.cs (4)
15
/// Don't create an <see cref="
MdiClient
"/> control. A form creates and uses the <see cref="
MdiClient
"/> when you set
43
/// Gets or sets the background image displayed in the <see cref="
MdiClient
" /> control.
208
/// Scales this form's location, size, padding, and margin. The <see cref="
MdiClient
" /> overrides
System.Windows.Forms.Design (1)
System\ComponentModel\Design\ToolStripContainerActionList.cs (1)
157
if (control == _toolStripContainer || control is
MdiClient
)
System.Windows.Forms.Tests (40)
System\Windows\Forms\MdiClient.ControlCollectionTests.cs (3)
11
using
MdiClient
owner = new();
12
MdiClient
.ControlCollection collection = new(owner);
22
Assert.Throws<ArgumentNullException>("owner", () => new
MdiClient
.ControlCollection(null));
System\Windows\Forms\MdiClientTests.cs (37)
18
using
MdiClient
control = new();
41
Assert.Same(control, Assert.IsType<
MdiClient
.ControlCollection>(control.Controls).Owner);
94
using
MdiClient
control = new()
110
using
MdiClient
control = new();
145
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
MdiClient
))[nameof(
MdiClient
.BackColor)];
146
using
MdiClient
control = new();
161
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
MdiClient
))[nameof(
MdiClient
.BackColor)];
162
using
MdiClient
control = new();
183
using
MdiClient
control = new()
198
using
MdiClient
control = new()
214
using
MdiClient
control = new();
262
using
MdiClient
control = new()
277
using
MdiClient
control = new()
293
using
MdiClient
control = new();
329
using
MdiClient
control = new()
353
using
MdiClient
control = new()
378
using
MdiClient
control = new()
423
using
MdiClient
control = new()
435
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
MdiClient
))[nameof(
MdiClient
.Location)];
436
using
MdiClient
control = new();
459
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
MdiClient
))[nameof(
MdiClient
.Location)];
460
using
MdiClient
control = new();
493
using
MdiClient
control = new();
588
using
MdiClient
control = new();
697
using
MdiClient
control = new()
849
using
MdiClient
control = new()
1011
using
MdiClient
control = new()
1148
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
MdiClient
))[nameof(Control.Size)];
1149
using
MdiClient
control = new();
1172
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
MdiClient
))[nameof(Control.Size)];
1173
using
MdiClient
control = new();
1198
using
MdiClient
control = new();
1208
using
MdiClient
control = new();