Ignore:
Timestamp:
Dec 3, 2009, 1:51:28 PM (12 years ago)
Author:
Matthäus Wander
Message:

Comparators:

  • icon update in Initialization (references #80)

RSA:

  • duplicate icon definitions removed (hope this doesn't break some particular workaround or whatever)
Location:
trunk/CrypPlugins/Comparators
Files:
2 edited

Legend:

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

    r610 r944  
    194194        public void Initialize()
    195195        {
    196 
     196            settings.ChangePluginIcon(settings.Comparator);
    197197        }
    198198
  • trunk/CrypPlugins/Comparators/ComparatorsSettings.cs

    r565 r944  
    3030    {
    3131        #region private variables
    32         private int comparator = 0; // 0 =, 1 !=, 2 <, 3 >, 4 <=, 5 >=
     32        private int comparator = 0; // 0 ==, 1 !=, 2 <, 3 >, 4 <=, 5 >=
    3333        private bool hasChanges;
    3434        #endregion
    3535
    3636        #region taskpane
    37         [TaskPane("Comparator", "Choose the Comperator", null, 1, false, DisplayLevel.Beginner, ControlType.ComboBox, new string[] { "=", "!=", "<", ">", "<=", ">=" })]
     37        [TaskPane("Comparator", "Choose the Comperator", null, 1, false, DisplayLevel.Beginner, ControlType.ComboBox, new string[] { "==", "!=", "<", ">", "<=", ">=" })]
    3838        public int Comparator
    3939        {
     
    7373        }
    7474        public event StatusChangedEventHandler OnPluginStatusChanged;
    75         private void ChangePluginIcon(int iconIndex)
     75        internal void ChangePluginIcon(int iconIndex)
    7676        {
    7777            if (OnPluginStatusChanged != null) OnPluginStatusChanged(null, new StatusEventArgs(StatusChangedMode.ImageUpdate, iconIndex));
Note: See TracChangeset for help on using the changeset viewer.