Login Form
From: Todd (anonymous_at_discussions.microsoft.com)
Date: 04/05/04
- Next message: R. Alexander: "Remove SIP from CF Toolbar"
- Previous message: Michael Howes: "What could cause my cursor not to change"
- In reply to: Mark G: "Login Form"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 5 Apr 2004 13:00:24 -0700
Gary's solution more accurately answers your direct
question, but I like to open the login form before
opening the Mdi parent. Hey, why should they see it if
they are not authenticated.
[STAThread]
static void Main()
{
if(Authenticate() == true)
{
MainForm frmMain = new MainForm();
Application.Run(frmMain);
}
}
In Authenticate() open your login form as a dialog an
pass back success or fail.
Todd
>-----Original Message-----
>Hi,
>
>I need to open a login form when an applicaton starts
(MDI form).
>How can i trap the moment when MDI parent form is on?
>
>Thanks ,
>Mark
>.
>
- Next message: R. Alexander: "Remove SIP from CF Toolbar"
- Previous message: Michael Howes: "What could cause my cursor not to change"
- In reply to: Mark G: "Login Form"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|