diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-05-07 08:12:56 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-05-07 08:12:56 +0200 |
| commit | 6b02331dfe7c6d8290c136ce20b4a7c655b47aae (patch) | |
| tree | da414ee19018edaf1d37b8fd7a6e4fe1f86edecd /Tests/HelloWorld.cs | |
| parent | f3344a78e511213d235e4c91bf507264fd41ac0d (diff) | |
first tests with vkvg as backendvkvg
Diffstat (limited to 'Tests/HelloWorld.cs')
| -rw-r--r-- | Tests/HelloWorld.cs | 20 |
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 |