YesNo MessageBox not closing when x-button clicked

后端 未结 3 1699
北海茫月
北海茫月 2021-01-14 07:11

When I open a MessageBox with options YesNo, the (usually) cancelling cross in the upper right is shown but has no effect.

System.Windows.MessageBox.Show(\"R         


        
3条回答
  •  滥情空心
    2021-01-14 07:32

    Check out this CodeProject article, which outlines spinning your own MessageBox class. There's a section on disabling the close button.

提交回复
热议问题