Пример #1
0
        private void udModelSize_ValueChanging(object sender, Syncfusion.Windows.Shared.ValueChangingEventArgs e)
        {
            var size          = (double)udModelSize.Value;
            var selectedModel = (string)lvScene.SelectedItem;

            myScene.Resize(selectedModel, size);
        }
Пример #2
0
        private void Coordinate_ValueChanging(object sender, Syncfusion.Windows.Shared.ValueChangingEventArgs e)
        {
            var x             = (double)udXCoord.Value;
            var y             = (double)udYCoord.Value;
            var z             = (double)udZCoord.Value;
            var selectedModel = (string)lvScene.SelectedItem;

            myScene.Move(selectedModel, x, y, z);
        }
Пример #3
0
 /// <summary>
 /// Changing Celining Heigth
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void CeilingHeigth_ValueChanging(object sender, Syncfusion.Windows.Shared.ValueChangingEventArgs e)
 {
     Ceiling.Visible = !Ceiling.Visible;
 }
Пример #4
0
 /// <summary>
 /// Changing Floor and Ceiling width
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void FloorWidth_ValueChanging(object sender, Syncfusion.Windows.Shared.ValueChangingEventArgs e)
 {
     Floor.Width = Ceiling.Width = (double)e.NewValue;
     Grid.Width  = (int)(double)e.NewValue + 20;
 }