source: trunk/CrypPlugins/KeySearcher/Presentation/Controls/OpenCLPresentation.xaml @ 2422

Last change on this file since 2422 was 2422, checked in by Matthäus Wander, 11 years ago

KeySearcher:

  • right-aligned numbers in presentation table (more space for DE strings)
File size: 2.6 KB
Line 
1<UserControl x:Class="KeySearcherPresentation.Controls.OpenCLPresentation"
2    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
4    <UserControl.Resources>
5        <RotateTransform x:Key="HeaderRotate" Angle="270" />
6    </UserControl.Resources>
7    <Viewbox>
8        <StackPanel Width="646">
9            <Border BorderBrush="Silver" BorderThickness="2,2,2,2">
10                <Grid Height="78" Background="#AF73B7A6">
11                    <Grid.ColumnDefinitions>
12                        <ColumnDefinition Width="26" />
13                        <ColumnDefinition Width="200*" />
14                        <ColumnDefinition Width="200*" />
15                    </Grid.ColumnDefinitions>
16                    <Grid.RowDefinitions>
17                        <RowDefinition Height="26" />
18                        <RowDefinition Height="26" />
19                        <RowDefinition Height="26" />
20                    </Grid.RowDefinitions>
21                    <Border BorderThickness="1" BorderBrush="Black" LayoutTransform="{StaticResource HeaderRotate}" Background="#FF3B8EA4" Grid.Column="0" Grid.RowSpan="3">
22                        <Label Content="OpenCL" FontSize="11" HorizontalAlignment="Center" Foreground="White" />
23                    </Border>
24
25                    <Label Content="{Loc Keys_sec_OpenCL_}" Grid.Column="1" Grid.Row="0" />
26                    <Label Name="keysPerSecondOpenCL" Grid.Column="1" Grid.Row="0" HorizontalContentAlignment="Right" Padding="5,5,20,5" />
27                    <Label Content="{Loc Keys_sec_CPU_}" Grid.Column="2" Grid.Row="0" />
28                    <Label Name="keysPerSecondCPU" Grid.Column="2" Grid.Row="0" HorizontalContentAlignment="Right" Padding="5,5,20,5" />
29                   
30                    <Label Content="{Loc Devices_}" Grid.Column="1" Grid.Row="1" />
31                    <Label Name="devices" Grid.Column="1" Grid.Row="1" HorizontalContentAlignment="Right" Padding="5,5,20,5" />
32
33                    <Label Content="{Loc Work_Items_}" Grid.Column="2" Grid.Row="1" />
34                    <Label Name="workItems" Grid.Column="2" Grid.Row="1" HorizontalContentAlignment="Right" Padding="5,5,20,5" />
35                   
36                    <Label Content="{Loc Ration_}" Grid.Column="1" Grid.Row="2" />
37                    <Label Name="ratio" Grid.Column="1" Grid.Row="2" HorizontalContentAlignment="Right" Padding="5,5,20,5" />
38                </Grid>
39            </Border>           
40        </StackPanel>
41    </Viewbox>
42</UserControl>
Note: See TracBrowser for help on using the repository browser.