UpgradeView.xaml 1.8 KB

1234567891011121314151617181920212223242526
  1. <UserControl x:Class="AIPractice.LabellerServer.WPF.UpgradeView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:AIPractice.LabellerServer.WPF"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800">
  9. <Grid>
  10. <StackPanel x:Name="LeftPanel" Margin="2">
  11. <StackPanel Margin="2" Orientation="Horizontal">
  12. <TextBlock Style="{StaticResource textblock-default}" Margin="4" VerticalAlignment="Center" Text="选择客户端安装包: "/>
  13. <TextBox IsReadOnly="True" Width="380" x:Name="ClientFile" Margin="2" Style="{DynamicResource input-group-btn right}" Tag="选择" Button.Click="OnSelectFileClick"/>
  14. </StackPanel>
  15. <StackPanel Margin="2" Orientation="Horizontal">
  16. <TextBlock Style="{StaticResource textblock-default}" Margin="4" VerticalAlignment="Center" Text="设置客户端版本号: "/>
  17. <TextBox x:Name="VersionInfo" Margin="2" VerticalAlignment="Center" Width="100"/>
  18. </StackPanel>
  19. <StackPanel Orientation="Horizontal" Margin="8" >
  20. <Button VerticalAlignment="Center" Style="{StaticResource btn-primary}" Width="100" HorizontalAlignment="Left" Height="32" Content="保存" Click="OnImportClick"/>
  21. <Label x:Name="UpgradeInfo" VerticalAlignment="Center" Style="{StaticResource text-info}" Margin="4"/>
  22. </StackPanel>
  23. </StackPanel>
  24. </Grid>
  25. </UserControl>