www.pudn.com > SLRoutedEvent.zip > MainPage.xaml, change:2011-04-11,size:1666b


<UserControl x:Class="SLRoutedEvent.MainPage" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" 
    d:DesignHeight="600" d:DesignWidth="600" Loaded="UserControl_Loaded"> 
 
    <Grid x:Name="LayoutRoot5" Background="White"> 
         
        <Grid Width="200" Height="200" x:Name="GridA" HorizontalAlignment="Left" Background="AliceBlue" MouseLeftButtonDown="LayoutRoot_MouseLeftButtonDown"> 
            <Ellipse Height="44" HorizontalAlignment="Left" Fill="DarkKhaki"  Name="ellipseFirst" Stroke="Black" StrokeThickness="1" VerticalAlignment="Top" Width="86" /> 
            <Ellipse Height="44" HorizontalAlignment="Left" Fill="BlanchedAlmond" Margin="0,71,0,0" Name="ellipseSecond" Stroke="Black" StrokeThickness="1" VerticalAlignment="Top" Width="94" MouseLeftButtonDown="ellipse2_MouseLeftButtonDown" /> 
        </Grid> 
         
         
        <Grid Width="200" Height="200" x:Name="GridB" HorizontalAlignment="Right" Background="Aqua"> 
            <Ellipse Height="44" HorizontalAlignment="Left" Fill="Coral"  Name="ellipseThird" Stroke="Black" StrokeThickness="1" VerticalAlignment="Top" Width="86" /> 
            <Ellipse Height="44" HorizontalAlignment="Left" Fill="DarkSalmon" Margin="0,71,0,0" Name="ellipseFourth" Stroke="Black" StrokeThickness="1" VerticalAlignment="Top" Width="94" MouseLeftButtonDown="ellipse2_MouseLeftButtonDown" /> 
        </Grid> 
         
    </Grid> 
</UserControl>