// To be called by subclass when the navigation point is not valid anymore public virtual void Dispose() { if (ParentItem != null) { ParentItem.NotifyDestroyed(); } if (Destroyed != null) { Destroyed(this, EventArgs.Empty); } }
// To be called by subclass when the navigation point is not valid anymore public virtual void Dispose() { if (ParentItem != null) { ParentItem.NotifyDestroyed(); } if (Destroyed != null) { Destroyed(this, EventArgs.Empty); } }