C#中的文件关联 [英] File Association in c#
本文介绍了C#中的文件关联的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
我想知道如何将新文件类型与C#代码关联
就像我为我制作新文件一样
file.bw
现在,我想用我的C#代码将此文件类型与之关联
如果我在PC上的任何位置单击此文件,则将在我的C#代码中打开
像打开文本文件或Word文件一样
在此先感谢
Hi All
I want to know how to associate a new file type with c# code
like i make i new file tye
file.bw
Now i want to associate with this file type with my c# code
if i click on this file any where in my pc then this is going to be open in my c# code
like text file or word file is opened
Thanks in advance
推荐答案
此CodeProject文章提供了一种解决方案: C#FileAssociation类 [ ^ ] .
—SA
This CodeProject article provides a solution: C# FileAssociation Class[^].
—SA
这篇关于C#中的文件关联的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文