93 lines
3.8 KiB
XML
93 lines
3.8 KiB
XML
<Window x:Class="Valheim_Mod_Sync_Desktop.Crash"
|
|
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}"
|
|
x:Name="BenachrichtigungsFenster"
|
|
Title="Valheim Mod Sync Error" 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>
|
|
|
|
<StackPanel Orientation="Vertical" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,25,0,0" Height="Auto" Width="Auto">
|
|
|
|
<TextBlock FontSize="14" HorizontalAlignment="Center" Foreground="{DynamicResource HeaderTextColor}" FontWeight="Bold" TextAlignment="Center" Text="{DynamicResource CrashBenachrichtigung}"
|
|
TextWrapping="Wrap"
|
|
Margin="0,0,0,10"
|
|
/>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal" Margin="0 150 0 0">
|
|
<Button Content="{DynamicResource CrashSenden}"
|
|
IsDefault="True"
|
|
Width="100"
|
|
Margin="0 0 5 0"
|
|
Click="SendReportButton_Click"
|
|
Background="{DynamicResource ButtonBackgroundColor}"
|
|
BorderBrush="{DynamicResource ButtonBackgroundColor}"
|
|
Foreground="{DynamicResource ButtonTextColor}" Cursor="Hand"
|
|
/>
|
|
<Button Content="{DynamicResource CrashNichtSenden}"
|
|
IsCancel="True"
|
|
Width="100"
|
|
Click="CancelButton_Click"
|
|
Background="{DynamicResource ButtonBackgroundColor}"
|
|
BorderBrush="{DynamicResource ButtonBackgroundColor}"
|
|
Foreground="{DynamicResource ButtonTextColor}" Cursor="Hand"
|
|
/>
|
|
</StackPanel>
|
|
|
|
</Grid>
|
|
</Window>
|