메소드 | 설명 | |
---|---|---|
AddCommand ( string text, Action, action, bool separatorBeforeCommand ) : void |
Adds a command to the system menu.
|
|
SystemMenuExtension ( Window, window ) |
Initialises a new instance of the SystemMenu class for the specified Form.
|
메소드 | 설명 | |
---|---|---|
AppendMenu ( IntPtr, hMenu, int uFlags, int uIDNewItem, string lpNewItem ) : bool | ||
GetSystemMenu ( IntPtr, hWnd, bool bRevert ) : IntPtr, | ||
WindowLoaded ( object sender, RoutedEventArgs e ) : void | ||
WndProc ( IntPtr, hwnd, int msg, IntPtr, wParam, IntPtr, lParam, bool &handled ) : IntPtr, |
public AddCommand ( string text, Action, action, bool separatorBeforeCommand ) : void | ||
text | string | The displayed command text. |
action | Action, | The action that is executed when the user clicks on the command. |
separatorBeforeCommand | bool | Indicates whether a separator is inserted before the command. |
리턴 | void |
public SystemMenuExtension ( Window, window ) | ||
window | Window, | The window for which the system menu is expanded. |