Esempio n. 1
0
        protected override void OnFormClosing(FormClosingEventArgs e)
        {
            if (Animation == IronideFormAnimation.Fade)
            {
                IronideAnimator.FormFadeHide(this, (int)AnimationDelay);
            }

            base.OnFormClosing(e);
        }
Esempio n. 2
0
        protected override void OnShown(EventArgs e)
        {
            if (Animation == IronideFormAnimation.Fade)
            {
                IronideAnimator.FormFadeShow(this, (int)AnimationDelay);
            }

            if (FocusOnLoad)
            {
                Focus();
            }

            base.OnShown(e);
        }