source: trunk/CrypPlugins/KeySearcher/Presentation/Controls/LocalQuickWatchPresentation.xaml.cs @ 2146

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

Added opencl presentation in KeySearcher

File size: 965 bytes
Line 
1using System;
2using System.Windows;
3using System.Windows.Media;
4using System.Collections.ObjectModel;
5using KeySearcher;
6
7namespace KeySearcherPresentation.Controls
8{   
9    public partial class LocalQuickWatchPresentation
10    {       
11        public ObservableCollection<ResultEntry> entries = new ObservableCollection<ResultEntry>();
12
13        public static readonly DependencyProperty IsOpenCLEnabledProperty =
14            DependencyProperty.Register("IsOpenCLEnabled",
15                typeof(Boolean),
16                typeof(LocalQuickWatchPresentation), new PropertyMetadata(false));
17
18        public Boolean IsOpenCLEnabled
19        {
20            get { return (Boolean)GetValue(IsOpenCLEnabledProperty); }
21            set { SetValue(IsOpenCLEnabledProperty, value); }
22        }
23
24        public LocalQuickWatchPresentation()
25        {
26            InitializeComponent();
27            this.DataContext = entries;
28        }
29    }
30}
Note: See TracBrowser for help on using the repository browser.