Home > Net >  C # VLC media streaming access pictureBox handle play video, controls the background processing
C # VLC media streaming access pictureBox handle play video, controls the background processing

Time:11-04

excuse me: as above, this kind of situation, I obtain the pictureBox handle with VLC streaming media service to play a video, the above five have the blue background is the button, the color of the background is the parent form control, what can I do to make their background is to display the video and controls also won't be behind the covered way, hope to grant instruction, thank you for your attention

CodePudding user response:

http://blog.csdn.net/binsweet/article/details/7722223

Is this?

CodePudding user response:

Transparent method to use, the button control is a pictureBox behind, at the same time through the VLC media streaming services pictureBox handle, is through the pictureBox video to be played behind, is not a pictureBox backGroundImage or Image, not by setting the transparent solution, their parent form, display is the background color of the form, because the form is blue, so the above five button background color is blue,

CodePudding user response:

refer to the second floor AlienUK response:
transparent method to use, the button control is a pictureBox behind, at the same time through the VLC media streaming services pictureBox handle, were shown through the video pictureBox, behind is not a pictureBox backGroundImage or Image, not by setting the transparent solution, their parent form, display is the background color of the form, because the form is blue, so the above five button background color is blue,


Try change pictureBox to the panel

CodePudding user response:

reference Demons1874 reply: 3/f
Quote: refer to the second floor AlienUK response:

Transparent method to use, the button control is a pictureBox behind, at the same time through the VLC media streaming services pictureBox handle, is through the pictureBox video to be played behind, is not a pictureBox backGroundImage or Image, not by setting the transparent solution, their parent form, display is the background color of the form, because the form is blue, so the above five button background color is blue,


Change pictureBox to try a panel

The problem is the same, I have tried

CodePudding user response:

Posted, and feel very few people have done in this regard, watched some foreign web site, did not find a satisfactory

CodePudding user response:

New custom controls, set the five controls the background color of transparent,
Video playback try again after loading custom controls
  •  Tags:  
  • C#
  • Related