コード例 #1
0
 public void close2()
 {
     xy.Close();
     xz.Close();
     yz.Close();
     engine.Dispose();
 }
コード例 #2
0
        public ModelExplore(I3DModelFormat model)
        {
            InitializeComponent();

            ModelViewer.Dock = DockStyle.Fill;
            viewerBox.Controls.Add(ModelViewer);

            Model = model;
            ModelViewer.SetModel(model.ToGenericModel());

            FormClosed += (sender, args) => { ModelViewer.Dispose(); GC.Collect(); };
        }