The correct question would be: How to open only one instance of this window.
About the program is a WPF and the language is VB.NET Currently the following code does not serve me, because if the user clicks 10 times the button will open 10 windows taking into account that Window1 is my Window1.xaml
Dim newWindow As New Window1
newWindow.Show()
In Windows Forms it would just put direct window1.show without serimony, that if the form was already open it would come up and if the form was closed it would reopen, but no new windows, no longer WPF I can not get the same result