windows error sound windows form code example Example: how to make error sound c# System.Media.SystemSounds.Exclamation.Play();