Changeset 8377


Ignore:
Timestamp:
Sep 23, 2019, 12:16:17 PM (2 years ago)
Author:
kopal
Message:
  • CrypPluginBase

added possibility to use DoubleUpDown to the settings

File:
1 edited

Legend:

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

    r8109 r8377  
    130130        public readonly double DoubleMinValue;
    131131        public readonly double DoubleMaxValue;
     132        public readonly double DoubleIncrement;
    132133
    133134        public bool ChangeableWhileExecuting;
     
    212213       
    213214        /// <summary>
    214         /// NumericUpDown int.
     215        /// NumericUpDown integer
    215216        /// </summary>
    216217        public TaskPaneAttribute(string caption, string toolTip, string groupName, int order, bool changeableWhileExecuting, ControlType controlType, ValidationType validationType, int integerMinValue, int integerMaxValue)
     
    228229
    229230        /// <summary>
    230         /// NumericUpDown double.
    231         /// </summary>
    232         public TaskPaneAttribute(string caption, string toolTip, string groupName, int order, bool changeableWhileExecuting,  ControlType controlType, ValidationType validationType, double doubleMinValue, double doubleMaxValue)
    233         {
    234           this.caption = caption;
    235           this.toolTip = toolTip;
    236           this.groupName = groupName;
    237           this.Order = order;
    238           this.ControlType = controlType;
    239           this.ValidationType = validationType;
    240           this.DoubleMinValue = doubleMinValue;
    241           this.DoubleMaxValue = doubleMaxValue;
    242           this.ChangeableWhileExecuting = changeableWhileExecuting;
     231        /// NumericUpDown double
     232        /// </summary>
     233        public TaskPaneAttribute(string caption, string toolTip, string groupName, int order, bool changeableWhileExecuting, ControlType controlType, ValidationType validationType, double minValue, double maxValue, double increment)
     234        {
     235            this.caption = caption;
     236            this.toolTip = toolTip;
     237            this.groupName = groupName;           
     238            this.Order = order;
     239            this.ControlType = controlType;
     240            this.ValidationType = validationType;
     241            this.ChangeableWhileExecuting = changeableWhileExecuting;
     242            this.DoubleMinValue = minValue;
     243            this.DoubleMaxValue = maxValue;
     244            this.DoubleIncrement = increment;
    243245        }
    244246
Note: See TracChangeset for help on using the changeset viewer.