improve:设置界面
This commit is contained in:
@@ -646,7 +646,7 @@
|
|||||||
<TextBlock Text="# 版本修复会根据当前选择的通道下载最新版本并执行安装,可用于修复损坏的安装"
|
<TextBlock Text="# 版本修复会根据当前选择的通道下载最新版本并执行安装,可用于修复损坏的安装"
|
||||||
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||||||
<Button x:Name="HistoryRollbackButton" Content="历史版本回滚" Width="120" Margin="0,10,0,0" Click="HistoryRollbackButton_Click"/>
|
<Button x:Name="HistoryRollbackButton" Content="历史版本回滚" Width="120" Margin="0,10,0,0" Click="HistoryRollbackButton_Click"/>
|
||||||
<TextBlock Text="# 历史版本回滚,点击后会弹出相应页面供用户手动回滚,请不要试图使用历史版本回滚功能回滚到当前版本,如果您需要回滚到当前版本,请使用版本修复功能"
|
<TextBlock Text="# 历史版本回滚,点击后会弹出相应页面供用户手动回滚到之前的版本"
|
||||||
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||||||
<Border BorderBrush="White" BorderThickness="1" CornerRadius="5" Padding="12"
|
<Border BorderBrush="White" BorderThickness="1" CornerRadius="5" Padding="12"
|
||||||
Visibility="{Binding ElementName=ToggleSwitchIsAutoUpdateWithSilence, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
|
Visibility="{Binding ElementName=ToggleSwitchIsAutoUpdateWithSilence, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
|
||||||
|
|||||||
@@ -173,10 +173,10 @@ namespace Ink_Canvas
|
|||||||
DownloadProgressBar.Value = 100;
|
DownloadProgressBar.Value = 100;
|
||||||
DownloadProgressText.Text = "下载完成,准备安装...";
|
DownloadProgressText.Text = "下载完成,准备安装...";
|
||||||
await Task.Delay(800);
|
await Task.Delay(800);
|
||||||
// 设置结果为立即更新
|
// 设置结果为立即更新
|
||||||
Result = UpdateResult.UpdateNow;
|
Result = UpdateResult.UpdateNow;
|
||||||
DialogResult = true;
|
DialogResult = true;
|
||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user