1、在其KeyDown事件添加:
If e.KeyValue = 27 Then
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.Sizable
End If
1、在其KeyDown事件添加:
If e.KeyValue = 27 Then
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.Sizable
End If
转载于:https://www.cnblogs.com/jhc-blog/p/5841544.html