From e05ab8e68d381f8f5c9a2ddb7c63b89a7bb6371a Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 14 May 2010 11:52:31 +0900 Subject: [PATCH] 32 --- test3/MainPage.xaml.cs | 3 ++- test3/PsychlopsMain.cs | 2 +- test3/PsychlopsSilverlight3test.csproj | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/test3/MainPage.xaml.cs b/test3/MainPage.xaml.cs index d0bcae8..7aa4b92 100644 --- a/test3/MainPage.xaml.cs +++ b/test3/MainPage.xaml.cs @@ -22,7 +22,8 @@ namespace PsychlopsSilverlight3test this.MouseEnter += getFocusMouseEnter; System.Windows.Application.Current.Host.Settings.MaxFrameRate = 60; System.Windows.Application.Current.Host.Settings.EnableFrameRateCounter = true; - System.Windows.Application.Current.Host.Settings.EnableCacheVisualization = true; + System.Windows.Application.Current.Host.Settings.EnableCacheVisualization = false; + // System.Windows.Media.CompositionTarget.Rendering += new System.EventHandler(CompositionTarget_Rendering); //main_routine = new System.ComponentModel.BackgroundWorker(); //main_routine.DoWork += new System.ComponentModel.DoWorkEventHandler(psychlops_main); diff --git a/test3/PsychlopsMain.cs b/test3/PsychlopsMain.cs index bbaf192..058e332 100644 --- a/test3/PsychlopsMain.cs +++ b/test3/PsychlopsMain.cs @@ -9,7 +9,7 @@ namespace Psychlops public Point[] cood; public RandomDots() { - cood = new Point[100]; + cood = new Point[250]; dot = new Rectangle(5, 5); } public void draw() diff --git a/test3/PsychlopsSilverlight3test.csproj b/test3/PsychlopsSilverlight3test.csproj index 48a3682..60fa96a 100644 --- a/test3/PsychlopsSilverlight3test.csproj +++ b/test3/PsychlopsSilverlight3test.csproj @@ -85,6 +85,9 @@ + + +