示例#1
0
文件: frmMain.cs 项目: vidarw/RVWorld
        private void extractFilesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (DirTree.Selected == null)
            {
                return;
            }

            ExtractFiles.extract(DirTree.Selected.dirFullName);
        }
示例#2
0
        private void extractFilesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (DirTree.Selected == null)
            {
                return;
            }

            using (FolderBrowserDialog folderBrowserDialog1 = new FolderBrowserDialog())
            {
                DialogResult result = folderBrowserDialog1.ShowDialog();
                if (result != DialogResult.OK)
                {
                    return;
                }
                string outPath = folderBrowserDialog1.SelectedPath;

                ExtractFiles.extract(DirTree.Selected.TRow.dirFullName, outPath);
            }
        }