Beispiel #1
0
 public void Deactivate()
 {
     Console.WriteLine($"@@@ this.GetType().Name={this.GetType().Name}, Deactivate()");
     animation.Clear();
     page.Unparent();
     page.Dispose();
 }
Beispiel #2
0
 void PoppedEvent(object obj, PoppedEventArgs ev)
 {
     if (ev.Page == page)
     {
         animation.Clear();
         animation = null;
         window    = null;
         page.Dispose();
         page              = null;
         navigator.Popped -= PoppedEvent;
         navigator         = null;
     }
 }