public RangeEventBox(RangeRenderer r) { renderer = r; Add(r); this.EnterNotifyEvent += EnterNotifyEventHandler; this.LeaveNotifyEvent += LeaveNotifyEventHandler; }
protected override void OnDestroyed() { this.EnterNotifyEvent -= EnterNotifyEventHandler; this.LeaveNotifyEvent -= LeaveNotifyEventHandler; if (renderer != null) { renderer = null; } base.OnDestroyed(); }
public RangeEventBox(RangeRenderer r) { renderer = r; Add(r); this.EnterNotifyEvent += EnterNotifyEventHandler; this.LeaveNotifyEvent += LeaveNotifyEventHandler; }
protected override void OnDestroyed () { this.EnterNotifyEvent -= EnterNotifyEventHandler; this.LeaveNotifyEvent -= LeaveNotifyEventHandler; if (renderer != null) renderer = null; base.OnDestroyed (); }
public RangeEventBox(RangeRenderer r) { renderer = r; Add(r); this.EnterNotifyEvent += new EnterNotifyEventHandler(EnterNotifyEventHandler); this.LeaveNotifyEvent += new LeaveNotifyEventHandler(LeaveNotifyEventHandler); }