Beispiel #1
0
 protected virtual void OnRemoved(RemovedEventArgs <TParent> e)
 {
     if (Removed != null)
     {
         Removed(this, e);
     }
 }
Beispiel #2
0
 protected override void OnRemoved(RemovedEventArgs e)
 {
     base.OnRemoved(e);
     if (this.Engine == null)
     {
         ClearEvents();
     }
 }
Beispiel #3
0
 protected override void OnRemoved(RemovedEventArgs <Window> e)
 {
     RemoveClipper();
     base.OnRemoved(e);
 }
Beispiel #4
0
 void OnClipperRemoved(object sender, RemovedEventArgs e)
 {
     clipper.Lifetime.IsExpired = false;
     e.Engine.AddLogic(clipper);
 }