Is there an easy way to accomplish the following:
For the code below, I want everything on the right (ball.LogoName, ball.BallColorDescription, etc) to be bold, so that when it shows in the messagebox, they stand out a little.
duplicateMessage = "Duplicate Logos Listed Below: ";
foreach (GolfBall ball in golfBallDuplicates)
{
duplicateMessage += "\n\n\tLogo Name: " + ball.LogoName;
duplicateMessage += "\n\tColor: " + ball.BallColorDescription;
duplicateMessage += "\n\tMake: " + ball.BallMakeDescription;
duplicateMessage += "\n\tCondition: " + ball.BallConditionDescription;
duplicateMessage += "\n\tHow Obtained: " + ball.HowObtainedDescription;
}
duplicateMessage += "\n\nAdd Duplicate?";
DialogResult dr = MessageBox.Show(duplicateMessage, "Duplicate Golf Ball", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
I saw this post: http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvb/thread/895917e7-8536-4ad1-a804-b5cf01b08d24 which doesn't make me think it possible, but that was from 2006 and perhaps in the last 7 years, this capability has been added as
I am using VS 2012 at this time.
Thanks