コード例 #1
0
ファイル: MSWordAgentBase.cs プロジェクト: weberjavi/acat
 /// <summary>
 /// Disposes off the text interface
 /// </summary>
 private void disposeTextInterface()
 {
     if (_textInterface != null)
     {
         _textInterface.EvtTextChanged -= _textInterface_EvtTextChanged;
         _textInterface.Dispose();
         _textInterface = null;
         setTextInterface();
     }
 }
コード例 #2
0
ファイル: TalkWindowAgentBase.cs プロジェクト: zezo010/acat
 /// <summary>
 /// Disposes text interface
 /// </summary>
 private void disposeTextInterface()
 {
     if (_textInterface != null)
     {
         Log.Debug("Disposing old text interface");
         _textInterface.EvtTextChanged -= _textInterface_EvtTextChanged;
         _textInterface.Dispose();
         _textInterface = null;
         setTextInterface();
     }
 }