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
Neven Draskovic
NA
117
140k
Application closing problem
Dec 29 2011 10:53 AM
Hey
I have an application that uses multiple forms, and I encountered a problem when closing one of the forms. This is the problem - the form that was created as Form1 is no longer the "main" form in the application, I added another that calls it. I changed the appropriate code in the Program.cs so that the other form (lets call it Form2) is the first one displayed, and user can call any other from it (there is a total of 5 forms in the application). And of course, when I close Form2, the entire application closes with it - this is fine. But, when I close the Form1, it also closes all other forms, and it shouldn't, it should only close itself and leave Form2 displayed and available for usage. How can I fix this problem?
Thanks
Reply
Answers (
6
)
Windows services in C# .net
How to create splesh screen