G
Guest
I have a C# Windows Application and the solution in VS 2005 contains 2
projects. The first project handles the login and password changes and the
second project contains the main application. When a successful login occurs
I open the main application window, but when I close the login window the
entire application closes. With this happening when the user closes the main
application window the login window is still open, or hidden, and the
application doesn't close.
Here's what I'm trying to do. ( right now instead of using this.Close() I'm
using this.Hide() to get the login form out of the way without closing the
application )
// We have a successful Login
this.Close();
// open the main form
PhoneLog.PhoneLog form = new PhoneLog.PhoneLog();
form.Show();
Thanks!
projects. The first project handles the login and password changes and the
second project contains the main application. When a successful login occurs
I open the main application window, but when I close the login window the
entire application closes. With this happening when the user closes the main
application window the login window is still open, or hidden, and the
application doesn't close.
Here's what I'm trying to do. ( right now instead of using this.Close() I'm
using this.Hide() to get the login form out of the way without closing the
application )
// We have a successful Login
this.Close();
// open the main form
PhoneLog.PhoneLog form = new PhoneLog.PhoneLog();
form.Show();
Thanks!