aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/HelloWorld.cs
diff options
context:
space:
mode:
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