From: unknown Date: Fri, 14 May 2010 02:52:31 +0000 (+0900) Subject: 32 X-Git-Url: http://git.osdn.jp/view?a=commitdiff_plain;ds=sidebyside;h=e05ab8e68d381f8f5c9a2ddb7c63b89a7bb6371a;p=psychlops%2Fsilverlight.git 32 --- 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 @@ + + +