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