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

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

      在 C# 托盘中拖放 NotifyIcon

      时间:2023-08-25
      <i id='0f0Ko'><tr id='0f0Ko'><dt id='0f0Ko'><q id='0f0Ko'><span id='0f0Ko'><b id='0f0Ko'><form id='0f0Ko'><ins id='0f0Ko'></ins><ul id='0f0Ko'></ul><sub id='0f0Ko'></sub></form><legend id='0f0Ko'></legend><bdo id='0f0Ko'><pre id='0f0Ko'><center id='0f0Ko'></center></pre></bdo></b><th id='0f0Ko'></th></span></q></dt></tr></i><div id='0f0Ko'><tfoot id='0f0Ko'></tfoot><dl id='0f0Ko'><fieldset id='0f0Ko'></fieldset></dl></div>
      <tfoot id='0f0Ko'></tfoot>

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

              <legend id='0f0Ko'><style id='0f0Ko'><dir id='0f0Ko'><q id='0f0Ko'></q></dir></style></legend>

                本文介绍了在 C# 托盘中拖放 NotifyIcon的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                我正在尝试创建一个在托盘中运行的 C# 应用程序,我可以将文件放在它的图标上.有什么方法可以获取系统托盘图标上放置的文件的路径?System.Windows.Forms.NotifyIcon 没有任何与拖放相关的事件.

                I am trying to create a C# application that runs in tray where I can drop files on it's icon. Is there any way to get the path of the file dropped on the System Tray icon? System.Windows.Forms.NotifyIcon does not have any events related to drag and drop.

                推荐答案

                不可能做到这一点,简单的方法.如果光标位于通知图标附近的特殊区域,您可以显示一个虚拟表单.dummy Form 可以获取被放置文件的文件路径.

                it's not possible to do this, the easy way. You can show a dummy Form, if the cursor is in a special area near the notifyicon. The dummy Form can get the filepath of the droped file.

                这篇关于在 C# 托盘中拖放 NotifyIcon的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:如何处理 GetDataPresent 让它接受所有派生类型 下一篇:在 Asp.net 中使用 HTML5 的拖放上传文件

                相关文章

                最新文章

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

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

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

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