DialogResult result = MessageBox.Show("确认关闭窗口?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question, 0, MessageBoxOptions.ServiceNotification);