예제 #1
0
파일: Fade.cs 프로젝트: jacobguin/Scorpion
        /// <summary>
        /// Fades a dialog in using parent form and defined fade speed
        /// and call the finished delegate.)
        /// </summary>
        public static DialogResult ShowDialog(Form form, Form parent, float fadeSpeed, FadeCompleted finished)
        {
            Fader fader = new Fader(form, parent);

            return(fader.ShowDialog(fadeSpeed, finished));
        }
예제 #2
0
파일: Fade.cs 프로젝트: jacobguin/Scorpion
        /// <summary>
        /// Fades a dialog in using parent form and defined fade speed.
        /// </summary>
        public static DialogResult ShowDialog(Form form, Form parent, float fadeSpeed)
        {
            Fader fader = new Fader(form, parent);

            return(fader.ShowDialog(fadeSpeed, null));
        }