private void SaveEnvGeneral(XmlDocument xmlDoc, EnvGeneralConfigData configData)
        {
            XmlOldEnvGeneral xmlEnvGeneral = new XmlOldEnvGeneral();

            xmlEnvGeneral.AutoCenter = configData.AutoCenter;
            xmlEnvGeneral.DrawCircle = configData.DrawCircle;
            xmlEnvGeneral.DrawGrid = configData.DrawGrid;
            xmlEnvGeneral.RecoveryYield = configData.RecoveryYield;
            xmlEnvGeneral.CultureName = configData.CultureName;
            xmlEnvGeneral.CultureList = new List<Culture>(configData.CultureList);

            xmlEnvGeneral.SaveConfig(xmlDoc);
        }
        private void LoadEnvGeneral(XmlDocument xmlDoc, EnvGeneralConfigData configData)
        {
            XmlOldEnvGeneral xmlEnvGeneral = new XmlOldEnvGeneral();
            xmlEnvGeneral.LoadConfig(xmlDoc);

            configData.AutoCenter = xmlEnvGeneral.AutoCenter;
            configData.DrawCircle = xmlEnvGeneral.DrawCircle;
            configData.DrawGrid = xmlEnvGeneral.DrawGrid;
            configData.RecoveryYield = xmlEnvGeneral.RecoveryYield;
            configData.CultureName = xmlEnvGeneral.CultureName;
            if (xmlEnvGeneral.CultureList.Count > 0)
            {
                configData.ClearCutureList();
                configData.AddRangeToCultureList(xmlEnvGeneral.CultureList);
            }
        }