17 references to GetTopLevel
System.Windows.Forms.Tests (17)
System\Windows\Forms\ControlTests.Methods.cs (17)
121Assert.Equal(topLevel, control.GetTopLevel()); 127Assert.Equal(topLevel, control.GetTopLevel()); 376Assert.Equal(topLevel, control.GetTopLevel()); 385Assert.Equal(topLevel, control.GetTopLevel()); 2897Assert.False(control.GetTopLevel()); 2900Assert.False(control.GetTopLevel()); 7016Assert.Equal(topLevel, control.GetTopLevel()); 7022Assert.Equal(topLevel, control.GetTopLevel()); 7271Assert.Equal(topLevel, control.GetTopLevel()); 7280Assert.Equal(topLevel, control.GetTopLevel()); 10059Assert.Equal(value, control.GetTopLevel()); 10067Assert.Equal(value, control.GetTopLevel()); 10075Assert.Equal(!value, control.GetTopLevel()); 10100Assert.Equal(value, control.GetTopLevel()); 10108Assert.Equal(value, control.GetTopLevel()); 10116Assert.Equal(!value, control.GetTopLevel()); 10133Assert.False(control.GetTopLevel());