C#和Windows资源管理器右键菜单? [英] C# And windows explorer context menu?
问题描述
我有一个小C#程序,在这里我希望能够右键在Windows Explorer中点击一个文件并以某种方式标记该文件的想法。随后点击右侧将显示它的标记状态。
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. 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?
谢谢!
推荐答案
关键字你正在寻找对于为外壳扩展。欲了解更多信息,请参见的Windows外壳扩展与C#或的创建外壳扩展与C#。
The keyword you're looking for is Shell Extensions. For more information, see Windows shell extension with C# or Creating a shell extension with C#.
这篇关于C#和Windows资源管理器右键菜单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!