Changeset 2078


Ignore:
Timestamp:
Nov 11, 2010, 7:50:38 PM (11 years ago)
Author:
Sven Rech
Message:

balloon messages for keysearcher

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher/P2P/DistributedBruteForceManager.cs

    r2074 r2078  
    4747
    4848            StopWatch = new Stopwatch();
    49             status = new StatusContainer();
     49            status = new StatusContainer(keySearcher);
    5050            status.IsCurrentProgressIndeterminate = true;
    5151
  • trunk/CrypPlugins/KeySearcher/P2P/Presentation/StatusContainer.cs

    r2074 r2078  
    33using System.ComponentModel;
    44using System.Numerics;
     5using Cryptool.PluginBase;
    56
    67namespace KeySearcher.P2P.Presentation
     
    89    public class StatusContainer : INotifyPropertyChanged
    910    {
     11        private KeySearcher keySearcher;
    1012        private string currentOperation;
    1113        public string CurrentOperation
     
    1618                currentOperation = "> " + value + " <";
    1719                OnPropertyChanged("CurrentOperation");
     20                keySearcher.GuiLogMessage(value, NotificationLevel.Balloon);
    1821            }
    1922        }
     
    320323        }
    321324
    322         public StatusContainer()
    323         {
     325        public StatusContainer(KeySearcher keySearcher)
     326        {
     327            this.keySearcher = keySearcher;
    324328            EstimatedFinishDate = "-";
    325329            DhtOverheadInPercent = "-";
Note: See TracChangeset for help on using the changeset viewer.