private void SaveConfig() { string err = SerializeXMLFile.Write(configPath, config); if (err != null) { throw new Exception(err); } }
private void LoadConfig() { string err = SerializeXMLFile.Read(configPath, ref config); if (err != null) { throw new Exception(err); } }