src/FingersDance/MainSurfaceWindow.xaml
changeset 139 7eb5f979d086
parent 138 61ba19954ed4
parent 137 5a47756f7fb8
child 146 dd8ed4d3beb6
equal deleted inserted replaced
138:61ba19954ed4 139:7eb5f979d086
    14     
    14     
    15     
    15     
    16     x:Class="FingersDance.SurfaceWindow1"
    16     x:Class="FingersDance.SurfaceWindow1"
    17     Title="FingersDance"
    17     Title="FingersDance"
    18     Width="1024" Height="768" x:Name="mainSurfaceWindow" 
    18     Width="1024" Height="768" x:Name="mainSurfaceWindow" 
    19     Background="{x:Null}"
    19     Background="{x:Null}" Loaded="mainSurfaceWindow_Loaded"
    20     
    20     
    21     
    21     
    22     >
    22     >
    23   <s:SurfaceWindow.Resources>
    23   <s:SurfaceWindow.Resources>
    24     <ImageBrush x:Key="WindowBackground" Stretch="None" Opacity="0.6" ImageSource="pack://application:,,,/Resources/WindowBackground.jpg"/>
    24     <ImageBrush x:Key="WindowBackground" Stretch="None" Opacity="0.6" ImageSource="pack://application:,,,/Resources/WindowBackground.jpg"/>
   123   				</ControlTemplate>
   123   				</ControlTemplate>
   124   			</Setter.Value>
   124   			</Setter.Value>
   125   		</Setter>
   125   		</Setter>
   126   	</Style>
   126   	</Style>
   127   </s:SurfaceWindow.Resources>
   127   </s:SurfaceWindow.Resources>
       
   128 	<s:SurfaceWindow.Triggers>
       
   129 		<EventTrigger RoutedEvent="FrameworkElement.Loaded"/>
       
   130 	</s:SurfaceWindow.Triggers>
   128 
   131 
   129   <Grid x:Name="MainGrid" Width="1024" Height="768" Loaded="MainGrid_Loaded" >
   132   <Grid x:Name="MainGrid" Width="1024" Height="768" >
   130   	<Grid.Background>
   133   	<Grid.Background>
   131   		<LinearGradientBrush EndPoint="0.505,0.985" StartPoint="0.505,-0.015">
   134   		<LinearGradientBrush EndPoint="0.505,0.985" StartPoint="0.505,-0.015">
   132   			<GradientStop Color="#FF000000" Offset="0"/>
   135   			<GradientStop Color="#FF000000" Offset="0"/>
   133   			<GradientStop Color="#FF2A2A2A" Offset="0.544"/>
   136   			<GradientStop Color="#FF2A2A2A" Offset="0.544"/>
   134   			<GradientStop Color="#FF000000" Offset="1"/>
   137   			<GradientStop Color="#FF000000" Offset="1"/>