VB.NET中Form窗体运行时,按ESC退出全屏状态
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