Exemple #1
0
        private void updateControls()
        {
            var sourse = myScene.GetTransformations((string)lvScene.SelectedItem);

            udXCoord.Value    = sourse.ElementAt(0);
            udYCoord.Value    = sourse.ElementAt(1);
            udZCoord.Value    = sourse.ElementAt(2);
            slXangle.Value    = sourse.ElementAt(3); /// -> value changed
            slYangle.Value    = sourse.ElementAt(4);
            slZangle.Value    = sourse.ElementAt(5);
            udModelSize.Value = sourse.ElementAt(6);
        }