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

Listboxes in c# -

Excel Duty List -

Multilayer CSV to filtered excel -