Exemplo n.º 1
0
        public static void beep(beep_type type)
        {
            switch (type)
            {
            case beep_type.err:
                System.Media.SystemSounds.Asterisk.Play();
                break;

            case beep_type.question:
                System.Media.SystemSounds.Question.Play();
                break;

            default:
                Debug.Assert(false);
                break;
            }
        }
Exemplo n.º 2
0
 public static void beep(beep_type type)
 {
     switch (type) {
     case beep_type.err:
         System.Media.SystemSounds.Asterisk.Play();
         break;
     case beep_type.question:
         System.Media.SystemSounds.Question.Play();
         break;
     default:
         Debug.Assert(false);
         break;
     }
 }