私はこのコードを持っています
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;
}
}
私がする必要があるのは、メッセージボックスのproductNameを赤の下の色にすることです
if (MessageBox.Show(productName + " will be deleted Permanently "