用 C# 播放 DVD?

发布于 2024-07-20 05:50:15 字数 206 浏览 6 评论 0原文

我需要一个组件或控件,可以读取 DVD 并在当前窗口、另一个窗口或屏幕上的任意位置(以编程方式指示)播放它。 不需要有任何用户可见的控件; 该应用程序将单独处理。 我需要去哪里转弯?

仅供参考,我在 winforms 应用程序中使用 .Net 3.5。

我觉得我可能错过了一些简单的东西,但它正在逃避我。 ;-)

-- 授予

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?

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. ;-)

-- afward

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

在梵高的星空下 2024-07-27 05:50:15

您可以使用 Windows Media Player 控件。 该示例是用 VB.NET 编写的,但您应该能够非常轻松地进行翻译。

http://msdn.microsoft.com/en-us /library/dd562852(VS.85).aspx

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/en-us/library/dd562852(VS.85).aspx

浮世清欢 2024-07-27 05:50:15

将 Windows Media 控件嵌入到您的窗口中。
这是 C# 代码:
http://msdn.microsoft.com/en-我们/library/dd562851(v=vs.85).aspx

Embed the windows media control to your window.
Here is the c# code :
http://msdn.microsoft.com/en-us/library/dd562851(v=vs.85).aspx

如痴如狂 2024-07-27 05:50:15

使用嵌入式媒体播放器控件是一个非常好的主意。

您可能还想看看:
http://www.planet- source-code.com/vb/scripts/ShowCode.asp?txtCodeId=3215&lngWId=10

Using an embedded media player control is a very good idea.

you might also wanna take a look at:
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=3215&lngWId=10

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文