Object3DManagerGetAssemblyBrowserControl Method (Boolean) |
Namespace: VIZCore3D.NET.Manager
public AssemblyBrowserControl GetAssemblyBrowserControl( bool includePart = false )
// VIZCore3D.NET Control private VIZCore3D.NET.VIZCore3DControl vizcore3d; private void Example() { VIZCore3D.NET.Controls.AssemblyBrowserControl ctrl = vizcore3d.Object3D.GetAssemblyBrowserControl(); Form form = new Form(); form.Controls.Add(ctrl); if (form.ShowDialog() != DialogResult.OK) return; VIZCore3D.NET.Data.Node selectedNode = ctrl.SelectedNode; if (selectedNode == null) return; MessageBox.Show(selectedNode.NodeName); }