private void extractFilesToolStripMenuItem_Click(object sender, EventArgs e) { if (DirTree.Selected == null) { return; } ExtractFiles.extract(DirTree.Selected.dirFullName); }
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); } }