简体   繁体   English

如何显示在Winform中播放的视频的控件?

[英]How do I display a control over a video that is playing in my winform?

I was just wondering how to display a transparent control over a playing video in c#, winforms application. 我只是想知道如何在c#,winforms应用程序中显示播放视频的透明控件。 In my application, I am playing a video in my winform, and I want to display some information-by adding a label or picturebox. 在我的应用程序中,我正在Winform中播放视频,并且想通过添加标签或图片框来显示一些信息。 I was wondering how to make the controls transparent, so that you could see the playing video, while seeing some labels and pictureboxes on top of it. 我想知道如何使控件透明,以便您可以观看正在播放的视频,同时在其顶部看到一些标签和图片框。

Thanks for your time and help! 感谢您的时间和帮助!

Have you tried 你有没有尝试过

        label1.BackColor = Color.Transparent;
        label1.ForeColor = Color.White;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 通过Microsoft.DirectX.AudioVideoPlayback显示对视频播放的控制 - Display a Control over video playing via Microsoft.DirectX.AudioVideoPlayback 如何在视频控件上创建透明标签 - How do I create transparent labels over a Video control 如何将我的新用户控件添加到工具箱或新 Winform? - How do I add my new User Control to the Toolbox or a new Winform? 如何将此 WPF 控件添加到我的 WinForm 中? - How can I add this WPF control into my WinForm? 如何从 winform 中清除用户控件? - How do I clear a user control from a winform? 如何在继承的WinForm中向Container添加控件 - How do I add a Control to a Container in an inherited WinForm 如何检测jQuery是否在WinForm WebBrowser控件中导航到的文档中? - How do I detect if jQuery is in a document navigated to in the WinForm WebBrowser control? 如何动态地将winform子表单嵌入到主winform的选项卡控件中? - How do I dynamically embed a winform subform into the tab control of a main winform? 在 winform 上将原始图像显示为视频(超过 30fps) - Display raw image as video on winform (over 30fps) Winform的叠加控制 - Overlay Control over Winform
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM