28 instantiations of MdiClient
System.Windows.Forms (1)
System\Windows\Forms\Form.cs (1)
1110Controls.Add(new MdiClient());
System.Windows.Forms.Tests (27)
System\Windows\Forms\MdiClient.ControlCollectionTests.cs (1)
11using MdiClient owner = new();
System\Windows\Forms\MdiClientTests.cs (26)
18using MdiClient control = new(); 94using MdiClient control = new() 110using MdiClient control = new(); 146using MdiClient control = new(); 162using MdiClient control = new(); 183using MdiClient control = new() 198using MdiClient control = new() 214using MdiClient control = new(); 262using MdiClient control = new() 277using MdiClient control = new() 293using MdiClient control = new(); 329using MdiClient control = new() 353using MdiClient control = new() 378using MdiClient control = new() 423using MdiClient control = new() 436using MdiClient control = new(); 460using MdiClient control = new(); 493using MdiClient control = new(); 588using MdiClient control = new(); 697using MdiClient control = new() 849using MdiClient control = new() 1011using MdiClient control = new() 1149using MdiClient control = new(); 1173using MdiClient control = new(); 1198using MdiClient control = new(); 1208using MdiClient control = new();
55 references to MdiClient
System.Windows.Forms (14)
System\Windows\Forms\Control.cs (1)
8088bool formRTL = ((this is Form || this is MdiClient) && IsMirrored);
System\Windows\Forms\Form.ControlCollection.cs (1)
31if (value is MdiClient client && _owner._ctlClient is null)
System\Windows\Forms\Form.cs (4)
154private MdiClient? _ctlClient; 1438internal MdiClient? MdiClient => _ctlClient; 3294MdiClient? mdiClient = MdiParentInternal.MdiClient; 3822if (ctl is MdiClient)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
1604if (innerMostFCC.ParentInternal is not (not null and MdiClient))
System\Windows\Forms\Layout\DefaultLayout.cs (1)
450if (element is MdiClient)
System\Windows\Forms\MDI\MDIClient.ControlCollection.cs (2)
13private readonly MdiClient _owner; 15public 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)
157if (control == _toolStripContainer || control is MdiClient)
System.Windows.Forms.Tests (40)
System\Windows\Forms\MdiClient.ControlCollectionTests.cs (3)
11using MdiClient owner = new(); 12MdiClient.ControlCollection collection = new(owner); 22Assert.Throws<ArgumentNullException>("owner", () => new MdiClient.ControlCollection(null));
System\Windows\Forms\MdiClientTests.cs (37)
18using MdiClient control = new(); 41Assert.Same(control, Assert.IsType<MdiClient.ControlCollection>(control.Controls).Owner); 94using MdiClient control = new() 110using MdiClient control = new(); 145PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(MdiClient))[nameof(MdiClient.BackColor)]; 146using MdiClient control = new(); 161PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(MdiClient))[nameof(MdiClient.BackColor)]; 162using MdiClient control = new(); 183using MdiClient control = new() 198using MdiClient control = new() 214using MdiClient control = new(); 262using MdiClient control = new() 277using MdiClient control = new() 293using MdiClient control = new(); 329using MdiClient control = new() 353using MdiClient control = new() 378using MdiClient control = new() 423using MdiClient control = new() 435PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(MdiClient))[nameof(MdiClient.Location)]; 436using MdiClient control = new(); 459PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(MdiClient))[nameof(MdiClient.Location)]; 460using MdiClient control = new(); 493using MdiClient control = new(); 588using MdiClient control = new(); 697using MdiClient control = new() 849using MdiClient control = new() 1011using MdiClient control = new() 1148PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(MdiClient))[nameof(Control.Size)]; 1149using MdiClient control = new(); 1172PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(MdiClient))[nameof(Control.Size)]; 1173using MdiClient control = new(); 1198using MdiClient control = new(); 1208using MdiClient control = new();