diff Implab.Fx/AnimationHelpers.cs @ 30:2fad2d1f4b03

small refactoring, cleanup.
author cin
date Mon, 07 Apr 2014 03:25:57 +0400
parents f2559580b481
children d4e38929ce36
line wrap: on
line diff
--- a/Implab.Fx/AnimationHelpers.cs	Thu Mar 06 17:59:03 2014 +0400
+++ b/Implab.Fx/AnimationHelpers.cs	Mon Apr 07 03:25:57 2014 +0400
@@ -38,14 +38,14 @@
             return anim;
         }
 
-        public static Promise<T> CloseFadeOut<T>(this T ctl) where T : Form
+        public static IPromise<T> CloseFadeOut<T>(this T ctl) where T : Form
         {
             var anim = ctl.AnimateTransparency(0);
 
             return anim.Play().DispatchToControl(ctl).Then(frm => frm.Close());
         }
 
-        public static Promise<T> OverlayFadeIn<T>(this Form that, T overlay) where T : Form
+        public static IPromise<T> OverlayFadeIn<T>(this Form that, T overlay) where T : Form
         {
             if (that == null)
                 throw new ArgumentNullException("that");