Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

adding a standard icon to a form

Posted on 2012-03-15
3
Medium Priority
?
254 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 1000 total points
ID: 37730316
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Loops Section Overview
Suggested Courses
Course of the Month10 days, 8 hours left to enroll

886 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