在线程中使用RichTextBox? [英] Using RichTextBox in a thread?

查看:166
本文介绍了在线程中使用RichTextBox?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




如果我在一个线程中创建一个RichTextBox并且只在

线程中使用它,那么会出现任何线程问题吗? />

我需要在一个帖子里面的Text和RTF之间进行转换。


谢谢!!


MOJO

Hi,

If I inside a thread creates a RichTextBox and only use this inside the
thread, will there be any thread problems?

I need to convert between Text and RTF inside a thread.

Thanks!!

M O J O

推荐答案

* MOJO< mojo@_no_spam_delete_this_newwebsolutions.dk> scripsit:
* M O J O <mojo@_no_spam_delete_this_newwebsolutions.dk> scripsit:
如果我在一个线程中创建一个RichTextBox并且只在线程内部使用它,那么会有任何线程问题吗?

我需要在一个帖子里面的文字和RTF。
If I inside a thread creates a RichTextBox and only use this inside
the thread, will there be any thread problems?

I need to convert between Text and RTF inside a thread.




我不这么认为。


-

Herfried K. Wagner [MVP]

< http://www.mvps.org/dotnet>



I don''t think so.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>





是的,很可能会有问题。


-

Miha Markic - RightHand .NET咨询&安培;开发

miha at rthand com
www.rthand.com


MOJ O < mojo@_no_spam_delete_this_newwebsolutions.dk>在消息中写道

新闻:eE ************* @ tk2msftngp13.phx.gbl ...
Hi,

Yes, very probably it will be a problem.

--
Miha Markic - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"M O J O" <mojo@_no_spam_delete_this_newwebsolutions.dk> wrote in message
news:eE*************@tk2msftngp13.phx.gbl...


如果我在一个线程中创建一个RichTextBox并且只在
线程中使用它,那么会出现任何线程问题吗?

我需要在一个线程内的Text和RTF之间进行转换。

谢谢!

MOJO
Hi,

If I inside a thread creates a RichTextBox and only use this inside the
thread, will there be any thread problems?

I need to convert between Text and RTF inside a thread.

Thanks!!

M O J O



" Miha Markic" < miha at rthand com> schrieb
"Miha Markic" <miha at rthand com> schrieb


是的,很可能会有问题。
Hi,

Yes, very probably it will be a problem.




为什么?

-

Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html



Why?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html


这篇关于在线程中使用RichTextBox?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆