开发者

Custom look for C# windows applications

开发者 https://www.devze.com 2023-03-21 00:55 出处:网络
I\'m making C# windows application (\"Windows Forms Application\") with default components, but I need to change default look of the form and all items on it (buttons, etc.) from classic windows style

I'm making C# windows application ("Windows Forms Application") with default components, but I need to change default look of the form and all items on it (buttons, etc.) from classic windows style, to custom. How can I achieve it?

For example make buttons round, add transparency to some objects, make other objects with different shape, and so on.

It doesn't have to be customizable, but I just need to change it from default to something else. Maybe there's some comp开发者_C百科onents or something else that I can use? Or maybe there's additional GUI library that I can download and add to the project?


You didn't provide us with many details on how you want to customize the form.

You can change colors used on the form by setting the BackColor and ForeColor properties.

You can also apply background image to the form and use the TransparencyKey property in order to create a form with an irregular shape. More information about this method can be found here: http://msdn.microsoft.com/en-us/library/6k15y9et.aspx


Doing this manually and trying to have something looking nice takes waaay too much time. For start, look at this thread:

Best Free Controls for .NET

0

精彩评论

暂无评论...
验证码 换一张
取 消