comparison Implab.Fx.Test/OverlayTest.cs @ 155:037df317f126 v2

minor fixes for vs2012
author cin
date Fri, 12 Feb 2016 16:24:24 +0300
parents 91362ffbecf8
children
comparison
equal deleted inserted replaced
154:2dcdee4c0810 155:037df317f126
25 var mainForm = new MainForm(); 25 var mainForm = new MainForm();
26 26
27 mainForm.ButtonEvent += (sender, args) => 27 mainForm.ButtonEvent += (sender, args) =>
28 { 28 {
29 var overlay = new OverlayForm(); 29 var overlay = new OverlayForm();
30 mainForm.OverlayFadeIn(overlay).Then( 30 mainForm.OverlayFadeIn(overlay).On(
31 o => o.ButtonEvent += (s2, args2) => o.CloseFadeOut() 31 o => o.ButtonEvent += (s2, args2) => o.CloseFadeOut()
32 ); 32 );
33 }; 33 };
34 34
35 Application.Run(mainForm); 35 Application.Run(mainForm);