Exemple #1
0
        private void buttonSelectFolder_Click(object sender, EventArgs e)
        {
            SearchOptionsDialog dialog = new SearchOptionsDialog();

            if (dialog.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
            {
                // Start background thread.
                searchBackgroundWorker.RunWorkerAsync(new object[] { dialog.SelectedExtensions, dialog.SelectedFolders, dialog.IncludeSubDirectories, _currentVersion });
            }

            UpdateUIState();
        }
Exemple #2
0
        private void buttonSelectFolder_Click(object sender, EventArgs e)
        {
            SearchOptionsDialog dialog = new SearchOptionsDialog();

            if (dialog.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
            {
                // Start background thread.
                searchBackgroundWorker.RunWorkerAsync(new object[] { dialog.SelectedExtensions, dialog.SelectedFolders, dialog.IncludeSubDirectories, _currentVersion });
            }

            UpdateUIState();
        }