13 references to App
PresentationFramework (13)
System\Windows\Window.cs (13)
2123
if (IsInsideApp && this ==
App
.MainWindow)
2125
App
.MainWindow = null;
3571
App
.WindowsInternal.Add(this);
3572
if (
App
.MainWindow == null)
3574
App
.MainWindow = this;
3579
App
.NonAppWindowsInternal.Add(this);
4438
App
.WindowsInternal.Remove(this);
4446
if (((
App
.Windows.Count == 0) && (
App
.ShutdownMode == ShutdownMode.OnLastWindowClose))
4447
|| ((
App
.MainWindow == this) && (
App
.ShutdownMode == ShutdownMode.OnMainWindowClose)))
4449
App
.CriticalShutdown(0);
4457
App
.NonAppWindowsInternal.Remove(this);