8 references to TopLevelControlInternal
System.Windows.Forms (8)
winforms\Managed\System\WinForms\Control.cs (2)
4125return TopLevelControlInternal; 16110Control topLevelControl = TopLevelControlInternal;
winforms\Managed\System\WinForms\DataGridView.cs (1)
3695Form parentForm = this.TopLevelControlInternal as Form;
winforms\Managed\System\WinForms\Form.cs (2)
6094owner = ((Control)owner).TopLevelControlInternal; 6159owner = ((Control)owner).TopLevelControlInternal;
winforms\Managed\System\WinForms\ToolStripManager.cs (2)
1284if (control == null || !(control.TopLevelControlInternal is ToolStripDropDown)) { 1707toplevelControl = intendedControl.TopLevelControlInternal;
winforms\Managed\System\WinForms\ToolTip.cs (1)
597baseVar = ctl.TopLevelControlInternal;