Exemplo n.º 1
0
        private void fixDatsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (DirTree.Selected == null)
            {
                return;
            }

            FixDatList.extract(DirTree.Selected.dirFullName);
        }
Exemplo n.º 2
0
        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);
            }
        }