source: trunk/CrypPlugins/KeySearcher/KeySearcherSettings.cs @ 419

Last change on this file since 419 was 419, checked in by Thomas Schmid, 12 years ago
  • merged IControl branch to trunk
  • added KeySearcher sample: KeySearcher-Sample
  • changed some plugins to work with new enumeration
  • new bins
File size: 836 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using Cryptool.PluginBase;
6using System.ComponentModel;
7
8namespace KeySearcher
9{
10  public class KeySearcherSettings : ISettings
11  {
12    #region ISettings Members
13
14    private bool hasChanges;
15
16    public bool HasChanges
17    {
18      get
19      {
20        return hasChanges;
21      }
22      set
23      {
24        hasChanges = value;
25        NotifyPropertyChanged("HasChanges");
26      }
27    }
28
29    #endregion
30
31    #region INotifyPropertyChanged Members
32
33    public event PropertyChangedEventHandler PropertyChanged;
34
35    private void NotifyPropertyChanged(string property)
36    {
37      if (PropertyChanged != null)
38        PropertyChanged(this, new PropertyChangedEventArgs(property));
39    }
40
41    #endregion
42  }
43}
Note: See TracBrowser for help on using the repository browser.