MessageBox.Show("确认要删除该数据吗?", "注意", MessageBoxButtons.OKCancel) == DialogResult.OK 转载于:https://www.cnblogs.com/lx0831/archive/2009/06/13/1502647.html