16 references to Instance
System.Windows.Forms (16)
System\Windows\Forms\ContextMenuStrip.cs (1)
89
ToolStripManager.ModalMenuFilter.
Instance
.ShowUnderlines = true;
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
647
=> DisplayInformation.MenuAccessKeysUnderlined || ModalMenuFilter.
Instance
.ShowUnderlines;
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (14)
60
internal static HandleRef<HWND> ActiveHwnd =>
Instance
.ActiveHwndInternal;
104
internal static bool InMenuMode =>
Instance
._inMenuMode;
108
get =>
Instance
._menuKeyToggle;
111
if (
Instance
._menuKeyToggle != value)
113
Instance
._menuKeyToggle = value;
167
internal static void ExitMenuMode() =>
Instance
.ExitMenuModeCore();
220
internal static ToolStrip? GetActiveToolStrip() =>
Instance
.GetActiveToolStripInternal();
273
Instance
.ShowUnderlines = true;
378
Instance
.ShowUnderlines = true;
381
Instance
.SetActiveToolStripCore(toolStrip);
385
=>
Instance
.SetActiveToolStripCore(toolStrip);
467
Instance
._suspendMenuMode = true;
472
Instance
._suspendMenuMode = false;
477
Instance
.RemoveActiveToolStripCore(toolStrip);