Old Value
When you click to close button on top of the designer tabs , you actually closing/hiding them , not deleting
This is a feature of SDStudio , so when you have a lot of windows in the designer ,you can close unused or finished windows
and focus on the ones you are working on easily
When you close a window in the designer ,you can re-open it by double clicking to window name in the peoject pane
As you can see in your screenshot ,you have created
[Window1,Window2,Window3,Window4,Window5,Window6] and you have closed [Window1,Window2,Window3,Window4,Window6]
If you double click to Window1 in left project pane then ,you will see Window1 will come back
In order to delete a window you should use Windows tab in the Ribbon bar and Click to Delete button
Window:ShowWindow is used to show or hide an existing window, so window must be created before calling this function
To Create a window , you should use Window:CreateModal() to create a modal dialog ,and Window:CreateModeless() to create a gereric popup window (modeless), Note : the window you will create can not be a child window
You can also use Window:CreateChild() to create a child window which you designed in designer as the child of (same as controls) another top level window
A sample project will be provided for this in near future , to show how to create an manage windows in SDStudio
This is a feature of SDStudio , so when you have a lot of windows in the designer ,you can close unused or finished windows
and focus on the ones you are working on easily
When you close a window in the designer ,you can re-open it by double clicking to window name in the peoject pane
As you can see in your screenshot ,you have created
[Window1,Window2,Window3,Window4,Window5,Window6] and you have closed [Window1,Window2,Window3,Window4,Window6]
If you double click to Window1 in left project pane then ,you will see Window1 will come back
In order to delete a window you should use Windows tab in the Ribbon bar and Click to Delete button
Window:ShowWindow is used to show or hide an existing window, so window must be created before calling this function
To Create a window , you should use Window:CreateModal() to create a modal dialog ,and Window:CreateModeless() to create a gereric popup window (modeless), Note : the window you will create can not be a child window
You can also use Window:CreateChild() to create a child window which you designed in designer as the child of (same as controls) another top level window
A sample project will be provided for this in near future , to show how to create an manage windows in SDStudio