Hi,
I need to implement a login form in win form application.
My scenario is :- Login form should open first--> with correct user name and password user should be able to login--> then another page should open and login page should get closed.
Problem is:- Since log in page is the first page and it need to get put in Main() function like below.
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new login());
}
After opening another form by formname.show() If I get exit from loginpage whole application will get exit.
Please how I can open another form without application exit and login form as my first form ?