Exemplo n.º 1
0
        private void SaveConfig()
        {
            string err = SerializeXMLFile.Write(configPath, config);

            if (err != null)
            {
                throw new Exception(err);
            }
        }
Exemplo n.º 2
0
        private void LoadConfig()
        {
            string err = SerializeXMLFile.Read(configPath, ref config);

            if (err != null)
            {
                throw new Exception(err);
            }
        }