【问题标题】:How to add a new menuitem to desktop icons in windows?如何将新的菜单项添加到 Windows 中的桌面图标?
【发布时间】:2011-07-14 15:30:02
【问题描述】:

我想在我的应用程序中创建一个带有某些桌面图标的快捷方式……我相信你们都见过记事本++。当您右键单击桌面上的 txt 文件时,将显示“使用 Notepad++ 编辑”菜单项。我认为这一定是注册表中的内容...有谁知道如何在 c# 中以编程方式执行此操作?

【问题讨论】:

    标签: c# visual-studio-2010 registry desktop-application


    【解决方案1】:

    【讨论】:

      【解决方案2】:

      这对于您正在寻找的东西来说可能有点矫枉过正,http://blogs.msdn.com/b/codefx/archive/2010/09/14/writing-windows-shell-extension-with-net-framework-4-c-vb-net-part-1.aspx

      如果您认为这太过分了,您可以像这里描述的那样在 C# 中操作注册表 How to create a right-click context shell shortcut "edit with Emacs"?

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2012-11-01
        • 2019-08-26
        • 1970-01-01
        • 1970-01-01
        • 2016-09-28
        • 2019-07-09
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多