在C#中播放DVD? [英] DVD Playback in C#?
问题描述
我需要一个可以读取DVD并在当前窗口,另一个窗口或屏幕上任意位置(以编程方式指示)上播放DVD的组件或控件.不需要任何用户可见的控件;该应用将单独处理.我需要在哪里转弯?
I am in need of a component or control that can read a DVD and play it back either on the current window, on another window, or in an arbitrary position on-screen (to be indicated programmatically). There do not need to be any user-visible controls on it; the app will handle that separately. Where do I need to turn?
仅供参考,我正在Winforms应用程序中使用.Net 3.5.
FYI, I'm using .Net 3.5 in a winforms application.
我觉得我可能缺少一些简单的东西,但是它在逃避我. ;-)
I feel like I'm probably missing something simple, but it is escaping me. ;-)
-侮辱
推荐答案
您可以使用Windows Media Player控件.该示例在VB.NET中,但是您应该能够非常轻松地进行翻译.
You can use a Windows Media Player control. The example is in VB.NET, but you should be able to translate very easily.
http://msdn.microsoft.com/zh-cn/library/dd562852(VS.85).aspx
这篇关于在C#中播放DVD?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!