public override void Dispose() { base.Dispose(); if (null != _controller) { _controller.Dispose(); _controller = null; } }
public SDGraph3DViewContent(Altaxo.Gui.Graph.Graph3D.Viewing.Graph3DController ctrl) { _controller = ctrl; ctrl.TitleNameChanged += new WeakEventHandler(this.EhTitleNameChanged, x => ctrl.TitleNameChanged -= x); SetTitle(); }