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); }
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; }