Exemple #1
0
        private void ShowSelectedProfileInExplorer()
        {
            if (listProfiles.SelectedIndex < 0)
            {
                return;
            }

            ShowSelectedInExplorer.FileOrFolder(selectedConversionProfile.Filename);
        }
Exemple #2
0
        private void ShowSelectedMapInExplorer()
        {
            List <string> filenames = new List <string>(listFiles.SelectedIndices.Count);

            for (int i = 0; i < listFiles.SelectedIndices.Count; i++)
            {
                string filename = (listFiles.Items[i] as ListBoxFile).Filename;

                if (File.Exists(filename))
                {
                    filenames.Add(filename);
                }
            }

            ShowSelectedInExplorer.FilesOrFolders(filenames);
        }