コード例 #1
0
 private void OnSelectFileResultClicked()
 {
     try
     {
         var demos = new HashSet <DemoInfo>();
         var items = _fileResultsListView.SelectedItems;
         foreach (var item in items)
         {
             var listViewItem = item as ListViewItem;
             var displayInfo  = listViewItem.Content as SearchResultFileDisplayInfo;
             demos.Add(displayInfo.Demo);
         }
         _app.SelectDemos(demos);
     }
     catch (Exception)
     {
     }
 }