|
How can I have my sides on the form curved and not a Rectangle shape? I have it on form borderstyle= None and I have my Own png which is the SKin of the Form. I want to be able to have the Sides of the form curved. And if there is a way to have the sides to have shadow? This is small program but its all based on its looks So i want it to look really nice as possible Thats why I have my own png "skin" for the form but sadly I dont know how to have it take the shape of the Png. I tried to do the Color then pick it as transpancy key but it messes up the shadows around the png. |
| Zakukashi Tuesday, June 17, 2008 3:38 AM |
Hi,
Create a GIF file use this as background image of your form and set the TransparencyKey to the color in the GIF file you need to be transparent.
Btw: I'm using Vista and framework 3.5
Ralf - Marked As Answer byRiquel_DongModeratorMonday, June 23, 2008 1:19 PM
-
|
| Ralf de Kleine XCESS Wednesday, June 18, 2008 11:34 AM |
Hi Zakukashi, You can read Shaped Windows Forms and Controls in Visual Studio .NET to know this is the supported method to create the irregular shape for the form. If you need to make some special effect, you can have a loot at WPF to handle this issue. Best regards, Riquel
Please remember to mark the replies as answers if they help and unmark them if they provide no help. - Marked As Answer byRiquel_DongModeratorMonday, June 23, 2008 1:20 PM
-
|
| Riquel_Dong Friday, June 20, 2008 8:35 AM |
Hi,
Create a GIF file use this as background image of your form and set the TransparencyKey to the color in the GIF file you need to be transparent.
Btw: I'm using Vista and framework 3.5
Ralf - Marked As Answer byRiquel_DongModeratorMonday, June 23, 2008 1:19 PM
-
|
| Ralf de Kleine XCESS Wednesday, June 18, 2008 11:34 AM |
I have tried that but it does not come out what I want it to be. Second I wana be able to use Png that has Adobe Photoshop filters in it Like a Shadow edged Png and I want this to be the "gif" background of my Form so it Has really nice shadow Texture without the use of Transparent Keys. |
| Zakukashi Wednesday, June 18, 2008 7:02 PM |
Hi Zakukashi, You can read Shaped Windows Forms and Controls in Visual Studio .NET to know this is the supported method to create the irregular shape for the form. If you need to make some special effect, you can have a loot at WPF to handle this issue. Best regards, Riquel
Please remember to mark the replies as answers if they help and unmark them if they provide no help. - Marked As Answer byRiquel_DongModeratorMonday, June 23, 2008 1:20 PM
-
|
| Riquel_Dong Friday, June 20, 2008 8:35 AM |