Solved

adding a standard icon to a form

Posted on 2012-03-15
3
243 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
Comment Utility
Add them to form(messagebox) resources.
0
 

Author Comment

by:IssacJones
Comment Utility
could you expand?
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 250 total points
Comment Utility
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
This video discusses moving either the default database or any database to a new volume.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now