on successful login, close login screen and activate MDI screen
-
when login credential are succesfull i want to show mdi form and close login screen. in VB.net i have done it simply as below and is working fine: Me.Dispose() Me.Close() AttendanceMDI.ShowDialog() in c# i did it like this.Dispose(); this.Close(); AttendanceMDI.ShowDialog(); but it closes the application plz help....
-
when login credential are succesfull i want to show mdi form and close login screen. in VB.net i have done it simply as below and is working fine: Me.Dispose() Me.Close() AttendanceMDI.ShowDialog() in c# i did it like this.Dispose(); this.Close(); AttendanceMDI.ShowDialog(); but it closes the application plz help....
-
when login credential are succesfull i want to show mdi form and close login screen. in VB.net i have done it simply as below and is working fine: Me.Dispose() Me.Close() AttendanceMDI.ShowDialog() in c# i did it like this.Dispose(); this.Close(); AttendanceMDI.ShowDialog(); but it closes the application plz help....
The login form should NOT be your startup form. The MDIParent form should be the startup and if it finds that the user needs to login, it shows your login dialog.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009...