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