source: trunk/CrypPlugins/KeySearcher/KeysearcherSettingsTab.xaml @ 2527

Last change on this file since 2527 was 2517, checked in by Sven Rech, 11 years ago
  • editorplugins can't be disabled anymore
  • changed scrollviewer in settings
File size: 1.5 KB
Line 
1<UserControl x:Class="KeySearcher.KeysearcherSettingsTab"
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" xmlns:Properties="clr-namespace:KeySearcher.Properties" mc:Ignorable="d"
6             d:DesignHeight="300" d:DesignWidth="600">
7    <Grid>
8        <Image Source="/KeySearcher;component/Images/icon.png" Opacity="0.2"/>
9
10        <ScrollViewer VerticalScrollBarVisibility="Auto">
11            <StackPanel Orientation="Vertical">
12                <Label Content="OpenCL:" FontWeight="Bold" />
13                <CheckBox Name="UseOpenCL" Content="Use OpenCL in KeySearcher" IsChecked="{Binding Source={x:Static Properties:Settings.Default}, Path=UseOpenCL, Mode=TwoWay}" ToolTip="Check this to enable the KeySearcher to make use of OpenCL for bruteforcing." Style="{StaticResource ResourceKey=settingsStyle}" />
14                <CheckBox Content="Enable using OpenCL with high load (not recommend)" IsChecked="{Binding Source={x:Static Properties:Settings.Default}, Path=EnableHighLoad, Mode=TwoWay}" IsEnabled="{Binding ElementName=UseOpenCL, Path=IsChecked}" Style="{StaticResource ResourceKey=settingsStyle}" Margin="40,5,0,10" />
15            </StackPanel>
16        </ScrollViewer>
17    </Grid>
18</UserControl>
Note: See TracBrowser for help on using the repository browser.