Hi all...........

i want to use CSS with c# windows appliction control for standard design. But i could not use it. i do not know, how i can link a cssClass for a control such as button, label.

Friends plz give solution with a example.

Fahad

You can also google for skinning / thememing components, they often allow you to design a "look" for your app and some are even free.

CSS is only in asp.net, well web-based, but you know what i mean

If you want the same look and feel for everything, use inheritance for all your custom controls and use those in your application

If you are really into using css, here's a pseudo-css for winforms
http://www.codeproject.com/KB/miscctrl/StylesSheetManager.aspx

could you give an example how can i use inheritance for that? Implementing it for each individual control may be harder than setting properties for them individually.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.