Ejemplo n.º 1
0
        private void testDirFilenameExtListToolStripMenuItem_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.ParseDirFilenamesExt(openArchiveDialog.FileName
                                                                   , Path.GetDirectoryName(openArchiveDialog.FileName) + '/' + "dirnames.txt"
                                                                   , Path.GetDirectoryName(openArchiveDialog.FileName) + '/' + "extnames.txt");
            }

            OperationFinished();
        }