Results 1 to 6 of 6

Thread: MDI app (keep track of opening/closing forms)

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2007
    Posts
    21

    MDI app (keep track of opening/closing forms)

    Hi all,

    I'm fairly new to c# and have currently been working on a project containing mdi forms.
    This is how the project is layed out.
    Parent form is called Street_Index. This contains a menu strip which can open 2 different forms.
    * Street_Search
    * Office_Search

    Within the Street_search form there is a button that i click that returns the results in another form called Search_Results.
    Search Results contains a grid and on double clicking the column of the grid it returns the results of that row back to Street_Search form which displays them in textboxes, grid, combobox, etc..

    Within the Office_Search form there is also a button that opens the Search_Results form and then from there you can double click on the grid within Search_Results and open up Street_Search form which will display the results as previous.


    Now on to the question. What is the cleanest possible way to check to see if a childform is open or not and if it is bring it into focus/refresh it?

    Thanks in advance
    Take care all.
    Last edited by RiverX; Aug 29th, 2007 at 09:11 AM.

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