c# - How to Inlcude default warning icon into pictureBox -


i want set picture box default visual studios warning icon.

so, want use this:

messageboxicon.warning 

and format use instead of system icon below:

this.pictureboxwarning.image = system.drawing.systemicons.warning.tobitmap(); 

the reason want consistency reasons. making custom dialog box , want similar default 1 use in our program dialog box.

simply save image of icon, resize if needed, set image


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -