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

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

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

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

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