From: jpbruyere Date: Mon, 29 Feb 2016 23:02:01 +0000 (+0100) Subject: update tests X-Git-Tag: v0.4~95 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=171d5ac0444945b3286e6d0b13e3576343938aa3;p=jp%2Fcrow.git update tests --- diff --git a/Tests/GOLIBTest_0.cs b/Tests/GOLIBTest_0.cs index 922eed40..32067ae2 100644 --- a/Tests/GOLIBTest_0.cs +++ b/Tests/GOLIBTest_0.cs @@ -28,8 +28,18 @@ namespace test6 protected override void OnLoad (EventArgs e) { base.OnLoad (e); - g = LoadInterface("Interfaces/test0.goml"); - l = g.FindByName ("labCpt") as Label; +// g = LoadInterface("Interfaces/test0.goml"); +// l = g.FindByName ("labCpt") as Label; + MessageBox m = new MessageBox(); + m.Message = "this is a test"; + m.Ok += M_Ok; + //m.DataSource = this; + this.AddWidget(m); + } + + void M_Ok (object sender, EventArgs e) + { + Debug.WriteLine ("ok"); } void onUp (object sender, MouseButtonEventArgs e) diff --git a/Tests/Interfaces/testCombobox.goml b/Tests/Interfaces/testCombobox.goml index 181073a1..73007079 100755 --- a/Tests/Interfaces/testCombobox.goml +++ b/Tests/Interfaces/testCombobox.goml @@ -1,5 +1,5 @@  - \ No newline at end of file diff --git a/Tests/Interfaces/testExpandable.goml b/Tests/Interfaces/testExpandable.goml index 60433b25..1ac9fb59 100755 --- a/Tests/Interfaces/testExpandable.goml +++ b/Tests/Interfaces/testExpandable.goml @@ -1,6 +1,6 @@  - +