Пример #1
0
        static void Main(string[] args)
        {
            string fileName = Path.Combine(Application.StartupPath, "pavel_und_bronko.wav");

            try
            {
                SoundUtils.PlayWaveFile(fileName, true, false);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }

            Console.ReadLine();
            SoundUtils.PlayWaveFile(null, true, false);

            Console.WriteLine("Beenden mit Return");
            Console.ReadLine();
        }