/// <summary> ///还原成系统预设参数 /// </summary> public static void RestoreDefault() { SystemConfig.CurrentConfig = new SystemConfig(); WriteSettings(SystemConfig.CurrentConfig); }
public static void ReadXmlConfigs() { CurrentToolConfig = XMLHelper.ReadXmlConfig <ToolConfig>(@"Evatec\ToolConfig.xml"); CurrentSystemConfig = XMLHelper.ReadXmlConfig <SystemConfig>("SystemConfig.xml"); }