upload
This commit is contained in:
85
AnalysisWindow.xaml
Normal file
85
AnalysisWindow.xaml
Normal file
@@ -0,0 +1,85 @@
|
||||
<Window x:Class="Lab9.AnalysisWindow"
|
||||
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"
|
||||
mc:Ignorable="d"
|
||||
Title="Анализ производительности"
|
||||
Height="620"
|
||||
Width="1080"
|
||||
WindowStartupLocation="CenterOwner"
|
||||
Background="#FFF4F6F8">
|
||||
<Grid Margin="14">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="12"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="12"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="12"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<DockPanel Grid.Row="0">
|
||||
<Button Content="Назад"
|
||||
Width="110"
|
||||
Background="#FF5D6D7E"
|
||||
Foreground="White"
|
||||
Click="Close_Click"/>
|
||||
<TextBlock Margin="14,6,0,0"
|
||||
VerticalAlignment="Center"
|
||||
FontWeight="Bold"
|
||||
FontSize="20"
|
||||
Text="Сравнительный анализ эффективности"/>
|
||||
</DockPanel>
|
||||
|
||||
<DataGrid x:Name="AnalysisDataGrid"
|
||||
Grid.Row="2"
|
||||
AutoGenerateColumns="False"
|
||||
IsReadOnly="True"
|
||||
HeadersVisibility="Column"
|
||||
CanUserAddRows="False"
|
||||
CanUserDeleteRows="False"
|
||||
Margin="0"
|
||||
RowHeight="44">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="Количество элементов"
|
||||
Binding="{Binding ElementCount}"
|
||||
Width="160"/>
|
||||
<DataGridTextColumn Header="TimSort"
|
||||
Binding="{Binding TimSort}"
|
||||
Width="*"/>
|
||||
<DataGridTextColumn Header="MSD"
|
||||
Binding="{Binding Msd}"
|
||||
Width="*"/>
|
||||
<DataGridTextColumn Header="Коммунистическая сортировка"
|
||||
Binding="{Binding Communist}"
|
||||
Width="*"/>
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
|
||||
<Border Grid.Row="4"
|
||||
Background="White"
|
||||
BorderBrush="#FFD6DCE2"
|
||||
BorderThickness="1"
|
||||
CornerRadius="8"
|
||||
Padding="12">
|
||||
<StackPanel>
|
||||
<TextBlock FontWeight="Bold"
|
||||
FontSize="16"
|
||||
Margin="0,0,0,8"
|
||||
Text="Анализ"/>
|
||||
<TextBlock x:Name="AnalysisSummaryTextBlock"
|
||||
TextWrapping="Wrap"/>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
|
||||
<Button Grid.Row="6"
|
||||
Content="Начать анализ заново"
|
||||
HorizontalAlignment="Right"
|
||||
Width="180"
|
||||
Background="#FF1E9C58"
|
||||
Foreground="White"
|
||||
Click="Recalculate_Click"/>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user