예제 #1
0
 public void ShowFloor(bool show)
 {
     if (show && modelViewerControl.Floor == null)
     {
         Loader contentLoad = new Loader(modelViewerControl.Services);
         modelViewerControl.SetFloor(contentLoad.GetModel("grid100x100"));
     }
     showFloorMenuItem.Checked = show;
     showFloorMenuItem.Checked = modelViewerControl.ShowFloor(show);
 }
예제 #2
0
 private void ShowAxes(bool show)
 {
     if (show && !modelViewerControl.IsAxisFontLoaded())
     {
         Loader contentLoad = new Loader(modelViewerControl.Services);
         modelViewerControl.SetAxisFont(contentLoad.GetFont("Axis"));
     }
     showAxesMenuItem.Checked = show;
     modelViewerControl.ShowAxes = show;
 }