source: trunk/CrypPlugins/BooleanFunctionParser/BooleanFunctionParserPresentation.xaml @ 490

Last change on this file since 490 was 490, checked in by Sören Rinne, 12 years ago
  • added NLFSR sample
  • modified LFSR sample
  • modified NLFSR QuickWatchPresentation
  • minor changes in BooleanFunctionParser, CLK, LFSR
File size: 3.5 KB
Line 
1<UserControl x:Class="Cryptool.BooleanFunctionParser.BooleanFunctionParserPresentation"
2    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4    Height="Auto" Width="Auto" Margin="0">
5    <Grid Height="Auto" Width="Auto" Margin="0">
6        <Grid.ColumnDefinitions>
7            <ColumnDefinition Name="col0" Width="1*"/>
8            <ColumnDefinition Name="colm" Width="5"/>
9            <ColumnDefinition Name="col1" Width="1*"/>
10        </Grid.ColumnDefinitions>
11       
12        <Grid.RowDefinitions>
13            <RowDefinition Height="Auto"/>
14            <RowDefinition Height="1*" />
15            <RowDefinition Height="Auto"/>
16            <RowDefinition Height="1*" />
17        </Grid.RowDefinitions>
18       
19        <Label Name="labelInputFunction" Grid.Column="0" Grid.Row="0" VerticalAlignment="Top" Margin="4" Padding="0">
20            Boolean function:
21        </Label>
22        <!-- <Button Name="myButton" Grid.Column="0" Grid.Row="0" Width="20" Height="20" HorizontalAlignment="Left" Background="White" Foreground="White" BorderBrush="White" >
23            <Image Source="Images\copy.png" />
24        </Button>-->
25        <Grid Background="White" Grid.Column="0" Grid.Row="1">
26        <TextBox Name="textBoxInputFunction" AcceptsTab="True" TextWrapping="Wrap" VerticalScrollBarVisibility="Auto" AcceptsReturn="True">
27            <TextBox.Background>
28                <ImageBrush ImageSource="Images\function.gif" AlignmentX="Right" AlignmentY="Bottom" Stretch="None" />
29            </TextBox.Background>
30        </TextBox>
31        </Grid>
32        <Label Name="labelInputData" Grid.Column="0" Grid.Row="2" VerticalAlignment="Top" Margin="4" Padding="0" >
33            Data:
34        </Label>
35        <Grid Background="White" Grid.Column="0" Grid.Row="3">
36        <TextBox Name="textBoxInputData" AcceptsTab="True"
37               TextWrapping="Wrap" VerticalScrollBarVisibility="Auto"
38               AcceptsReturn="True" >
39            <TextBox.Background>
40                <ImageBrush ImageSource="Images\data.gif" AlignmentX="Right" AlignmentY="Bottom" Stretch="None" />
41            </TextBox.Background>
42        </TextBox>
43        </Grid>
44       
45        <Label Name="labelInputFunction2" Grid.Column="2" Grid.Row="0" VerticalAlignment="Top" Margin="4" Padding="0">
46            2nd boolean function for cube attack:
47        </Label>
48        <Grid Background="White" Grid.Column="2" Grid.Row="1">
49        <TextBox Name="textBoxInputFunction2" AcceptsTab="True" TextWrapping="Wrap" VerticalScrollBarVisibility="Auto" AcceptsReturn="True">
50            <TextBox.Background>
51                <ImageBrush ImageSource="Images\cube.gif" AlignmentX="Right" AlignmentY="Bottom" Stretch="None" />
52            </TextBox.Background>
53        </TextBox>
54        </Grid>
55        <Label Name="labelInputData2" Grid.Column="2" Grid.Row="2" VerticalAlignment="Top" Margin="4" Padding="0" >
56            Secret Key data:
57        </Label>
58        <Grid Background="White" Grid.Column="2" Grid.Row="3">
59        <TextBox Name="textBoxInputData2" AcceptsTab="True"
60               TextWrapping="Wrap" VerticalScrollBarVisibility="Auto"
61               AcceptsReturn="True" >
62            <TextBox.Background>
63                <ImageBrush ImageSource="Images\cube.gif" AlignmentX="Right" AlignmentY="Bottom" Stretch="None" />
64            </TextBox.Background>
65        </TextBox>
66        </Grid>
67    </Grid>
68</UserControl>
Note: See TracBrowser for help on using the repository browser.