Exemplo n.º 1
0
 public MainWindow()
 {
     SpellChecker = new SfSpellChecker();
     InitializeComponent();
     SpellEditor = new TextSpellEditor(txtbx);
     Editor      = SpellEditor;
     SpellChecker.PerformSpellCheckUsingContextMenu(Editor);
 }
Exemplo n.º 2
0
 private void LoadItems(object obj)
 {
     Editor = new TextSpellEditor(obj as TextBox);
     SpellChecker.PerformSpellCheckUsingContextMenu(Editor);
     SpellChecker.PerformSpellCheckUsingDialog(Editor);
 }