I created a new UI style like Visual Studios 2012 (the upper line with close button for example)
Now I try to close the application when I click on it (hovering works fine) but when I click on it the form closes, but the program doesn't stop debugging.
Is there any way I can make the program stop debugging?
Me.Close(), Application.Exit() and Application.ExitThread() does not work.