예제 #1
0
        private void SaveConfig()
        {
            string err = SerializeXMLFile.Write(configPath, config);

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

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