123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <Window x:Class="MeterVision.Dlg.CompLogViewer"
- 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:local="clr-namespace:MeterVision.Dlg"
- xmlns:uc="clr-namespace:MeterVision.UC"
- mc:Ignorable="d"
- SizeChanged="Window_SizeChanged"
- Closed="Window_Closed"
- WindowStartupLocation="CenterOwner"
- WindowState="Maximized"
- PreviewMouseWheel="Window_PreviewMouseWheel"
- ShowInTaskbar="False"
- PreviewKeyDown="Window_PreviewKeyDown"
- Title="AI运行日志" Height="768" Width="1024">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="0" />
- <RowDefinition Height="*" />
- <RowDefinition Height="0" />
- </Grid.RowDefinitions>
- <Border Grid.Row="0" Background="White" BorderBrush="#D3D3D3" BorderThickness="0 0 0 1">
- </Border>
- <Border Grid.Row="1" Background="White">
- <Grid x:Name="gridMid">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="350" />
- <ColumnDefinition Width="Auto" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Border Grid.Column="0" Margin="10 0 0 0">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <Border Grid.Row="0" Background="White" Margin="5">
- <uc:UCImage x:Name="ucImageSrc" />
- </Border>
- <Border Grid.Row="1" Background="White" Margin="5">
- <uc:UCImage x:Name="ucImageDst" />
- </Border>
- </Grid>
- </Border>
- <!-- The GridSplitter itself -->
- <GridSplitter Grid.Column="1" Width="5" Background="Silver"
- ResizeBehavior="PreviousAndNext" />
- <Grid Grid.Column="2">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Border Grid.Column="0" BorderBrush="#D3D3D3" BorderThickness="1" Margin="6 6 10 10">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="*" />
- <RowDefinition Height="Auto" />
- </Grid.RowDefinitions>
- <TextBlock Text="新任务日志" Margin="10 5 0 5" FontSize="14px"/>
- <Border Grid.Row="1">
- <RichTextBox Name="RichTxtContentBox" Grid.Column="1"
- IsReadOnly="True"
- VerticalScrollBarVisibility="Auto"
- FontSize="14px" BorderThickness="0"
- Margin="10 6 10 10"/>
- </Border>
- <StackPanel x:Name="pnlImageCtl" Grid.Row="2" Orientation="Horizontal" Background="#666666" Margin="5" HorizontalAlignment="Center">
- <Button Content="↑" FontSize="20px" Width="30" Height="30" Click="LogScrollTop_Click" Margin="20 5 20 5" Padding="0" Foreground="White" Background="#333333" />
- <Button Content="↓" FontSize="20px" Width="30" Height="30" Click="LogScrollBottom_Click" Margin="0 5 20 5" Padding="0" Foreground="White" Background="#333333" />
- <Button Content="📁" FontSize="20px" Width="30" Height="30" Click="AiLogSave_Click" Margin="0 5 20 5" Padding="0" Foreground="White" Background="#333333" />
- </StackPanel>
- </Grid>
- </Border>
- <Border Grid.Column="1" BorderBrush="#D3D3D3" BorderThickness="1" Margin="6 6 10 10">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="*" />
- <RowDefinition Height="Auto" />
- </Grid.RowDefinitions>
-
- <TextBlock Text="旧任务日志" Margin="10 5 0 5" FontSize="14px"/>
- <Border Grid.Row="1">
- <RichTextBox Name="RichTxtContentBox2" Grid.Column="1"
- IsReadOnly="True"
- VerticalScrollBarVisibility="Auto"
- FontSize="14px" BorderThickness="0"
- Margin="10 6 10 10"/>
- </Border>
- <StackPanel x:Name="pnlImageCtl2" Grid.Row="2" Orientation="Horizontal" Background="#666666" Margin="5" HorizontalAlignment="Center">
- <Button Content="↑" FontSize="20px" Width="30" Height="30" Click="LogScrollTop2_Click" Margin="20 5 20 5" Padding="0" Foreground="White" Background="#333333" />
- <Button Content="↓" FontSize="20px" Width="30" Height="30" Click="LogScrollBottom2_Click" Margin="0 5 20 5" Padding="0" Foreground="White" Background="#333333" />
- <Button Content="📁" FontSize="20px" Width="30" Height="30" Click="AiLogSave2_Click" Margin="0 5 20 5" Padding="0" Foreground="White" Background="#333333" />
- </StackPanel>
- </Grid>
- </Border>
- </Grid>
-
-
- </Grid>
- </Border>
- <Border Grid.Row="2" Background="White" BorderBrush="#D3D3D3" BorderThickness="0 1 0 0">
- </Border>
- </Grid>
- </Window>
|