Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. <Window x:Class="ReproductorMultimedia.MainWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. Title="ReproductorMultimedia" Height="350" Width="525" SizeToContent="WidthAndHeight">
  5.  
  6. <Window.Resources>
  7. <BitmapImage x:Key="Open" UriSource="Icons/open.ico"/>
  8. <BitmapImage x:Key="Play" UriSource="Icons/play.ico"/>
  9. <BitmapImage x:Key="pause" UriSource="Icons/pause.ico"/>
  10. <BitmapImage x:Key="Stop" UriSource="Icons/stop.ico"/>
  11. <BitmapImage x:Key="Menos" UriSource="Icons/menos.ico"/>
  12. <BitmapImage x:Key="Mas" UriSource="Icons/mas.ico"/>
  13. </Window.Resources>
  14.  
  15. <Grid>
  16. <Grid.RowDefinitions>
  17.  
  18. <RowDefinition Height="auto" />
  19. <RowDefinition Height="*" />
  20.  
  21. </Grid.RowDefinitions>
  22.  
  23.  
  24. <ToolBarTray Grid.Row="0">
  25. <ToolBar>
  26. <Button Grid.Row="0" Grid.Column="0">
  27. <Image Source="{StaticResource Open}"/>
  28.  
  29.  
  30. </Button>
  31. <Separator/>
  32. <Button Grid.Row="0" Grid.Column="0">
  33. <Image Source="{StaticResource Play}"/>
  34.  
  35. </Button>
  36. <Button Grid.Row="0" Grid.Column="0">
  37. <Image Source="{StaticResource pause}"/>
  38.  
  39. </Button>
  40. <Button Grid.Row="0" Grid.Column="0">
  41. <Image Source="{StaticResource Stop}"/>
  42.  
  43. </Button>
  44. <Separator/>
  45. <Button Grid.Row="0" Grid.Column="0">
  46. <Image Source="{StaticResource Menos}"/>
  47.  
  48. </Button>
  49. <Button Grid.Row="0" Grid.Column="0">
  50. <Image Source="{StaticResource Mas}"/>
  51.  
  52. </Button>
  53.  
  54.  
  55. </ToolBar>
  56. </ToolBarTray>
  57.  
  58. <MediaElement x:Name="reproductor" Grid.Row="1" LoadedBehavior="Manual" Stretch="None" Source="video.mp4" />
  59. </Grid>
  60. </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement