ACAT.Lib.Extension.AppAgents.TalkWindow.TalkWindowAgentBase.createTalkWindowTextInterface C# (CSharp) Method

createTalkWindowTextInterface() private method

Creates the text interface for the Talk window
private createTalkWindowTextInterface ( IntPtr handle, AutomationElement automationElement ) : void
handle System.IntPtr Handle to the talk window
automationElement System.Windows.Automation.AutomationElement talk window automation element
return void
        private void createTalkWindowTextInterface(IntPtr handle, AutomationElement automationElement)
        {
            disposeTextInterface();

            bool handled = false;
            _textInterface = new TalkWindowEditControlTextAgent(handle, automationElement, ref handled);
            _textInterface.EvtTextChanged += _textInterface_EvtTextChanged;
            setTextInterface(_textInterface);
            triggerTextChanged(_textInterface);
        }