方法1. MessageBox.Show( " Text " , " Caption " , MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, MessageBoxOptions.ServiceNotification); 方法2. MessageBox.Show( " Text " , " Caption " , MessageBoxButto
方法1.
MessageBox.Show("Text", "Caption", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, MessageBoxOptions.ServiceNotification);
方法2.
MessageBox.Show("Text", "Caption", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly);
关于MessageBox的详细用法:https://blog.csdn.net/C_gyl/article/details/85336605