void ConstantInitializeCompleted() { try { //SystemConstantConfig.ReportAddress = GeneralConfigs.SeachConfigValue("reportAddress"); SystemConstantConfig.EnableOperation = Convert.ToBoolean(GeneralConfigs.SeachConfigValue("EnableOperation")); } catch (Exception ex) { MessageBox.Show("读取SystemConstantConfig文件出错," + ex.Message); } }