FYI. I have an application that was migrated to VS 2005 and now using a
pda/phone with windows mobile 5.0. The way the app functions is that there
is a main menu and other forms are opened depending on the user. This means
there may be 3 or 4 windows open. We have our own "x" exit buttons to close
the form and the app is designed to close them in order.

If you open the main menu, and then select a path so that there are 3 or 4
forms open and then open and close the slide out keyboard, it causes the
resize event to fire in all of the open forms and rearranges the order in
memory. Thus, when you close the form that has focus, you don't necessarily
go back to the form you are expecting to see.