Is there anything analogous to a style sheet for winforms?

  • Thread starter John Heitmuller.
  • Start date
J

John Heitmuller.

Hi, Is there anything analogous to a style sheet for winforms in
VisualStudio 2008? I am working on a large C# Windows forms project
after a few years of web development. I like the approach of
separating style from content and behavior. I have searched the
online help and web and have not found anything like a style sheet for
winforms in VisualStudio 2008. It seems like such a logical thing
that I feel like I’m just nothing using the right search terms or
thinking in the correct context. Does such a thing exist?

Thanks,
John
 
C

Cor Ligthert[MVP]

John,

A base form, you can inherit that and use it.

Beside that you can make usercontrols

Cor

Hi, Is there anything analogous to a style sheet for winforms in
VisualStudio 2008? I am working on a large C# Windows forms project
after a few years of web development. I like the approach of
separating style from content and behavior. I have searched the
online help and web and have not found anything like a style sheet for
winforms in VisualStudio 2008. It seems like such a logical thing
that I feel like I’m just nothing using the right search terms or
thinking in the correct context. Does such a thing exist?

Thanks,
John
 
P

Pavel Minaev

Hi,  Is there anything analogous to a style sheet for winforms in
VisualStudio 2008?  I am working on a large C# Windows forms project
after a few years of web development.  I like the approach of
separating style from content and behavior.  I have searched the
online help and web and have not found anything like a style sheet for
winforms in VisualStudio 2008.  It seems like such a logical thing
that I feel like I’m just nothing using the right search terms or
thinking in the correct context.  Does such a thing exist?

Not as such, and definitely not anything cascading. I guess it's
possible to write such a thing yourself, but I'm not aware of anyone
actually doing so.

WPF has something to that effect, though.
 
J

John Heitmuller.

Hi Pavel and John, Thanks for the responses. It helps to know I'm not
just overlooking something. I like John's base form idea. I think
that the best fit for me right now. WPF looks really interesting.
But, I've learned that I am the most productive when I work a step
back from the cutting edge.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top