private void fixDatsToolStripMenuItem_Click(object sender, EventArgs e) { if (DirTree.Selected == null) { return; } FixDatList.extract(DirTree.Selected.dirFullName); }
private void fixDatsToolStripMenuItem_Click(object sender, EventArgs e) { if (DirTree.Selected == null) { return; } using (SaveFileDialog openFileDialog = new SaveFileDialog()) { openFileDialog.Filter = "Dat File (*.Dat)|*.DAT"; openFileDialog.ShowDialog(); string outPath = openFileDialog.FileName; if (string.IsNullOrWhiteSpace(outPath)) { return; } FixDatList.extract(DirTree.Selected.TRow.dirFullName, outPath); } }