Ejemplo n.º 1
0
 private void buttonCommand19_CheckedChanged(object sender, CommandEventArgs e)
 {
     UI3DVisControl.Axis axis = UI3DVisControl.Axis.X;
     if (sender == buttonCommand19)
     {
         axis = UI3DVisControl.Axis.X;
     }
     else if (sender == buttonCommand20)
     {
         axis = UI3DVisControl.Axis.Y;
     }
     else if (sender == buttonCommand21)
     {
         axis = UI3DVisControl.Axis.Z;
     }
     currentVis.ToggleAxis(axis, ((ButtonCommand)sender).Checked);
 }
Ejemplo n.º 2
0
 public void ToggleAxis(UI3DVisControl.Axis axis, bool on)
 {
     ((UI3DVisControl)viewControl).ToggleAxis(axis, on);
 }