Exemple #1
0
        private void extractAudioToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TreeNode node = this.tvSectors.SelectedNode;

            if (node != null && node.Parent.Name == "nodeDirectoryRecords")
            {
                DirectoryRecord dr = (DirectoryRecord)node.Tag;
                folderBrowserDialog1.SelectedPath = "C:\\Temp";
                if (folderBrowserDialog1.ShowDialog() == DialogResult.OK)
                {
                    discimg.ExtractAudio(dr, folderBrowserDialog1.SelectedPath);
                }
            }
        }