Hello.
I am having problems with a Case statement, and my application does not stop with the following code:
Is it that I only can have a single statement in every Case ?
I am having problems with a Case statement, and my application does not stop with the following code:
VB.NET:
Try
...
Catch ex As Exception
Select Case MsgBox("message", MsgBoxStyle.YesNoCancel, "caption")
Case MsgBoxResult.Yes
MessageBox.Show("message yes", "caption") : Application.Exit()
Case MsgBoxResult.Cancel : Application.Exit()
Case MsgBoxResult.No : Exit Select
End Select
End Try
Is it that I only can have a single statement in every Case ?