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

Last change on this file since 2516 was 2516, checked in by Sven Rech, 11 years ago

worked on KeySearcher settings tab

File size: 1.4 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        <StackPanel Orientation="Vertical">
11            <Label Content="OpenCL:" FontWeight="Bold" />
12            <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}" />
13            <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" />
14        </StackPanel>
15    </Grid>
16</UserControl>
Note: See TracBrowser for help on using the repository browser.