Hello, I have got Window with modalWindow.
I face issue.
When I am opening the modal window and after clicking on iconApp on taskbar, modal window is disappears and I can't do anything with my app (only end app in task manager). See attached files
I created the mainWindow by this way.
in CS code I call method as
I created a modal window in exactly the same way.
and call following method
I'm doing something wrong or this is a bug?
I use the following code to show the icon in the system tray (taskbar).
Is there any best way?