Hi,
Change constructor code for FormSpell as follows:
public FormSpell(TextBoxBase textBox, Spell spell)
{
this.textBox = textBox;
this.spell = spell;
InitializeComponent();
}
...
private TextBoxBase textBox;
Oleg Korostylev
Lead Developer
Aspose Vladivostok Team
About UsContact Us