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)
13
using MdiClient owner =
new
();
System\Windows\Forms\MdiClientTests.cs (26)
20
using MdiClient control =
new
();
96
using MdiClient control =
new
()
112
using MdiClient control =
new
();
148
using MdiClient control =
new
();
164
using MdiClient control =
new
();
185
using MdiClient control =
new
()
200
using MdiClient control =
new
()
216
using MdiClient control =
new
();
264
using MdiClient control =
new
()
279
using MdiClient control =
new
()
295
using MdiClient control =
new
();
331
using MdiClient control =
new
()
355
using MdiClient control =
new
()
380
using MdiClient control =
new
()
425
using MdiClient control =
new
()
438
using MdiClient control =
new
();
462
using MdiClient control =
new
();
495
using MdiClient control =
new
();
590
using MdiClient control =
new
();
699
using MdiClient control =
new
()
851
using MdiClient control =
new
()
1013
using MdiClient control =
new
()
1151
using MdiClient control =
new
();
1175
using MdiClient control =
new
();
1200
using MdiClient control =
new
();
1210
using MdiClient control =
new
();
55 references to MdiClient
System.Windows.Forms (14)
System\Windows\Forms\Control.cs (1)
8086
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)
1603
if (innerMostFCC.ParentInternal is not (not null and
MdiClient
))
System\Windows\Forms\Layout\DefaultLayout.cs (1)
449
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)
13
using
MdiClient
owner = new();
14
MdiClient
.ControlCollection collection = new(owner);
24
Assert.Throws<ArgumentNullException>("owner", () => new
MdiClient
.ControlCollection(null));
System\Windows\Forms\MdiClientTests.cs (37)
20
using
MdiClient
control = new();
43
Assert.Same(control, Assert.IsType<
MdiClient
.ControlCollection>(control.Controls).Owner);
96
using
MdiClient
control = new()
112
using
MdiClient
control = new();
147
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
MdiClient
))[nameof(
MdiClient
.BackColor)];
148
using
MdiClient
control = new();
163
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
MdiClient
))[nameof(
MdiClient
.BackColor)];
164
using
MdiClient
control = new();
185
using
MdiClient
control = new()
200
using
MdiClient
control = new()
216
using
MdiClient
control = new();
264
using
MdiClient
control = new()
279
using
MdiClient
control = new()
295
using
MdiClient
control = new();
331
using
MdiClient
control = new()
355
using
MdiClient
control = new()
380
using
MdiClient
control = new()
425
using
MdiClient
control = new()
437
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
MdiClient
))[nameof(
MdiClient
.Location)];
438
using
MdiClient
control = new();
461
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
MdiClient
))[nameof(
MdiClient
.Location)];
462
using
MdiClient
control = new();
495
using
MdiClient
control = new();
590
using
MdiClient
control = new();
699
using
MdiClient
control = new()
851
using
MdiClient
control = new()
1013
using
MdiClient
control = new()
1150
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
MdiClient
))[nameof(Control.Size)];
1151
using
MdiClient
control = new();
1174
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
MdiClient
))[nameof(Control.Size)];
1175
using
MdiClient
control = new();
1200
using
MdiClient
control = new();
1210
using
MdiClient
control = new();