feat: 更新类别使用下拉框,找不到OTA时弹出消息而不是错误框

This commit is contained in:
zzyyyl
2022-10-30 16:03:50 +08:00
parent d6e35b9fda
commit 098a64a078
5 changed files with 56 additions and 31 deletions

View File

@@ -36,20 +36,23 @@
Content="{DynamicResource UpdateAutoDownload}"
IsChecked="{Binding AutoDownloadUpdatePackage}"
IsEnabled="{Binding UpdateCheck}" />
<CheckBox
Margin="10"
HorizontalAlignment="Left"
<StackPanel
VerticalAlignment="Center"
Content="{DynamicResource UpdateCheckBeta}"
IsChecked="{Binding UpdateBeta}"
IsEnabled="{Binding UpdateCheck}" />
<CheckBox
Margin="10"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Content="{DynamicResource UpdateCheckNightly}"
IsChecked="{Binding UpdateNightly}"
IsEnabled="{Binding UpdateCheck}" />
Orientation="Horizontal">
<TextBlock
Margin="10"
Block.TextAlignment="Center"
Style="{StaticResource TextBlockDefault}"
Text="{DynamicResource UpdateCheckNow}" />
<ComboBox
Width="85"
Margin="10"
DisplayMemberPath="Display"
IsEnabled="{Binding UpdateCheck}"
ItemsSource="{Binding VersionTypeList}"
SelectedValue="{Binding VersionType}"
SelectedValuePath="Value" />
</StackPanel>
<CheckBox
Margin="10"
HorizontalAlignment="Left"