使用wpf应用程序打开功能. [英] Open with feature for wpf app.

查看:95
本文介绍了使用wpf应用程序打开功能.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用mediaElement创建了一个简单的播放器.现在,我想在应用程序中添加打开方式"之类的功能.
我想通过单击打开选项来在我的wpf应用程序中打开视频.

I have made a simple player using mediaElement. Now I want to add feature like "open with" to my app.
I want to open my videos in my wpf app by clicking open with option.

thanks in advance.

推荐答案

要查找的是文件类型关联".这是在注册表中的"HKey类根"中完成的.有一些程序可以为您做到这一点,例如系统文件关联 [
The thing to look for is "file type association". It is done in the registry in HKey Classes Root. There are some programs which can do that for you, e.g. System File Association[^]


这篇关于使用wpf应用程序打开功能.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆