嘿,我在问如何在 vb.net 中制作无边框按钮我想要的按钮样式是我之前使用的一个类,但它不起作用
Public Class ButtonEx
Inherits Button
Private _ShouldShowFocus As Boolean = False
Public Property ShouldShowFocus() As Boolean
Get
Return _ShouldShowFocus
End Get
Set(ByVal value As Boolean)
_ShouldShowFocus = value
End Set
End Property
Protected Overrides ReadOnly Property ShowFocusCues() As Boolean
Get
Return _ShouldShowFocus
End Get
End Property
End Class