Advertisement
Guest User

Untitled

a guest
May 3rd, 2015
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. <Window
  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:i="http://schemas.microsoft.com/expression/2010/interactivity"
  7. xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions"
  8. x:Name="Window"
  9. Title="Loading"
  10. Width="640" Height="480" Background="{x:Null}" WindowStyle="None" AllowsTransparency="True" VerticalAlignment="Bottom" WindowStartupLocation="CenterScreen" WindowState="Maximized">
  11. <Grid x:Name="LayoutRoot" Background="#4C000000">
  12.  
  13. <Grid HorizontalAlignment="Center" VerticalAlignment="Center" Width="277" Height="277">
  14. <MediaElement x:Name="Loading" MediaEnded="Loading_MediaEnded" UnloadedBehavior="Manual"
  15. Source="Images/Loading.gif" LoadedBehavior="Play" Stretch="None" Clip="M0.5,19.5 C0.5,9.0065898 9.0065898,0.5 19.5,0.5 L257.5,0.5 C267.99341,0.5 276.5,9.0065898 276.5,19.5 L276.5,257.5 C276.5,267.99341 267.99341,276.5 257.5,276.5 L19.5,276.5 C9.0065898,276.5 0.5,267.99341 0.5,257.5 z"/>
  16.  
  17. </Grid>
  18.  
  19. </Grid>
  20.  
  21. LoadingAnim loadingAnimation = new LoadingAnim();
  22. loadingAnimation.Owner = this;
  23. loadingAnimation.Show();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement