예제 #1
0
        public static void GetReportServerConfig()
        {
            ReportServerCof = new ReportServerConfig();
            AppConfigs ac = new AppConfigs();

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

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

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

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