13 references to App
PresentationFramework (13)
System\Windows\Window.cs (13)
2178
if (IsInsideApp && this ==
App
.MainWindow)
2180
App
.MainWindow = null;
3661
App
.WindowsInternal.Add(this);
3662
if (
App
.MainWindow == null)
3664
App
.MainWindow = this;
3669
App
.NonAppWindowsInternal.Add(this);
4511
App
.WindowsInternal.Remove(this);
4519
if (((
App
.Windows.Count == 0) && (
App
.ShutdownMode == ShutdownMode.OnLastWindowClose))
4520
|| ((
App
.MainWindow == this) && (
App
.ShutdownMode == ShutdownMode.OnMainWindowClose)))
4522
App
.CriticalShutdown(0);
4530
App
.NonAppWindowsInternal.Remove(this);