mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-06-02 10:55:48 +08:00
73 lines
3.1 KiB
XML
73 lines
3.1 KiB
XML
<ui:FluentWindow x:Class="BetterGenshinImpact.View.Windows.UploadDialog"
|
|
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"
|
|
Width="500"
|
|
Height="400"
|
|
MinWidth="400"
|
|
MinHeight="200"
|
|
ui:Design.Background="{DynamicResource ApplicationBackgroundBrush}"
|
|
ui:Design.Foreground="{DynamicResource TextFillColorPrimaryBrush}"
|
|
ExtendsContentIntoTitleBar="True"
|
|
FontFamily="{DynamicResource TextThemeFontFamily}"
|
|
ResizeMode="CanMinimize"
|
|
WindowBackdropType="Mica"
|
|
WindowStartupLocation="CenterScreen"
|
|
WindowStyle="SingleBorderWindow"
|
|
mc:Ignorable="d">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<ui:TitleBar Title="上传云端" Grid.Row="0">
|
|
<ui:TitleBar.Icon>
|
|
<ui:ImageIcon Source="pack://application:,,,/Assets/Images/logo.png" />
|
|
</ui:TitleBar.Icon>
|
|
</ui:TitleBar>
|
|
|
|
<StackPanel Grid.Row="1" Margin="12">
|
|
<TextBlock Text="进度" Margin="5,5,5,2"/>
|
|
<ProgressBar x:Name="UploadProgressBar"
|
|
Margin="5"
|
|
Height="20"
|
|
Value="0"
|
|
Maximum="100"/>
|
|
|
|
<TextBlock Text="日志" Margin="5,10,5,2"/>
|
|
<ui:TextBox x:Name="LogTextBox"
|
|
Height="180"
|
|
Margin="5"
|
|
AcceptsReturn="True"
|
|
IsReadOnly="True"
|
|
TextWrapping="Wrap"
|
|
VerticalScrollBarVisibility="Auto"/>
|
|
|
|
<StackPanel Margin="5"
|
|
HorizontalAlignment="Right"
|
|
Orientation="Horizontal">
|
|
<ui:Button Name="BtnOk"
|
|
Margin="5"
|
|
Appearance="Primary"
|
|
Click="BtnOkClick"
|
|
Content="上传"
|
|
IsDefault="True" />
|
|
<ui:Button Name="BtnDelete"
|
|
Margin="5"
|
|
Appearance="Primary"
|
|
Click="BtnDeleteClick"
|
|
Content="删除已上传内容"
|
|
IsDefault="True" />
|
|
<ui:Button Name="BtnCancel"
|
|
Margin="5"
|
|
Click="BtnCancelClick"
|
|
Content="关闭窗口"
|
|
IsCancel="True" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
</ui:FluentWindow>
|