private void GetSuggestionsButton_Click(object sender, EventArgs e)
        {
            //Ask for a directory
            string folderPath;

            using (FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog())
            {
                if (folderBrowserDialog.ShowDialog() == DialogResult.OK)
                {
                    folderPath = folderBrowserDialog.SelectedPath;
                }
                else
                {
                    return;
                }
            }
            DirectoryInfo    dir = new DirectoryInfo(folderPath);
            List <FileInfo>  imageFiles;
            var              imageList = getImagesFromDirectory(dir, out imageFiles);
            BrowseImagesForm imageForm = new BrowseImagesForm(imageList, imageFiles, true); //GetSuggestions also uses the BrowseImagesForm, with a different "suggest" argument

            imageForm.Show();
        }
        private void BrowseImagesButton_Click(object sender, EventArgs e)
        {
            //Ask for a directory
            string folderPath;

            using (FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog())
            {
                if (folderBrowserDialog.ShowDialog() == DialogResult.OK)
                {
                    folderPath = folderBrowserDialog.SelectedPath;
                }
                else
                {
                    return;
                }
            }
            DirectoryInfo    dir = new DirectoryInfo(folderPath);
            List <FileInfo>  imageFiles;
            var              imageList = getImagesFromDirectory(dir, out imageFiles);
            BrowseImagesForm imageForm = new BrowseImagesForm(imageList, imageFiles, false);

            imageForm.Show();
        }