On HTC Touch Diamond, I entered a alpha letter rather than a numeric letter in a NumericTextBox and received the following exception:
System.FormatException was unhandled
Message="FormatException"
StackTrace:
at System.Number.ParseInt32()
at System.Int32.Parse()
at System.Int32.Parse()
at MyExperience.UI.Widgets.NumericTextBox.GetResponses()
at MyExperience.UI.QuestionPanel.get_ModifiedSinceLastSave()
at MyExperience.UI.SurveyPanel.get_ModifiedSinceLastSave()
at MyExperience.UI.SurveyForm.ShowNextPanel()
at MyExperience.UI.SurveyForm.OnNextPressed()
at System.Windows.Forms.MenuItem.OnClick()
at System.Windows.Forms.Menu.ProcessMnuProc()
at System.Windows.Forms.Form.WnProc()
at System.Windows.Forms.Control._InternalWnProc()
at Roam.UI.Utils.WindowUtils.CallWindowProc()
at Roam.UI.Utils.Hook.WndProc()
at Microsoft.AGL.Forms.EVL.EnterModalDialog()
at System.Windows.Forms.Form.ShowDialog()
at MyExperience.Actions.UIAction.ShowDialogCallback()
at System.Reflection.RuntimeMethodInfo.InternalInvoke()
at System.Reflection.RuntimeMethodInfo.InternalInvoke()
at System.Reflection.RuntimeMethodInfo.Invoke()
at System.Reflection.MethodBase.Invoke()
at TASK.Invoke()
at System.Windows.Forms.Control._InvokeAll()
at System.Windows.Forms.Control.WnProc()
at System.Windows.Forms.ContainerControl.WnProc()
at System.Windows.Forms.Form.WnProc()
at System.Windows.Forms.Control._InternalWnProc()
at Microsoft.AGL.Forms.EVL.EnterMainLoop()
at System.Windows.Forms.Application.Run()
at MyExperience.Application.Program.Main()
InnerException:
The exception occurred here:
return new ComparableResponse[] { new ComparableResponse(int.Parse(this.Text)) };
in NumericTextBox.cs