source: trunk/CrypPlugins/Wizard/WizardControl.xaml @ 2333

Last change on this file since 2333 was 2333, checked in by sauer, 11 years ago

Added visual help (background color) to underline the relation between selection and description (click through and you'll see)

File size: 5.2 KB
Line 
1<UserControl x:Class="Wizard.WizardControl"
2             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
5             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6             mc:Ignorable="d"
7             d:DesignHeight="300" d:DesignWidth="600">
8    <UserControl.Resources>
9        <BitmapImage x:Key="Analyse" UriSource="Images/Analyse.png"/>
10        <BitmapImage x:Key="Classic" UriSource="Images/Classic.png"/>
11        <BitmapImage x:Key="Modern" UriSource="Images/Modern.png"/>
12        <BitmapImage x:Key="Indiv" UriSource="Images/Indiv.png"/>
13        <BitmapImage x:Key="Calc" UriSource="Images/Calc.png"/>
14        <BitmapImage x:Key="EnDeCrypt" UriSource="Images/EnDeCrypt.png"/>
15        <BitmapImage x:Key="Key" UriSource="Images/Key.png"/>
16        <BitmapImage x:Key="Hash" UriSource="Images/Hash.png"/>
17        <BitmapImage x:Key="ADFGVX" UriSource="Images/ADFGVX.png"/>
18        <BitmapImage x:Key="AES" UriSource="Images/AES.png"/>
19        <BitmapImage x:Key="DES" UriSource="Images/DES.png"/>
20        <BitmapImage x:Key="Enigma" UriSource="Images/Enigma.png"/>
21        <BitmapImage x:Key="MD5" UriSource="Images/MD5.png"/>
22        <BitmapImage x:Key="Playfair" UriSource="Images/Playfair.png"/>
23        <BitmapImage x:Key="Primes" UriSource="Images/Primes.png"/>
24        <BitmapImage x:Key="RIPEMD160" UriSource="Images/RIPEMD160.png"/>
25        <BitmapImage x:Key="RSA" UriSource="Images/RSA.png"/>
26        <BitmapImage x:Key="Scytale" UriSource="Images/Scytale.png"/>
27        <BitmapImage x:Key="SDES" UriSource="Images/SDES.png"/>
28        <BitmapImage x:Key="SHA" UriSource="Images/SHA.png"/>
29        <BitmapImage x:Key="Substitution" UriSource="Images/Substitution.png"/>
30        <BitmapImage x:Key="TEA" UriSource="Images/TEA.png"/>
31        <BitmapImage x:Key="Tiger" UriSource="Images/Tiger.png"/>
32        <BitmapImage x:Key="Transposition" UriSource="Images/Transposition.png"/>
33        <BitmapImage x:Key="Trivium" UriSource="Images/Trivium.png"/>
34        <BitmapImage x:Key="Twofish" UriSource="Images/Twofish.png"/>
35        <BitmapImage x:Key="Vernam" UriSource="Images/Vernam.png"/>
36        <BitmapImage x:Key="Vigenere" UriSource="Images/Vigenere.png"/>
37        <BitmapImage x:Key="Whirlpool" UriSource="Images/Whirlpool.png"/>
38        <BitmapImage x:Key="XOR" UriSource="Images/XOR.png"/>
39        <BitmapImage x:Key="RC2" UriSource="Images/RC2.png"/>
40        <BitmapImage x:Key="Caesar" UriSource="Images/Caesar.png"/>
41        <BitmapImage x:Key="Sym" UriSource="Images/Sym.png"/>
42        <BitmapImage x:Key="Asym" UriSource="Images/Asym.png"/>
43    </UserControl.Resources>
44    <Grid>
45        <Grid.RowDefinitions>
46            <RowDefinition Height="Auto" />
47            <RowDefinition />
48            <RowDefinition Height="Auto" />
49        </Grid.RowDefinitions>
50        <Label HorizontalAlignment="Center" Name="taskHeader" VerticalAlignment="Top" FontSize="18" Margin="10"/>
51        <Grid HorizontalAlignment="Stretch" Name="grid1" VerticalAlignment="Stretch" Grid.Row="1" >
52        <Grid.ColumnDefinitions>
53            <ColumnDefinition Width="Auto" />
54            <ColumnDefinition />
55        </Grid.ColumnDefinitions>
56            <ScrollViewer  HorizontalAlignment="Stretch" VerticalAlignment="Top" VerticalScrollBarVisibility="Auto" Name="radioButtonScroll" >
57                <StackPanel Name="radioButtonStackPanel" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
58            </ScrollViewer>
59            <ScrollViewer Name="descScroll" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" VerticalScrollBarVisibility="Auto" Grid.Column="1" >
60                <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" MinHeight="{Binding ElementName=radioButtonScroll, Path=ActualHeight}">
61                    <Grid.RowDefinitions>
62                        <RowDefinition Height="Auto" />
63                        <RowDefinition Height="Auto" />
64                    </Grid.RowDefinitions>
65                    <Grid.ColumnDefinitions>
66                        <ColumnDefinition />
67                    </Grid.ColumnDefinitions>
68                    <Label Name="descHeader" HorizontalAlignment="Center" VerticalAlignment="Stretch" FontSize="14" />
69                    <TextBlock Name="description" TextWrapping="Wrap" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" TextAlignment="Left" Grid.Row="1" />
70                </Grid>
71            </ScrollViewer>
72        </Grid>
73        <StackPanel Grid.RowSpan="2" Height="Auto" HorizontalAlignment="Right" Name="buttonStackPanel" VerticalAlignment="Bottom" Margin="2" Grid.Row="2" Orientation="Horizontal" >
74            <Button Content="{Loc BackButton}" Height="23" Name="backButton" Width="75" Margin="1" Click="backButton_Click"/>
75            <Button Content="{Loc NextButton}" Height="23" Name="nextButton" Width="75" Margin="1" IsDefault="True" Click="nextButton_Click"/>
76            <Button Content="{Loc AbortButton}" Height="23" Name="abortButton" Width="75" Margin="1" Click="abortButton_Click"/>
77        </StackPanel>
78    </Grid>
79</UserControl>
Note: See TracBrowser for help on using the repository browser.