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

Last change on this file since 3698 was 3698, checked in by krauss, 10 years ago

Externalisation and translation for the vizualisations of some plugins

File size: 1.2 KB
Line 
1using System;
2using System.Windows;
3using System.Windows.Controls;
4using System.Windows.Media;
5using System.Collections.ObjectModel;
6using KeySearcher;
7
8namespace KeySearcherPresentation.Controls
9{
10    [Cryptool.PluginBase.Attributes.Localization("KeySearcher.Properties.Resources")]
11    public partial class LocalQuickWatchPresentation
12    {       
13        public ObservableCollection<ResultEntry> entries = new ObservableCollection<ResultEntry>();
14
15        public static readonly DependencyProperty IsOpenCLEnabledProperty =
16            DependencyProperty.Register("IsOpenCLEnabled",
17                typeof(Boolean),
18                typeof(LocalQuickWatchPresentation), new PropertyMetadata(false));
19
20        public Boolean IsOpenCLEnabled
21        {
22            get { return (Boolean)GetValue(IsOpenCLEnabledProperty); }
23            set { SetValue(IsOpenCLEnabledProperty, value); }
24        }
25
26        public LocalQuickWatchPresentation()
27        {
28            InitializeComponent();
29            this.DataContext = entries;
30        }
31
32        private void OpenCLPresentation_Loaded(object sender, RoutedEventArgs e)
33        {
34
35        }
36    }
37}
Note: See TracBrowser for help on using the repository browser.