Can I change the default modifier from Friend to Private in the Windows Forms designer in VS 2008?

When I develop a Windows Forms app in Visual Studio using C#, every control that I add to my form is by default marked as private, which is what I want.

When using VB.NET, every control is by default marked as Friend (the equivalent of internal in C#), which is not what I want.

Can I just change this default? It seems like surely it's a setting somewhere.


Annoying, isn't it.

What I usually do is when the form is stable, I replace Friend WithEvents to Private then add WithEvents to the controls that have Handles clauses.

Yes, you would think there was a setting, but I never found it.

This was suggested to Microsoft, but they chose not to fix it.

[Sorry, posting this as an answer because I don't have enough points to add comments.]

Need Your Help

jquery code with erratic behaviour

javascript jquery jsp jstl

In one of the pages of my web application, I have the follow code:

Understanding authentication in a Java Application Server

spring-security jboss7.x jaas shiro seam3

I'm currently working on a project running on JBoss AS 7 that requires authentication from a variety of sources. I'm trying to get an understanding of the various components that combine to provide