1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <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"
- Height="500"
- Width="462">
- <Grid Margin="10,10,10,0">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <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="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 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" 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>
- </UserControl>
|