3 writes to Bottom
aspire-tray (3)
TrayApplication.Icons.cs (1)
270
var bounds = new NativeMethods.Rect { Right = _size,
Bottom
= _size };
TrayApplication.Settings.cs (1)
134
var rect = new NativeMethods.Rect { Left = x, Top = y, Right = x + width,
Bottom
= y + height };
TrayApplication.SettingsAppearance.cs (1)
117
return new() { Left = Scale(x), Top = Scale(y), Right = Scale(x + width),
Bottom
= Scale(y + height) };
47 references to Bottom
aspire-tray (47)
TrayApplication.NativeSmoke.cs (21)
182
NativeSmokeHarness.Require(bounds.Right > bounds.Left && bounds.
Bottom
> bounds.Top
184
&& bounds.Top >= monitor.Work.Top && bounds.
Bottom
<= monitor.Work.
Bottom
,
185
$"The tooltip must remain within the monitor work area. Tooltip: ({bounds.Left}, {bounds.Top})-({bounds.Right}, {bounds.
Bottom
}); work area: ({monitor.Work.Left}, {monitor.Work.Top})-({monitor.Work.Right}, {monitor.Work.
Bottom
}).");
498
NativeSmokeHarness.Require((!showDetails || statusBounds.
Bottom
< refreshBounds.Top)
499
&& (_settingsScrollMaximum > 0 || closeBounds.
Bottom
< windowBounds.
Bottom
),
501
NativeSmokeHarness.Require((!showDetails || _settingsControlBounds[_settingsRefresh].
Bottom
< _settingsGeneralBounds.
Bottom
)
502
&& _settingsControlBounds[_settingsVersion].
Bottom
< _settingsAboutBounds.
Bottom
503
&& _settingsGeneralBounds.
Bottom
< _settingsAboutBounds.Top,
509
&& _settingsControlBounds[_settingsLogo].
Bottom
< _settingsAboutBounds.
Bottom
,
528
var lines = (monitor.Work.
Bottom
- monitor.Work.Top) / SettingsRect(0, 0, 0, 8).
Bottom
+ 1;
532
NativeSmokeHarness.Require(window.Top >= monitor.Work.Top && window.
Bottom
<= monitor.Work.
Bottom
,
559
&& bounds.Top >= origin.Y && bounds.
Bottom
<= origin.Y + client.
Bottom
,
TrayApplication.Settings.cs (1)
137
rect.Left, rect.Top, rect.Right - rect.Left, rect.
Bottom
- rect.Top, dialog, id, _module, 0);
TrayApplication.SettingsAppearance.cs (20)
91
var frameHeight = window.
Bottom
- window.Top - client.
Bottom
;
92
var pageHeight = Math.Min(desired.
Bottom
, monitor.Work.
Bottom
- monitor.Work.Top - frameHeight);
93
_settingsScrollMaximum = Math.Max(0, desired.
Bottom
- pageHeight);
98
Maximum = desired.
Bottom
- 1, Page = (uint)pageHeight, Position = _settingsScrollPosition
106
var y = Math.Clamp(window.Top, monitor.Work.Top, Math.Max(monitor.Work.Top, monitor.Work.
Bottom
- height));
125
bounds.Right - bounds.Left, bounds.
Bottom
- bounds.Top, 0x4 | 0x10) != 0, "SetWindowPos(Settings control)");
140
SetSettingsScrollPosition(bounds.Top - SettingsRect(0, 0, 0, 8).
Bottom
);
142
else if (bounds.
Bottom
> _settingsScrollPosition + client.
Bottom
)
144
SetSettingsScrollPosition(bounds.
Bottom
- client.
Bottom
+ SettingsRect(0, 0, 0, 8).
Bottom
);
164
var line = SettingsRect(0, 0, 0, 8).
Bottom
;
173
var distance = lines == uint.MaxValue ? client.
Bottom
: checked((int)lines * line);
187
2 => _settingsScrollPosition - client.
Bottom
,
188
3 => _settingsScrollPosition + client.
Bottom
,
208
return checked((int)Math.Ceiling(rect.
Bottom
* 96d / units.
Bottom
)) + 2;
TrayApplication.Tooltips.cs (5)
111
var y = Math.Clamp(bounds.Top, monitor.Work.Top, Math.Max(monitor.Work.Top, monitor.Work.
Bottom
- (bounds.
Bottom
- bounds.Top)));
140
var y = last.
Bottom
+ gap;
141
if (y + height > monitor.Work.
Bottom
)
145
y = Math.Clamp(y, monitor.Work.Top, Math.Max(monitor.Work.Top, monitor.Work.
Bottom
- height));