<Window x:Class="ChoinkaWPF.MainWindow"
        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"
        xmlns:local="clr-namespace:ChoinkaWPF"
        mc:Ignorable="d"
        WindowStyle="None"
        Padding="-10,0,0,0"
        Title="MainWindow" Height="342" Width="445"
        AllowsTransparency="True"
        Background="Transparent"        
        >
    <Grid MouseDown="Grid_MouseDown" >
        <Grid.ContextMenu>
            <ContextMenu>
                <MenuItem x:Name="info" Click="infoMenuItem_Click" Header="O..."/>
                <MenuItem x:Name="kiedyWigilia" Click="ileDniDoWigiliiMenuItem_Click" Header="Kiedy będzie Wigilia?"/>
                <MenuItem x:Name="ileDoNowegoRoku" Click="ileCzasuDoNowegoRokuMenuItem_Click" Header="Odliczanie do Nowego Roku"/>
                <MenuItem x:Name="ukrywanie" Click="ukryjMenuItem_Click" Header="Ukryj/pokaż"/>
                <MenuItem x:Name="zamknij" Click="zamknijMenuItem_Click" Header="Zamknij"/>
            </ContextMenu>
        </Grid.ContextMenu>
        <Grid.Triggers>
            <EventTrigger RoutedEvent="Image.MouseEnter">
                <BeginStoryboard>
                    <Storyboard>
                        <DoubleAnimation 
                                Storyboard.TargetName="gwiazdka"
                                Storyboard.TargetProperty="(Image.Opacity)"
							   BeginTime="0:0:0" Duration="0:0:1"
							   From="1.0" To="0.0" RepeatBehavior="Forever" AutoReverse="True"/>
                        <DoubleAnimation 
                                Storyboard.TargetName="gwiazdka_Copy"
                                Storyboard.TargetProperty="(Image.Opacity)"
							   BeginTime="0:0:0.1" Duration="0:0:1"
							   From="1.0" To="0.0" RepeatBehavior="Forever" AutoReverse="True"/>
                        <DoubleAnimation 
                                Storyboard.TargetName="gwiazdka_Copy1"
                                Storyboard.TargetProperty="(Image.Opacity)"
							   BeginTime="0:0:0.2" Duration="0:0:1"
							   From="1.0" To="0.0" RepeatBehavior="Forever" AutoReverse="True"/>
                        <DoubleAnimation 
                                Storyboard.TargetName="gwiazdka_Copy2"
                                Storyboard.TargetProperty="(Image.Opacity)"
							   BeginTime="0:0:0.3" Duration="0:0:1"
							   From="1.0" To="0.0" RepeatBehavior="Forever" AutoReverse="True"/>
                        <DoubleAnimation 
                                Storyboard.TargetName="gwiazdka_Copy3"
                                Storyboard.TargetProperty="(Image.Opacity)"
							   BeginTime="0:0:0.4" Duration="0:0:1"
							   From="1.0" To="0.0" RepeatBehavior="Forever" AutoReverse="True"/>
                        <DoubleAnimation 
                                Storyboard.TargetName="gwiazdka_Copy4"
                                Storyboard.TargetProperty="(Image.Opacity)"
							   BeginTime="0:0:0.5" Duration="0:0:1"
							   From="1.0" To="0.0" RepeatBehavior="Forever" AutoReverse="True"/>
                        <DoubleAnimation 
                                Storyboard.TargetName="gwiazdka_Copy5"
                                Storyboard.TargetProperty="(Image.Opacity)"
							   BeginTime="0:0:0.6" Duration="0:0:1"
							   From="1.0" To="0.0" RepeatBehavior="Forever" AutoReverse="True"/>
                        <DoubleAnimation 
                                Storyboard.TargetName="gwiazdka_Copy6"
                                Storyboard.TargetProperty="(Image.Opacity)"
							   BeginTime="0:0:0.7" Duration="0:0:1"
							   From="1.0" To="0.0" RepeatBehavior="Forever" AutoReverse="True"/>
                        <DoubleAnimation 
                                Storyboard.TargetName="gwiazdka_Copy7"
                                Storyboard.TargetProperty="(Image.Opacity)"
							   BeginTime="0:0:0.8" Duration="0:0:1"
							   From="1.0" To="0.0" RepeatBehavior="Forever" AutoReverse="True"/>
                        <DoubleAnimation 
                                Storyboard.TargetName="gwiazdka_Copy8"
                                Storyboard.TargetProperty="(Image.Opacity)"
							   BeginTime="0:0:0.9" Duration="0:0:1"
							   From="1.0" To="0.0" RepeatBehavior="Forever" AutoReverse="True"/>
                        <DoubleAnimation 
                                Storyboard.TargetName="gwiazdka_Copy9"
                                Storyboard.TargetProperty="(Image.Opacity)"
							   BeginTime="0:0:1" Duration="0:0:1"
							   From="1.0" To="0.0" RepeatBehavior="Forever" AutoReverse="True"/>
                        <DoubleAnimation 
                                Storyboard.TargetName="gwiazdka_Copy10"
                                Storyboard.TargetProperty="(Image.Opacity)"
							   BeginTime="0:0:1.1" Duration="0:0:1"
							   From="1.0" To="0.0" RepeatBehavior="Forever" AutoReverse="True"/>
                    </Storyboard>
                </BeginStoryboard>
            </EventTrigger>
        </Grid.Triggers>
        <Image x:Name="choinka" HorizontalAlignment="Center" 
            Source="Resources/Choinka1.png" AutomationProperties.Name="choinka" VerticalAlignment="Center" Margin="0,0,0,0"/>
        <Image x:Name="gwiazdka" Source="Resources/gwiazdka1.png" Margin="173,-10,172,30" Width="100" RenderTransformOrigin="-7.95,0.586" Opacity="1">
        
        </Image>
        <Image x:Name="gwiazdka_Copy" Source="Resources/gwiazdka1.png" Margin="100,39,245,-19" Width="100" RenderTransformOrigin="-7.95,0.586" Opacity="1">
            
        </Image>
        <Image x:Name="gwiazdka_Copy1" Source="Resources/gwiazdka1.png" Margin="254,-46,91,66" Width="100" RenderTransformOrigin="-7.95,0.586" Opacity="1">
            
        </Image>
        <Image x:Name="gwiazdka_Copy2" Source="Resources/gwiazdka1.png" Margin="122,-46,223,66" Width="100" RenderTransformOrigin="-7.95,0.586" Opacity="1">
           
        </Image>
        <Image x:Name="gwiazdka_Copy3" Source="Resources/gwiazdka1.png" Margin="298,39,47,-19" Width="100" RenderTransformOrigin="-7.95,0.586" Opacity="1">
            
        </Image>
        <Image x:Name="gwiazdka_Copy4" Source="Resources/gwiazdka1.png" Margin="222,95,123,-75" Width="100" RenderTransformOrigin="-7.95,0.586" Opacity="1">
            
        </Image>
        <Image x:Name="gwiazdka_Copy5" Source="Resources/gwiazdka1.png" Margin="68,95,277,-75" Width="100" RenderTransformOrigin="-7.95,0.586" Opacity="1">
            
        </Image>
        <Image x:Name="gwiazdka_Copy6" Source="Resources/gwiazdka1.png" Margin="193,-66,152,86" Width="100" RenderTransformOrigin="-7.95,0.586" Opacity="1">
            
        </Image>
        <Image x:Name="gwiazdka_Copy7" Source="Resources/gwiazdka1.png" Margin="154,80,191,-60" Width="100" RenderTransformOrigin="-7.95,0.586" Opacity="1">
            
        </Image>
        <Image x:Name="gwiazdka_Copy8" Source="Resources/gwiazdka1.png" Margin="322,108,23,-88" Width="100" RenderTransformOrigin="-7.95,0.586" Opacity="1">
            
        </Image>
        <Image x:Name="gwiazdka_Copy9" Source="Resources/gwiazdka1.png" Margin="38,29,307,-9" Width="100" RenderTransformOrigin="-7.95,0.586" Opacity="1">
            
        </Image>
        <Image x:Name="gwiazdka_Copy10" Source="Resources/gwiazdka1.png" Margin="205,39,140,-19" Width="100" RenderTransformOrigin="-7.95,0.586" Opacity="1">
            
        </Image>
    </Grid>
</Window>
