4 // A sample standalone program showcasing the xaml embedding/class resolving
8 // Michael Dominic K. (mdk@mdk.am)
10 // Copyright 2008 Novell, Inc. (http://www.novell.com)
12 // See LICENSE file in the Moonlight distribution for licensing details
21 namespace StandaloneSample
{
23 public static class StandaloneSample
{
25 public static int Main (string [] args
)
30 Window window
= new Window ("My Canvas");
31 window
.DeleteEvent
+= DeleteEventHandler
;
33 GtkSilver silver
= new GtkSilver (400, 400);
34 silver
.LoadFile ("MyCanvas.xaml");
43 public static void DeleteEventHandler (object o
, DeleteEventArgs args
)