Unresponsive UI when using BeginInvoke

前端 未结 3 1738
野性不改
野性不改 2021-01-24 15:22

Bckground
I have a networked application written in C#. my server program has a UI and several communication threads, that read from tcp sockets and display

3条回答
  •  青春惊慌失措
    2021-01-24 15:52

    You're probably simply spending all your time setting the text.

    Try replacing the RichTextBox with an ordinary TextBox; it should be much faster.

提交回复
热议问题