33 lines
1.7 KiB
XML
33 lines
1.7 KiB
XML
<Window x:Class="mpvnet.SetupWindow"
|
|
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:UI="clr-namespace:UI"
|
|
mc:Ignorable="d"
|
|
|
|
Title="mpv.net Setup"
|
|
FontSize="13"
|
|
Foreground="{x:Static UI:Theme.Foreground}"
|
|
Background="{x:Static UI:Theme.Background}"
|
|
SizeToContent="WidthAndHeight"
|
|
WindowStartupLocation="CenterOwner" >
|
|
|
|
<Window.Resources>
|
|
<Style TargetType="Button">
|
|
<Setter Property="Padding" Value="10"></Setter>
|
|
<Setter Property="Margin" Value="5"></Setter>
|
|
</Style>
|
|
</Window.Resources>
|
|
|
|
<Grid>
|
|
<StackPanel Margin="10">
|
|
<Button Name="RegisterVideo" Click="RegisterVideo_Click">Register video file extensions (requires admin rights)</Button>
|
|
<Button Name="RegisterAudio" Click="RegisterAudio_Click">Register audio file extensions (requires admin rights)</Button>
|
|
<Button Name="RegisterImage" Click="RegisterImage_Click">Register image file extensions (requires admin rights)</Button>
|
|
<Button Name="UnregisterFileAssociations" Click="UnregisterFileAssociations_Click">Unregister file extensions (requires admin rights)</Button>
|
|
<Button Name="AddToPathEnvVar" Click="AddToPathEnvVar_Click">Add mpv.net to Path environment variable</Button>
|
|
<Button Name="RemoveFromPathEnvVar" Click="RemoveFromPathEnvVar_Click">Remove mpv.net from Path environment variable</Button>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Window> |