13 references to App
PresentationFramework (13)
System\Windows\Window.cs (13)
2184
if (IsInsideApp && this ==
App
.MainWindow)
2186
App
.MainWindow = null;
3670
App
.WindowsInternal.Add(this);
3671
if (
App
.MainWindow == null)
3673
App
.MainWindow = this;
3678
App
.NonAppWindowsInternal.Add(this);
4523
App
.WindowsInternal.Remove(this);
4531
if (((
App
.Windows.Count == 0) && (
App
.ShutdownMode == ShutdownMode.OnLastWindowClose))
4532
|| ((
App
.MainWindow == this) && (
App
.ShutdownMode == ShutdownMode.OnMainWindowClose)))
4534
App
.CriticalShutdown(0);
4542
App
.NonAppWindowsInternal.Remove(this);