Two events with one button??? (urgent)
Posted on 2006-04-05
I need a button to handle two events, a click and mousehover.
I tried the following............
Private Sub btnShowLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnShowLogin.Click
Private Sub btnShowLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnShowLogin.MouseHover
.............but a blue line appears underneath btnShowLogin_Click with the following error: "Method 'btnShowLogin_Click' has multiple definitions with identical signatures"
How can a button have two events, i need the same button to respond to a click and mouse hover