I am making a WPF Application with .NET Framework 2.0 and currently I am having trouble stopping the program, I try to do it like this
System.Threading.Thread.CurrentThread.Interrupt();
Application.ExitThread();
Application.Exit();
but after this code executes, I check the task manager, and there I see that my program is still running and do not have intentions of stopping any time soon...
How do I stop it completely?