Changeset 2165


Ignore:
Timestamp:
Dec 4, 2010, 3:14:22 PM (11 years ago)
Author:
Sven Rech
Message:

deleted unnecessary caesar setting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/Caesar/CaesarSettings.cs

    r626 r2165  
    340340
    341341        #endregion
    342 
    343         #region TaskPaneAttributeChanged-Sample
    344         /// <summary>
    345         /// This event is just used here for sample reasons
    346         /// </summary>
    347         public event TaskPaneAttributeChangedHandler TaskPaneAttributeChanged;
    348 
    349         [TaskPane("Enable/Disable sensitivity", "This setting is just a sample and shows how to enable / disable a setting.", "AttributeChangedSample", 8, false, DisplayLevel.Beginner, ControlType.Button)]
    350         public void EnableDisableSesitivity()
    351         {
    352           if (TaskPaneAttributeChanged!= null)
    353           {
    354             sensitivityEnabled = !sensitivityEnabled;
    355             if (sensitivityEnabled)
    356             {             
    357               TaskPaneAttributeChanged(this, new TaskPaneAttributeChangedEventArgs(new TaskPaneAttribteContainer("AlphabetCase", Visibility.Visible)));
    358             }
    359             else
    360             {
    361               TaskPaneAttributeChanged(this, new TaskPaneAttributeChangedEventArgs(new TaskPaneAttribteContainer("AlphabetCase", Visibility.Collapsed)));
    362             }
    363           }
    364         }
    365         #endregion TaskPaneAttributeChanged-Sample
    366342    }
    367343}
Note: See TracChangeset for help on using the changeset viewer.