Esempio n. 1
0
        private void RefreshAppearanceValues()
        {
            var valueFields = new Dictionary <string, TextBox>
            {
                //Facial Features
                { "first.additional.second.eyes", eyesBox }, { "first.main.first.eyes_color", eyesColorBox }, { "first.additional.second.nose", noseBox }, { "first.additional.second.mouth", mouthBox }, { "first.additional.second.jaw", jawBox }, { "first.additional.second.ear", earsBox },
                //Hair
                { "first.main.hash.hair_color", hairStyleBox }, { "first.main.first.hair_color", hairColorBox },
                //Makeup
                { "first.main.first.makeupEyes_", eyeMakeupBox }, { "first.main.first.makeupLips_", lipMakeupBox }, { "first.main.first.makeupCheeks_", cheekMakeupBox },
                //Body
                { "third.main.first.body_color", skinColorBox }, { "third.main.first.nipples_", nipplesBox }, { "third.main.first.genitals_", genitalsBox }, { "third.additional.second.breast", breastsBox }
            };

            foreach (string searchString in valueFields.Keys)
            {
                valueFields[searchString].Text = activeSaveFile.GetAppearanceValue(searchString);
            }
        }