diff options
Diffstat (limited to 'Samples/HelloWorld/main.cs')
| -rw-r--r-- | Samples/HelloWorld/main.cs | 9 |
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"); + } } } |