Beispiel #1
0
        public void PlayResource(string resource)
        {
            Stream stream = Assembly.GetEntryAssembly().GetManifestResourceStream($"{Assembly.GetEntryAssembly().GetName().Name}.{resource}");

            soundPlayer.PlayStream(stream);
        }