MessageBox.Show— font change?

前端 未结 5 1989
一个人的身影
一个人的身影 2020-12-17 08:17

I\'m using the MessageBox class to show errors to users, and while that might not be the right behavior, it\'s very convenient. This is a touchscreen application, however,

5条回答
  •  猫巷女王i
    2020-12-17 08:55

    Use a form with a Textbox and two Buttons OK, Cancel on it. Use this form instead of a MessageBox in the whole project. You can change the font, backColor, multiline etc of the textbox on the fly. You can change the size, color and font of the buttons too.

提交回复
热议问题