ToastNotifications.FormAnimator.FormAnimator C# (CSharp) Method

FormAnimator() public method

Creates a new FormAnimator object for the specified form using the specified method over the specified duration
No animation will be used for the Roll or Slide methods unless the Direction property is set independently
public FormAnimator ( Form form, AnimationMethod method, 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 ///
duration int /// The number of milliseconds over which the animation is played ///
return System
        public FormAnimator(Form form, AnimationMethod method, int duration)
            : this(form)
        {
            _method = method;
            _duration = duration;
        }

Same methods

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