Results 1 to 1 of 1

Thread: Main Form Minimized after ShowDialog [RESOLVED]

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2004
    Location
    Edmonton, Alberta, Canada
    Posts
    3

    Resolved 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

    I was using the Dispose() instead of Close() in the Dialog form - all is better now.
    Last edited by scantech; Oct 17th, 2004 at 08:48 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width