0

I am working in C# Windows Forms Application
I want to make shadow of my form, so I have taken a image having shadow and set it as Form's Background image and also set TransparentKey to Form's BackColor i.e. Control Color, so that it will transparent the area which contains Control color and FormBorderStyle to None.

My problem is that I am not getting the shadow transparent, it is of Control Color.

Updated: I also want to change shape of my form

Form Image

Javed Akram
  • 15,024
  • 26
  • 81
  • 118

1 Answers1

2

I would use this technique instead; it worked beautifully for me.
Drop shadow in Winforms Controls?

Update:
Changing the shape of a form is easier than you'd think.
Follow this tutorial: http://www.codegod.de/WebAppCodeGod/creating-custom-shapes-for-forms-in-windows-forms-AID377.aspx

Community
  • 1
  • 1
BeemerGuy
  • 8,139
  • 2
  • 35
  • 46