Just got a very mysterious error while coding a WPF-application in C#.
I've got an event in a custom User-Control, that shows a message box every time the text on a button is changed. When I edit the text on the button in XAML, the event fires - even without my application actually running.
When I tried to open a new WPF-window in the event, the app crashes with "Stackoverflow" - after that, VS (C# Express) crashed too and I wasn't able to open my project until I changed the event and deleted all content in my Debug and Release folders.
Why is this event triggered?