Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I'm working with MDI in C# and I added my child form dynamically. I just want to ask if it's possible to activate inactive child form. I have multiple child forms in my application. Thank You. Looking forward for your response.
Posted

1 solution

 
Share this answer
 
v2
Comments
Member 10095043 10-Jul-13 5:20am    
Thank you for response, how if I will use it on a conditional statement I'm going to activate a child form using conditional statement. Thank You.
Johnny J. 10-Jul-13 5:45am    
I don't understand. What condition? Are you asking me how to write an "if" statement?
Member 10095043 10-Jul-13 6:08am    
No, I mean for example i have this situation
if (Cursor.Location.X > 0 && Cursor.Location.X < 200)
{
//Here's the logic that I want to activate an inactive child form.
}

Thank You.
Johnny J. 10-Jul-13 6:26am    
And what is the problem?
Member 10095043 10-Jul-13 6:37am    
and under my condition I don't know how to call an inactive child form. That's my problem Johnny.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900