13 references to App
PresentationFramework (13)
System\Windows\Window.cs (13)
2184
if (IsInsideApp && this ==
App
.MainWindow)
2186
App
.MainWindow = null;
3667
App
.WindowsInternal.Add(this);
3668
if (
App
.MainWindow == null)
3670
App
.MainWindow = this;
3675
App
.NonAppWindowsInternal.Add(this);
4517
App
.WindowsInternal.Remove(this);
4525
if (((
App
.Windows.Count == 0) && (
App
.ShutdownMode == ShutdownMode.OnLastWindowClose))
4526
|| ((
App
.MainWindow == this) && (
App
.ShutdownMode == ShutdownMode.OnMainWindowClose)))
4528
App
.CriticalShutdown(0);
4536
App
.NonAppWindowsInternal.Remove(this);