Changeset 493


Ignore:
Timestamp:
Sep 10, 2009, 10:48:24 AM (12 years ago)
Author:
Matthäus Wander
Message:

added progress to ToString plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/ToString/ToString.cs

    r482 r493  
    5252                public event StatusChangedEventHandler OnPluginStatusChanged;
    5353                public event GuiLogNotificationEventHandler OnGuiLogNotificationOccured;
    54                 public event PluginProgressChangedEventHandler OnPluginProgressChanged;
    5554#pragma warning restore
    5655   
     
    7675    public void Execute()
    7776    {
     77        OnProgressChanged(1, 1);
    7878    }
    7979
     
    109109    }
    110110
     111    public event PluginProgressChangedEventHandler OnPluginProgressChanged;
     112
     113    private void OnProgressChanged(double value, double max)
     114    {
     115        EventsHelper.ProgressChanged(OnPluginProgressChanged, this, new PluginProgressEventArgs(value, max));
     116    }
     117
    111118    #endregion
    112119  }
Note: See TracChangeset for help on using the changeset viewer.