is it possible to insert a message box with some bold text in winforms and C# language?
DialogResult savemoral = MessageBox.Show("would you like insert the client " + txtnomste.Text + " with M.F " + txt_matchiffre1.Text + " and manager " + formgerant.listgerant[0] + " " + formgerant.listgerant[1] + " with C.I.N " + formgerant.listgerant[6], "Enregistrement Contribuable", MessageBoxButtons.YesNo, MessageBoxIcon.Information); if (savemoral.Equals(DialogResult.Yes)) {instruction.........}
Raja TPosted Dec 25, 2015, 5:36 AM
You cannot format the text in the MessageBox. But you can create a Win Form with a RichTextbox control and use it as a MessageBox.