Пример #1
0
        public void saveConfig()
        {
            //lock (Commandconfig)
            //{
            XmlStorageHelper xmler = new XmlStorageHelper();

            xmler.SaveToFile(Commandconfig, DefaultConfigXml);
            //}
        }
Пример #2
0
        private WorkConfig()
        {
            XmlStorageHelper xmler = new XmlStorageHelper();

            if (!File.Exists(DefaultConfigXml))
            {
                return;
            }
            xmler.LoadFromFile(Commandconfig, DefaultConfigXml);
        }