17 references to SetTopLevel
System.Windows.Forms.Tests (17)
System\Windows\Forms\ControlTests.cs (1)
623control.SetTopLevel(true);
System\Windows\Forms\ControlTests.Methods.cs (14)
116control.SetTopLevel(topLevel); 363control.SetTopLevel(topLevel); 2686control.SetTopLevel(true); 7011control.SetTopLevel(topLevel); 7258control.SetTopLevel(topLevel); 10058control.SetTopLevel(value); 10066control.SetTopLevel(value); 10074control.SetTopLevel(!value); 10099control.SetTopLevel(value); 10107control.SetTopLevel(value); 10115control.SetTopLevel(!value); 10131Assert.Throws<ArgumentException>("value", () => control.SetTopLevel(true)); 10132control.SetTopLevel(false); 10430control.SetTopLevel(true);
System\Windows\Forms\ControlTests.Properties.cs (2)
9828control.SetTopLevel(true); 12585grandparent.SetTopLevel(true);