Exemplo n.º 1
0
 public void Minimize()
 {
     Utils.AnimationHelper.Thickness ta = new Utils.AnimationHelper.Thickness();
     ta.AnimationCompleted += Ta_AnimationCompleted;
     ta.Animate(Margin, new Thickness(Margin.Left, Margin.Top - Height, Margin.Right, Margin.Bottom),
                visible_d, null, new PropertyPath(MarginProperty), this);
 }
Exemplo n.º 2
0
 public void Maximize()
 {
     Utils.AnimationHelper.Thickness ta = new Utils.AnimationHelper.Thickness();
     ta.AnimationCompleted += AnimationCompleted;
     ta.Animate(Margin, MaximizedMargin, visible_d, null, new PropertyPath(MarginProperty), this);
 }