Hi!
I have a main window that has a button. When the button is click, it will open another wpf window called w2. If I close w2, the next time I click the button I get an error message basically saying that the window was closed and cannot be reused.
How can I make sure that a new wpf window is created everytime the button is clicked?
Note: I am using visual studio to create the window.
Thanks