G
Guest
I need to display message box with custom message. If I use standard
MessageBox class as follows everyting works OK.
MessageBox.Show("Sample Text", "Sample Caption", MessageBoxButtons.OKCancel,
MessageBoxIcon.None);
The only problem is that can't get rid of control button in the caption ( X
button in top right corner) and I don't want display button in the Windows
taskbar corresponding to this dialog. In other words I can't customize this
dialog.
I can easily customize these features if I create my own form, but it
doesn't look to me right approach if I need to display only simple message.
So my questions: Is there way to customize standard MessageBox?
Thanks
MessageBox class as follows everyting works OK.
MessageBox.Show("Sample Text", "Sample Caption", MessageBoxButtons.OKCancel,
MessageBoxIcon.None);
The only problem is that can't get rid of control button in the caption ( X
button in top right corner) and I don't want display button in the Windows
taskbar corresponding to this dialog. In other words I can't customize this
dialog.
I can easily customize these features if I create my own form, but it
doesn't look to me right approach if I need to display only simple message.
So my questions: Is there way to customize standard MessageBox?
Thanks