13 references to App
PresentationFramework (13)
System\Windows\Window.cs (13)
2185
if (IsInsideApp && this ==
App
.MainWindow)
2187
App
.MainWindow = null;
3671
App
.WindowsInternal.Add(this);
3672
if (
App
.MainWindow == null)
3674
App
.MainWindow = this;
3679
App
.NonAppWindowsInternal.Add(this);
4524
App
.WindowsInternal.Remove(this);
4532
if (((
App
.Windows.Count == 0) && (
App
.ShutdownMode == ShutdownMode.OnLastWindowClose))
4533
|| ((
App
.MainWindow == this) && (
App
.ShutdownMode == ShutdownMode.OnMainWindowClose)))
4535
App
.CriticalShutdown(0);
4543
App
.NonAppWindowsInternal.Remove(this);