CmisSync.TransmissionWPF.ListViewItem_OpenFileLocation C# (CSharp) Method

ListViewItem_OpenFileLocation() private method

private ListViewItem_OpenFileLocation ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void
        private void ListViewItem_OpenFileLocation(object sender, RoutedEventArgs e) {
            foreach (object item in ListView.SelectedItems) {
                var transmission = item as Transmission;
                try {
                    if (System.IO.File.Exists(transmission.Path)) {
                        Process.Start("explorer.exe", "/select,\"" + transmission.Path + "\"");
                    }
                } catch (Exception) {
                }
            }
        }
    }