If you open this zip file
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\VisualBasic\Web\1033\WebForm.zip
in this file
Default.aspx.vb
you will see this code
Public Partial Class $classname$
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
End Sub
End Class
Thing is, if you manually remove the Page_Load in a project and re-add it from the dropdown menu in visual studio, it will now be
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
End Sub
so my question is, why this template set it to Protected and why IDE set it to Private?
Anyone know?