散分了 !!!vb.net 如何屏蔽 窗体的Alt+F4 使其不能关闭窗体退出程序?
vb.net 如何屏蔽 窗体的Alt+F4 使其不能关闭窗体退出程序?
[解决办法]
飘过~~接分~~`
[解决办法]
Protected Overrides Function ProcessCmdKey(ByRef msg As Message, ByVal keyData As Keys) As Boolean
If keyData = (Keys.Alt Or Keys.F4) Then
Return True
Else
Return MyBase.ProcessCmdKey(msg, keyData)
End If
End Function