source: trunk/CrypPlugins/KeySearcher/Presentation/Controls/OpenCLPresentation.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: 683 bytes
Line 
1using System;
2using System.Windows.Media;
3using System.Collections.ObjectModel;
4using KeySearcher;
5
6namespace KeySearcherPresentation.Controls
7{
8    [Cryptool.PluginBase.Attributes.Localization("KeySearcher.Properties.Resources")]
9    public partial class OpenCLPresentation
10    {
11        public OpenCLPresentation()
12        {
13            InitializeComponent();
14        }
15
16        private int amountOfDevices;
17        public int AmountOfDevices
18        {
19            get { return amountOfDevices; }
20            set
21            {
22                amountOfDevices = value;
23                devices.Content = amountOfDevices;
24            }
25        }
26    }
27}
Note: See TracBrowser for help on using the repository browser.