Can I use the standard windows controls?

P

peetersb

Hello,

I've not much experience in C# for windows applications(java
programmer :)). But, I want to develop a windowsapplication in C#.
The layout of my application should be like this: http://www.bapetc.be/layout.pdf

Can I use standard button controls en just use the background images?
That's possinle I think, but what with the text and labels?
On top of the layout, this should be a dynamic label. So I can't use
fixed images for that.
What is the best way to implement this?

Thanks
 
N

Nicholas Paldino [.NET/C# MVP]

You could do this using Windows Forms controls, but you would have to
create a custom Button class which handles the custom painting of the
button.

To be honest, you REALLY should use Windows Presentation Foundation for
this, as it would be a VERY simple matter to define a template for the
buttons to make them rounded, as well as create some of the border elements.
All that and you wouldn't have to touch any code to change it!
 

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