I didnt know it was this easy to access them. Just look at the System.Drawing.SystemIcons namespace. For example
System.Drawing.SystemIcons.Error.ToBitmap will return the error icon shown in a messagebox
hope this will be helpful to some people:D
Printable View
I didnt know it was this easy to access them. Just look at the System.Drawing.SystemIcons namespace. For example
System.Drawing.SystemIcons.Error.ToBitmap will return the error icon shown in a messagebox
hope this will be helpful to some people:D
ace thanks... :)
should go in the snippit library or so :wave:
hehe:D I'll post it in the code bank forum also
well thats actually great!
i dont have .net here but what pictures does it offer more? only msgbox ones?
I think so. I dont have VB here either:DQuote:
Originally posted by PT Exorcist
well thats actually great!
i dont have .net here but what pictures does it offer more? only msgbox ones?
before, I was actually taking screenshots of the message icons and using them:rolleyes: hehe
in which dll is it in?
i don't seem to have it by default in C#
hmm well it should be in system.drawing.dll I guess
I remember I could just access it in VB. Is there another dll included by default in VB?:rolleyes:
well at least msdn says its in drawing.dll
http://msdn.microsoft.com/library/de...classtopic.asp
i just tried adding System.Drawing.dll and it still doesnt work!
it want it damn!
found it..i was lookin dunno why by SystemError so i couldnt find it
tks!
edit: this made me confusion too
as in C# when you try to add namespaces it just shows namespaces to you and not classes, so i though it actually wasn't thereQuote:
System.Drawing.SystemIcons
hehe glad you found it anyways:)