adding a standard icon to a form

Hi

I'm trying to write my own MessageBox which looks the same as the application I am writing.

I would like it to behave in the same way as a standard message box so I can specify things like:

MessageBoxIcon.Error

MessageBoxIcon.Information

etc.

My question is, how do I add these icons to my form?

Thanks in advance

John
IssacJonesAsked:
Who is Participating?
 
CodeCruiserCommented:
Add them to form(messagebox) resources.
0
 
IssacJonesAuthor Commented:
could you expand?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.