public void saveConfig() { var xmler = new XmlStorageHelper(); lock (instance) { xmler.SaveToFile(this.Commandconfig, DefaultConfigXml); } }
private WorkConfig() { var xmler = new XmlStorageHelper(); if (!File.Exists(DefaultConfigXml)) { return; } xmler.LoadFromFile(this.Commandconfig, DefaultConfigXml); }