Stuck on ShowDialog

I'm getting some strange behavior in a program that I'm developing. When I call a .ShowDialog() on one of the windows that I have as a child window it will frequently (about 1/3 of the time) get stuck somewhere between the .ShowDialog() call and the Load() for the form. What is going on between those two points and what can I do to fix my code so it stops doing this?
Thanks,
Jebrew
[407 byte] By [Jebrew] at [2007-12-24]
# 1
Be a little more specific about what your code is doing. Are you passing in parameters to the form, do you have any loops that are possibly infinite loops. What is in your constructor? Use a breakpoint on the .ShowDialog() and hit F11 to see what is happening.
ryan031581 at 2007-10-8 > top of Msdn Tech,Visual C#,Visual C# General...
# 2

Show your code where you are calling ShowDialog() and show the constructor of the form on which you calling it and Make sure you are not doing a long process in Load, In last are you disposing form on which you called ShowDialog?

Make sure these things and I hope your problem will be solved.

Best Regards,

RizwanSharp at 2007-10-8 > top of Msdn Tech,Visual C#,Visual C# General...