Reputation: 11
How to set Messagebox Color in C# .net 3.0 ?
Upvotes: 1
Views: 1171
Reputation: 55009
The MessageBox
is just meant to be for very simple messages. If you need to customize it more than what it's designed to do I'd suggest that it would be better to write your own dialog to do it. It wouldn't take long to replicate the functionality you need from the MessageBox
and it would be a lot easier to customize.
Upvotes: 1
Reputation: 1062780
If you mean "winforms", there isn't any property for that. You would have to create your own modal message dialog. You might be able to use P/Invoke, but I wouldn't bother, tbh.
Upvotes: 1