adding a standard icon to a form

Posted on 2012-03-15
Last Modified: 2012-06-27

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:




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

Thanks in advance

Question by:IssacJones
  • 2
LVL 83

Expert Comment

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

Author Comment

ID: 37728749
could you expand?
LVL 83

Accepted Solution

CodeCruiser earned 250 total points
ID: 37730316

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Expando 4 47
Clone Visual studio 2013 solution 5 24 2 37
Allow user to hide and show datagridview columns 4 17
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

910 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

22 Experts available now in Live!

Get 1:1 Help Now