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

Last change on this file since 1893 was 1893, checked in by schomburg, 11 years ago

added possibility to enter a RSA-Key manually

File size: 2.3 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" Background="White">
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                    <ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
27                        <comp:KeyGenControl x:Name="KeyGenControl" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" />
28                    </ScrollViewer>
29                </comp:HelpTabItem>
30                <comp:HelpTabItem HorizontalAlignment="Stretch" VerticalAlignment="Stretch" x:Name="tabInputKey" HelpButtonClick="TabItem_HelpButtonClick">
31                    <comp:HelpTabItem.Header>
32                        <x:Static Member="lang:RsaKeyInputCtrl.inputKey"></x:Static>
33                    </comp:HelpTabItem.Header>
34                    <ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
35                        <comp:KeyInputControl x:Name="KeyInputControl" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" />
36                    </ScrollViewer>
37                </comp:HelpTabItem>
38            </TabControl>
39
40        </Grid>
41    </DockPanel>
42</UserControl>
Note: See TracBrowser for help on using the repository browser.