source: trunk/CrypPlugins/MD5Collider/Presentation/QuickWatchPresentation.xaml @ 1187

Last change on this file since 1187 was 1187, checked in by pretzsch, 12 years ago

+ MD5Collider: Added logging / display for amount of different binary block permutations tried

File size: 1.8 KB
Line 
1<UserControl x:Class="Cryptool.Plugins.MD5Collider.Presentation.QuickWatchPresentation"
2    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3             xmlns:converters="clr-namespace:Cryptool.Plugins.MD5Collider.Presentation.Converters"
4    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="ucQuickWatchPresentation"
5    Height="100" Width="270" DataContext="{Binding Collider,ElementName=ucQuickWatchPresentation}" Background="AntiqueWhite">
6    <UserControl.Resources>
7        <converters:TimeSpanConverter x:Key="timeSpanConverter"/>
8        <converters:LongToStringWithDecimalSeparatorConverter x:Key="longConverter"/>
9    </UserControl.Resources>
10    <Grid Margin="5, 5, 5, 5">
11        <Grid.RowDefinitions>
12            <RowDefinition/>
13            <RowDefinition/>
14            <RowDefinition/>
15        </Grid.RowDefinitions>
16        <Grid.ColumnDefinitions>
17            <ColumnDefinition Width="1*"/>
18            <ColumnDefinition Width="3*"/>
19        </Grid.ColumnDefinitions>
20        <!--
21        <Label FontSize="16">Status:</Label>
22        <Label Grid.Column="1" Content="{Binding Status}" FontSize="16" />
23        -->
24
25        <Label Grid.Row="0" FontSize="16">Time:</Label>
26        <Label Grid.Row="0" Grid.Column="1" FontSize="16" Content="{Binding ElapsedTime, Converter={StaticResource timeSpanConverter}}"/>
27
28        <Label Grid.Row="1" FontSize="16">Match:</Label>
29        <ProgressBar Grid.Row="1" Grid.Column="2" Value="{Binding MatchProgress}" Maximum="{Binding MatchProgressMax}"/>
30
31
32        <Label Grid.Row="2" FontSize="16">Tries:</Label>
33        <Label Grid.Row="3" Grid.Column="1" FontSize="16" Content="{Binding CombinationsTried, Converter={StaticResource longConverter}}"/>
34    </Grid>
35</UserControl>
Note: See TracBrowser for help on using the repository browser.