aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/HelloWorld/main.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-12-04 20:27:22 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-12-04 20:27:22 +0100
commit2b974cc30f568a82bb0b1da9c82339ab943ac841 (patch)
treeff463aeb523c14bf9f5c1c2ea80f0a90cc887236 /Samples/HelloWorld/main.cs
parenta3d4977a3cb6d7e4ce4f9627842398e6ab25d9a8 (diff)
Diffstat (limited to 'Samples/HelloWorld/main.cs')
-rw-r--r--Samples/HelloWorld/main.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/Samples/HelloWorld/main.cs b/Samples/HelloWorld/main.cs
index 20fa9a27..fd70a2b9 100644
--- a/Samples/HelloWorld/main.cs
+++ b/Samples/HelloWorld/main.cs
@@ -6,12 +6,17 @@ using Samples;
namespace HelloWorld
{
class Program : Interface {
- Program() : base (800, 600, true, true) {}
+ Program() : base (800, 600, true) {}
static void Main (string[] args) {
using (Program app = new Program ()) {
- app.Initialized += (sender, e) => app.LoadIMLFragment (@"<Label Text='Hello World'/>");
+ //app.Initialized += (sender, e) => app.LoadIMLFragment (@"<Label Text='Hello World' Background='Red' Top='50' Margin='0'/>");
+ //app.Initialized += (sender, e) => app.LoadIMLFragment (@"<Window Caption='hello world'/>");
app.Run ();
}
}
+ protected override void OnInitialized()
+ {
+ Load ("/mnt/devel/crow/Samples/HelloWorld/ui/helloworld.crow");
+ }
}
}