ToastNotifications.FormAnimator.FormAnimator C# (CSharp) Method

FormAnimator() public method

Creates a new FormAnimator object for the specified form using the specified method in the specified direction over the specified duration
The direction argument will have no effect if the Center or Fade method is specified
public FormAnimator ( Form form, AnimationMethod method, AnimationDirection direction, int duration ) : System
form System.Windows.Forms.Form /// The form to be animated ///
method AnimationMethod /// The animation method used to show and hide the form ///
direction AnimationDirection /// The direction in which to animate the form ///
duration int /// The number of milliseconds over which the animation is played ///
return System
        public FormAnimator(Form form, AnimationMethod method, AnimationDirection direction, int duration)
            : this(form, method, duration)
        {
            _direction = direction;
        }

Same methods

FormAnimator::FormAnimator ( Form form ) : System
FormAnimator::FormAnimator ( Form form, AnimationMethod method, int duration ) : System