128 lines
4.5 KiB
XML
128 lines
4.5 KiB
XML
<Window x:Class="Valheim_Mod_Sync_Desktop.Lizenz"
|
|
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:local="clr-namespace:Valheim_Mod_Sync_Desktop"
|
|
mc:Ignorable="d"
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
TextElement.FontWeight="Medium"
|
|
TextElement.FontSize="14"
|
|
FontFamily="{materialDesign:MaterialDesignFont}"
|
|
Title="Valheim Mod Sync Lizenz" Height="200" Width="400" ResizeMode="NoResize" WindowStyle="None" WindowStartupLocation="CenterScreen" Icon="/files/tbs.ico">
|
|
<Grid
|
|
Background="{DynamicResource BackgroundGrid}"
|
|
>
|
|
<StackPanel
|
|
x:Name="header"
|
|
Height="25px"
|
|
Background="{DynamicResource BackgroundHeader}" Margin="0,0,0,175"
|
|
Orientation="Horizontal"
|
|
MouseLeftButtonDown="header_MouseLeftButtonDown"
|
|
>
|
|
|
|
<Label
|
|
Content="Valheim Mod Sync"
|
|
FontWeight="Bold"
|
|
Foreground="{DynamicResource HeaderTextColor}"
|
|
Width="130px"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Center"
|
|
/>
|
|
|
|
<Label
|
|
x:Name="miniBtn"
|
|
MouseLeftButtonDown="miniBtn_MouseLeftButtonDown"
|
|
Content="{materialDesign:PackIcon Minus}"
|
|
HorizontalAlignment="Right"
|
|
Margin="220,0,0,0"
|
|
VerticalAlignment="Center"
|
|
Foreground="{DynamicResource CloseMinimizeColor}"
|
|
Cursor="Hand"
|
|
/>
|
|
|
|
<Label
|
|
x:Name="exitBtn"
|
|
MouseLeftButtonDown="exitBtn_MouseLeftButtonDown"
|
|
Content="{materialDesign:PackIcon Close}"
|
|
HorizontalAlignment="Right"
|
|
Margin="0,0,0,0"
|
|
VerticalAlignment="Center"
|
|
Foreground="{DynamicResource CloseMinimizeColor}"
|
|
Cursor="Hand"
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
<TextBox
|
|
x:Name="LizenzKey"
|
|
HorizontalAlignment="Left"
|
|
Margin="70,35,0,0"
|
|
TextWrapping="Wrap"
|
|
VerticalAlignment="Top"
|
|
Width="315"
|
|
Height="24"
|
|
Background="{DynamicResource TextBoxBackgroundColor}"
|
|
Foreground="{DynamicResource TextBoxTextColor}"
|
|
BorderBrush="{x:Null}" Cursor="IBeam"
|
|
/>
|
|
|
|
<TextBlock
|
|
HorizontalAlignment="Left"
|
|
Margin="15,38,0,0"
|
|
Text="{DynamicResource LizenzText}"
|
|
TextWrapping="Wrap"
|
|
VerticalAlignment="Top"
|
|
Foreground="{DynamicResource HeaderTextColor}"
|
|
FontWeight="Bold"
|
|
FontSize="14"
|
|
/>
|
|
|
|
<TextBox
|
|
x:Name="outputlizenz"
|
|
HorizontalAlignment="Center"
|
|
Margin="0,69,0,0"
|
|
TextWrapping="Wrap"
|
|
VerticalAlignment="Top"
|
|
Width="370"
|
|
Height="85"
|
|
Background="{DynamicResource TextBoxBackgroundColor}"
|
|
Foreground="{DynamicResource TextBoxTextColor}"
|
|
BorderBrush="{x:Null}"
|
|
Cursor="IBeam"
|
|
IsReadOnly="False"
|
|
/>
|
|
|
|
<Button
|
|
x:Name="bestätigen"
|
|
Content="{DynamicResource LizenzButton}"
|
|
HorizontalAlignment="Center"
|
|
Margin="0,163,0,0"
|
|
VerticalAlignment="Top"
|
|
Background="{DynamicResource ButtonBackgroundColor}"
|
|
Foreground="{DynamicResource ButtonTextColor}"
|
|
BorderBrush="{DynamicResource ButtonBackgroundColor}"
|
|
Click="bestätigen_Click"
|
|
/>
|
|
<ComboBox
|
|
x:Name="Sprache"
|
|
Style="{StaticResource MaterialDesignFilledComboBox}"
|
|
BorderThickness="0"
|
|
Width="100"
|
|
Height="45"
|
|
Foreground="{DynamicResource HeaderTextColor}"
|
|
BorderBrush="{DynamicResource HeaderTextColor}"
|
|
Background="{DynamicResource TextBoxBackgroundColor}"
|
|
Margin="285,150,15,5"
|
|
SelectionChanged="Sprache_SelectionChanged"
|
|
>
|
|
<ComboBoxItem>German</ComboBoxItem>
|
|
<ComboBoxItem>English</ComboBoxItem>
|
|
</ComboBox>
|
|
|
|
</Grid>
|
|
</Window>
|