private void processMenuButton() { bool menuButtonClick; if (device.Value.TryGetFeatureValue(CommonUsages.primaryButton, out menuButtonClick) && this.menuButtonClick != menuButtonClick) { this.menuButtonClick = menuButtonClick; if (onMenuClick != null) { onMenuClick.Invoke(menuButtonClick); } } }
public void ContactSelected() { CurrentPage = Enums.Views.Contact; OnMenuClick?.Invoke(this, CurrentPage); }
public void KataSelected() { CurrentPage = Enums.Views.Kata; OnMenuClick?.Invoke(this, CurrentPage); }
public void ProSelected() { CurrentPage = Enums.Views.Professional; OnMenuClick?.Invoke(this, CurrentPage); }
public void SkillsSelected() { CurrentPage = Enums.Views.Skills; OnMenuClick?.Invoke(this, CurrentPage); }
public void BioSelected() { CurrentPage = Enums.Views.Bio; OnMenuClick?.Invoke(this, CurrentPage); }