source: trunk/CrypPlugins/PKCS1/WpfControls/RsaKeyGen/RsaKeyGenControl.xaml

Last change on this file was 8500, checked in by Sven Rech, 2 years ago

Adjusted style of "Attack on PKCS1" tutorial to be equal to the new style of Primes tutorial.

File size: 2.4 KB
Line 
1<UserControl x:Class="PKCS1.WpfControls.RsaKeyGen.RsaKeyGenControl"
2    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4    xmlns:comp="clr-namespace:PKCS1.WpfControls.Components"
5    xmlns:lang="clr-namespace:PKCS1.Resources.lang.Gui"
6    HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
7    <UserControl.Resources>
8        <ResourceDictionary>
9            <ResourceDictionary.MergedDictionaries>
10                <ResourceDictionary Source="../../WpfResources/HelpTab.xaml"/>
11            </ResourceDictionary.MergedDictionaries>
12        </ResourceDictionary>
13    </UserControl.Resources>
14
15    <DockPanel>
16        <Grid>
17            <Grid.RowDefinitions>
18                <RowDefinition Height="*" />
19            </Grid.RowDefinitions>
20
21            <TabControl Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0,5,0,0">
22                <comp:HelpTabItem HorizontalAlignment="Stretch" VerticalAlignment="Stretch" x:Name="tabGenKey" HelpButtonClick="TabItem_HelpButtonClick">
23                    <comp:HelpTabItem.Header>
24                        <x:Static Member="lang:RsaKeyGenCtrl.genKey"></x:Static>
25                    </comp:HelpTabItem.Header>
26                    <DataTemplate>
27                        <ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
28                            <comp:KeyGenControl x:Name="KeyGenControl" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" />
29                        </ScrollViewer>
30                    </DataTemplate>
31                </comp:HelpTabItem>
32                <comp:HelpTabItem HorizontalAlignment="Stretch" VerticalAlignment="Stretch" x:Name="tabInputKey" HelpButtonClick="TabItem_HelpButtonClick">
33                    <comp:HelpTabItem.Header>
34                        <x:Static Member="lang:RsaKeyInputCtrl.inputKey"></x:Static>
35                    </comp:HelpTabItem.Header>
36                    <DataTemplate>
37                        <ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
38                            <comp:KeyInputControl x:Name="KeyInputControl" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" />
39                        </ScrollViewer>
40                    </DataTemplate>
41                </comp:HelpTabItem>
42            </TabControl>
43
44        </Grid>
45    </DockPanel>
46</UserControl>
Note: See TracBrowser for help on using the repository browser.