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