Hi,
We've got the following code in the application's App class's constructor (the fact that we're doing this in the App class appears to be related to the issue):
In the LoginWindow, there's a button whose Click handler ends with a call to Close(). The "Try and do something" code tries something that may possibly throw an Exception. If it does, then allGood stays false and the loop happens again. If it doesn't throw an exception, allGood is set to true and the job ends.
The problem is this - the first call to ShowDialog works fine. The second call does nothing.
Any idea what we're doing wrong here?
Thanks,
yonadav