Show startup window while the main window loads
I have the below code. The GetMode
method performs some operations that take some time to complete, for this reason, I want the startup window to show up and display a message and an animation while the main window loads inside the GetMode
method. The startup window shows up but does not show any content, it stays blank and waits until the GetMode
finishes, shows the content for an instant, closes immediately and the main window shows up.
Show startup window while the main window loads in WInUI3
I have the below code. The GetMode
method performs some operations that take some time to complete, for this reason, I want the startup window to show up and display a message and an animation while the main window loads inside the GetMode
method.