Changes

Jump to: navigation, search

A Simple Visual Basic Example

160 bytes added, 18:34, 16 July 2007
Creating an Event
Having changed the name we can now add an event to the button. Double click on the ''Button'' in the Form to display the event code for the ''closeButton'' control. Visual Studio will display the following code:
 
<pre>
Private Sub closeButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles closeButton.Click
 
End Sub
</pre>

Navigation menu