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