简体   繁体   中英

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. In my application, I am playing a video in my winform, and I want to display some information-by adding a label or picturebox. 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;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM