Support Forums

Shadow

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.
User avatar
nirmalks
Posts: 30
Joined: Sun Aug 02, 2015 10:01 am

Shadow

Postby nirmalks » Thu Feb 11, 2016 6:59 am

Good Morning guys!

Can someone please post a few examples as to:
-How to add shadow to a Panel
-How to create round-shaped buttons.

Many thanks for pointers!

Nirmal
User avatar
davidc
Posts: 4354
Joined: Thu Aug 18, 2011 4:56 am

Re: Shadow

Postby davidc » Thu Feb 11, 2016 9:22 am

[POST MOVED TO POWERSHELL GUI FORUM BY MODERATOR]
David
SAPIEN Technologies, Inc.
User avatar
jvierra
Posts: 9693
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Shadow

Postby jvierra » Thu Feb 11, 2016 10:37 am

You would have to use the paint event and get the hDC or "Graphics" object and do all of the painting yourself. Look for examples of OwnerDraw controls. If you are not a programmer I suggest that this might be a bit difficult and I doubt that there are an PowerShell examples.

Return to “PowerShell GUIs”

Who is online

Users browsing this forum: No registered users and 5 guests

cron