How do I change the MessageBox location?

前端 未结 5 1011
醉梦人生
醉梦人生 2020-12-11 01:22

I need to change the message box location. I don\'t want it to be in the center of the page.

MessageBox.Show(\"Hello\");
5条回答
  •  天涯浪人
    2020-12-11 01:59

    You will need to create a new form that inherits from the MessageBox form. That is the only way to access the position properties.

提交回复
热议问题