/// <summary> /// Updates the control that displays the status of the /// Alt key. /// </summary> public void UpdateAltStatus() { if (_statusBar != null && _statusBar.AltStatus != null) { String label = String.Empty; if (KeyStateTracker.IsStickyAltOn()) { label = "ALT LOCK"; } else if (KeyStateTracker.IsAltOn()) { label = "ALT"; } setText(_statusBar.AltStatus, label); } }