TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Deepak Goyal
NA
64
0
Login form in winform
May 2 2010 9:51 AM
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 ?
Reply
Answers (
2
)
Can we keep a windows form on top of the screen when Maximizebox is false?
Treeview