예제 #1
0
        private void UpdateSelection(InfoCoinElement infoCoinElement)
        {
            DeselectActiveElement();

            infoCoinElement.Select();
            _lastSelectedElement = infoCoinElement;
        }
예제 #2
0
 private void DeselectActiveElement()
 {
     if (_lastSelectedElement != null)
     {
         _lastSelectedElement.Deselect();
     }
     _lastSelectedElement = null;
 }
예제 #3
0
        private bool IsInfoCoinHasName(InfoCoinElement infoCoinElement)
        {
            var hasSponsorData = false;

            foreach (var sponsorModel in _sponsorWithNameList)
            {
                if (sponsorModel.Id.Equals(infoCoinElement.SponsorId))
                {
                    hasSponsorData = true;
                    break;
                }
            }

            return(hasSponsorData);
        }