你可以在窗体上加上一个Panel1,并将它的Visible属性设置为False,背景色设置成Info,然后在上面放四个按钮
然后加入一个LinkLabel1
加入下面代码
Public Class Form1
Private Sub LinkLabel1_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles LinkLabel1.MouseHover
;Panel1.Visible = True
;Panel1.Left = LinkLabel1.Left
;Panel1.Top = LinkLabel1.Top + LinkLabel1.Height
End Sub
Private Sub Form1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseMove
;Panel1.Visible = False
End Sub
End Class