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