I have an MDI application that I have set up with a starting window state of "Normal". When I open each new child form, it automagically opens in a cascading format. It ends up looking like this:
This is fine for a few times, but it keeps opening lower and lower even if:
you close one or all of the开发者_StackOverflow社区m
you move one or all of them
it runs way out of the visible space (forcing you to scroll or move it to see it).
It will eventually reset after 11 opened instances and start opening from the top like it did originally.
I can't figure out how to change that "11" number to ... maybe... "3". How do I do that? What is the name of this hidden property?
I fear it may be something I need .Net Reflector to even see... Is there a better way to solve this problem?
It looks like you need to do this manually by setting the StartPosition of you child forms to Manual and setting their Location properties appropriately before when they open: http://social.msdn.microsoft.com/Forums/en/winforms/thread/d9e0ff9f-52a0-4836-a718-2b73bdfb9cc6
精彩评论