From 171d5ac0444945b3286e6d0b13e3576343938aa3 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Tue, 1 Mar 2016 00:02:01 +0100 Subject: [PATCH] update tests --- Tests/GOLIBTest_0.cs | 14 ++++++++++++-- Tests/Interfaces/testCombobox.goml | 2 +- Tests/Interfaces/testExpandable.goml | 4 ++-- 3 files changed, 15 insertions(+), 5 deletions(-) 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 @@  - + -- 2.47.3