I have 3 windows. Window1 opens Window2 in a new thread. It's just a window that says 'Loading'. Window1 also opens Window3. When Window3's ContentRendered fires I want to close Window2.
I have tried numerous things. Why is this so difficult? Maybe it isn't and I am just making it this difficult.
For Each Window In Application.Current.Windows
If Window = "Window2" Then
That, of course, fails. Can someone please tell me how to do this? It's driving me crazy. Thanks for any help on this.