Пример #1
0
        private static void ExecutedHyperlinkCommand(object sender, ExecutedRoutedEventArgs e)
        {
            MainWindow window = FindWindow(sender);

            if (SpellChecking.FocusedRTB != null)
            {
                TextEditing.Hyperlink(window, SpellChecking.FocusedRTB);
                SpellChecking.FocusedRTB.Focus();
            }
        }