我希望在关闭整个VS2010环境时,VS2010能够询问我是否确定关闭。
不幸的是,我无法在任何地方找到此设置。
有人知道吗?
我希望在关闭整个VS2010环境时,VS2010能够询问我是否确定关闭。
不幸的是,我无法在任何地方找到此设置。
有人知道吗?
Private Sub SolutionEvents_QueryCloseSolution(ByRef fCancel As Boolean) Handles SolutionEvents.QueryCloseSolution
If (MsgBox("Close the solution?", MsgBoxStyle.OkCancel) = MsgBoxResult.Cancel) Then fCancel = True
End Sub