mdi form check to see if childforms are open
Hi all,
I'm new to c# and am currently working on a project containing mdi forms.
This is how the project is laid 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 text boxes, grid, combo box, 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 onto the question. What is the cleanest possible way to check to see if a childform is open or not and if it is refresh it or bring it into focus?
Thanks in advance
Take care all.
|