Example #1
0
 private void PerformClick(ItemClickReason reason)
 {
     using (Redrawer r = new Redrawer(CurrentList.HostBlock.Root))
     {
         CompletionListItem ActiveItem = GetActiveItem();
         HideList();
         if (ActiveItem != null && matchFound)
         {
             ActiveItem.Reason = reason;
             ActiveItem.Click(CurrentList);
             if (CurrentList != null)
             {
                 CurrentList.RaiseItemClicked(ActiveItem);
             }
         }
     }
 }
Example #2
0
 private void PerformClick(ItemClickReason reason)
 {
     using (Redrawer r = new Redrawer(CurrentList.HostBlock.Root))
     {
         CompletionListItem ActiveItem = GetActiveItem();
         HideList();
         if (ActiveItem != null && matchFound)
         {
             ActiveItem.Reason = reason;
             ActiveItem.Click(CurrentList);
             if (CurrentList != null)
             {
                 CurrentList.RaiseItemClicked(ActiveItem);
             }
         }
     }
 }