Mercurial > pub > ImplabNet
view Implab.Fx.Test/OverlayTest.cs @ 227:8d5de4eb9c2c v2
Reimplemented JsonXmlReader, added support for null values: JSON null values are
mapped to empty nodes with 'xsi:nil' attribute set to 'true'
author | cin |
---|---|
date | Sat, 09 Sep 2017 03:53:13 +0300 |
parents | 037df317f126 |
children |
line wrap: on
line source
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 using Microsoft.VisualStudio.TestTools.UnitTesting; #endif namespace Implab.Fx.Test { [TestClass] public class OverlayTest { [TestMethod] public void TestMethod1() { var mainForm = new MainForm(); mainForm.ButtonEvent += (sender, args) => { var overlay = new OverlayForm(); mainForm.OverlayFadeIn(overlay).On( o => o.ButtonEvent += (s2, args2) => o.CloseFadeOut() ); }; Application.Run(mainForm); } } }