Sub Activity_KeyPress (KeyCode As Int) As Boolean
If KeyCode = KeyCodes.KEYCODE_BACK Then
If pnlHelp.Visible = True Then
pnlHelp.Visible=False
Return True
End If
Else
If Msgbox2("Exit Program?", "EXIT", "Yes", "", "No", Null) =DialogResponse.POSITIVE Then
activity.finish
End If
End If
End Sub