13 references to App
PresentationFramework (13)
System\Windows\Window.cs (13)
2192
if (IsInsideApp && this ==
App
.MainWindow)
2194
App
.MainWindow = null;
3681
App
.WindowsInternal.Add(this);
3682
if (
App
.MainWindow == null)
3684
App
.MainWindow = this;
3689
App
.NonAppWindowsInternal.Add(this);
4537
App
.WindowsInternal.Remove(this);
4545
if (((
App
.Windows.Count == 0) && (
App
.ShutdownMode == ShutdownMode.OnLastWindowClose))
4546
|| ((
App
.MainWindow == this) && (
App
.ShutdownMode == ShutdownMode.OnMainWindowClose)))
4548
App
.CriticalShutdown(0);
4556
App
.NonAppWindowsInternal.Remove(this);