コード例 #1
0
 private void OpenFile()
 {
     if (m_searchResultsListBox.SelectedItem != null)
     {
         ListBoxFileItem fileItem = (ListBoxFileItem)m_searchResultsListBox.SelectedItem;
         OpenFileCommand.Execute(fileItem.File, m_connection);
     }
 }
コード例 #2
0
 private void OpenFile()
 {
     Vault.Currency.Entities.FileIteration file = m_model.SelectedContent.FirstOrDefault() as Vault.Currency.Entities.FileIteration;
     if (file != null)
     {
         OpenFileCommand.Execute(file, m_conn);
     }
 }