Ignore:
Timestamp:
Oct 26, 2009, 6:08:34 PM (12 years ago)
Author:
kohnen
Message:
  • text-keywords may be used
  • double transposition added
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/Transposition/TranspositionSettings.cs

    r778 r782  
    1313
    1414        private Boolean hasChanges = false;
     15        private Boolean doubleTransposition = false;
    1516        private int selectedAction = 0;
    1617
     
    9798            }
    9899        }
    99        
     100
     101        [PropertySaveOrder(5)]
     102        [ContextMenu("Double Transposition", "Select this, if u want to compute the double transposition.", 5, DisplayLevel.Beginner, ContextMenuControlType.CheckBox, null, "Double Transposition")]
     103        [TaskPane("Double Transposition", "Select this, if u want to compute the double transposition.", null, 5, false, DisplayLevel.Expert, ControlType.CheckBox, "")]
     104        public bool DoubleTransposition
     105        {
     106            get { return this.doubleTransposition; }
     107            set
     108            {
     109                if (value != this.doubleTransposition) HasChanges = true;
     110                this.doubleTransposition = value;
     111                OnPropertyChanged("DoubleTransposition");
     112            }
     113        }
     114
     115
    100116        protected void OnPropertyChanged(string name)
    101117        {
Note: See TracChangeset for help on using the changeset viewer.