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)
367
case NativeMethods.WmMenuRightButtonUp when _menuOpen &&
_modalDepth
== 0:
373
case NativeMethods.TrayCallback when !_menuOpen && !_quitRequested &&
_modalDepth
== 0:
411
if (smokeSeconds is not null &&
_modalDepth
!= 0)
415
if (_ready.Task.IsCompletedSuccessfully &&
_modalDepth
== 0)
442
if (
_modalDepth
!= 0)
TrayApplication.Menus.cs (1)
18
var retained = _menuOpen ||
_modalDepth
!= 0 || _dispatchDepth != 0;
TrayApplication.Settings.cs (1)
417
if (_quitRequested ||
_modalDepth
!= 0 || !localFocus || message.Id != NativeMethods.WmKeyDown || message.WParam != 0xBC
TrayApplication.Tooltips.cs (1)
25
var row = _menuOpen && !_quitRequested &&
_modalDepth
== 0 && _dispatchDepth == 0