Is it possible to call MessageBox.Showin a child thread without worrying about cross-throwing? I know that the alleged answer would be “try and find out,” which I did, but I noticed that Windows 7 seems to be less structured with respect to cross-thread exclusion than Windows XP.
MessageBox.Show
So, it is documented anywhere, what would it be safe to do from a child thread?
No, this will not lead to any "cross" exceptions. This is because MessageBox is not a member of the class running in the user interface thread.
MessageBox.Show("text") , . MessageBox.Show MessageBox.Show(this,"text") , -.
MessageBox.Show("text")
MessageBox.Show(this,"text")
, Windows XP , Windows 7 , , , MessageBox!
MessageBox
MessageBox . , , . WinForm, MessageBox, , .