示例#1
0
        private void extractVideoToolStripMenuItem_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.ExtractVideo(dr, folderBrowserDialog1.SelectedPath);
                }
            }
        }