views:

243

answers:

4

When creating a combobox on the design surface of a VB.NET app in VS 2008 it is white and when creating it in C# it is gray.

How do I create a combobox in C# that looks just like the VB.NET one? (Style wise)

alt text

A: 

Can you not change the style of the control?

Burt
A: 

Have you been using any custom controls? If you mouse over the Toolbox entry before you drag the control to the form, does the tooltip in both cases say "Version 2.0.0.0 from Microsoft Corporation .NET component"?

CodeByMoonlight
Tony
A: 

You should check the all the properties of both forms and both comboboxes to make sure they are the same. For example, it appears that your C# form has a different background color than the VB form.

xpda