13 references to App
PresentationFramework (13)
src\Framework\System\Windows\Window.cs (13)
2239
if (IsInsideApp && this ==
App
.MainWindow)
2241
App
.MainWindow = null;
3760
App
.WindowsInternal.Add(this);
3761
if (
App
.MainWindow == null)
3763
App
.MainWindow = this;
3768
App
.NonAppWindowsInternal.Add(this);
4697
App
.WindowsInternal.Remove(this);
4705
if (((
App
.Windows.Count == 0) && (
App
.ShutdownMode == ShutdownMode.OnLastWindowClose))
4706
|| ((
App
.MainWindow == this) && (
App
.ShutdownMode == ShutdownMode.OnMainWindowClose)))
4708
App
.CriticalShutdown(0);
4716
App
.NonAppWindowsInternal.Remove(this);