Loading system icons and sounds

  • Thread starter Thread starter Stephen Walch
  • Start date Start date
S

Stephen Walch

I have a custom windows form for displaying error messages and I would like
to show the same icon and play the same sound as

MessageBox.Show(..., MessageBoxIcon.Exclamation)

Is there a simple way to load these two system elements from a WinForms
implemention?

Thanks!

-Steve
 
for Icons you can use the System.Drawing.SystemIcons class and i don't know
about sound.
 
Back
Top