DecryptionDialog.xaml 2.0 KB

1234567891011121314151617181920212223242526272829303132
  1. <Window x:Class="Compdfkit_Tools.PDFControl.DecryptionDialog"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:Compdfkit_Tools.PDFControl"
  7. mc:Ignorable="d"
  8. ResizeMode="NoResize"
  9. WindowStartupLocation="CenterScreen"
  10. ShowInTaskbar="False"
  11. Title="DecryptionDialog" Height="600" Width="522">
  12. <Grid>
  13. <Grid.RowDefinitions>
  14. <RowDefinition Height="Auto"/>
  15. <RowDefinition Height="Auto"/>
  16. <RowDefinition Height="Auto"/>
  17. </Grid.RowDefinitions>
  18. <local:FileGridListControl x:Name="FileListControl" Width="496" Height="420"/>
  19. <StackPanel Grid.Row="1" Margin="20,20,20,0">
  20. <TextBlock FontFamily="Microsoft YaHei" FontSize="12" TextWrapping="Wrap"
  21. Text="PDF Password Remover is an easy-to-use PDF security remover,which helps users decrypt PDF protections and remove restrictions on printing,editing and copying."></TextBlock>
  22. <TextBlock FontFamily="Microsoft YaHei" FontSize="12" TextWrapping="Wrap" Margin="0,10,0,10"
  23. Text="If open password is required,you need to enter the right password first and then remove protections from PDF files."></TextBlock>
  24. </StackPanel>
  25. <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right">
  26. <Button Width="112" Height="32" FontFamily="Microsoft YaHei" FontSize="14" Content="Remove" Click="Remove_Click" IsEnabled="{Binding ElementName=FileListControl,Path=IsEnsure}"></Button>
  27. <Button Width="112" Height="32" FontFamily="Microsoft YaHei" FontSize="14" Content="Cancel" Margin="10,0,10,0" Click="Cancel_Click"></Button>
  28. </StackPanel>
  29. </Grid>
  30. </Window>