如果用户选中 ,Checkbox
我如何编码以显示MessageBox.Show("..."
,在消息框中带有YesNoCancel
按钮,并且当用户单击“否”时,会MessageBox.Show
弹出另一个?
到目前为止,我的代码是这样的,它不起作用:
private void lipsCheckBox_CheckedChanged(object sender, EventArgs e)
{
if (lipsCheckBox.Checked = MessageBox.Show("...?",
"Want something else?",
MessageBoxButtons.YesNoCancel, MessageBox.Show("...?",
"Yea, Burt's bees?",
MessageBoxButtons.YesNoCancel, MessageBox.Show("...??",
"Hell yea LipxMedx?",
MessageBoxButtons.YesNoCancel),
MessageBoxIcon.Question);
}