[英]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.