Esempio n. 1
0
        public static void GetReportServerConfig()
        {
            ReportServerCof = new ReportServerConfig();
            AppConfigs ac = new AppConfigs();

            ReportServerCof.ReportPath = ac.getAppSettingsByKey("ReportPath").First();
        }
Esempio n. 2
0
        public static void SetReportServerConfig()
        {
            AppConfigs ac = new AppConfigs();

            ac.updateAppSettings("ReportPath", ReportServerCof.ReportPath);
        }
Esempio n. 3
0
        public static void GetClientLan()
        {
            AppConfigs ac = new AppConfigs();

            GlobalObjects.CurrentLanguage = ac.getAppSettingsByKey("Lang").First();
        }
Esempio n. 4
0
        /// <summary>
        /// 获取服务器连接地址
        /// </summary>
        public static void GetServiceHostInfo()
        {
            AppConfigs ac = new AppConfigs();

            GlobalObjects.ServiceHostAddress = ac.getAppSettingsByKey("ServiceHostAddress").First();
        }