5 references to TopLevelControl
System.Windows.Forms.Design (5)
System\ComponentModel\Design\DesignerActionPanel.cs (4)
431
if (!e.Cancel &&
TopLevelControl
is not null)
433
Debug.Assert(
TopLevelControl
is Form, "DesignerActionPanel must be hosted on a Form.");
434
Form form = (Form)
TopLevelControl
;
447
if (
TopLevelControl
is Form form)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
179
Control? toplevel = _parentControl.
TopLevelControl
;