Exemplo n.º 1
0
        private void ActivateSelectedItem()
        {
            var activeItem = listView.SelectedItems.Cast <ListViewItem>().FirstOrDefault();

            if (activeItem == null)
            {
                return;
            }
            var findResult = activeItem.Tag as FindResult;

            if (findResult == null)
            {
                return;
            }
            SkylineWindow.DisplayFindResult(listView, findResult);
        }