LogoWindow.xaml 1.0 KB

12345678910111213141516171819202122
  1. <Window x:Class="AIRS.LogoWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:shell="clr-namespace:Microsoft.Windows.Shell;assembly=Microsoft.Windows.Shell"
  7. xmlns:local="clr-namespace:AIRS"
  8. mc:Ignorable="d"
  9. Title="LogoWindow" Height="350" Width="500" WindowStartupLocation="CenterScreen" Background="#00000000" WindowStyle="None" AllowsTransparency="True" >
  10. <Window.Triggers>
  11. <EventTrigger RoutedEvent="Loaded">
  12. <BeginStoryboard>
  13. <Storyboard >
  14. <DoubleAnimation Duration="0:0:1.8" Storyboard.TargetProperty="Opacity" From="0" To="1" />
  15. </Storyboard>
  16. </BeginStoryboard>
  17. </EventTrigger>
  18. </Window.Triggers>
  19. <Grid>
  20. <Image x:Name="logo" Source="img/logo3.png"/>
  21. </Grid>
  22. </Window>