Author: miguel
Date: 2007-06-09 12:08:48 -0400 (Sat, 09 Jun 2007)
New Revision: 79058

Modified:
   trunk/moon/test/Makefile
   trunk/moon/test/demo.cs
Log:
Exercise some more of the managed API

Modified: trunk/moon/test/Makefile
===================================================================
--- trunk/moon/test/Makefile    2007-06-09 16:08:28 UTC (rev 79057)
+++ trunk/moon/test/Makefile    2007-06-09 16:08:48 UTC (rev 79058)
@@ -1,2 +1,5 @@
 demo.exe: demo.cs gtk.cs
-       gmcs demo.cs gtk.cs -pkg:gtk-sharp-2.0 -pkg:silver
\ No newline at end of file
+       gmcs -g demo.cs gtk.cs -pkg:gtk-sharp-2.0 -pkg:silver
+
+run: demo.exe
+       mono --debug demo.exe
\ No newline at end of file

Modified: trunk/moon/test/demo.cs
===================================================================
--- trunk/moon/test/demo.cs     2007-06-09 16:08:28 UTC (rev 79057)
+++ trunk/moon/test/demo.cs     2007-06-09 16:08:48 UTC (rev 79058)
@@ -1,6 +1,7 @@
 using System;
 using Gtk;
 using System.Windows;
+using System.Windows.Media;
 using System.Windows.Controls;
 using System.Windows.Shapes;
 using System.IO;
@@ -23,6 +24,10 @@
                        silver.Attach (c);
                        Rectangle r = new Rectangle ();
                        c.Children.Add (r);
+
+                       r.Width = 100;
+                       r.Height = 100;
+                       r.Stroke = new SolidColorBrush (Color.FromRgb (255, 0, 
0));
                } else {
                        string xaml = null;
                        

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to