WPF application still running in task manager even after I close out my application
Posted on 2010-01-07
I hava WPF application using C#. The application queries sql server database and it works fine. When I close out my main application interface window, when i look at the processes running in task manager it is still running even after i close my application.
To close my main interface window I have a button that when clicked calls the close method
private void button3_Click(object sender, RoutedEventArgs e)
So when I click the button the program closes but it is still running in task manager.
Does anyone know the way to close my application so it is not showing in the task manager after i close my program.