public void ReadBases() { var ofd = new OpenFileDialog(); DialogResult res = ofd.ShowDialog(); if (res == DialogResult.OK) { LGameBases = VCBTool.ReadBasesFromVCB(ofd.FileName); } }
public void SaveBasesToFile() { if (LGameBases.Count < 1) { throw new GameBaseException("You need to add Bases first!"); } if (GameConsole == GameConsoles.GCN) { GameConsole = GameConsoles.WII; } VCBTool.ExportFile(LGameBases, GameConsole, @"config"); }