Пример #1
0
        private void testDirFilenameListToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (!SetOperationRunning())
            {
                return;
            }

            openArchiveDialog.Filter = "File containing filenames to test|*.txt";
            if (openArchiveDialog.ShowDialog() == DialogResult.OK)
            {
                // supposed to be small enough to avoid threading.
                long newlyFound = hashCreator.ParseDirFilenames(openArchiveDialog.FileName
                                                                , Path.GetDirectoryName(openArchiveDialog.FileName) + '/' + "dirnames.txt");
            }

            OperationFinished();
        }