Hello Set your login form to .Hide(); after the thread and the form after to Show();
To end application set to .Exit() ( I thing) :) 2010/1/25 svanalyst svanalyst <[email protected]> > Hi guys, > > i am facing a very strange problem in my c# windows app, i implemented a > login security which is working fine, but the auto fill option for any of my > combo box does not seem to work, this is happening because i am opening > thread after successful login of user and to show the main page of my > application. > > I tried hiding the login form, even closing the login form (after the > authentication is successful), but, when i do close the login form, the > application itself is closed. > > Is there a way to implement login security by being in a single thread, if > successful, open another form without having to open a new thread (which i > was forced to). > > > any help would be appreciated. >
