Click here to Skip to main content
15,905,874 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can made skin for windows for application by using ((( png )))image ?
Such as in this link:
http://upload.wikimedia.org/wikipedia/commons/9/9a/PNG_transparency_demonstration_2.png
Posted
Updated 9-Sep-11 11:24am
v4
Comments
Dirk C De Winnaar 9-Sep-11 17:11pm    
Do you want to cover your forms with your own skins?

1 solution

 
Share this answer
 
Comments
Simon Bang Terkildsen 9-Sep-11 18:33pm    
OP wrote
I need to use PNG picture
thankxxxxxxxx Dirk C De Winnaar
----------------------------------
Dirk C De Winnaar 10-Sep-11 7:39am    
try this:
http://www.codeproject.com/KB/vb/Skin_for_Form_in_VB.Net.aspx
Dirk C De Winnaar 10-Sep-11 7:48am    
this.BackgroundImage = //Image
this.FormBorderStyle = FormBorderStyle.None;
this.Width = this.BackgroundImage.Width;
this.Height = this.BackgroundImage.Height;
this.TransparencyKey = Color.FromArgb(0, 255, 0); //Contrast Color



Also look at this:

http://www.codeproject.com/KB/WPF/wpfpopup.aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900