Programmatically open charm bar, power bar and start menu with C#

流过昼夜 提交于 2019-12-17 20:49:18

问题


How to programatically open:

  • Charm Bar

  • Power Options

  • Start Menu

in windows 8?

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

Cannot find the documentation I need

Thanks!


回答1:


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

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

SendKeys.Send and Windows Key

To open...

  • ... the Start Screen - just send the Windows key.
  • ... the Charms - send the Windows key + C.
  • ... the settings Charms bar (closet to the power options) - send the Windows key + I.


来源:https://stackoverflow.com/questions/14149603/programmatically-open-charm-bar-power-bar-and-start-menu-with-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!