使用Visual Basic 2010创建Media Player [英] Create Media Player with visual basic 2010

查看:119
本文介绍了使用Visual Basic 2010创建Media Player的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.我想在Visual Basic 2010中创建视频播放器,但我不知道代码如何使我的视频播放器可以在辅助监视器中显示并在主监视器中播放,以及vb的代码是什么检测辅助监视器或其他监视器
请帮我实现Visual Basic 2010的代码.

Hi.. i''m want create video player in visual basic 2010 but i don''t know how the code make my video player can show in the secondary monitor and play to in primary monitor and what the code vb for detect secondary monitor or another monitor
please help me the code visual basic 2010.
thanks before..

推荐答案

在.NET中使用多个监视器非常容易.

这是两个例子.它们都在C#中,但是这些类和原理当然也适用于VB.
http://www.codeproject.com/KB/cs/multi-monitor_in_c_.aspx [ ^ ]
http://www.codeproject.com/KB/system/managemonitor.aspx [ ^ ]

如果您在CP此处进行搜索,则会发现更多示例.尽管其中很多都是用C ++编写的...
It''s quite easy to work with multiple monitors in .NET.

Here are two examples. They are both in C#, but the classes and principles apply to VB as well, of course.
http://www.codeproject.com/KB/cs/multi-monitor_in_c_.aspx[^]
http://www.codeproject.com/KB/system/managemonitor.aspx[^]

If you do a search here at the CP, you will find more examples. A lot of them are in C++ though...


您也可以在Silverlight中创建一个-如^ ].
You can create one in Silverlight too - as shown here[^].


这篇关于使用Visual Basic 2010创建Media Player的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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