ShowDialog启动新线程吗? [英] does ShowDialog start new thread ?
问题描述
Form.ShowDialog()是否启动新线程?
如果是,如何解决跨线程操作?
Thx
shark写道:
Form.ShowDialog()是否启动新线程?
如果是,如何解决跨线程操作?
Thx
不,它没有。
-
Lasse V?gs?ther Karlsen
mailto:la *** @ vkarlsen.no
http://presentationmode.blogspot.com/
PGP KeyID:0xBCDEA2E3
5月5日, 4:26 * pm,Lasse V?gs?karlsen< la ... @ vkarlsen.nowrote:
shark写道:
F orm.ShowDialog()启动新线程?
如果是,如何解决跨线程操作?
Thx
不,它没有。
< br $>
-
Lasse V?gs?ther Karlsen
mailto:la ... @ vkarlsen.nohttp://presentationmode.blogspot.com /
PGP KeyID:0xBCDEA2E3
我认为Show和ShowDialog会执行不同的
不同线。看起来很有意思。谢谢Lasse。
On 5 ??? 5 ??¥,?????? 7 ??? 29 ???,Aneesh Pulukkul [ http:// dotnet-
revolutions.blogspot.com]" ; < anees ... @ gmail.comwrote:
5月5日下午4:26,Lasse V?¥gs?| karl Karlsen< la .. 。@ vkarlsen.nowrote:
shark写道:
Form.ShowDialog()是否启动新线程?
如果是,如何解决线程操作?
Thx
不,它不是。
-
Lasse V?¥gs?| ther Karlsen
mailto:la ... @ vkarlsen.nohttp://presentationmode.blogspot.com/
PGP KeyID:0xBCDEA2E3
我的想法是Show和ShowDialog将执行一个
不同的线程。看起来很有意思。谢谢Lasse。
每个窗口都应该有一个处理消息的线程,对吧?
Hi,
Does Form.ShowDialog() start new thread ?
If yes how is solved cross-thread operations?
Thx
shark wrote:Hi,
Does Form.ShowDialog() start new thread ?
If yes how is solved cross-thread operations?
ThxNo, it doesn''t.
--
Lasse V?gs?ther Karlsen
mailto:la***@vkarlsen.no
http://presentationmode.blogspot.com/
PGP KeyID: 0xBCDEA2E3
On May 5, 4:26*pm, Lasse V?gs?ther Karlsen <la...@vkarlsen.nowrote:shark wrote:Hi,
Does Form.ShowDialog() start new thread ?
If yes how is solved cross-thread operations?
Thx
No, it doesn''t.
--
Lasse V?gs?ther Karlsen
mailto:la...@vkarlsen.nohttp://presentationmode.blogspot.com/
PGP KeyID: 0xBCDEA2E3I was under a notion that Show and ShowDialog would executeon a
different thread. Seems interesting..Thanks Lasse.
On 5???5??¥, ??????7???29???, "Aneesh Pulukkul [http://dotnet-
revolutions.blogspot.com]" <anees...@gmail.comwrote:On May 5, 4:26 pm, Lasse V?¥gs?|ther Karlsen <la...@vkarlsen.nowrote:
shark wrote:Hi,
Does Form.ShowDialog() start new thread ?
If yes how is solved cross-thread operations?
Thx
No, it doesn''t.
--
Lasse V?¥gs?|ther Karlsen
mailto:la...@vkarlsen.nohttp://presentationmode.blogspot.com/
PGP KeyID: 0xBCDEA2E3
I was under a notion that Show and ShowDialog would executeon a
different thread. Seems interesting..Thanks Lasse.Every window should have a thread to process messages, right?
这篇关于ShowDialog启动新线程吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!