13 references to App
PresentationFramework (13)
System\Windows\Window.cs (13)
2211
if (IsInsideApp && this ==
App
.MainWindow)
2213
App
.MainWindow = null;
3702
App
.WindowsInternal.Add(this);
3703
if (
App
.MainWindow == null)
3705
App
.MainWindow = this;
3710
App
.NonAppWindowsInternal.Add(this);
4556
App
.WindowsInternal.Remove(this);
4564
if (((
App
.Windows.Count == 0) && (
App
.ShutdownMode == ShutdownMode.OnLastWindowClose))
4565
|| ((
App
.MainWindow == this) && (
App
.ShutdownMode == ShutdownMode.OnMainWindowClose)))
4567
App
.CriticalShutdown(0);
4575
App
.NonAppWindowsInternal.Remove(this);