Exemplo n.º 1
0
            public void OnStoryboardCompleted(object sender, EventArgs e)
            {
                ViewTransitionControl control = this.Target as ViewTransitionControl;

                if (control != null)
                {
                    control.OnStoryboardCompleted(sender, e);
                }
                else
                {
                    Dispose();
                }
            }
Exemplo n.º 2
0
 public WeakStoryboardEvents(ViewTransitionControl viewTransitionControl, Storyboard storyboard)
     : base(viewTransitionControl)
 {
     this.storyboard            = storyboard;
     this.storyboard.Completed += this.OnStoryboardCompleted;
 }