mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-04-22 21:59:55 +08:00
45 lines
2.0 KiB
XML
45 lines
2.0 KiB
XML
<ui:FluentWindow x:Class="BetterGenshinImpact.View.Windows.PromptDialog"
|
|
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="http://schemas.lepo.co/wpfui/2022/xaml"
|
|
WindowStartupLocation="CenterScreen"
|
|
mc:Ignorable="d"
|
|
MinWidth="400"
|
|
MinHeight="200"
|
|
Width="500"
|
|
Height="210"
|
|
WindowStyle="SingleBorderWindow"
|
|
ResizeMode="CanMinimize"
|
|
ui:Design.Background="{DynamicResource ApplicationBackgroundBrush}"
|
|
ui:Design.Foreground="{DynamicResource TextFillColorPrimaryBrush}"
|
|
ExtendsContentIntoTitleBar="True"
|
|
Title="配置"
|
|
>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<StackPanel
|
|
Grid.Row="1"
|
|
Margin="12">
|
|
<ui:TextBlock Name="TxtQuestion" Margin="5"/>
|
|
<ui:TextBox Name="TxtResponse" Margin="5"/>
|
|
<StackPanel Orientation="Horizontal" Margin="5" HorizontalAlignment="Right">
|
|
<ui:Button Content="确定" IsDefault="True" Margin="5" Name="BtnOk" Click="BtnOkClick" Appearance="Primary" />
|
|
<ui:Button Content="取消" IsCancel="True" Margin="5" Name="BtnCancel" Click="BtnCancelClick" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
<ui:TitleBar Title="配置" Grid.Row="0">
|
|
<ui:TitleBar.Icon>
|
|
<ui:ImageIcon Source="pack://application:,,,/Assets/logo.png" />
|
|
</ui:TitleBar.Icon>
|
|
</ui:TitleBar>
|
|
|
|
</Grid>
|
|
</ui:FluentWindow>
|