You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Excuse my ignorance, but what is the purpose of creating a new Frame() in case _shell might be null? Both, setting the content to new Frame() or Window.Content = null will show an empty window (probably not really a desirable case 😂) therefor checking if the content of the window is null seems redundant and unnecessary.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
TemplateStudio/code/TemplateStudioForWinUICs/Templates/_comp/MT/Project.MenuBar/Services/ActivationService_postaction.cs
Lines 1 to 7 in 559e7fd
Excuse my ignorance, but what is the purpose of creating a
new Frame()
in case_shell
might be null? Both, setting the content tonew Frame()
orWindow.Content = null
will show an empty window (probably not really a desirable case 😂) therefor checking if the content of the window is null seems redundant and unnecessary.Beta Was this translation helpful? Give feedback.
All reactions