42 references to SHOW_WINDOW_CMD
System.Windows.Forms (34)
System\Windows\Forms\Control.cs (3)
3434internal virtual SHOW_WINDOW_CMD ShowParams => SHOW_WINDOW_CMD.SW_SHOW; 10436PInvoke.ShowWindow(HWND, value ? ShowParams : SHOW_WINDOW_CMD.SW_HIDE);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
1478PInvoke.ShowWindow(_dropDownHolder, SHOW_WINDOW_CMD.SW_SHOWNA);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
757internal override SHOW_WINDOW_CMD ShowParams => SHOW_WINDOW_CMD.SW_SHOWNOACTIVATE;
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (2)
347PInvoke.ShowWindow(hWndCtl, SHOW_WINDOW_CMD.SW_HIDE); 349PInvoke.ShowWindow(hWndCtl, SHOW_WINDOW_CMD.SW_HIDE);
System\Windows\Forms\Form.cs (22)
1849internal override SHOW_WINDOW_CMD ShowParams 1874return SHOW_WINDOW_CMD.SW_SHOWMAXIMIZED; 1876return SHOW_WINDOW_CMD.SW_SHOWMINIMIZED; 1881return SHOW_WINDOW_CMD.SW_SHOWNOACTIVATE; 1884return SHOW_WINDOW_CMD.SW_SHOW; 2215PInvoke.ShowWindow(this, SHOW_WINDOW_CMD.SW_SHOW); 2561PInvoke.ShowWindow(this, SHOW_WINDOW_CMD.SW_NORMAL); 2564PInvoke.ShowWindow(this, SHOW_WINDOW_CMD.SW_MAXIMIZE); 2567PInvoke.ShowWindow(this, SHOW_WINDOW_CMD.SW_MINIMIZE); 6518case SHOW_WINDOW_CMD.SW_NORMAL: 6519case SHOW_WINDOW_CMD.SW_RESTORE: 6520case SHOW_WINDOW_CMD.SW_SHOW: 6521case SHOW_WINDOW_CMD.SW_SHOWNA: 6522case SHOW_WINDOW_CMD.SW_SHOWNOACTIVATE: 6529case SHOW_WINDOW_CMD.SW_SHOWMAXIMIZED: 6536case SHOW_WINDOW_CMD.SW_SHOWMINIMIZED: 6537case SHOW_WINDOW_CMD.SW_MINIMIZE: 6538case SHOW_WINDOW_CMD.SW_SHOWMINNOACTIVE: 6545case SHOW_WINDOW_CMD.SW_HIDE: 6661switch ((SHOW_WINDOW_CMD)si.wShowWindow) 6663case SHOW_WINDOW_CMD.SW_MAXIMIZE: 6666case SHOW_WINDOW_CMD.SW_MINIMIZE:
System\Windows\Forms\Help\Help.cs (1)
217PInvoke.ShellExecute(handle.Handle, lpOperation: null, executable ?? fileName, executable is not null ? fileName : null, lpDirectory: null, SHOW_WINDOW_CMD.SW_NORMAL);
System\Windows\Forms\ToolTip\ToolTip.cs (3)
306(control.ShowParams & (SHOW_WINDOW_CMD)0xF) != SHOW_WINDOW_CMD.SW_SHOWNOACTIVATE) 2127PInvoke.ShowWindow(this, SHOW_WINDOW_CMD.SW_HIDE);
System.Windows.Forms.Primitives (8)
Windows.Win32.PInvoke.SHELL32.dll.g.cs (3)
184 /// <inheritdoc cref="ShellExecute(winmdroot.Foundation.HWND, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR, winmdroot.UI.WindowsAndMessaging.SHOW_WINDOW_CMD)"/> 186 internal static unsafe winmdroot.Foundation.HINSTANCE ShellExecute(winmdroot.Foundation.HWND hwnd, string lpOperation, string lpFile, string lpParameters, string lpDirectory, winmdroot.UI.WindowsAndMessaging.SHOW_WINDOW_CMD nShowCmd) 241 internal static extern winmdroot.Foundation.HINSTANCE ShellExecute(winmdroot.Foundation.HWND hwnd, winmdroot.Foundation.PCWSTR lpOperation, winmdroot.Foundation.PCWSTR lpFile, winmdroot.Foundation.PCWSTR lpParameters, winmdroot.Foundation.PCWSTR lpDirectory, winmdroot.UI.WindowsAndMessaging.SHOW_WINDOW_CMD nShowCmd);
Windows.Win32.PInvoke.USER32.dll.g.cs (1)
3745 internal static extern winmdroot.Foundation.BOOL ShowWindow(winmdroot.Foundation.HWND hWnd, winmdroot.UI.WindowsAndMessaging.SHOW_WINDOW_CMD nCmdShow);
Windows.Win32.WINDOWPLACEMENT.g.cs (2)
60 internal SHOW_WINDOW_CMD showCmd 62 get => (SHOW_WINDOW_CMD)this._showCmd;
Windows\Win32\PInvoke.ShowWindow.cs (2)
8/// <inheritdoc cref="ShowWindow(HWND, SHOW_WINDOW_CMD)"/> 9public static BOOL ShowWindow<T>(T hWnd, SHOW_WINDOW_CMD nCmdShow) where T : IHandle<HWND>