源地址:https://blog.csdn.net/zou15093087438/article/details/79637114
注:可用winform的MessageBox的方法,只需引用System.Windows.Forms.dll即可