--- a/src/FingersDance/MainSurfaceWindow.xaml Mon Oct 05 19:27:24 2009 +0200
+++ b/src/FingersDance/MainSurfaceWindow.xaml Sun Oct 11 20:14:02 2009 +0200
@@ -16,7 +16,7 @@
x:Class="FingersDance.SurfaceWindow1"
Title="FingersDance"
Width="1024" Height="768" x:Name="mainSurfaceWindow"
- Background="{x:Null}"
+ Background="{x:Null}" Loaded="mainSurfaceWindow_Loaded"
>
@@ -125,6 +125,9 @@
</Setter>
</Style>
</s:SurfaceWindow.Resources>
+ <s:SurfaceWindow.Triggers>
+ <EventTrigger RoutedEvent="FrameworkElement.Loaded"/>
+ </s:SurfaceWindow.Triggers>
<Grid x:Name="MainGrid" Width="1024" Height="768" >
<Grid.Background>