简体   繁体   English

C#和Windows资源管理器上下文菜单?

[英]C# And windows explorer context menu?

I have an idea for a little C# program, where I want to be able to right click on a file in windows explorer and somehow 'tag' that file. 我有一个小C#程序的想法,在这里我希望能够右键单击Windows资源管理器中的文件并以某种方式“标记”该文件。 Subsequent right clicks would show it's tagged state. 随后的右键单击将显示其已标记状态。

Bottom line is that I need to be able to right click on a file, see a custom menu item and perform a custom action as well as visualize some info. 最重要的是,我需要能够右键单击文件,查看自定义菜单项并执行自定义操作以及可视化一些信息。

Never having done this, I'm not even sure where to start... :) 从来没有做过,我什至不知道从哪里开始... :)

Any good example out there? 有什么好的例子吗? Things I should read up on? 我应该读的东西? Links? 链接?

Thanks! 谢谢!

The keyword you're looking for is Shell Extensions . 您要寻找的关键字是Shell Extensions For more information, see Windows shell extension with C# or Creating a shell extension with C# . 有关更多信息,请参见使用C#的Windows Shell扩展使用C# 创建Shell扩展

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Windows资源管理器的C#和上下文菜单 - C# and context menu of windows explorer c#从上下文菜单Windows资源管理器中的选定文件/文件夹中检索文件/文件夹路径 - c# retrieve file/folder path from selected file/folder in Context Menu Windows Explorer C#将上下文菜单项添加到Windows资源管理器中的所有文件类型 - C# adding context menu item to windows explorer for all file types 使用C#为所有桌面快捷方式创建自定义右键单击上下文菜单项(Windows资源管理器) - Create custom right-click context menu item with C# for all desktop shortcuts (windows explorer) 通过上下文菜单获取从选定的Windows资源管理器文件夹到C#的路径 - Get the path from an selected windows explorer folder to C# via context menu 从 Windows 资源管理器“打开方式”上下文菜单获取文件 C# Wpf - Get file from Windows Explorer "open with" Context Menu C# Wpf 在C#应用程序中使用3rd party上下文菜单(对于Windows资源管理器)? - Use 3rd party context menu (for Windows Explorer) within a C# application? 如何从 C# 应用程序显示 Windows 资源管理器上下文菜单? - How do you show the Windows Explorer context menu from a C# application? 使用 C# 的 Windows 资源管理器菜单 - Windows Explorer Menu using C# 集成到 Windows 资源管理器上下文菜单中 - Integrating into Windows Explorer context menu
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM