I am developing a Windows Mobile 5.0 application using VB.NET in VS2005.
I have an issue with dialogs. I have an inital form (InvocieEntryForm) and from it I show a dialog form to select a product (ProductSelectForm).
When I return from the dialog, the ProductSelectForm is not visible. WHat is visible is the parent of the ProductSelectForm. It does not appear that the ProductSelectForm is really being closed as the 'Closing' and 'Closed' events are not fired.
SHown below id how I call the dialog. Its nothing special.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLookup.Click
Dim p As New ProductSelectForm()
If (p.ShowDialog() = Windows.Forms.DialogResult.OK) Then
tbUPC.Text = p.prod.GetUPC()