private void btnClearAllROI_Click(object sender, EventArgs e) { if (MessageBox.Show("确定清空所有ROI?", "注意", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning) == DialogResult.OK) { mView.clearAllROI(); mView.repaint(); } }