使用 C# 以编程方式打开魅力栏、电源栏和开始菜单 [英] Programmatically open charm bar, power bar and start menu with C#

查看:16
本文介绍了使用 C# 以编程方式打开魅力栏、电源栏和开始菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何以编程方式打开:

  • 魅力栏

电源选项

开始菜单

在 Windows 8 中?

in windows 8?

我希望能够从我的 c# 应用程序中打开它们

I want to be able to open them from within my c# application

找不到我需要的文档

谢谢!

推荐答案

我敢打赌,发送 Windows 密钥(以及其他密钥,根据需要)就足够了.

I'd bet sending the Windows key (and the other key, as needed), would be sufficient.

这里是另一篇关于如何使用 API 调用的帖子.

Here is another post on how to do so with an API call.

SendKeys.Send 和 Windows 键

打开...

  • ...开始屏幕 - 只需发送 Windows 键.
  • ... Charms - 发送 Windows 键 + C.
  • ...设置超级按钮栏(靠近电源选项)- 发送 Windows 键 + I.

这篇关于使用 C# 以编程方式打开魅力栏、电源栏和开始菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆