c# .net forms controls help

Soldato
Joined
18 Oct 2002
Posts
7,139
Location
Ironing
2 questions:

1) How do I get a textbox to select it's containing text when it becomes active?

2) why, when I've applied a theme to windows to make my widgets look like:



do my .net buttons look like:



?
 
I've put Application.EnableVisualStyles(); in the main form before Application.Run();, but it's still looking exactly as it was before. I don't know if it makes a difference that the form with the buttons on is a different one to the startup form?
 
Back
Top Bottom