예제 #1
0
        public void saveConfig()
        {
            var xmler = new XmlStorageHelper();

            lock (instance)
            {
                xmler.SaveToFile(this.Commandconfig, DefaultConfigXml);
            }
        }
예제 #2
0
        private WorkConfig()
        {
            var xmler = new XmlStorageHelper();

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