Administrator

Administrator

  • Tech Writer
  • 2.2k
  • 1.5m

MDI Main form opening a Modal login window

Mar 28 2003 6:55 AM
Hi all, This problem has been driving me crazy for ages now and I am not getting any further with it. Any help would be appreciated. Here goes: I have a MDI main form from which I want to open a modal dialogue for a login. from the MDI Constructor I open my login window: if (Login.ShowDialogue() == DialogueResult.OK) //do something The problem I am having is that because the modal login form is being called from the constructor of the MDI Form, the modal login form is showing before the MDI Form. What I actually want to happen is display the MDI form then the modal login. Thanks in advance, Pete.

Answers (1)