Пример #1
0
        /// <summary>
        /// Enable an extension
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private async void CheckBox_Checked(object sender, RoutedEventArgs e)
        {
            CheckBox            cb  = sender as CheckBox;
            DictionaryExtension ext = cb.DataContext as DictionaryExtension;

            if (!ext.Enabled)
            {
                await ext.Enable();
            }
        }