##// END OF EJS Templates
Added ResetState to RunnableComponent to reset in case of failure...
Added ResetState to RunnableComponent to reset in case of failure Added StateChanged event to IRunnable Renamed Promise.SUCCESS -> Promise.Success Added Promise.FromException Renamed Bundle -> PromiseAll in PromiseExtensions

File last commit:

r155:037df317f126 v2
r205:8200ab154c8a v2
Show More
OverlayTest.cs
38 lines | 879 B | text/x-csharp | CSharpLexer
cin
ported tests to mono
r77 using System.Windows.Forms;
using Implab.Fx.Test.Sample;
using Implab.Fx;
#if MONO
using NUnit.Framework;
using TestClassAttribute = NUnit.Framework.TestFixtureAttribute;
using TestMethod = NUnit.Framework.TestAttribute;
#else
cin
implemented overlay helpers and some animation heplers improvments
r5 using Microsoft.VisualStudio.TestTools.UnitTesting;
cin
ported tests to mono
r77
#endif
cin
implemented overlay helpers and some animation heplers improvments
r5
namespace Implab.Fx.Test
{
[TestClass]
public class OverlayTest
{
[TestMethod]
public void TestMethod1()
{
var mainForm = new MainForm();
mainForm.ButtonEvent += (sender, args) =>
{
var overlay = new OverlayForm();
cin
minor fixes for vs2012
r155 mainForm.OverlayFadeIn(overlay).On(
cin
ported tests to mono
r77 o => o.ButtonEvent += (s2, args2) => o.CloseFadeOut()
cin
implemented overlay helpers and some animation heplers improvments
r5 );
};
Application.Run(mainForm);
}
}
}