OSDN Git Service

enable
[psychlops/silverlight.git] / test4 / MainPage.xaml.cs
index e368a54..2a1ef51 100644 (file)
@@ -44,7 +44,7 @@ namespace PsychlopsSilverlight4test
 \r
                        /*\r
                        var ur = new System.Uri("Resources/Benham.png", System.UriKind.RelativeOrAbsolute);\r
-                       var bitmap = new System.Windows.Media.Imaging.BitmapImage(ur);\r
+                       var                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             bitmap = new System.Windows.Media.Imaging.BitmapImage(ur);\r
                        var img = new System.Windows.Controls.Image();\r
                        img.Source = bitmap;\r
                        System.Windows.Controls.Canvas.SetLeft(img, 100);\r