123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <UserControl x:Class="Compdfkit_Tools.PDFControl.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.PDFControl"
- mc:Ignorable="d"
- xmlns:style="clr-namespace:Compdfkit_Tools.Asset.Styles"
- xmlns:common="clr-namespace:Compdfkit_Tools.Common"
- Height="470"
- Width="462">
- <UserControl.Resources>
- <ResourceDictionary>
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="../../Asset/Styles/RadioButtonStyle.xaml"></ResourceDictionary>
- </ResourceDictionary.MergedDictionaries>
- <common:SigResourceConverter x:Key="SigResourceConverter"></common:SigResourceConverter>
- </ResourceDictionary>
- </UserControl.Resources>
- <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="{Binding Converter={StaticResource SigResourceConverter},ConverterParameter=Title_IDType}" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold" Padding="0,4,0,4" Width="187" HorizontalAlignment="Left"></Label>
- <style:TCIRadioButton Style="{StaticResource TCIRadioButtonStyle}" IsChecked="{Binding AddExistedCertification}" Grid.Row="1" Height="80" Title="{Binding Converter={StaticResource SigResourceConverter},ConverterParameter=Option_FileID}" Description="{Binding Converter={StaticResource SigResourceConverter},ConverterParameter=Describe_Import}" BorderBrush="Black" TextWidth="320" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="0,10,0,10">
- <Grid Width="32" Height="32">
- <Path Data="M4 2.84375C4 2.37776 4.37776 2 4.84375 2L19.1449 2C19.3736 2 19.5925 2.09282 19.7515 2.25721L24.9771 7.66095C25.1292 7.81829 25.2143 8.02861 25.2143 8.24749V28.1562C25.2143 28.6222 24.8365 29 24.3705 29H4.84375C4.37776 29 4 28.6222 4 28.1562L4 2.84375Z" Fill="#F5F6FC" Stroke="#CED4F2"/>
- <Path Data="M11.4029 24.9752C12.4623 24.9752 13.2844 24.3268 13.8056 23.242H19.8865C20.1069 23.242 20.2764 23.0598 20.2764 22.8437C20.2764 22.6276 20.1069 22.4496 19.8865 22.4496H14.1107C14.3099 21.8012 14.4243 21.0512 14.454 20.2291C14.7209 20.1698 14.9964 20.1401 15.2803 20.1401C15.3778 20.1401 15.4286 20.1825 15.4286 20.2503C15.4286 20.5681 15.2167 20.8393 15.2167 21.2503C15.2167 21.6317 15.4964 21.8817 15.8905 21.8817C16.8101 21.8817 17.9076 20.4579 18.183 20.4579C18.4203 20.4579 18.1915 21.708 19.2721 21.708C19.4882 21.708 19.7425 21.6487 19.9332 21.5216C20.073 21.4241 20.1705 21.2842 20.1705 21.102C20.1705 20.8647 20.0094 20.6528 19.7594 20.6528C19.6238 20.6528 19.5009 20.7461 19.3992 20.7461C19.0729 20.7461 19.3907 19.3816 18.4373 19.3816C17.6533 19.3816 16.6321 20.6317 16.3905 20.6317C16.3524 20.6317 16.3312 20.6147 16.3312 20.5723C16.3312 20.4579 16.4244 20.2715 16.4244 20.0681C16.4244 19.5257 16.0346 19.2078 15.4032 19.2078C15.0726 19.2078 14.7506 19.2375 14.4412 19.2926C14.2845 17.0001 13.1361 15.3008 11.5088 15.3008C10.2715 15.3008 9.407 16.2415 9.407 17.5509C9.407 18.9875 10.3181 20.1825 11.3054 20.9664C10.8435 21.4326 10.4833 21.9453 10.2588 22.4496H7.47042C7.25007 22.4496 7.08057 22.6276 7.08057 22.8437C7.08057 23.0556 7.25431 23.242 7.47042 23.242H10.0214C10.0087 23.348 10.0003 23.4539 10.0003 23.5514C10.0003 24.4243 10.4918 24.9752 11.4029 24.9752ZM12.0089 20.3605C11.208 19.746 10.3435 18.7926 10.3435 17.5467C10.3435 16.7882 10.8224 16.2373 11.5131 16.2373C12.6403 16.2373 13.4454 17.6569 13.5217 19.5426C12.9666 19.746 12.4538 20.0299 12.0089 20.3605ZM7.74587 21.7419L8.22048 21.2673L8.69509 21.7377C8.83916 21.8775 9.05104 21.8775 9.19512 21.7377C9.33496 21.5978 9.33496 21.3775 9.19512 21.2376L8.72051 20.7673L9.19512 20.2927C9.33496 20.1528 9.33496 19.9367 9.19512 19.7969C9.05528 19.6528 8.83493 19.6528 8.69509 19.7926L8.22048 20.2672L7.74587 19.7969C7.60179 19.657 7.38567 19.657 7.24583 19.7969C7.10175 19.9325 7.10175 20.1571 7.24583 20.2969L7.7162 20.7673L7.24583 21.2376C7.10175 21.3817 7.10599 21.5936 7.24583 21.7377C7.38567 21.8817 7.60603 21.8775 7.74587 21.7419ZM13.1106 22.4496H11.3309C11.5216 22.136 11.7843 21.8055 12.1063 21.5004C12.1784 21.5427 12.2462 21.5766 12.314 21.6105C12.3987 21.6572 12.4792 21.6741 12.5598 21.6741C12.7971 21.6741 12.9962 21.5004 12.9962 21.2715C12.9962 21.1444 12.9496 21.0258 12.8352 20.9241C13.0428 20.7842 13.2632 20.6571 13.5005 20.5511C13.4454 21.2673 13.3098 21.9114 13.1106 22.4496ZM11.5131 24.0429C11.1614 24.0429 10.9834 23.8141 10.9834 23.4581C10.9834 23.3903 10.9919 23.3183 11.0046 23.242H12.7208C12.3903 23.7505 11.975 24.0429 11.5131 24.0429Z" Fill="#3048BF"/>
- <Path Data="M18.4284 7.66504C18.4284 7.19905 18.0506 6.82129 17.5846 6.82129H7.70068C7.23469 6.82129 6.85693 7.19905 6.85693 7.66504V9.35254C6.85693 9.81853 7.23469 10.1963 7.70068 10.1963H17.5846C18.0506 10.1963 18.4284 9.81853 18.4284 9.35254V7.66504ZM7.82079 7.78486H17.4638V9.23186H7.82079V7.78486Z" Fill="#CED4F2"/>
- <Path Data="M23.8442 27.3913C23.7543 27.3971 23.6637 27.4 23.5724 27.4C23.4822 27.4 23.3926 27.3972 23.3038 27.3915L21.4488 30.6044C21.3547 30.7675 21.1181 30.7636 21.0293 30.5975L20.3042 29.2405C20.2611 29.1599 20.176 29.1107 20.0846 29.1137L18.5469 29.1643C18.3587 29.1705 18.237 28.9675 18.3312 28.8044L20.156 25.6436C19.6628 24.9552 19.3724 24.1115 19.3724 23.2C19.3724 20.8804 21.2528 19 23.5724 19C25.892 19 27.7724 20.8804 27.7724 23.2C27.7724 24.1104 27.4827 24.9531 26.9906 25.6411L28.8169 28.8044C28.9111 28.9675 28.7894 29.1705 28.6012 29.1643L27.0634 29.1137C26.9721 29.1107 26.887 29.1599 26.8439 29.2405L26.1188 30.5975C26.03 30.7636 25.7935 30.7675 25.6993 30.6044L23.8442 27.3913Z" Fill="#3048BF"/>
- </Grid>
- </style:TCIRadioButton>
- <style:TCIRadioButton Style="{StaticResource TCIRadioButtonStyle}" IsChecked="{Binding AddCustomCertification}" Grid.Row="2" Height="80" Title="{Binding Converter={StaticResource SigResourceConverter},ConverterParameter=Option_NewID}" Description="{Binding Converter={StaticResource SigResourceConverter},ConverterParameter=Describe_Create}" BorderBrush="Black" HorizontalAlignment="Left" VerticalAlignment="Bottom" TextWidth="320" Margin="0,0,0,10">
- <Grid Width="32" Height="32">
- <Canvas>
- <Path Data="M15.4375 20.482C15.2504 20.4939 15.0616 20.5 14.8713 20.5C14.6834 20.5 14.4968 20.4941 14.3117 20.4824L10.4473 27.1758C10.2512 27.5155 9.75814 27.5074 9.57328 27.1615L8.06261 24.3344C7.97286 24.1664 7.79552 24.0641 7.6052 24.0703L4.40152 24.1756C4.0095 24.1885 3.75597 23.7655 3.95209 23.4258L7.75394 16.8408C6.72628 15.4066 6.12135 13.649 6.12135 11.75C6.12135 6.91751 10.0389 3 14.8713 3C19.7038 3 23.6213 6.91751 23.6213 11.75C23.6213 13.6466 23.0179 15.4023 21.9925 16.8356L25.7974 23.4258C25.9936 23.7655 25.74 24.1885 25.348 24.1756L22.1443 24.0703C21.954 24.0641 21.7767 24.1664 21.6869 24.3344L20.1763 27.1615C19.9914 27.5074 19.4984 27.5155 19.3023 27.1758L15.4375 20.482Z" Fill="#7788D9"/>
- <Ellipse Canvas.Left="7.8716" Canvas.Top="4.75" Width="14" Height="14" Fill="#7788D9" Stroke="#F5F6FC" StrokeLineJoin="Round"/>
- <Ellipse Canvas.Left="18" Canvas.Top="19" Width="11" Height="11" Fill="#3048BF"/>
- <Path Canvas.Left="18" Canvas.Top="19" Data="M5.92025 2.25909L6.42025 2.25909L6.42025 2.25909H5.92025ZM5.07997 2.25909L5.57997 2.25909L5.57997 2.25909L5.07997 2.25909ZM5.07997 5.07986V5.57986C5.21258 5.57986 5.33976 5.52718 5.43353 5.43341C5.52729 5.33965 5.57997 5.21247 5.57997 5.07986H5.07997ZM2.25921 5.07986L2.2592 5.57986H2.25921L2.25921 5.07986ZM2.25921 5.92014L2.25921 6.42014L2.25921 6.42014L2.25921 5.92014ZM5.07997 5.92014H5.57997C5.57997 5.78753 5.52729 5.66035 5.43353 5.56659C5.33976 5.47282 5.21258 5.42014 5.07997 5.42014L5.07997 5.92014ZM5.07997 8.74091L5.57997 8.74091L5.57997 8.74091L5.07997 8.74091ZM5.92025 8.74091H6.42025L6.42025 8.74091L5.92025 8.74091ZM5.92025 5.92014L5.92025 5.42014C5.64411 5.42014 5.42025 5.644 5.42025 5.92014H5.92025ZM8.74102 5.92014V5.42014V5.92014ZM8.74102 5.07986V5.57986V5.07986ZM5.92025 5.07986H5.42025C5.42025 5.356 5.64411 5.57986 5.92025 5.57986L5.92025 5.07986ZM5.50011 2.33896C5.456 2.33896 5.42025 2.3032 5.42025 2.25909L6.42025 2.25909C6.42025 1.75092 6.00829 1.33896 5.50011 1.33896L5.50011 2.33896ZM5.57997 2.25909C5.57997 2.3032 5.54422 2.33896 5.50011 2.33896L5.50011 1.33896C4.99193 1.33896 4.57997 1.75092 4.57997 2.25909L5.57997 2.25909ZM5.57997 5.07986V2.25909L4.57997 2.25909L4.57997 5.07986L5.57997 5.07986ZM5.07997 4.57986L2.25921 4.57986L2.25921 5.57986L5.07997 5.57986L5.07997 4.57986ZM2.25921 4.57986C1.75103 4.57986 1.33907 4.99182 1.33907 5.5L2.33907 5.5C2.33907 5.54411 2.30331 5.57986 2.2592 5.57986L2.25921 4.57986ZM1.33907 5.5C1.33907 6.00818 1.75103 6.42014 2.25921 6.42014L2.25921 5.42014C2.30331 5.42014 2.33907 5.45589 2.33907 5.5L1.33907 5.5ZM2.25921 6.42014L5.07997 6.42014L5.07997 5.42014L2.25921 5.42014L2.25921 6.42014ZM5.57997 8.74091V5.92014L4.57997 5.92014L4.57997 8.74091L5.57997 8.74091ZM5.50011 8.66104C5.54422 8.66104 5.57997 8.6968 5.57997 8.74091L4.57997 8.74091C4.57997 9.24908 4.99193 9.66104 5.50011 9.66104L5.50011 8.66104ZM5.42025 8.74091C5.42025 8.6968 5.456 8.66104 5.50011 8.66104L5.50011 9.66104C6.00829 9.66104 6.42025 9.24908 6.42025 8.74091L5.42025 8.74091ZM5.42025 5.92014L5.42025 8.74091L6.42025 8.74091L6.42025 5.92014H5.42025ZM5.92025 6.42014L8.74102 6.42014V5.42014H5.92025L5.92025 6.42014ZM8.74102 6.42014C9.2492 6.42014 9.66116 6.00818 9.66116 5.5H8.66116C8.66116 5.45589 8.69691 5.42014 8.74102 5.42014V6.42014ZM9.66116 5.5C9.66116 4.99182 9.2492 4.57986 8.74102 4.57986V5.57986C8.69691 5.57986 8.66116 5.54411 8.66116 5.5H9.66116ZM8.74102 4.57986L5.92025 4.57986L5.92025 5.57986H8.74102V4.57986ZM5.42025 2.25909L5.42025 5.07986H6.42025L6.42025 2.25909L5.42025 2.25909Z" Fill="White"/>
- </Canvas>
- </Grid>
- </style:TCIRadioButton>
- <StackPanel Grid.Row="3" Margin="10,20,10,20" Width="407" Height="150" Background="#F2F2F2">
- <TextBlock FontSize="12" FontFamily="Microsoft YaHei" Foreground="#43474D" TextWrapping="Wrap" Padding="12,10,12,10"
- Text="{Binding Converter={StaticResource SigResourceConverter},ConverterParameter=Tip_ID}"/>
- <TextBlock FontSize="12" FontFamily="Microsoft YaHei" Foreground="#43474D" TextWrapping="Wrap" />
- <TextBlock FontSize="12" FontFamily="Microsoft YaHei" Foreground="#43474D" TextWrapping="Wrap" Padding="12,10,12,10"
- Text="{Binding Converter={StaticResource SigResourceConverter},ConverterParameter=Tip_NewID}"/>
- </StackPanel>
- <StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Right">
- <Button x:Name="CancelBtn" Content="{Binding Converter={StaticResource SigResourceConverter},ConverterParameter=Button_Cancel}" Margin="0,0,10,0" Width="112" Height="32" BorderThickness="1" Click="CancelBtn_Click"></Button>
- <Button x:Name="ContinueBtn" Content="{Binding Converter={StaticResource SigResourceConverter},ConverterParameter=Button_Continue}" Width="112" Height="32" BorderThickness="1" Click="ContinueBtn_Click"></Button>
- </StackPanel>
- </Grid>
- </UserControl>
|