Bunifu Flat Button: Selected 属性 问题(自己反选)
Bunifu Flat Button: Selected Property Problem (deselect itself)
当我点击按钮时,bt.selected = True 有效,但是当我移动鼠标光标时,按钮取消选择。我该怎么办?
我正在使用 Bunifu 1.5.3 和 Devexpress 框架
Private Sub btnNavi_Dashboard_Click(sender As Object, e As EventArgs) Handles btnNavi_Dashboard.Click, btnNavi_AddStudent.Click, btnNavi_Dept.Click, btnNavi_Sched.Click, btnNavi_StudentInfo.Click, btnNavi_ViewAcct.Click
Dim bt As BunifuFlatButton = DirectCast(sender, BunifuFlatButton)
bt.selected = True
End Sub
启用 IsTab 属性 为真
Private Sub btnNavi_Dashboard_Click(sender As Object, e As EventArgs) Handles btnNavi_Dashboard.Click, btnNavi_AddStudent.Click, btnNavi_Dept.Click, btnNavi_Sched.Click, btnNavi_StudentInfo.Click, btnNavi_ViewAcct.Click
Dim bt As BunifuFlatButton = DirectCast(sender, BunifuFlatButton)
bt.selected = True
bt.isTab= True
End Sub
当我点击按钮时,bt.selected = True 有效,但是当我移动鼠标光标时,按钮取消选择。我该怎么办?
我正在使用 Bunifu 1.5.3 和 Devexpress 框架
Private Sub btnNavi_Dashboard_Click(sender As Object, e As EventArgs) Handles btnNavi_Dashboard.Click, btnNavi_AddStudent.Click, btnNavi_Dept.Click, btnNavi_Sched.Click, btnNavi_StudentInfo.Click, btnNavi_ViewAcct.Click
Dim bt As BunifuFlatButton = DirectCast(sender, BunifuFlatButton)
bt.selected = True
End Sub
启用 IsTab 属性 为真
Private Sub btnNavi_Dashboard_Click(sender As Object, e As EventArgs) Handles btnNavi_Dashboard.Click, btnNavi_AddStudent.Click, btnNavi_Dept.Click, btnNavi_Sched.Click, btnNavi_StudentInfo.Click, btnNavi_ViewAcct.Click
Dim bt As BunifuFlatButton = DirectCast(sender, BunifuFlatButton)
bt.selected = True
bt.isTab= True
End Sub