|
-
Mar 30th, 2021, 08:49 PM
#9
Re: Picture Transparency
 Originally Posted by iPrank
@Napoleon,
You can do so without regioning - by using a transparent usercontrol instead.
1. Create a UserControl.
2. Set it's ControlContainer = True and BackStyle = Transparent
3. FILL the usercontrol with a Rounded Rectangle shape. (For smoother effect,set the Shape's BorderStyle to Transparent.)
4. Set the shape's FillStyle to Solid.
5. Now use this user control as the container of your WebBrowser Cotrol.
PS. It is better idea to create a new thread (with link to the original one) rather than digging up an old one. 
(Possibly CodeBank threads are only exceptions)
can you give me a sample?
my usercontrol show it's black,not Transparent,why?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|