Esempio n. 1
0
        static public InfoConfig GetConfig(string sectionName)
        {
            InfoConfig ic = new InfoConfig();

            try
            {
                SettingItem imageSetting = AppSettingHelper.GetSpecifySection(sectionName);

                ic.ZoomFactor = (float)imageSetting.ReadDouble("ZoomFactor");
            }
            catch (Exception ex)
            {
                MsgBox.ShowException(ex);
            }

            return(ic);
        }