6 writes to _modalDepth
aspire-tray (6)
TrayApplication.Actions.cs (4)
153_modalDepth++; 170_modalDepth--; 180_modalDepth++; 194_modalDepth--;
TrayApplication.StopConfirmation.cs (2)
25_modalDepth++; 58_modalDepth--;
8 references to _modalDepth
aspire-tray (8)
TrayApplication.cs (5)
367case NativeMethods.WmMenuRightButtonUp when _menuOpen && _modalDepth == 0: 373case NativeMethods.TrayCallback when !_menuOpen && !_quitRequested && _modalDepth == 0: 411if (smokeSeconds is not null && _modalDepth != 0) 415if (_ready.Task.IsCompletedSuccessfully && _modalDepth == 0) 442if (_modalDepth != 0)
TrayApplication.Menus.cs (1)
18var retained = _menuOpen || _modalDepth != 0 || _dispatchDepth != 0;
TrayApplication.Settings.cs (1)
417if (_quitRequested || _modalDepth != 0 || !localFocus || message.Id != NativeMethods.WmKeyDown || message.WParam != 0xBC
TrayApplication.Tooltips.cs (1)
25var row = _menuOpen && !_quitRequested && _modalDepth == 0 && _dispatchDepth == 0