我有这个代码
public static bool Delete(int ID, string ProductName)
{
if (MessageBox.Show(productName + " will be deleted Permanently ", "Confirm Delete Option", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.No)
{
return false;
}
{
return true;
}
}
我需要的是在红色下方的消息框中制作产品名称
if (MessageBox.Show(productName + " will be deleted Permanently "