|
@@ -1,12 +1,13 @@
|
|
|
-<Window x:Class="Compdfkit_Tools.DigitalSignature.AddCertificationControl.AddCertificationControl"
|
|
|
+<UserControl x:Class="Compdfkit_Tools.DigitalSignature.AddCertificationControl.AddCertificationControl"
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
xmlns:local="clr-namespace:Compdfkit_Tools.DigitalSignature.AddCertificationControl"
|
|
|
mc:Ignorable="d"
|
|
|
- d:DesignHeight="474" d:DesignWidth="462">
|
|
|
- <Grid Margin="10,10,10,10">
|
|
|
+ Height="500"
|
|
|
+ Width="462">
|
|
|
+ <Grid Margin="10,10,10,0">
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition Height="Auto" />
|
|
|
<RowDefinition Height="Auto" />
|
|
@@ -14,37 +15,57 @@
|
|
|
<RowDefinition Height="Auto" />
|
|
|
<RowDefinition Height="Auto" />
|
|
|
</Grid.RowDefinitions>
|
|
|
- <Label Grid.Row="0" Content="Select the type of Digital ID:" FontSize="14" FontFamily="Segoe UI" FontWeight="600" Padding="0,4,0,4" Width="187" HorizontalAlignment="Left"></Label>
|
|
|
- <StackPanel Grid.Row="1" Orientation="Horizontal">
|
|
|
- <RadioButton FontSize="16" BorderThickness="1" Margin="0,2,0,0" BorderBrush="#43474D" GroupName="ChooseCertification" VerticalAlignment="Center"></RadioButton>
|
|
|
- <StackPanel Orientation="Horizontal" Width="386" Height="80">
|
|
|
- <Image Width="32" Height="32" Margin="0,0,0,0" VerticalAlignment="Center"></Image>
|
|
|
- <StackPanel Orientation="Vertical" Margin="10,0,0,0" VerticalAlignment="Center">
|
|
|
- <Label Content="Use a Digital ID from a file" FontSize="14" FontFamily="Segoe UI" FontWeight="600" Padding="0,4,0,4" Width="168" HorizontalAlignment="Left" VerticalAlignment="Top"></Label>
|
|
|
- <Label Content="Import an existing Digital ID that you have obtained as a file" FontSize="12" FontFamily="Segoe UI" FontWeight="400" Padding="0,4,0,4" Width="318" HorizontalAlignment="Left" VerticalAlignment="Bottom"></Label>
|
|
|
- </StackPanel>
|
|
|
- </StackPanel>
|
|
|
- </StackPanel>
|
|
|
- <StackPanel Grid.Row="2" Orientation="Horizontal">
|
|
|
- <RadioButton FontSize="16" BorderThickness="1" Margin="0,2,0,0" BorderBrush="#43474D" GroupName="ChooseCertification" VerticalAlignment="Center"></RadioButton>
|
|
|
- <StackPanel Orientation="Horizontal" Width="386" Height="80">
|
|
|
- <Image Width="32" Height="32" Margin="0,0,0,0" VerticalAlignment="Center"></Image>
|
|
|
- <StackPanel Orientation="Vertical" Margin="10,0,0,0" VerticalAlignment="Center">
|
|
|
- <Label Content="Use a Digital ID from a file" FontSize="14" FontFamily="Segoe UI" FontWeight="600" Padding="0,4,0,4" Width="168" HorizontalAlignment="Left" VerticalAlignment="Top"></Label>
|
|
|
- <Label Content="Create your self-signed Digital ID" FontSize="12" FontFamily="Segoe UI" FontWeight="400" Padding="0,4,0,4" Width="318" HorizontalAlignment="Left" VerticalAlignment="Bottom"></Label>
|
|
|
- </StackPanel>
|
|
|
- </StackPanel>
|
|
|
- </StackPanel>
|
|
|
- <StackPanel Grid.Row="3" Margin="10,10,10,10">
|
|
|
- <TextBlock FontWeight="400" FontSize="12" FontFamily="Segoe UI" Foreground="#43474D" TextWrapping="Wrap" Background="#F2F2F2" Padding="12,10,12,10"
|
|
|
+ <Label Grid.Row="0" Content="Select the type of Digital ID:" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold" Padding="0,4,0,4" Width="187" HorizontalAlignment="Left"></Label>
|
|
|
+ <RadioButton Grid.Row="1" GroupName="ChooseCertification" Margin="0,20,0,20" >
|
|
|
+ <RadioButton.Template>
|
|
|
+ <ControlTemplate TargetType="RadioButton">
|
|
|
+ <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
|
|
|
+ <RadioButton IsChecked="{TemplateBinding IsChecked}" VerticalAlignment="Center" Margin="10,0,10,0"/>
|
|
|
+
|
|
|
+ <Border BorderThickness="1" BorderBrush="Black" Width="386" Height="80">
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
+ <Image Width="32" Height="32" VerticalAlignment="Center" Margin="10,0,10,0"/>
|
|
|
+ <StackPanel Orientation="Vertical" VerticalAlignment="Center">
|
|
|
+ <Label Content="Use a Digital ID from a file" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold" Padding="0,4,0,4"/>
|
|
|
+ <Label Content="Import an existing Digital ID that you have obtained as a file" FontSize="12" FontFamily="Segoe UI" Padding="0,4,0,4"/>
|
|
|
+ </StackPanel>
|
|
|
+ </StackPanel>
|
|
|
+ </Border>
|
|
|
+ </StackPanel>
|
|
|
+ </ControlTemplate>
|
|
|
+ </RadioButton.Template>
|
|
|
+ </RadioButton>
|
|
|
+ <RadioButton Grid.Row="2" GroupName="ChooseCertification" Margin="0,2,0,10">
|
|
|
+ <RadioButton.Template>
|
|
|
+ <ControlTemplate TargetType="RadioButton">
|
|
|
+ <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
|
|
|
+ <RadioButton IsChecked="{TemplateBinding IsChecked}" VerticalAlignment="Center" Margin="10,0,10,0"/>
|
|
|
+
|
|
|
+ <Border BorderThickness="1" BorderBrush="Black" Width="386" Height="80">
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
+ <Image Width="32" Height="32" VerticalAlignment="Center" Margin="10,0,10,0"/>
|
|
|
+ <StackPanel Orientation="Vertical" VerticalAlignment="Center">
|
|
|
+ <Label Content="Use a Digital ID from a file" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold" Padding="0,4,0,4"/>
|
|
|
+ <Label Content="Create your self-signed Digital ID" FontSize="12" FontFamily="Segoe UI" Padding="0,4,0,4"/>
|
|
|
+ </StackPanel>
|
|
|
+ </StackPanel>
|
|
|
+ </Border>
|
|
|
+ </StackPanel>
|
|
|
+ </ControlTemplate>
|
|
|
+ </RadioButton.Template>
|
|
|
+ </RadioButton>
|
|
|
+
|
|
|
+ <StackPanel Grid.Row="3" Margin="10,20,10,20" Width="407">
|
|
|
+ <TextBlock FontSize="12" FontFamily="Segoe UI" Foreground="#43474D" TextWrapping="Wrap" Background="#F2F2F2" Padding="12,10,12,10"
|
|
|
Text="A Digital ID is required to create a digital signature. The most secure Digital ID are issued by trusted Certificate authorities and are based on secure devices like smart card or token. Some are based on files."/>
|
|
|
- <TextBlock FontWeight="400" FontSize="12" FontFamily="Segoe UI" Foreground="#43474D" TextWrapping="Wrap" Background="#F2F2F2"/>
|
|
|
- <TextBlock FontWeight="400" FontSize="12" FontFamily="Segoe UI" Foreground="#43474D" TextWrapping="Wrap" Background="#F2F2F2" Padding="12,10,12,10"
|
|
|
+ <TextBlock FontSize="12" FontFamily="Segoe UI" Foreground="#43474D" TextWrapping="Wrap" Background="#F2F2F2"/>
|
|
|
+ <TextBlock FontSize="12" FontFamily="Segoe UI" Foreground="#43474D" TextWrapping="Wrap" Background="#F2F2F2" Padding="12,10,12,10"
|
|
|
Text="You can also create a new Digital ID, but they provide a low level of identity assurance."/>
|
|
|
</StackPanel>
|
|
|
<StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Right">
|
|
|
- <Button Content="Cancel" Width="112" Height="32" BorderThickness="1" Margin="0,0,10,0"></Button>
|
|
|
- <Button Content="Continue" Width="112" Height="32" BorderThickness="1"></Button>
|
|
|
+ <Button Content="Cancel" Margin="0,0,10,0" Width="112" Height="32" BorderThickness="1"></Button>
|
|
|
+ <Button x:Name="ContinueBtn" Content="Continue" Width="112" Height="32" BorderThickness="1" Click="ContinueBtn_Click"></Button>
|
|
|
+
|
|
|
</StackPanel>
|
|
|
</Grid>
|
|
|
-</Window>
|
|
|
+</UserControl>
|