Hi Lukas,
Thanks for coming back.
Concerning the code, unfortunately I have no this one right now because it was changed, but I can provide you with short description of the issue:
================================
Task1:
• Control Creating
• Binding to Telnet
• Calling to Task-2 in order to add the TerminalControl component on UI thread
Task-2 (UI)
There is no problem when trying to add "Terminal Control" component to the form, but when you try to modify some parameters of the control such as:
BackColor ,Cursor,CursorMouse,CursorText,Size and e.t.c
The error of cross-threading is popping up
(the problem could be solved by setting CheckForIllegalCrossThreadCalls to false, but as you know it is not recommended)
====================================================
Now, please let me suggest some options regarding the API implementation of the component.
It will be nice to have the commands like:
- string ReadString(StringToWaitFor [, TimeOutSeconds])
- string ReadString(StringsArray [, TimeOutSeconds])
- bool WaitFor(StringToWaitFor [, TimeOutSeconds]);
- bool WaitFor(StringsArray [, TimeOutSeconds]);
- bool TerminalConnectedStatus;
Thanks again for your response,
Kind Regards,
Evgeny