使用C#打开的Media Player [英] Media Player in c# open with
本文介绍了使用C#打开的Media Player的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在那里,创建了一个嵌入Windows Media Player的应用程序,我可以通过通过打开文件"对话框打开文件来播放文件.我的要求是如何在默认情况下使用我创建的应用程序打开音频文件(右键单击音频文件,选择openwith并选择播放器(创建的应用程序)),然后文件应播放.
请帮助
Hi There, created an app embedding windows media player, I am able to play the file by opening the file through open file dialog. My request is how to open the audio file by default with the app i created like (right click on the audio file choose openwith and select the player(app created)) and file should play.
Kindly help
推荐答案
,这是OS级别的一个技巧,一旦您必须右键单击文件类型,然后选择open with并设置您的编.作为所有同类型文件的默认设置,我不知道在C#级别上我们有像这样的任何功能
that is a trick in OS level once you have to right click on file type then chose open with and set you prog. as default for all same kind file,, i don''t know at C# level we have any kind of functionality like this
这篇关于使用C#打开的Media Player的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文