Solved

adding a standard icon to a form

Posted on 2012-03-15
3
247 Views
Last Modified: 2012-06-27
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
0
Comment
Question by:IssacJones
  • 2
3 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 37726125
Add them to form(messagebox) resources.
0
 

Author Comment

by:IssacJones
ID: 37728749
could you expand?
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 250 total points
ID: 37730316
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question