Main Form Minimized after ShowDialog [RESOLVED]
I am writing an app in VB.Net CF that calls a Dialog form from the main form. The dialog returns some values that I need to continue with the program, therefore I have used the ShowDialog() to stop execution until the dialog form is closed.
After the dialog form is closed, I notice that the main form is minimized and I must click on it bring it to full screen.
I have attempted: Me.show, windowsstatemaximized, focus, and a few other ideas. None have worked.
If I use the me.Showdialog the program starts from the beginning again.
If I use the Show() command to bring up the dialog box, the program keeps running and I do not get the values entered in the dialog form I have made.
Any help is appreciated :confused:
I was using the Dispose() instead of Close() in the Dialog form - all is better now.:)