17 references to GetTopLevel
System.Windows.Forms.Tests (17)
System\Windows\Forms\ControlTests.Methods.cs (17)
120Assert.Equal(topLevel, control.GetTopLevel()); 126Assert.Equal(topLevel, control.GetTopLevel()); 375Assert.Equal(topLevel, control.GetTopLevel()); 384Assert.Equal(topLevel, control.GetTopLevel()); 2855Assert.False(control.GetTopLevel()); 2858Assert.False(control.GetTopLevel()); 6974Assert.Equal(topLevel, control.GetTopLevel()); 6980Assert.Equal(topLevel, control.GetTopLevel()); 7229Assert.Equal(topLevel, control.GetTopLevel()); 7238Assert.Equal(topLevel, control.GetTopLevel()); 10017Assert.Equal(value, control.GetTopLevel()); 10025Assert.Equal(value, control.GetTopLevel()); 10033Assert.Equal(!value, control.GetTopLevel()); 10058Assert.Equal(value, control.GetTopLevel()); 10066Assert.Equal(value, control.GetTopLevel()); 10074Assert.Equal(!value, control.GetTopLevel()); 10091Assert.False(control.GetTopLevel());