Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window x:Class="ReproductorMultimedia.MainWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- Title="ReproductorMultimedia" Height="350" Width="525" SizeToContent="WidthAndHeight">
- <Window.Resources>
- <BitmapImage x:Key="Open" UriSource="Icons/open.ico"/>
- <BitmapImage x:Key="Play" UriSource="Icons/play.ico"/>
- <BitmapImage x:Key="pause" UriSource="Icons/pause.ico"/>
- <BitmapImage x:Key="Stop" UriSource="Icons/stop.ico"/>
- <BitmapImage x:Key="Menos" UriSource="Icons/menos.ico"/>
- <BitmapImage x:Key="Mas" UriSource="Icons/mas.ico"/>
- </Window.Resources>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="auto" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <ToolBarTray Grid.Row="0">
- <ToolBar>
- <Button Grid.Row="0" Grid.Column="0">
- <Image Source="{StaticResource Open}"/>
- </Button>
- <Separator/>
- <Button Grid.Row="0" Grid.Column="0">
- <Image Source="{StaticResource Play}"/>
- </Button>
- <Button Grid.Row="0" Grid.Column="0">
- <Image Source="{StaticResource pause}"/>
- </Button>
- <Button Grid.Row="0" Grid.Column="0">
- <Image Source="{StaticResource Stop}"/>
- </Button>
- <Separator/>
- <Button Grid.Row="0" Grid.Column="0">
- <Image Source="{StaticResource Menos}"/>
- </Button>
- <Button Grid.Row="0" Grid.Column="0">
- <Image Source="{StaticResource Mas}"/>
- </Button>
- </ToolBar>
- </ToolBarTray>
- <MediaElement x:Name="reproductor" Grid.Row="1" LoadedBehavior="Manual" Stretch="None" Source="video.mp4" />
- </Grid>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement