The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Standard-Windows-Sounds abspielen

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
-

Posts: 1524
Nickname: nitronic
Registered: Jul, 2006

Norbert Eder works as a software architect.
Standard-Windows-Sounds abspielen Posted: Dec 4, 2006 1:50 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by -.
Original Post: Standard-Windows-Sounds abspielen
Feed Title: Norbert Eder - Living .NET
Feed URL: http://feeds.feedburner.com/NorbertEder-Livingnet
Feed Description: Copyright (c)2005, 2006 by Norbert Eder
Latest .NET Buzz Posts
Latest .NET Buzz Posts by -
Latest Posts From Norbert Eder - Living .NET

Advertisement
Seit .NET 2.0 gibt es den Namespace System.Media und die Klassen SystemSound sowie SystemSounds. Damit ist es m��glich, Standard-Windows-Sounds abzuspielen um den User auf bestimmte Ereignisse, Fehleingaben etc. hinzuweisen.

Der klassische Beep kann mit nachfolgendem Code abgespielt werden.

System.Media.SystemSounds.Beep.Play();

Nat��rlich stehen noch weitere M��glichkeiten zur Verf��gung. Einfach mal die entsprechenden Klassen n��her betrachten.

Zus��tzliche Assemblies m��ssen hierzu nicht eingebunden werden.

Read: Standard-Windows-Sounds abspielen

Topic: Coming Zune Previous Topic   Next Topic Topic: Using attributes to specify the contents of a menu

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use