CalibWindow.xaml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <Window x:Class="AutoFocusTool.CalibWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. Title="自动标定 · 16 well 总览" Height="900" Width="1400"
  5. FontFamily="Microsoft YaHei" Background="#1E1E1E" WindowState="Maximized">
  6. <Grid Margin="8">
  7. <Grid.RowDefinitions>
  8. <RowDefinition Height="Auto"/>
  9. <RowDefinition Height="*"/>
  10. <RowDefinition Height="120"/>
  11. </Grid.RowDefinitions>
  12. <!-- 顶部:进度提示 + 控制 -->
  13. <Border Grid.Row="0" Background="#252526" Padding="10" CornerRadius="4">
  14. <StackPanel Orientation="Horizontal">
  15. <TextBlock x:Name="TxtBigProgress" Text="准备中..." FontSize="20" FontWeight="Bold"
  16. Foreground="#4EC9B0" VerticalAlignment="Center"/>
  17. <TextBlock x:Name="TxtSubProgress" Text="" FontSize="14"
  18. Foreground="#DCDCAA" VerticalAlignment="Center" Margin="20,0,0,0"/>
  19. <Button x:Name="BtnCalStop" Content="停止" Click="BtnCalStop_Click" Width="70"
  20. Margin="20,0,0,0" Background="#A1260D" Foreground="White"/>
  21. </StackPanel>
  22. </Border>
  23. <!-- 中部:16 well 网格(4x4),正在标定的格子实时显示画面 -->
  24. <UniformGrid x:Name="WellGrid" Grid.Row="1" Rows="4" Columns="4" Margin="0,8,0,8"/>
  25. <!-- 底部:仅当前参数/步骤文字(画面直接显示在上面对应well格内) -->
  26. <Border Grid.Row="2" Background="#252526" Padding="8" CornerRadius="4">
  27. <StackPanel VerticalAlignment="Center">
  28. <TextBlock x:Name="TxtCurParams" Text="当前: --" Foreground="White" FontSize="14"/>
  29. <TextBlock x:Name="TxtCurStep" Text="" Foreground="#DCDCAA" FontSize="13" Margin="0,4,0,0"/>
  30. </StackPanel>
  31. </Border>
  32. </Grid>
  33. </Window>