Ejemplo n.º 1
0
        public void GoToEntryWithId(Guid entryGuid)
        {
            LexEntry entry = _lexEntryRepository.GetLexEntryWithMatchingGuid(entryGuid);

            if (entry == null)
            {
                throw new NavigationException("Could not find the entry with guid " + entryGuid);
            }
            _recordsListBox.SelectedIndex = _records.FindFirstIndex(entry);
        }