private void disposeTextInterface() { if (_textInterface != null) { _textInterface.EvtTextChanged -= _textInterface_EvtTextChanged; _textInterface.Dispose(); _textInterface = null; setTextInterface(); } }