Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 28th, 2007, 12:55 PM
Registered User
 
Join Date: Aug 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.







Similar Threads
Thread Thread Starter Forum Replies Last Post
MDI Screen Flicker when childforms swapped Nick.Net VB.NET 2002/2003 Basics 1 June 10th, 2007 08:34 PM
Controlling MDI child form from MDI parent panel LuxCoder Pro Visual Basic 2005 1 May 25th, 2007 12:20 PM
Controlling MDI child form from MDI parent panel LuxCoder VB.NET 2002/2003 Basics 7 April 11th, 2007 02:38 PM
Controlling MDI child form from MDI parent panel LuxCoder VB How-To 1 April 9th, 2007 03:25 PM
Controlling MDI child form from MDI parent panel LuxCoder Visual Basic 2005 Basics 2 April 9th, 2007 03:24 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.