mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-04-12 15:33:32 +08:00
83 lines
3.7 KiB
XML
83 lines
3.7 KiB
XML
<UserControl x:Class="MicaSetup.Views.MainPage"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:control="clr-namespace:MicaSetup.Design.Controls"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:design="clr-namespace:MicaSetup.Design"
|
|
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
|
|
xmlns:local="clr-namespace:MicaSetup.Views"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
d:DesignHeight="400"
|
|
d:DesignWidth="500"
|
|
FontSize="15"
|
|
mc:Ignorable="d">
|
|
<UserControl.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<design:ResourceResourceDictionary />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
</UserControl.Resources>
|
|
<Grid>
|
|
<Grid Grid.Row="0" Margin="0,8,0,8">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
</Grid.RowDefinitions>
|
|
<i:Interaction.Behaviors>
|
|
<control:WindowDragMoveBehavior />
|
|
</i:Interaction.Behaviors>
|
|
<Image Grid.Row="0"
|
|
Width="120"
|
|
Height="120"
|
|
VerticalAlignment="Top"
|
|
RenderOptions.BitmapScalingMode="Fant"
|
|
Source="pack://application:,,,/MicaSetup;component/Resources/Images/Favicon.png">
|
|
<Image.Effect>
|
|
<DropShadowEffect BlurRadius="7"
|
|
Direction="275"
|
|
Opacity="0.2"
|
|
ShadowDepth="2"
|
|
Color="DimGray" />
|
|
</Image.Effect>
|
|
</Image>
|
|
<TextBlock Grid.Row="1"
|
|
Margin="0,8,0,8"
|
|
HorizontalAlignment="Center"
|
|
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
|
|
Text="BetterGI · 更好的原神" />
|
|
<TextBlock Grid.Row="2"
|
|
Margin="20,35"
|
|
FontSize="18"
|
|
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
|
|
Text="{DynamicResource SureUninstallTips}" />
|
|
</Grid>
|
|
<StackPanel Margin="20" VerticalAlignment="Bottom">
|
|
<CheckBox Content="{DynamicResource KeepMyDataTips}"
|
|
FontSize="15"
|
|
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
|
|
IsChecked="{Binding KeepMyData, Mode=TwoWay}"
|
|
Style="{StaticResource DefaultCheckBoxStyle}" />
|
|
</StackPanel>
|
|
<StackPanel Margin="20"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Bottom"
|
|
Orientation="Horizontal">
|
|
<Button Height="30"
|
|
MinWidth="80"
|
|
Padding="10,0,10,0"
|
|
Command="{Binding StartUninstallCommand}"
|
|
Content="{DynamicResource ButtonOK}"
|
|
FontSize="15" />
|
|
<Button Height="30"
|
|
MinWidth="80"
|
|
Margin="10,0,0,0"
|
|
Padding="10,0,10,0"
|
|
Command="{Binding CancelUninstallCommand}"
|
|
Content="{DynamicResource ButtonCancel}"
|
|
FontSize="15" />
|
|
</StackPanel>
|
|
</Grid>
|
|
</UserControl>
|