在指定的窗口显示系统菜单。
命名空间:  Microsoft.Windows.Shell
程序集:  Microsoft.Windows.Shell(在 Microsoft.Windows.Shell.dll 中)
语法
声明
Public Shared Sub ShowSystemMenu ( _
    window As Window, _
    screenLocation As Point _
)
public static void ShowSystemMenu(
    Window window,
    Point screenLocation
)
public:
static void ShowSystemMenu(
    Window^ window, 
    Point screenLocation
)
static member ShowSystemMenu : 
        window:Window * 
        screenLocation:Point -> unit 
public static function ShowSystemMenu(
    window : Window, 
    screenLocation : Point
)
参数
- window
 类型:System.Windows.Window
 窗口将显示其系统菜单。
- screenLocation
 类型:System.Windows.Point
 系统菜单的位置。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。