Exemple #1
0
        private void savePccToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (pcc == null)
            {
                return;
            }
            SaveFileDialog d = new SaveFileDialog();

            d.Filter = "*.pcc|*.pcc";
            if (d.ShowDialog() == DialogResult.OK)
            {
                pcc.SaveToFile(d.FileName);
                MessageBox.Show("Done");
            }
        }
Exemple #2
0
        private void savePccToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (pcc == null)
            {
                return;
            }
            SaveFileDialog d = new SaveFileDialog();

            d.Filter = "*.pcc|*.pcc";
            if (d.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                pcc.SaveToFile(d.FileName);
                //if (MessageBox.Show("Do you want to update TOC.bin?", "ME3Explorer", MessageBoxButtons.YesNo) == DialogResult.Yes)
                //{
                //    TOCUpdater.TOCUpdater tc = new TOCUpdater.TOCUpdater();
                //    tc.MdiParent = this.ParentForm;
                //    tc.Show();
                //    tc.EasyUpdate();
                //    tc.Close();
                //}
            }
        }