[英]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.