Just curious.
In VB, if I, from design-mode in vs2005, double-click a button (or any
other control), the code-behind file opens and the default declaration
is automatically inserted with method visibility Protected:
Protected Sub btn_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles btn.Click
End Sub
However, if I, manually switch to the code-behind file, select the
control (btn) and select the Click event from the declaration drop
down list I get the same sub but with visibility Private:
Private Sub btn_Click(ByVal sender As Object, _
ByVal e As System.EventArgs) _
Handles btn.Click
End Sub
Why the difference? And should I care?
Morten