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

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

Prepared KeySearcher for Localization

File size: 1.1 KB
RevLine 
[745]1using System;
[2146]2using System.Windows;
[2158]3using System.Windows.Controls;
[745]4using System.Windows.Media;
[1030]5using System.Collections.ObjectModel;
[1682]6using KeySearcher;
[745]7
[1682]8namespace KeySearcherPresentation.Controls
[2295]9{
10    [Cryptool.PluginBase.Attributes.Localization("KeySearcher.Properties.Resources")]
[1682]11    public partial class LocalQuickWatchPresentation
[1069]12    {       
[1030]13        public ObservableCollection<ResultEntry> entries = new ObservableCollection<ResultEntry>();
[785]14
[2146]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
[1682]26        public LocalQuickWatchPresentation()
[745]27        {
[902]28            InitializeComponent();
[1030]29            this.DataContext = entries;
[745]30        }
31    }
32}
Note: See TracBrowser for help on using the repository browser.