コード例 #1
0
        void aas_AnimationComplete(object sender, LynxAnimationCompleteEventArgs e)
        {
            aas.AnimationComplete -= new AnimationCompleteEventHandler(aas_AnimationComplete);

            Panel p = Parent as Panel;

            p.Children.Remove(this);
            if (!p.Children.Contains(lynxWin))
            {
                p.Children.Add(lynxWin);
            }
        }
コード例 #2
0
        void aas_AnimationComplete(object sender, LynxAnimationCompleteEventArgs e)
        {
            aas.AnimationComplete -= new AnimationCompleteEventHandler(aas_AnimationComplete);

            Panel DeskPanel = ParentControl.Parent as Panel;

            DeskPanel.Children.Remove(ParentControl);
            if (!DeskPanel.Children.Contains(LIcon))
            {
                DeskPanel.Children.Add(LIcon);
                Canvas.SetLeft(LIcon, Canvas.GetLeft(ParentControl));
                Canvas.SetTop(LIcon, Canvas.GetTop(ParentControl));
            }
        }
コード例 #3
0
 //static Point ep;
 //static LynxWindow clw;
 static void aas_AnimationComplete(object sender, LynxAnimationCompleteEventArgs e)
 {
     Canvas.SetLeft(e.AnimationObject, e.EndP.X);
     Canvas.SetTop(e.AnimationObject, e.EndP.Y);
 }
コード例 #4
0
 public ActionAnimationShow(FrameworkElement fo)
 {
     o             = fo;
     BackParameter = new LynxAnimationCompleteEventArgs(this, fo);
 }