Just Drag a Tooltip from the toolbox on you windows form and write the following code in code behind file.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.MouseHover
ToolTip1.SetToolTip(Button1, "sometext")
End Sub
Charul Shukla
|