20 writes to MdiParent
System.Windows.Forms.Tests (15)
System\Windows\Forms\ApplicationTests.cs (1)
446MdiParent = mdiParent
System\Windows\Forms\FormTests.cs (10)
1080MdiParent = oldParent, 1218MdiParent = oldParent 1237control.MdiParent = parent; 1908MdiParent = parent, 1990MdiParent = parent, 2042MdiParent = parent, 2093MdiParent = parent, 2191MdiParent = parent 2243MdiParent = parent 2632using Form mdiChild = new() { MdiParent = parent };
System\Windows\Forms\MdiControlStripTests.cs (4)
211MdiParent = mdiParent, 257MdiParent = mdiParent, 296MdiParent = mdiParent, 316using Form mdiChild = new() { MdiParent = mdiParent, Text = "Child" };
System.Windows.Forms.UI.IntegrationTests (2)
MDITests.cs (2)
23MdiParent = form, 45MdiParent = form,
WinFormsControlsTest (3)
MdiChild.cs (1)
30MdiParent = MdiParent,
MdiParent.cs (2)
24MdiParent = this, 52MdiParent = this,
18 references to MdiParent
System.Windows.Forms (3)
System\Windows\Forms\Form.cs (3)
6376if (WindowState == FormWindowState.Maximized && MdiParent?.MdiControlStrip is not null) 6378MdiParent.MdiControlStrip.updateIcon(); 6657else if (e.Cancel && (MdiParent is not null))
System.Windows.Forms.Tests (13)
System\Windows\Forms\ApplicationTests.cs (2)
454formClosingProcessed[(sender as Form).MdiParent]++; 462formClosedProcessed[(sender as Form).MdiParent]++;
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
118Assert.Null(control.MdiParent);
System\Windows\Forms\FormTests.cs (10)
120Assert.Null(control.MdiParent); 939Assert.Null(control.MdiParent); 945Assert.Null(control.MdiParent); 962Assert.Null(control.MdiParent); 969Assert.Null(control.MdiParent); 1086Assert.Null(control.MdiParent); 1092Assert.Null(control.MdiParent); 1134Assert.Null(control.MdiParent); 1143Assert.Null(control.MdiParent); 1223Assert.Same(oldParent, control.MdiParent);
WinFormsControlsTest (2)
MdiChild.cs (2)
24private MdiParent MyParent => (MdiParent)MdiParent; 30MdiParent = MdiParent,