Ignore:
Timestamp:
Dec 1, 2010, 5:02:44 PM (11 years ago)
Author:
Sven Rech
Message:

Added opencl presentation in KeySearcher

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher/Presentation/Controls/OpenCLPresentation.xaml.cs

    r2142 r2146  
    66namespace KeySearcherPresentation.Controls
    77{   
    8     public partial class LocalQuickWatchPresentation
    9     {       
    10         public ObservableCollection<ResultEntry> entries = new ObservableCollection<ResultEntry>();
    11 
    12         public LocalQuickWatchPresentation()
     8    public partial class OpenCLPresentation
     9    {
     10        public OpenCLPresentation()
    1311        {
    1412            InitializeComponent();
    15             this.DataContext = entries;
     13        }
     14
     15        private int amountOfDevices;
     16        public int AmountOfDevices
     17        {
     18            get { return amountOfDevices; }
     19            set
     20            {
     21                amountOfDevices = value;
     22                devices.Content = amountOfDevices;
     23            }
    1624        }
    1725    }
Note: See TracChangeset for help on using the changeset viewer.