So Here is the thing i can open new windows in WPF but what i am trying to do is after opening a new window (lets call it window2) i want to be able to open another new window(window3)from window2 but when i put in the code it wont let me.
On my mainWindow:
var newWindow = new window2(); newWindow.ShowDialog(); but in window2 if i use the same code to open a new window:
var newWindow = new window3(); newWindow.ShowDialog(); it wont allow me to use Show() or ShowDialog().
So what i was wondering was can u open a 3rd window like this or is there something i am missing or is there something different i can do?
window2andwindow3.