UserControl button not behaving as a button in a Windows Form
Greetings Earthlings,
I have created a button in a UserControl. I have added that button to a WindowsForm in another app and added a buttonclick event to the code. When running (debugging) the app and clicking on the button; nothing happens. It doesn't act like a button at all.
The code for the button click event in my test app is as follows:
[code]Private Sub Element1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Element1.Click
MsgBox("The button has been clicked")
End Sub[/code]