Changeset 2255 for trunk/CrypPluginBase


Ignore:
Timestamp:
Dec 23, 2010, 2:44:24 PM (11 years ago)
Author:
Matthäus Wander
Message:

TextInput:

  • added setting to convert input text from Hex or Base64 string to binary data
  • This change might break some samples. Please test and report any failures.

CrypPluginBase:

  • marked further occurences of DisplayLevel as obsolete, see #122
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPluginBase/Attributes/ContextMenuAttribute.cs

    r947 r2255  
    3636        /// <param name="toolTip">The tool tip is used for all entries.</param>
    3737        /// <param name="order">The order.</param>
    38         /// <param name="displayLevel">The display level.</param>
    3938        /// <param name="controlType">Type of the control.</param>
    4039        /// <param name="arrImagesForControlValues">Image indexes for the control values. Can be null if no images should be used.</param>
    4140        /// <param name="controlValues">Strings for the context menu entries.</param>
    42         public ContextMenuAttribute(string caption, string toolTip, int order, DisplayLevel displayLevel, ContextMenuControlType controlType, int[] arrImagesForControlValues, params string[] controlValues)
     41        public ContextMenuAttribute(string caption, string toolTip, int order, ContextMenuControlType controlType, int[] arrImagesForControlValues, params string[] controlValues)
    4342        {
    4443            this.Caption = caption;
    4544            this.ToolTip = toolTip;
    4645            this.Order = order;           
    47             this.DisplayLevel = displayLevel;
     46//            this.DisplayLevel = displayLevel;
    4847            this.ControlType = controlType;
    4948            this.ControlValues = controlValues;
    5049            this.ArrImagesForControlValues = arrImagesForControlValues;
    5150        }
     51
     52        [Obsolete("DisplayLevel is no longer used, see #122")]
     53        public ContextMenuAttribute(string caption, string toolTip, int order, DisplayLevel displayLevel, ContextMenuControlType controlType, int[] arrImagesForControlValues, params string[] controlValues)
     54            : this(caption, toolTip, order, controlType, arrImagesForControlValues, controlValues)
     55        {
     56        }
    5257    }
    5358}
Note: See TracChangeset for help on using the changeset viewer.