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
raja ramesh
NA
50
108.7k
Winform is closed but it is still running in the program list via Task Manager
Oct 11 2011 8:09 AM
Hi,
I have written a windows application and when I try to exit the program with the following code
private void KYRPlusRadForm_FormClosing(...)
{
var res1 = MessageBox.Show(this, "Are yor sure?", "Exit",
MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
if (res1 == DialogResult.No)
{
e.Cancel = true;
}
else
{
this.Dispose();
}
}
private void KYRPlusRadForm_FormClosed(object sender,
FormClosedEventArgs e)
{
Application.Exit();
}
the form is closed, but it is still running in the program list via Task Manager.
How do you close and exit a program perminantly in C#?
Reply
Answers (
3
)
How to hide the address bar and title bar in IE8 using script
How to write code for enter only digits in dropdownlist ?