views:

44

answers:

1

I've been working on this app for the last few days and suddenly this super weird problem starting happening where 2 of my primary windows starting spawning during run time. I've searched for 3 hours and can't find where or why this is happening. If you want to show a stranger some love, can you help me find why this is happening?

My project is located here (requires .NET 4):

http://www.kirkouimet.com/files/development/Listen.zip

+2  A: 

In App.xaml you have StartupUri="MainWindow.xaml" and in App.xaml.cs you have MainWindow = new MainWindow() and then MainWindow.Show(). Just remove the one in App.xaml and you're good to go.

Franci Penov
I love you.Any comments on my code structure and how I can improve it?
Kirk
Sorry, I have not looked at your code in details, so I can't comment on it. I focused only on figuring out the actual problem.
Franci Penov
No prob. Thanks again!
Kirk