aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/HelloWorld.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-05-07 08:12:56 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-05-07 08:12:56 +0200
commit6b02331dfe7c6d8290c136ce20b4a7c655b47aae (patch)
treeda414ee19018edaf1d37b8fd7a6e4fe1f86edecd /Tests/HelloWorld.cs
parentf3344a78e511213d235e4c91bf507264fd41ac0d (diff)
first tests with vkvg as backendvkvg
Diffstat (limited to 'Tests/HelloWorld.cs')
-rw-r--r--Tests/HelloWorld.cs20
1 files changed, 9 insertions, 11 deletions
diff --git a/Tests/HelloWorld.cs b/Tests/HelloWorld.cs
index 75cc9bd5..8149ac0e 100644
--- a/Tests/HelloWorld.cs
+++ b/Tests/HelloWorld.cs
@@ -26,28 +26,26 @@
using System;
using Crow;
-using Tutorials;
+//using Tutorials;
namespace Tests
{
- class HelloWorld : CrowWindow
+ class HelloWorld : CrowApplication
{
public HelloWorld ()
- : base(800, 600,"Crow Test with OpenTK")
+ : base(800, 600)
{
}
- protected override void OnLoad (EventArgs e)
- {
- base.OnLoad (e);
- LoadIMLFragment (@"<SimpleGauge Level='40' Margin='5' Background='Jet' Foreground='Gray' Width='30' Height='50%'/>");
- }
-
[STAThread]
static void Main ()
{
- HelloWorld win = new HelloWorld ();
- win.Run (30);
+ using (HelloWorld win = new HelloWorld ()) {
+
+ //win.Load (@"Interfaces/Divers/0.crow").DataSource = win;
+ win.Load (@"Interfaces/GraphicObject/0.crow");
+ win.Run ();
+ }
}
}
} \ No newline at end of file