标签:des style blog color os for
‘set the control can display the focus status Protected Overrides Sub OnGotFocus(ByVal e As System.EventArgs) MyBase.OnGotFocus(e) Me.BorderStyle = Windows.Forms.BorderStyle.FixedSingle End Sub Protected Overrides Sub OnLostFocus(ByVal e As System.EventArgs) MyBase.OnLostFocus(e) Me.BorderStyle = Windows.Forms.BorderStyle.None End Sub
让UserControl能显示焦点状态,布布扣,bubuko.com
标签:des style blog color os for
原文地址:http://www.cnblogs.com/tylertang/p/3860070.html