开发者

How to emulate skins (from ASP.NET) in windows forms

Here is the problem. i am developing a windows forms application in c# that has a lot of forms that include datagridviews, and i want to all those gridviews have the same look, same background color, same header alignment, and a lot of ot开发者_StackOverflow中文版her properties. in ASP.NET it is easy to do with skins, but how can i do this in windows forms?


Create a user control. Assign the properties whatever you want and then inherit that user control in the forms. Hope this will fix your problem


I think the best would be to use 3rd party cntrols like devexpress. They have rich skin support and skin editor

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜