Exemplo n.º 1
0
        /// <summary>
        /// Disable an extension
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void CheckBox_Unchecked(object sender, RoutedEventArgs e)
        {
            CheckBox            cb  = sender as CheckBox;
            DictionaryExtension ext = cb.DataContext as DictionaryExtension;

            if (ext.Enabled)
            {
                ext.Disable();
            }
        }