媒体播放器和计时器 [英] media player and timer

查看:101
本文介绍了媒体播放器和计时器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望使用c#,

在Windows窗体中构建应用程序,其中从加载视频将运行,在完成视频后,将出现一个标签(在完成视频后,不会生成任何事件)在形式的中心。我正在使用媒体播放器组件。如果可能,播放器的任何按钮都不可见。

I want to build application in windows form using c#,
where in from load a video will running and after completing the video, one label is come(just after completing the video no event will generate) in the center of the form. I am using media player component.If possible not any button of the player is visible.

推荐答案

您可以让播放器不显示任何UI,这是设置。我相信当媒体结束时也有一个事件,所以只需处理该事件以显示您的标签。
You can make the player not show any UI, that''s a setting. I believe there''s an event when the media ends, too, so just handle that event to show your label.


这篇关于媒体播放器和计时器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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