OSDN Git Service

xsdsz
[psychlops/silverlight.git] / test4 / MainPage.xaml.cs
index cfe5cf5..3925f7b 100644 (file)
@@ -6,7 +6,7 @@ namespace PsychlopsSilverlight4test
        {\r
                //System.Collections.Generic.IEnumerator<int> main_routine;\r
                public System.Windows.Controls.Image master;\r
-               public PsychlopsMain main;\r
+               public PsychlopsSilverlightApp.PsychlopsMain main;\r
 #if DEBUG\r
                public System.Windows.Controls.TextBlock DebugConsole;\r
 #endif\r
@@ -30,7 +30,7 @@ namespace PsychlopsSilverlight4test
                        //main_routine.DoWork += new System.ComponentModel.DoWorkEventHandler(psychlops_main);\r
                        //main_routine.RunWorkerAsync();\r
 \r
-                       main = new PsychlopsMain();\r
+                       main = new PsychlopsSilverlightApp.PsychlopsMain();\r
 //                     Psychlops.AppState.statusBar.\r
                        Psychlops.Internal.Main.routine = new System.Threading.Thread(main.psychlops_main);\r
                        Psychlops.Internal.Main.routine.Start();\r
@@ -49,6 +49,7 @@ namespace PsychlopsSilverlight4test
                        System.Windows.Controls.Canvas.SetLeft(img, 100);\r
                        System.Windows.Controls.Canvas.SetTop(img, 100);\r
                        LayoutRoot.Children.Add(img);\r
+\r
                }\r
                protected void getFocusMouseEnter(object sender, System.Windows.Input.MouseEventArgs e) {\r
                        this.Focus();\r