private void BrowseCommandTempDirImp()
        {
            var folderDialog = new VistaFolderBrowserDialog();

            string startDir = InitialDirFinder.FindStartingDirectoryBasedOnInput(UserSettingsData.TempDirectory);

            if (Directory.Exists(startDir))
            {
                folderDialog.SelectedPath = startDir;
            }

            if (folderDialog.ShowDialog() == true)
            {
                UserSettingsData.TempDirectory = folderDialog.SelectedPath;
            }
        }
        private void BrowseCommandImp()
        {
            var folderDialog = new VistaFolderBrowserDialog();

            string startDir = InitialDirFinder.FindStartingDirectoryBasedOnInput(WindowState.ProcessingDirectory);

            if (Directory.Exists(startDir))
            {
                folderDialog.SelectedPath = startDir;
            }

            if (folderDialog.ShowDialog() == true)
            {
                WindowState.ProcessingDirectory = folderDialog.SelectedPath;
            }
        }
        private void BrowseCommandFileOptimizerImp()
        {
            var fileDialog = new OpenFileDialog()
            {
                Filter = "FileOptimizer (FileOptimizer.exe,FileOptimizer64.exe)|FileOptimizer.exe;FileOptimizer64.exe|All files (*.*)|*.*"
            };

            string startDir = InitialDirFinder.FindStartingDirectoryBasedOnInput(UserSettingsData.FileOptimizerPath);

            if (Directory.Exists(startDir))
            {
                fileDialog.InitialDirectory = startDir;
            }

            if (fileDialog.ShowDialog() == true)
            {
                UserSettingsData.FileOptimizerPath = fileDialog.FileName;
            }
        }