<small id='3ZlXl'></small><noframes id='3ZlXl'>

      • <bdo id='3ZlXl'></bdo><ul id='3ZlXl'></ul>
    1. <i id='3ZlXl'><tr id='3ZlXl'><dt id='3ZlXl'><q id='3ZlXl'><span id='3ZlXl'><b id='3ZlXl'><form id='3ZlXl'><ins id='3ZlXl'></ins><ul id='3ZlXl'></ul><sub id='3ZlXl'></sub></form><legend id='3ZlXl'></legend><bdo id='3ZlXl'><pre id='3ZlXl'><center id='3ZlXl'></center></pre></bdo></b><th id='3ZlXl'></th></span></q></dt></tr></i><div id='3ZlXl'><tfoot id='3ZlXl'></tfoot><dl id='3ZlXl'><fieldset id='3ZlXl'></fieldset></dl></div>

      <tfoot id='3ZlXl'></tfoot>
      <legend id='3ZlXl'><style id='3ZlXl'><dir id='3ZlXl'><q id='3ZlXl'></q></dir></style></legend>

        如何让我的 Windows 窗体应用程序“监听"全局按键?

        How can I make my Windows Forms application #39;listen#39; for global key presses?(如何让我的 Windows 窗体应用程序“监听全局按键?)
        <tfoot id='xKy7A'></tfoot>

      1. <i id='xKy7A'><tr id='xKy7A'><dt id='xKy7A'><q id='xKy7A'><span id='xKy7A'><b id='xKy7A'><form id='xKy7A'><ins id='xKy7A'></ins><ul id='xKy7A'></ul><sub id='xKy7A'></sub></form><legend id='xKy7A'></legend><bdo id='xKy7A'><pre id='xKy7A'><center id='xKy7A'></center></pre></bdo></b><th id='xKy7A'></th></span></q></dt></tr></i><div id='xKy7A'><tfoot id='xKy7A'></tfoot><dl id='xKy7A'><fieldset id='xKy7A'></fieldset></dl></div>

          <tbody id='xKy7A'></tbody>
          <bdo id='xKy7A'></bdo><ul id='xKy7A'></ul>
        • <small id='xKy7A'></small><noframes id='xKy7A'>

          1. <legend id='xKy7A'><style id='xKy7A'><dir id='xKy7A'><q id='xKy7A'></q></dir></style></legend>

                • 本文介绍了如何让我的 Windows 窗体应用程序“监听"全局按键?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在做一个记笔记的小应用程序.因此,当我在计算机上的任何位置键入note"时,我的窗口会弹出并显示一个文本框供我输入内容并将其保存为 XML.

                  I'm making a little application for taking notes. So when I type 'note' anywhere on my computer, my window will pop up and show me a textbox for me to type something in and save it to XML.

                  我不知道如何让程序听"我的按键.如果有任何帮助,我会让应用程序在系统托盘上运行.:)

                  I'm stumped on how to get the program to 'listen' to my keypresses. I'll have the app running on the system tray if that's any help. :)

                  推荐答案

                  看看http://www.codeproject.com/KB/cs/globalhook.aspx

                  除了这个问题已经在 SO 中提出.看看这里:

                  Besides this question has been asked around in SO already. Take a look at here:

                  全局键盘挂钩 (C#)

                  C# 应用程序中的全局键盘捕获

                  在 c# 中处理全局热键的最佳方法?

                  这篇关于如何让我的 Windows 窗体应用程序“监听"全局按键?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Performance overhead of using attributes in .NET(在 .NET 中使用属性的性能开销)
                  Accessing attribute info from DTE(从 DTE 访问属性信息)
                  c# Hide a property in datagridview with datasource(c#使用数据源隐藏datagridview中的属性)
                  Extract Display name and description Attribute from within a HTML helper(从 HTML 帮助器中提取显示名称和描述属性)
                  C# Attributes and their uses(C# 属性及其用途)
                  C# - Getting all enums value by attribute(C# - 按属性获取所有枚举值)

                      <small id='xLAly'></small><noframes id='xLAly'>

                    1. <tfoot id='xLAly'></tfoot>
                    2. <legend id='xLAly'><style id='xLAly'><dir id='xLAly'><q id='xLAly'></q></dir></style></legend>

                          <tbody id='xLAly'></tbody>
                        <i id='xLAly'><tr id='xLAly'><dt id='xLAly'><q id='xLAly'><span id='xLAly'><b id='xLAly'><form id='xLAly'><ins id='xLAly'></ins><ul id='xLAly'></ul><sub id='xLAly'></sub></form><legend id='xLAly'></legend><bdo id='xLAly'><pre id='xLAly'><center id='xLAly'></center></pre></bdo></b><th id='xLAly'></th></span></q></dt></tr></i><div id='xLAly'><tfoot id='xLAly'></tfoot><dl id='xLAly'><fieldset id='xLAly'></fieldset></dl></div>

                            <bdo id='xLAly'></bdo><ul id='xLAly'></ul>