Why use a owner window in MessageBox.Show?

前端 未结 8 1176
我寻月下人不归
我寻月下人不归 2020-12-14 17:31

MessageBox.Show has forms like MessageBox.Show( ownerWindow, .... ).

What do I gain by assigning a owner window?

8条回答
  •  抹茶落季
    2020-12-14 17:45

    if i'm not wrong this prevents to owner window to Focus() until the messagebox is closed.

提交回复
热议问题