/// <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)); }
/// <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)); }