All pastes #572541 Raw Edit

Untitled

public text v1 · immutable
·published 2007-06-17 18:42 UTC
rendered paste body
Index: Photo.xaml
===================================================================
--- Photo.xaml  (revision 209)
+++ Photo.xaml  (working copy)
@@ -10,13 +10,13 @@
   </Canvas.RenderTransform>
   <Canvas.Resources>
     <Storyboard x:Name="display">
-      <DoubleAnimationUsingKeyFrames Storyboard.TargetName="scaleTransform" Storyboard.TargetProperty="ScaleX" Duration="0:0:0.5">
+      <DoubleAnimationUsingKeyFrames Storyboard.TargetName="scaleTransform" Storyboard.TargetProperty="ScaleX" Duration="0:0:1.5">
         <LinearDoubleKeyFrame KeyTime="0:0:0" Value="0" />
-        <SplineDoubleKeyFrame KeyTime="0:0:0.5" Value="1" KeySpline="0.25,0.6 0.75,1" />
+        <SplineDoubleKeyFrame KeyTime="0:0:1.5" Value="1" KeySpline="0.25,0.6 0.75,1" />
       </DoubleAnimationUsingKeyFrames>
-      <DoubleAnimationUsingKeyFrames Storyboard.TargetName="scaleTransform" Storyboard.TargetProperty="ScaleY" Duration="0:0:0.5">
+      <DoubleAnimationUsingKeyFrames Storyboard.TargetName="scaleTransform" Storyboard.TargetProperty="ScaleY" Duration="0:0:1.5">
         <LinearDoubleKeyFrame KeyTime="0:0:0" Value="0" />
-        <SplineDoubleKeyFrame KeyTime="0:0:0.5" Value="1" KeySpline="0.25,0.6 0.75,1" />
+        <SplineDoubleKeyFrame KeyTime="0:0:1.5" Value="1" KeySpline="0.25,0.6 0.75,1" />
       </DoubleAnimationUsingKeyFrames>
     </Storyboard>
   </Canvas.Resources>
Index: surface.cs
===================================================================
--- surface.cs  (revision 210)
+++ surface.cs  (working copy)
@@ -91,7 +91,8 @@
             {
                 // If photos haven't been loaded yet and the control is initialized, load them now
 // sp var->string
-                foreach (string file in new string[] { "img6.jpg", "img7.jpg", "img9.jpg", "img10.jpg", "img18.jpg", "img19.jpg", "img21.jpg" })
+//                foreach (string file in new string[] { "img6.jpg", "img7.jpg", "img9.jpg", "img10.jpg", "img18.jpg", "img19.jpg", "img21.jpg" })
+                foreach (string file in new string[] { "img6.jpg" })
                 {
 // sp                    new Photo(this, new Uri(HtmlPage.DocumentUri, file));
                     new Photo(this, new Uri(Path.Combine (Environment.CurrentDirectory, file)));